aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_syntax.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-12-04 21:39:18 +0100
committerGitHub <noreply@github.com>2018-12-04 21:39:18 +0100
commitc07e48a900bb8b6d865eb6c65ae0f6fb9f96322e (patch)
tree3fd95df15dc1b844324ddab0226ba93aad3bc675 /src/nvim/testdir/test_syntax.vim
parentd207440f1e739172477083078d4a6fe7858e772b (diff)
parentabd32c1bb8c01725291a8de2a691b89ee7050012 (diff)
downloadrneovim-c07e48a900bb8b6d865eb6c65ae0f6fb9f96322e.tar.gz
rneovim-c07e48a900bb8b6d865eb6c65ae0f6fb9f96322e.tar.bz2
rneovim-c07e48a900bb8b6d865eb6c65ae0f6fb9f96322e.zip
vim-patch:8.1.0559: command line completion not sufficiently tested (#9310)
Problem: Command line completion not sufficiently tested. Solution: Add more tests. (Dominique Pelle, closes vim/vim#3622) https://github.com/vim/vim/commit/b513d3079bbe3f59a1f1a3d6931939a76cd7e54a
Diffstat (limited to 'src/nvim/testdir/test_syntax.vim')
-rw-r--r--src/nvim/testdir/test_syntax.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim
index e70d9b7c66..6978faeb7b 100644
--- a/src/nvim/testdir/test_syntax.vim
+++ b/src/nvim/testdir/test_syntax.vim
@@ -114,6 +114,15 @@ func Test_syntime()
bd
endfunc
+func Test_syntime_completion()
+ if !has('profile')
+ return
+ endif
+
+ call feedkeys(":syntime \<C-A>\<C-B>\"\<CR>", 'tx')
+ call assert_equal('"syntime clear off on report', @:)
+endfunc
+
func Test_syntax_list()
syntax on
let a = execute('syntax list')