aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordvejmz <dvejmz@gmail.com>2018-01-08 19:37:24 +0000
committerdvejmz <dvejmz@gmail.com>2018-01-09 22:11:16 +0000
commit889bc3c20cf308b2bda43358639b739fe987e1ec (patch)
tree02d00d6fdc83797de249f36e10c11a8e7a9c8fc6 /src
parentb58c17f8df95d7626aec57de36781daa277314ee (diff)
downloadrneovim-889bc3c20cf308b2bda43358639b739fe987e1ec.tar.gz
rneovim-889bc3c20cf308b2bda43358639b739fe987e1ec.tar.bz2
rneovim-889bc3c20cf308b2bda43358639b739fe987e1ec.zip
vim-patch:8.0.0200: some syntax arguments are not tested
Problem: Some syntax arguments are not tested. Solution: Add more syntax command tests. https://github.com/vim/vim/commit/58f60ca2fcd2858faac84e386b3ccf5ced75084d
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_syntax.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim
index 64b3c14d73..636bdb8a4d 100644
--- a/src/nvim/testdir/test_syntax.vim
+++ b/src/nvim/testdir/test_syntax.vim
@@ -184,6 +184,10 @@ func Test_syntax_arg_skipped()
call assert_match('conceal off', execute('syntax conceal'))
endif
+ syntax conceal on
+ syntax conceal off
+ call assert_match('conceal off', execute('syntax conceal'))
+
syntax region Tar start=/</ end=/>/
if 0
syntax region NotTest start=/</ end=/>/ contains=@Spell