neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 6c2186a998acb4a25ffa0b1b176be5119d1517aa
parent 0346666f717576d31be411cd59b07c81eff18f95
Author: glepnir <glephunter@gmail.com>
Date:   Thu, 29 Aug 2024 18:02:23 +0800

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


Diffstat:
Mruntime/lua/vim/_meta/vimfn.lua | 2+-
Msrc/nvim/eval.lua | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua @@ -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 diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua @@ -3564,7 +3564,7 @@ M.funcs = { ]=], name = 'getcharsearch', params = {}, - returns = 'table[]', + returns = 'table', signature = 'getcharsearch()', }, getcharstr = {