diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-01-08 18:28:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-01-08 18:28:22 +0100 |
commit | 2d02839050a2557bf36dab37ccd9f92168a757d1 (patch) | |
tree | abc07fdc4481657a1a0739f6dcc006c3cca51df5 /src/testdir/test_syntax.vim | |
parent | 453b576ee5d32e9b8e6876712748ae01f9be68dd (diff) | |
download | vim-git-2d02839050a2557bf36dab37ccd9f92168a757d1.tar.gz |
patch 8.0.0157: no completion for :syntax spell and :syntax syncv8.0.0157
Problem: No command line completion for ":syntax spell" and ":syntax sync".
Solution: Implement the completion. (Dominique Pelle)
Diffstat (limited to 'src/testdir/test_syntax.vim')
-rw-r--r-- | src/testdir/test_syntax.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_syntax.vim b/src/testdir/test_syntax.vim index 7cb67e677..23ef1549e 100644 --- a/src/testdir/test_syntax.vim +++ b/src/testdir/test_syntax.vim @@ -150,6 +150,12 @@ func Test_syntax_completion() call feedkeys(":syn case \<C-A>\<C-B>\"\<CR>", 'tx') call assert_equal('"syn case ignore match', @:) + call feedkeys(":syn spell \<C-A>\<C-B>\"\<CR>", 'tx') + call assert_equal('"syn spell default notoplevel toplevel', @:) + + call feedkeys(":syn sync \<C-A>\<C-B>\"\<CR>", 'tx') + call assert_equal('"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region', @:) + call feedkeys(":syn list \<C-A>\<C-B>\"\<CR>", 'tx') call assert_match('^"syn list Boolean Character ', @:) |