mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
docs(eval): fix wrong return type of getcharsearch() (#30176)
(cherry picked from commit 6c2186a998
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
d874ba319d
commit
c7e943a181
2
runtime/lua/vim/_meta/vimfn.lua
generated
2
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -2823,7 +2823,7 @@ function vim.fn.getcharpos(expr) end
|
|||||||
--- nnoremap <expr> , getcharsearch().forward ? ',' : ';'
|
--- nnoremap <expr> , getcharsearch().forward ? ',' : ';'
|
||||||
--- <Also see |setcharsearch()|.
|
--- <Also see |setcharsearch()|.
|
||||||
---
|
---
|
||||||
--- @return table[]
|
--- @return table
|
||||||
function vim.fn.getcharsearch() end
|
function vim.fn.getcharsearch() end
|
||||||
|
|
||||||
--- Get a single character from the user or input stream as a
|
--- Get a single character from the user or input stream as a
|
||||||
|
@@ -3518,7 +3518,7 @@ M.funcs = {
|
|||||||
]=],
|
]=],
|
||||||
name = 'getcharsearch',
|
name = 'getcharsearch',
|
||||||
params = {},
|
params = {},
|
||||||
returns = 'table[]',
|
returns = 'table',
|
||||||
signature = 'getcharsearch()',
|
signature = 'getcharsearch()',
|
||||||
},
|
},
|
||||||
getcharstr = {
|
getcharstr = {
|
||||||
|
Reference in New Issue
Block a user