mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
docs(eval): fix dict param type of mapset
Match maparg's return type.
This commit is contained in:
2
runtime/doc/builtin.txt
generated
2
runtime/doc/builtin.txt
generated
@@ -6090,7 +6090,7 @@ mapset({dict})
|
|||||||
<
|
<
|
||||||
|
|
||||||
Parameters: ~
|
Parameters: ~
|
||||||
• {dict} (`boolean`)
|
• {dict} (`table<string,any>`)
|
||||||
|
|
||||||
Return: ~
|
Return: ~
|
||||||
(`any`)
|
(`any`)
|
||||||
|
4
runtime/lua/vim/_meta/vimfn.lua
generated
4
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -5479,7 +5479,7 @@ function vim.fn.mapnew(expr1, expr2) end
|
|||||||
|
|
||||||
--- @param mode string
|
--- @param mode string
|
||||||
--- @param abbr? boolean
|
--- @param abbr? boolean
|
||||||
--- @param dict? boolean
|
--- @param dict? table<string,any>
|
||||||
--- @return any
|
--- @return any
|
||||||
function vim.fn.mapset(mode, abbr, dict) end
|
function vim.fn.mapset(mode, abbr, dict) end
|
||||||
|
|
||||||
@@ -5519,7 +5519,7 @@ function vim.fn.mapset(mode, abbr, dict) end
|
|||||||
--- endfor
|
--- endfor
|
||||||
--- <
|
--- <
|
||||||
---
|
---
|
||||||
--- @param dict boolean
|
--- @param dict table<string,any>
|
||||||
--- @return any
|
--- @return any
|
||||||
function vim.fn.mapset(dict) end
|
function vim.fn.mapset(dict) end
|
||||||
|
|
||||||
|
@@ -6762,7 +6762,7 @@ M.funcs = {
|
|||||||
args = { 1, 3 },
|
args = { 1, 3 },
|
||||||
base = 1,
|
base = 1,
|
||||||
name = 'mapset',
|
name = 'mapset',
|
||||||
params = { { 'mode', 'string' }, { 'abbr', 'boolean' }, { 'dict', 'boolean' } },
|
params = { { 'mode', 'string' }, { 'abbr', 'boolean' }, { 'dict', 'table<string,any>' } },
|
||||||
signature = 'mapset({mode}, {abbr}, {dict})',
|
signature = 'mapset({mode}, {abbr}, {dict})',
|
||||||
},
|
},
|
||||||
mapset__1 = {
|
mapset__1 = {
|
||||||
@@ -6806,7 +6806,7 @@ M.funcs = {
|
|||||||
<
|
<
|
||||||
]=],
|
]=],
|
||||||
name = 'mapset',
|
name = 'mapset',
|
||||||
params = { { 'dict', 'boolean' } },
|
params = { { 'dict', 'table<string,any>' } },
|
||||||
signature = 'mapset({dict})',
|
signature = 'mapset({dict})',
|
||||||
},
|
},
|
||||||
match = {
|
match = {
|
||||||
|
Reference in New Issue
Block a user