aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_marks.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-07 06:04:40 +0800
committerGitHub <noreply@github.com>2022-02-07 06:04:40 +0800
commit380bc4fe22e8dbd478e58d568e0d749df439fec9 (patch)
tree9882e065f6e6fb118ace1353ad547f19bae9e877 /src/nvim/testdir/test_marks.vim
parente2466d84bc818c8e61751972b501551aab07d13c (diff)
parentfe621b4ac01c6865650794b8e986665be4fe0ae7 (diff)
downloadrneovim-380bc4fe22e8dbd478e58d568e0d749df439fec9.tar.gz
rneovim-380bc4fe22e8dbd478e58d568e0d749df439fec9.tar.bz2
rneovim-380bc4fe22e8dbd478e58d568e0d749df439fec9.zip
Merge pull request #17299 from zeertzjq/vim-8.1.0711
vim-patch:7.4.{1163,1164,1167,1173,1178,1181,1228},8.1.0711
Diffstat (limited to 'src/nvim/testdir/test_marks.vim')
-rw-r--r--src/nvim/testdir/test_marks.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/testdir/test_marks.vim b/src/nvim/testdir/test_marks.vim
index 6b9904ec0a..00ee8f6d6a 100644
--- a/src/nvim/testdir/test_marks.vim
+++ b/src/nvim/testdir/test_marks.vim
@@ -1,6 +1,6 @@
" Test that a deleted mark is restored after delete-undo-redo-undo.
-function! Test_Restore_DelMark()
+func Test_Restore_DelMark()
enew!
call append(0, [" textline A", " textline B", " textline C"])
normal! 2gg
@@ -11,10 +11,10 @@ function! Test_Restore_DelMark()
call assert_equal(2, pos[1])
call assert_equal(1, pos[2])
enew!
-endfunction
+endfunc
" Test that CTRL-A and CTRL-X updates last changed mark '[, '].
-function! Test_Incr_Marks()
+func Test_Incr_Marks()
enew!
call append(0, ["123 123 123", "123 123 123", "123 123 123"])
normal! gg
@@ -23,7 +23,7 @@ function! Test_Incr_Marks()
call assert_equal("123 XXXXXXX", getline(2))
call assert_equal("XXX 123 123", getline(3))
enew!
-endfunction
+endfunc
func Test_previous_jump_mark()
new