mirror of
https://github.com/neovim/neovim.git
synced 2026-05-24 05:40:08 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user