aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-03-07 11:41:25 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-03-07 11:41:35 +0800
commit08d0f99ae122b21e9470d58224edd69d1615ee3d (patch)
tree89afdddca924a71b7110d4094e0b20813b3a11b8
parent2882b1543a4f30ee3d7b039a5d51bb994fd6aa1d (diff)
downloadrneovim-08d0f99ae122b21e9470d58224edd69d1615ee3d.tar.gz
rneovim-08d0f99ae122b21e9470d58224edd69d1615ee3d.tar.bz2
rneovim-08d0f99ae122b21e9470d58224edd69d1615ee3d.zip
vim-patch:partial:944697ae196
Update runtime files https://github.com/vim/vim/commit/944697ae19683441981539cd4d2469df89d6ec82 Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--runtime/doc/builtin.txt2
-rw-r--r--runtime/doc/eval.txt4
2 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index dd5b77e8ac..b0b7809e8c 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -6574,6 +6574,8 @@ screenpos({winid}, {lnum}, {col}) *screenpos()*
as if 'conceallevel' is zero. You can set the cursor to the
right position and use |screencol()| to get the value with
|conceal| taken into account.
+ If the position is in a closed fold the screen position of the
+ first character is returned, {col} is not used.
Returns an empty Dict if {winid} is invalid.
Can also be used as a |method|: >
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 51e26cc28b..fe15ba6115 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1980,7 +1980,9 @@ v:lua Prefix for calling Lua functions from expressions.
See |v:lua-call| for more information.
*v:maxcol* *maxcol-variable*
-v:maxcol Maximum line length.
+v:maxcol Maximum line length. Depending on where it is used it can be
+ screen columns, characters or bytes. The value currently is
+ 2147483647 on all systems.
*v:mouse_win* *mouse_win-variable*
v:mouse_win Window number for a mouse click obtained with |getchar()|.