docs(eval): fix wrong return type of getcharsearch() (#30176)

(cherry picked from commit 6c2186a998)
This commit is contained in:
glepnir
2024-08-29 18:02:23 +08:00
committed by github-actions[bot]
parent d874ba319d
commit c7e943a181
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 ? ',' : ';'
--- <Also see |setcharsearch()|.
---
--- @return table[]
--- @return table
function vim.fn.getcharsearch() end
--- Get a single character from the user or input stream as a

View File

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