diff --git a/tests/syntax-tests/highlighted/VimL/source.vim b/tests/syntax-tests/highlighted/VimL/source.vim index a3dbe2d1..37c4e953 100644 --- a/tests/syntax-tests/highlighted/VimL/source.vim +++ b/tests/syntax-tests/highlighted/VimL/source.vim @@ -69,6 +69,12 @@ echo "Hello" isnot "Hello2" echo "Hello" =~ "Hello2" echo "Hello" !~ "Hello2" +echo "Hello" !~ "Hello2" + +echo "/This/should/not/be/a/regex" + +" Error case from issue #1604 (https://github.com/sharkdp/bat/issues/1064) +set runtimepath=~/foo/bar let g:dict = {} let g:dict.item = ['l1', 'l2'] diff --git a/tests/syntax-tests/source/VimL/source.vim b/tests/syntax-tests/source/VimL/source.vim index 85e536ab..15cd3a81 100644 --- a/tests/syntax-tests/source/VimL/source.vim +++ b/tests/syntax-tests/source/VimL/source.vim @@ -69,6 +69,12 @@ echo "Hello" is "Hello2" echo "Hello" isnot "Hello2" echo "Hello" =~ "Hello2" echo "Hello" !~ "Hello2" +echo "Hello" !~ "Hello2" + +echo "/This/should/not/be/a/regex" + +" Error case from issue #1604 (https://github.com/sharkdp/bat/issues/1064) +set runtimepath=~/foo/bar let g:dict = {} let g:dict.item = ['l1', 'l2']