forked from aniani/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 #9451)
This commit is contained in:
committed by
Bram Moolenaar
parent
e70cec9760
commit
56200eed62
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user