docs(builtin): fix mapset() signature (#27008)

This commit is contained in:
zeertzjq
2024-01-14 08:44:16 +08:00
committed by GitHub
parent 0c850add3e
commit 2bdd8fad4c
3 changed files with 19 additions and 7 deletions

View File

@@ -6315,6 +6315,13 @@ M.funcs = {
signature = 'mapnew({expr1}, {expr2})',
},
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 = [=[
@@ -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 },