aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-06 04:46:16 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-02-06 04:46:16 +0800
commit46d1b8ed1fd8ae4d39007c698e3981e87f2fb956 (patch)
tree48e33563bdb4b6fe971762f89a1e4e79a6a72b58
parent8c3244c9a1c4b82ab86431f173716ce606b83813 (diff)
downloadrneovim-46d1b8ed1fd8ae4d39007c698e3981e87f2fb956.tar.gz
rneovim-46d1b8ed1fd8ae4d39007c698e3981e87f2fb956.tar.bz2
rneovim-46d1b8ed1fd8ae4d39007c698e3981e87f2fb956.zip
vim-patch:partial:2346a6378483
Update runtime files https://github.com/vim/vim/commit/2346a6378483c9871016f9fc821ec5cbea638f13
-rw-r--r--runtime/doc/builtin.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 7738324b49..cc1067e14a 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -2847,8 +2847,8 @@ getcurpos([{winid}])
Can also be used as a |method|: >
GetWinid()->getcurpos()
-
-< *getcursorcharpos()*
+<
+ *getcursorcharpos()*
getcursorcharpos([{winid}])
Same as |getcurpos()| but the column number in the returned
List is a character index instead of a byte index.
@@ -2857,8 +2857,8 @@ getcursorcharpos([{winid}])
With the cursor on '보' in line 3 with text "여보세요": >
getcursorcharpos() returns [0, 3, 2, 0, 3]
getcurpos() returns [0, 3, 4, 0, 3]
-
-< Can also be used as a |method|: >
+<
+ Can also be used as a |method|: >
GetWinid()->getcursorcharpos()
getcwd([{winnr}[, {tabnr}]]) *getcwd()*
@@ -3141,7 +3141,7 @@ getpos({expr}) Get the position for String {expr}. For possible values of
'> is a large number.
The column number in the returned List is the byte position
within the line. To get the character position in the line,
- use |getcharpos()|
+ use |getcharpos()|.
The column number can be very large, e.g. 2147483647, in which
case it means "after the end of the line".
This can be used to save and restore the position of a mark: >