From 3ebfa2a3cbbed848667fe26c16973ce7e43a04e4 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 17 Apr 2026 18:14:14 +0200 Subject: 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 --- runtime/lua/vim/_meta/api_keysets_extra.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim/_meta/api_keysets_extra.lua') 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 -- cgit