summaryrefslogtreecommitdiff
path: root/src/testdir/test_syntax.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-27 17:20:55 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-27 17:20:55 +0100
commit297610ba4b110c918ffe60c45eb4a1d6ea2daae5 (patch)
treeee04b17c7069ce83dd0f7f19ec30d1a9d58b7298 /src/testdir/test_syntax.vim
parent5c463a28fff1d82222d49bc7960da9e0c866b060 (diff)
downloadvim-git-297610ba4b110c918ffe60c45eb4a1d6ea2daae5.tar.gz
patch 8.2.0049: command line completion not fully testedv8.2.0049
Problem: Command line completion not fully tested. Solution: Add more test cases. Make help sorting stable. (Dominique Pelle, closes #5402)
Diffstat (limited to 'src/testdir/test_syntax.vim')
-rw-r--r--src/testdir/test_syntax.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_syntax.vim b/src/testdir/test_syntax.vim
index 21ee8dc62..389294ec7 100644
--- a/src/testdir/test_syntax.vim
+++ b/src/testdir/test_syntax.vim
@@ -180,6 +180,11 @@ func Test_syntax_completion()
call assert_match('^"syn match Boolean Character ', @:)
endfunc
+func Test_echohl_completion()
+ call feedkeys(":echohl no\<C-A>\<C-B>\"\<CR>", 'tx')
+ call assert_equal('"echohl NonText Normal none', @:)
+endfunc
+
func Test_syntax_arg_skipped()
syn clear
syntax case ignore