Merge pull request #30178 from neovim/backport-30176-to-release-0.10

docs(eval): wrong return type of getcharsearch
This commit is contained in:
zeertzjq
2024-08-29 18:30:46 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -3518,7 +3518,7 @@ M.funcs = {
]=], ]=],
name = 'getcharsearch', name = 'getcharsearch',
params = {}, params = {},
returns = 'table[]', returns = 'table',
signature = 'getcharsearch()', signature = 'getcharsearch()',
}, },
getcharstr = { getcharstr = {