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
commit 2a32ec784c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 = {