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

This commit is contained in:
glepnir 2024-08-29 18:02:23 +08:00 committed by GitHub
parent 0346666f71
commit 6c2186a998
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2861,7 +2861,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

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