forked from aniani/vim
patch 8.1.1915: more functions can be used as methods
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
This commit is contained in:
@@ -22,7 +22,7 @@ func Test_move_cursor()
|
||||
call cursor(3, 0)
|
||||
call assert_equal([3, 1, 0, 1], getcurpos()[1:])
|
||||
" below last line goes to last line
|
||||
call cursor(9, 1)
|
||||
eval [9, 1]->cursor()
|
||||
call assert_equal([4, 1, 0, 1], getcurpos()[1:])
|
||||
|
||||
call setline(1, ["\<TAB>"])
|
||||
|
Reference in New Issue
Block a user