mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
e3d0fb0d3c
commit
1b030f889c
@ -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 {...}.
|
||||||
|
Loading…
Reference in New Issue
Block a user