aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-04-04 14:13:51 +0800
committerGitHub <noreply@github.com>2025-04-04 14:13:51 +0800
commit74edfebbde4962ffd535f11d57a1ea0bc5322057 (patch)
tree90800cd2b9fc1361c4c1af96b9bec3c9e82b1960 /test
parentd9405c7935d4c826476029d16ecb95a0478cd58d (diff)
parentb01921cb55d795cf650c1026c514cb4179a6cada (diff)
downloadrneovim-74edfebbde4962ffd535f11d57a1ea0bc5322057.tar.gz
rneovim-74edfebbde4962ffd535f11d57a1ea0bc5322057.tar.bz2
rneovim-74edfebbde4962ffd535f11d57a1ea0bc5322057.zip
Merge pull request #33282 from glepnir/vim-9.1.1269
vim-patch:9.1.{1269,1272}
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_ins_complete.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/old/testdir/test_ins_complete.vim b/test/old/testdir/test_ins_complete.vim
index 0e4f051f5a..5dd29bcc0a 100644
--- a/test/old/testdir/test_ins_complete.vim
+++ b/test/old/testdir/test_ins_complete.vim
@@ -2861,6 +2861,14 @@ func Test_complete_opt_fuzzy()
call feedkeys("i\<C-R>=CompAnother()\<CR>\<C-P>\<C-P>", 'tx')
call assert_equal("for", g:abbr)
+ set cot=menu,fuzzy
+ call feedkeys("Sblue\<CR>bar\<CR>b\<C-X>\<C-P>\<C-Y>\<ESC>", 'tx')
+ call assert_equal('bar', getline('.'))
+ call feedkeys("Sb\<C-X>\<C-N>\<C-Y>\<ESC>", 'tx')
+ call assert_equal('blue', getline('.'))
+ call feedkeys("Sb\<C-X>\<C-P>\<C-N>\<C-Y>\<ESC>", 'tx')
+ call assert_equal('b', getline('.'))
+
" clean up
set omnifunc=
bw!