diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-01-14 08:44:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-14 08:44:16 +0800 |
commit | 2bdd8fad4cf4008125ce540453434888c07044a6 (patch) | |
tree | c0140affb2e94410569647fab88e4603774a844a /src/nvim/eval.lua | |
parent | 0c850add3ecedec5b7dea62f0dd152f3421b66fc (diff) | |
download | rneovim-2bdd8fad4cf4008125ce540453434888c07044a6.tar.gz rneovim-2bdd8fad4cf4008125ce540453434888c07044a6.tar.bz2 rneovim-2bdd8fad4cf4008125ce540453434888c07044a6.zip |
docs(builtin): fix mapset() signature (#27008)
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 322ab829a0..04d176ad1b 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -6317,6 +6317,13 @@ M.funcs = { mapset = { args = { 1, 3 }, base = 1, + name = 'mapset', + params = { { 'mode', 'string' }, { 'abbr', 'any' }, { 'dict', 'any' } }, + signature = 'mapset({mode}, {abbr}, {dict})', + }, + mapset__1 = { + args = { 1, 3 }, + base = 1, desc = [=[ Restore a mapping from a dictionary, possibly returned by |maparg()| or |maplist()|. A buffer mapping, when dict.buffer @@ -6354,8 +6361,8 @@ M.funcs = { endfor ]=], name = 'mapset', - params = { { 'mode', 'string' }, { 'abbr', 'any' }, { 'dict', 'any' } }, - signature = 'mapset({mode}, {abbr}, {dict})', + params = { { 'dict', 'any' } }, + signature = 'mapset({dict})', }, match = { args = { 2, 4 }, |