diff options
author | naohiro ono <obcat@icloud.com> | 2022-01-01 14:59:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:59:44 +0000 |
commit | 56200eed62e59ad831f6564dcafe346e6f97ac20 (patch) | |
tree | bd242d2ea39d37c41f17bfa82acec695dac1d6b4 /src/testdir/test_put.vim | |
parent | e70cec976026ce72d09b6589ebba4677581063ac (diff) | |
download | vim-git-56200eed62e59ad831f6564dcafe346e6f97ac20.tar.gz |
patch 8.2.3969: value of MAXCOL not available in Vim scriptv8.2.3969
Problem: Value of MAXCOL not available in Vim script.
Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
Diffstat (limited to 'src/testdir/test_put.vim')
-rw-r--r-- | src/testdir/test_put.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim index c390bbb61..0fde02640 100644 --- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -205,7 +205,7 @@ func Test_multibyte_op_end_mark() call assert_equal([0, 1, 7, 0], getpos("']")) normal Vyp - call assert_equal([0, 1, 2147483647, 0], getpos("'>")) + call assert_equal([0, 1, v:maxcol, 0], getpos("'>")) call assert_equal([0, 2, 7, 0], getpos("']")) bwipe! endfunc |