commit cb12c8fa47c785eeb2264784235e4b997be8bd9c
parent 1bfb8dd338f4c13ca2fea78d241a852931f1bed0
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat, 10 May 2025 07:14:01 +0800
vim-patch:9973b39: runtime(doc): remove duplicate sentence in builtin.txt
https://github.com/vim/vim/commit/9973b39a17095e6d77b25aafb73a317cebcf586e
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
3 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
@@ -1528,8 +1528,6 @@ cursor({list})
position within a <Tab> 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
@@ -1350,8 +1350,6 @@ function vim.fn.cursor(lnum, col, off) end
--- position within a <Tab> 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
@@ -1779,7 +1779,6 @@ M.funcs = {
position within a <Tab> 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[]' } },