doc: advertise nanotee/nvim-lua-guide (#14332) [skip ci]

Mention https://github.com/nanotee/nvim-lua-guide at the beginning of ":h lua" as well as ":h lua-vimscript".

Closes #12369 .
This commit is contained in:
Christian Clason 2021-04-09 19:36:23 +02:00 committed by GitHub
parent e3d0fb0d3c
commit 1b030f889c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,8 @@ an idea of what lurks beneath: >
Nvim includes a "standard library" |lua-stdlib| for Lua. It complements the Nvim includes a "standard library" |lua-stdlib| for Lua. It complements the
"editor stdlib" (|functions| and Ex commands) and the |API|, all of which can "editor stdlib" (|functions| and Ex commands) and the |API|, all of which can
be used from Lua code. be used from Lua code. A good overview of using Lua in neovim is given by
https://github.com/nanotee/nvim-lua-guide.
Module conflicts are resolved by "last wins". For example if both of these Module conflicts are resolved by "last wins". For example if both of these
are on 'runtimepath': are on 'runtimepath':
@ -831,6 +832,7 @@ LUA-VIMSCRIPT BRIDGE *lua-vimscript*
Nvim Lua provides an interface to Vimscript variables and functions, and Nvim Lua provides an interface to Vimscript variables and functions, and
editor commands and options. editor commands and options.
See also https://github.com/nanotee/nvim-lua-guide.
vim.call({func}, {...}) *vim.call()* vim.call({func}, {...}) *vim.call()*
Invokes |vim-function| or |user-function| {func} with arguments {...}. Invokes |vim-function| or |user-function| {func} with arguments {...}.