summaryrefslogtreecommitdiff
path: root/src/testdir/test_search.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-12-26 21:45:00 +0100
committerBram Moolenaar <Bram@vim.org>2018-12-26 21:45:00 +0100
commit548e5985734e4b216852205879daf9bfb00dbe5a (patch)
tree83fdfb078dd4e58bfcc6d4a2b6645b811615e4d2 /src/testdir/test_search.vim
parent8cf734e024af56707a1165bcdfee42364695ec8e (diff)
downloadvim-git-548e5985734e4b216852205879daf9bfb00dbe5a.tar.gz
patch 8.1.0640: get E14 while typing command :tab with 'incsearch' setv8.1.0640
Problem: Get E14 while typing command :tab with 'incsearch' set. Solution: Do not give an error when looking for the command. (Yasuhiro Higashi)
Diffstat (limited to 'src/testdir/test_search.vim')
-rw-r--r--src/testdir/test_search.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim
index 3c83dd197..86df794b5 100644
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -783,6 +783,20 @@ func Test_search_cmdline_incsearch_highlight_attr()
bwipe!
endfunc
+func Test_incsearch_cmdline_modifier()
+ 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