From cc049a5612a08b810f5897f7b108e0cdaba445b7 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 12 Sep 2020 23:52:11 -0400 Subject: vim-patch:8.1.0640: get E14 while typing command :tab with 'incsearch' set Problem: Get E14 while typing command :tab with 'incsearch' set. Solution: Do not give an error when looking for the command. (Yasuhiro Higashi) https://github.com/vim/vim/commit/548e5985734e4b216852205879daf9bfb00dbe5a --- src/nvim/testdir/test_search.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/nvim/testdir') diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim index fe502f140d..a945304e78 100644 --- a/src/nvim/testdir/test_search.vim +++ b/src/nvim/testdir/test_search.vim @@ -861,6 +861,21 @@ func Test_incsearch_with_change() call delete('Xis_change_script') endfunc +func Test_incsearch_cmdline_modifier() + throw 'skipped: Nvim does not support test_override()' + if !exists('+incsearch') + return + endif + call test_override("char_avail", 1) + new + call setline(1, ['foo']) + set incsearch + " Test that error E14 does not occur in parsing command modifier. + call feedkeys("V:tab", 'tx') + + call Incsearch_cleanup() +endfunc + func Test_incsearch_scrolling() if !CanRunVimInTerminal() return -- cgit