Commit Graph

125 Commits

Author SHA1 Message Date
Timothée Sterle
210079ee50
hopefully fix .gitattributes??? 2021-06-10 21:19:55 +02:00
Timothée Sterle
18dea55587
add note about invalid characters for global vars 2021-06-10 21:07:11 +02:00
Timothée Sterle
697cffdc6c add vim.opt examples 2021-05-31 21:17:52 +02:00
Timothée Sterle
40d7b056a9
update options section
Addresses part of #63, will add `vim.opt` later
2021-05-29 10:38:16 +02:00
Timothée Sterle
209b2ef924
add reminder init.lua is optional 2021-05-17 21:33:27 +02:00
Timothée Sterle
bc3a77194e
update neovim async tutorial link 2021-05-02 00:44:41 +02:00
Timothée Sterle
f56cea7de8
update note about vim.cmd
closes #61
2021-04-27 16:01:42 +02:00
Timothée Sterle
b38a3bff9c
add info about Luarocks packages 2021-04-24 21:00:47 +02:00
Timothée Sterle
b469b7cd84
add links to testing frameworks 2021-04-24 20:55:11 +02:00
Timothée Sterle
affeb1f4e0
explain how to reload modules 2021-04-24 20:46:18 +02:00
Timothée Sterle
aae0579e1a
update libuv tutorial link 2021-04-23 13:13:14 +02:00
Timothée Sterle
ffffeb3d73
Add links to OSV and DAP clients 2021-04-13 16:30:59 +02:00
Timothée Sterle
ce3c7768c6
Conversion gotchas (#59)
add section about conversion gotchas
2021-04-05 14:02:33 +02:00
Timothée Sterle
1561654e0e add note about nvim_call_function 2021-04-04 22:41:47 +02:00
Timothée Sterle
9f9aea1c45
run docgen.sh 2021-03-31 00:12:07 +02:00
Devon Morris
dd5d431ea2 Fix dead tutorial links for plugins in README.md 2021-03-30 23:58:12 +02:00
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