mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
refactor(shada): rework msgpack decoding without msgpack-c
This also makes shada reading slightly faster due to avoiding some copying and allocation. Use keysets to drive decoding of msgpack maps for shada entries.
This commit is contained in:
@ -376,6 +376,9 @@ end
|
||||
--- @param fun vim.EvalFn
|
||||
--- @param write fun(line: string)
|
||||
local function render_api_keyset_meta(_f, fun, write)
|
||||
if string.sub(fun.name, 1, 1) == '_' then
|
||||
return -- not exported
|
||||
end
|
||||
write('')
|
||||
write('--- @class vim.api.keyset.' .. fun.name)
|
||||
for _, p in ipairs(fun.params) do
|
||||
|
Reference in New Issue
Block a user