Commit Graph

159 Commits

Author SHA1 Message Date
Timothée Sterle
cb59243fba
delete manually generated toc
github has that built-in now

mhhh, deleting stuff, my favorite
2021-03-26 17:37:59 +01:00
Timothée Sterle
ef376963da
get rid of v:lua.require example
it doesn't always work properly
2021-03-22 15:28:02 +01:00
Timothée Sterle
0dc3e39173
run docgen.sh 2021-03-20 18:46:37 +01:00
Timothée Sterle
ba21ca5c4e add some info about global-local options in Lua 2021-03-20 18:44:42 +01:00
Timothée Sterle
787b3d1b6e
add link to luarefvim
Thanks for the suggestion, shadman!
2021-03-16 19:31:19 +01:00
Jan Philipp Hafer
ab9c093164 fix(vim.fn): closed #52: breaking vim.fn change
vim.fn can not be used anymore for api function calls.
This PR adjusts vim.fn and vim.api descriptions accordingly.

NOTE: A wrong call will result in error, so one can not use for the
other.
2021-03-12 14:03:44 +01:00
Timothée Sterle
b6e02de73b
add link to LuaJIT intro
closes #51
2021-02-25 20:04:02 +01:00
Timothée Sterle
e642e60d85
update :help references 2021-02-24 21:22:57 +01:00
Timothée Sterle
0597a8eaa1
Mention vim.env
closes #50
2021-02-24 21:18:34 +01:00
Timothée Sterle
ac443478e4
run docgen.sh 2021-02-22 19:05:09 +01:00
Jan Philipp Hafer
2895446d61 fix(lua functions): vim.api should be used, if possible
also hint why `vim.call` exists to prevent usage

fixes #6
2021-02-22 19:02:51 +01:00
David Zhang
29848a9e6e fix: typo of Japanese version 2021-02-16 16:22:22 +01:00
Timothée Sterle
f157976b3f
run docgen.sh 2021-02-15 00:04:21 +01:00
Jan Philipp Hafer
16423fe3a9 fix(syntax): only mention vim.fn
recommendation TJ DeVries 20210214_0102
2021-02-15 00:01:41 +01:00
Timothée Sterle
6bd5fde20e
add another Lua quickstart guide 2021-02-14 21:57:48 +01:00
Jan Philipp Hafer
1ebecf6f6e fix(intro): add motivation links
also fix 1 typo
2021-02-13 22:12:53 +01:00
Timothée Sterle
1e211075b1
remove some todo items 2021-02-13 17:49:29 +01:00
Timothée Sterle
ecc480d791
delete note about vim packages 2021-02-08 14:57:13 +01:00
Timothée Sterle
d478f2e674
run docgen.sh 2021-02-07 23:52:17 +01:00
Jan Philipp Hafer
febe9d1d09 fix(syntax): use Leader as in neovim manual 2021-02-07 23:39:52 +01:00
Jan Philipp Hafer
7dfb579c5b fix: quotations for mappings, concatenation for set options
reason: every lua code invocation needs it and its annoying to escape,
hint for easier handling in long set option strings
2021-02-07 23:39:52 +01:00
Timothée Sterle
eab73a9c5e delete example lua-language-server config 2021-01-10 15:38:11 +01:00
Timothée Sterle
f2963ef651 add vim.api.nvim_replace_termcodes() section 2021-01-08 20:46:26 +01:00
Timothée Sterle
6dbe79b206
tweak check_back_space example 2020-12-26 14:29:16 +01:00
Timothée Sterle
5327be849c
add link to init.lua tutorial 2020-12-22 22:25:47 +01:00
Timothée Sterle
a494f95048
clarify usage of _G 2020-12-19 13:50:31 +01:00
Timothée Sterle
654e4682b6
tweak sumneko_lua example config description
I recently started using sumneko/lua-language-server again and the
previous description didn't seem to be entirely acurate, so I rewrote it
to be less specific.
2020-12-07 17:17:09 +01:00
evakuator
44207105ee Add russian translation 2020-12-07 17:09:05 +01:00
Timothée Sterle
3bda20124c delete most of the caveat section for vim.{o/bo/wo} 2020-12-01 23:03:47 +01:00
Timothée Sterle
f37a52e4e1 add section about init.lua 2020-12-01 23:03:35 +01:00
Timothée Sterle
97ba087447 add info about print() in Lua 2020-11-29 19:27:46 +01:00
Timothée Sterle
31e0b3eba0 mention scope of :lua
Example provided by @clason
2020-11-27 17:44:17 +01:00
Timothée Sterle
d28ca94684 remove references to package.path 2020-11-27 17:43:49 +01:00
Timothée Sterle
df41366e66
add section on setting up linters/language servers (#23)
* add section on setting up linters/language servers

* add link to sumneko documentation

* add path setting to sumneko example
2020-11-18 19:27:57 +01:00
willelz
b289fb71b0 Add japanese version 2020-11-17 17:51:01 +01:00
Timothée Sterle
30e3239921 update section on built-in lsp client 2020-11-16 19:41:04 +01:00
Timothée Sterle
a4fd55818a update section on vim packages
Using `require()` on a `start` package now works as expected
2020-11-05 19:59:30 +01:00
Jae-Won Chung
40f3a67dc9 Fix vimhelp 2020-10-23 18:21:24 +02:00
Jae-Won Chung
6efe7176b9 Remove toc from vimhelp 2020-10-23 18:21:24 +02:00
Jae-Won Chung
e89cae0a8d Run docgen.sh 2020-10-23 18:21:24 +02:00
Jae-Won Chung
c12afba07c Update toc 2020-10-23 18:21:24 +02:00
Jae-Won Chung
d8cd8f6fc5 Run docgen.sh 2020-10-23 18:21:24 +02:00
Jae-Won Chung
bb168e4b20 Update toc 2020-10-23 18:21:24 +02:00
Jae-Won Chung
84c2399b47 Add tips on lua embedding 2020-10-23 18:21:24 +02:00
Ellison
d2d8c721b7 very small change, just adding the brazilian flag
since we are using flags in the translations lists, i just added the brazilian one.
2020-10-23 12:54:43 +02:00
Timothée Sterle
327070444c
add link to portuguese version 2020-10-21 16:43:59 +02:00
Raphael
8e4db9ac22 Add chinese version 2020-10-21 16:31:23 +02:00
Timothée Sterle
786c0e1153 add table of contents 2020-10-12 19:07:30 +02:00
Timothée Sterle
e8c2d5cf60
add section about native packages (#12)
* add section about native packages

* regenerate docs

* add relevant links
2020-10-10 14:54:39 +02:00
Timothée Sterle
c4b9b8a399
Fix typo 2020-09-15 14:52:40 +02:00