Add case from #1604 to VimL syntax-test source

This commit is contained in:
Ensar Sarajčić 2020-12-27 09:32:29 +01:00 committed by David Peter
parent cc6109a751
commit 171d215f91
2 changed files with 12 additions and 0 deletions

View File

@ -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']

View File

@ -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']