Commit Graph

157 Commits

Author SHA1 Message Date
Timothée Sterle
e0b37bc7f1
nvim_add_user_command -> nvim_create_user_command 2022-04-11 18:29:07 +02:00
Steve Vermeulen
b0b57a0389 Update README.md 2022-04-09 23:45:23 +02:00
Timothée Sterle
32e1a4ed2e
nvim_add_user_command() now supports <f-args> 2022-03-13 23:24:23 +01:00
Timothée Sterle
3f3e558cf5
update autocmds section and highlight groups section 2022-02-28 21:42:14 +01:00
Timothée Sterle
f6b01e2bbb add section about user commands 2022-02-21 21:40:30 +01:00
Timothée Sterle
c9790768a9
update vim namespace section 2022-02-04 23:58:14 +01:00
Timothée Sterle
fd89f0cd3a
mention vim.pretty_print() 2022-02-04 23:47:57 +01:00
C.D. MacEachern
c5730e058f Update luaref link to working version
The given link is one that hasn't been updated in a long time. The help file is mangled, and the leader keys set up in the plugin file don't work either because they are not calling the correct :help. Updated with a newer version I found.
2022-01-31 19:05:01 +01:00
Timothée Sterle
db774a43b1 Run docgen.sh 2022-01-25 18:42:05 +01:00
Henrique Borges
f8ea11d61a Add link to the functions documentation 2022-01-25 18:42:05 +01:00
Henrique Borges
d4aea5659d Update user commands definition section 2022-01-25 18:42:05 +01:00
Timothée Sterle
f161c5ea5b
small fixes 2022-01-23 11:39:56 +01:00
Timothée Sterle
5f18514d21
add :lua =expr example 2022-01-04 21:04:33 +01:00
William Boman
8842dd6746 Update README.md
Hello! I arrived here from GitHub search 🤓. This link was recently changed, so I figured I'd update as many inbound links as possible
2021-11-11 20:54:44 +01:00
Timothée Sterle
7e052bfc61
add note about s: variables in nvim_exec
fix #85
2021-11-08 18:26:29 +01:00
Timothée Sterle
2f27c94879
update link to lua-language-server documentation 2021-11-01 20:32:33 +01:00
Timothée Sterle
f06fd3dc2d
mention v:lua.require function call syntax 2021-10-23 18:45:25 +02:00
Timothée Sterle
93343fc100
meta-accessors for internal variables now support indexing with a number 2021-10-20 13:37:58 +02:00
Timothée Sterle
c418303b27
remove todos
`nvim_exec` now supports script scope
2021-10-17 17:06:52 +02:00
Timothée Sterle
0406898fb1
improve multiline vim.cmd() example
references #81
2021-09-17 19:17:47 +02:00
Timothée Sterle
9e5ebc9184
add warning about padding Lua strings 2021-09-16 20:36:57 +02:00
Timothée Sterle
52676009a9
literal strings -> double bracketed strings
Turns out I misread `Programming in Lua` when I wrote this.
2021-09-16 20:36:56 +02:00
Timothée Sterle
a74f03fadb
small vimdoc fixes 2021-09-16 20:36:56 +02:00
Evgeni Chasnovski
87d42f38b0 Rename _G.dump() to _G.put() and tweak it. 2021-08-21 12:00:09 +02:00
Evgeni Chasnovski
f5672b5ded Update _G.dump()
This modifies code of `_G.dump()` to make it more explicit with `nil` values. Now `dump(nil)` will print `nil` instead of not doing anything.
This also changes printing of multiple arguments: it will print on separate lines instead of separated with spaces.
2021-08-21 12:00:09 +02:00
Timothée Sterle
13af62882a
mention api-global
Fix #76
2021-08-08 20:11:05 +02:00
Timothée Sterle
b78d73b3fa
replace flags with GitHub markdown emoji markup 2021-08-08 19:50:10 +02:00
Timothée Sterle
8832afc9ac
draw attention to GitHub TOC 2021-08-08 19:49:35 +02:00
mizhozan
1ddca5c225 Update README.md 2021-08-08 17:27:42 +02:00
Timothée Sterle
77194333a1
add link to lsp section of awesome-neovim 2021-08-08 00:22:27 +02:00
Timothée Sterle
7314b721ca
update docgen script 2021-08-08 00:19:59 +02:00
Alexandru Ungur
668d7ad995 Made all :help references hyperlinks to documentation,
Also mentioned the 2nd take on autocommands PR (https://github.com/neovim/neovim/pull/14661) as well as the newer plugin for running Fennel (https://github.com/rktjmp/hotpot.nvim).
2021-08-07 23:46:57 +02:00
Timothée Sterle
d5951ba314
add link to Spanish translation 2021-07-26 12:42:16 +02:00
David Zhang
040154b428
feat: mention pcall to prevent conf collapse (#73)
* feat: pcall to prevent conf collapse

* grammar/phrasing tweaks

Co-authored-by: Timothée Sterle <timothee-s@mailoo.org>
2021-07-20 19:00:45 +02:00
Kartik Saranathan
f4a9328469 typo 2021-07-10 14:32:50 +02:00
Timothée Sterle
bcbc72d9c0
update dump() snippet 2021-07-06 23:27:25 +02:00
Timothée Sterle
ef370d6b73
add link to LuaScript tutorial 2021-07-05 22:09:55 +02:00
Timothée Sterle
1e8a4abf20
add dict/list workaround for internal variables
fixes #70
2021-07-05 19:57:32 +02:00
Timothée Sterle
e6767f9c4b
0.5 is out! 2021-07-02 18:19:22 +02:00
Timothée Sterle
ef350f6816
remove reference to Lua 5.2
Lua 5.1 is the target version and the extensions may or may not be
enabled at compile time.
2021-06-30 00:36:54 +02:00
Timothée Sterle
4291ee4e0d add more info about sourcing Lua files 2021-06-21 19:30:44 +02:00
Timothée Sterle
e549b0d10f
add section about runtime files 2021-06-11 18:35:38 +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