docs(eval): add parameter type for vim.fn.mode() (#26776)

This commit is contained in:
xvzc 2023-12-28 20:13:46 +09:00 committed by GitHub
parent 320c77fa52
commit 53a3e6ac87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -5829,8 +5829,9 @@ function vim.fn.mkdir(name, flags, prot) end
--- the leading character(s).
--- Also see |visualmode()|.
---
--- @param expr? any
--- @return any
function vim.fn.mode() end
function vim.fn.mode(expr) end
--- Convert a list of Vimscript objects to msgpack. Returned value is a
--- |readfile()|-style list. When {type} contains "B", a |Blob| is

View File

@ -7057,7 +7057,7 @@ M.funcs = {
]=],
name = 'mode',
params = {},
params = { { 'expr', 'any' } },
signature = 'mode([expr])',
},
msgpackdump = {