diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-05 19:53:32 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-05 19:53:32 +0200 |
commit | 551d8c372e49ed630fd95c6422a0ee62d00902c5 (patch) | |
tree | 4a0d04952aa1622b555d8dabcb9bbda0de65388b /src/testdir/test_ins_complete.vim | |
parent | 92f4e915908962da2c1969a8d60f1563e06ee00e (diff) |
patch 9.1.0467: typos in some commentsv9.1.0467
Problem: typos in some comments
(after v9.1.0466)
Solution: fix comments
(zeertzjq)
closes: #14919
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/test_ins_complete.vim')
-rw-r--r-- | src/testdir/test_ins_complete.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testdir/test_ins_complete.vim b/src/testdir/test_ins_complete.vim index 1cd7d347c0..947b0bb646 100644 --- a/src/testdir/test_ins_complete.vim +++ b/src/testdir/test_ins_complete.vim @@ -2468,6 +2468,7 @@ func Test_complete_fuzzy_match() endif return [#{word: "foo"}, #{word: "foobar"}, #{word: "fooBaz"}, #{word: "foobala"}] endfunc + new set omnifunc=Omni_test set completeopt+=noinsert,fuzzy @@ -2480,13 +2481,13 @@ func Test_complete_fuzzy_match() " select next call feedkeys("S\<C-x>\<C-o>fb\<C-n>", 'tx') call assert_equal('foobar', g:word) - " can circly select next + " can cyclically select next call feedkeys("S\<C-x>\<C-o>fb\<C-n>\<C-n>\<C-n>", 'tx') call assert_equal(v:null, g:word) " select prev call feedkeys("S\<C-x>\<C-o>fb\<C-p>", 'tx') call assert_equal(v:null, g:word) - " can circly select prev + " can cyclically select prev call feedkeys("S\<C-x>\<C-o>fb\<C-p>\<C-p>\<C-p>\<C-p>", 'tx') call assert_equal('fooBaz', g:word) @@ -2505,6 +2506,8 @@ func Test_complete_fuzzy_match() augroup! AAAAA_Group delfunc OnPumChange delfunc Omni_test + unlet g:item + unlet g:word endfunc " vim: shiftwidth=2 sts=2 expandtab nofoldenable |