diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 60376859d8..3ff4406eed 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1528,8 +1528,6 @@ cursor({list}) position within a or after the last character. Returns 0 when the position could be set, -1 otherwise. - Returns 0 when the position could be set, -1 otherwise. - Parameters: ~ • {list} (`integer[]`) diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index fbaa39d021..f07ea9a20f 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -1350,8 +1350,6 @@ function vim.fn.cursor(lnum, col, off) end --- position within a or after the last character. --- Returns 0 when the position could be set, -1 otherwise. --- ---- Returns 0 when the position could be set, -1 otherwise. ---- --- @param list integer[] --- @return any function vim.fn.cursor(list) end diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 86b9b47f11..cc1f85b614 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -1779,7 +1779,6 @@ M.funcs = { position within a or after the last character. Returns 0 when the position could be set, -1 otherwise. - Returns 0 when the position could be set, -1 otherwise. ]=], name = 'cursor', params = { { 'list', 'integer[]' } },