diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-04-17 18:14:14 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-04-18 16:57:37 +0200 |
| commit | 3ebfa2a3cbbed848667fe26c16973ce7e43a04e4 (patch) | |
| tree | 8026deb4b85a46be16eb32bbe85f3b9c24c5e4c7 /runtime/lua/vim/_meta/api_keysets_extra.lua | |
| parent | 48d11681c2c108e34be088cf2f6ce6cc753fa57f (diff) | |
| download | rneovim-3ebfa2a3cbbed848667fe26c16973ce7e43a04e4.tar.gz rneovim-3ebfa2a3cbbed848667fe26c16973ce7e43a04e4.tar.bz2 rneovim-3ebfa2a3cbbed848667fe26c16973ce7e43a04e4.zip | |
feat(vimfn): use Lua for more excmds/vimfns
Problem:
Too much boilerplate needed to use Lua to impl an excmd or f_xx
function.
Solution:
- Add `nlua_call_vimfn` which takes the args typval, executes
Lua, and returns a typval.
- refactor(excmd): lua impl for :log, :lsp
Diffstat (limited to 'runtime/lua/vim/_meta/api_keysets_extra.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/api_keysets_extra.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/api_keysets_extra.lua b/runtime/lua/vim/_meta/api_keysets_extra.lua index 3b8461892b..7714a27e93 100644 --- a/runtime/lua/vim/_meta/api_keysets_extra.lua +++ b/runtime/lua/vim/_meta/api_keysets_extra.lua @@ -111,7 +111,7 @@ error('Cannot require a meta file') --- --- Command modifiers in a structured format. Has the same structure as the --- "mods" key of |nvim_parse_cmd()|. ---- @field smods table +--- @field smods vim.api.keyset.cmd_mods --- @class vim.api.keyset.command_info --- @field name string |