From 08d0f99ae122b21e9470d58224edd69d1615ee3d Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 7 Mar 2023 11:41:25 +0800 Subject: [PATCH] vim-patch:partial:944697ae196 Update runtime files https://github.com/vim/vim/commit/944697ae19683441981539cd4d2469df89d6ec82 Co-authored-by: Bram Moolenaar --- runtime/doc/builtin.txt | 2 ++ runtime/doc/eval.txt | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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()|.