From 2d02839050a2557bf36dab37ccd9f92168a757d1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 8 Jan 2017 18:28:22 +0100 Subject: patch 8.0.0157: no completion for :syntax spell and :syntax sync Problem: No command line completion for ":syntax spell" and ":syntax sync". Solution: Implement the completion. (Dominique Pelle) --- src/testdir/test_syntax.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/testdir/test_syntax.vim') 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 \\\"\", 'tx') call assert_equal('"syn case ignore match', @:) + call feedkeys(":syn spell \\\"\", 'tx') + call assert_equal('"syn spell default notoplevel toplevel', @:) + + call feedkeys(":syn sync \\\"\", 'tx') + call assert_equal('"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region', @:) + call feedkeys(":syn list \\\"\", 'tx') call assert_match('^"syn list Boolean Character ', @:) -- cgit v1.2.1