diff --git a/src/testdir/test_ins_complete.vim b/src/testdir/test_ins_complete.vim index 51e3c1b5b6..48589ce188 100644 --- a/src/testdir/test_ins_complete.vim +++ b/src/testdir/test_ins_complete.vim @@ -2573,14 +2573,17 @@ func Test_complete_fuzzy_match() call feedkeys("S\\fb\", 'tx') call assert_equal('fooBaz', g:word) - " avoid break default completion behavior + " avoid breaking default completion behavior set completeopt=fuzzy,menu call setline(1, ['hello help hero h']) - exe "norm! A\\" + " Use "!" flag of feedkeys() so that ex_normal_busy is not set and + " ins_compl_check_keys() is not skipped. + " Add a "0" after the to avoid waiting for an escape sequence. + call feedkeys("A\\\0", 'tx!') call assert_equal('hello help hero hello', getline('.')) set completeopt+=noinsert call setline(1, ['hello help hero h']) - exe "norm! A\\" + call feedkeys("A\\\0", 'tx!') call assert_equal('hello help hero h', getline('.')) " clean up diff --git a/src/version.c b/src/version.c index abfcf3f568..3817c9b1b4 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 493, /**/ 492, /**/