aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-03-07 11:04:36 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-03-07 11:33:23 +0800
commit2882b1543a4f30ee3d7b039a5d51bb994fd6aa1d (patch)
tree83983b49947c3bb581461419db2951909c88e932 /runtime/doc/eval.txt
parent7a44231832fbeb0fe87553f75519ca46e91cb7ab (diff)
downloadrneovim-2882b1543a4f30ee3d7b039a5d51bb994fd6aa1d.tar.gz
rneovim-2882b1543a4f30ee3d7b039a5d51bb994fd6aa1d.tar.bz2
rneovim-2882b1543a4f30ee3d7b039a5d51bb994fd6aa1d.zip
vim-patch:8.2.3969: value of MAXCOL not available in Vim script
Problem: Value of MAXCOL not available in Vim script. Solution: Add v:maxcol. (Naohiro Ono, closes vim/vim#9451) https://github.com/vim/vim/commit/56200eed62e59ad831f6564dcafe346e6f97ac20 The variable is always 2147483647, but introducing it makes functions easier to document. Co-authored-by: naohiro ono <obcat@icloud.com>
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index d79b446986..51e26cc28b 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1979,6 +1979,9 @@ v:lnum Line number for the 'foldexpr' |fold-expr|, 'formatexpr',
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:mouse_win* *mouse_win-variable*
v:mouse_win Window number for a mouse click obtained with |getchar()|.
First window has number 1, like with |winnr()|. The value is