Skip to content

Commit

Permalink
Add case from #1604 to VimL syntax-test source
Browse files Browse the repository at this point in the history
  • Loading branch information
esensar authored and sharkdp committed Dec 28, 2020
1 parent cc6109a commit 171d215
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/syntax-tests/highlighted/VimL/source.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
6 changes: 6 additions & 0 deletions tests/syntax-tests/source/VimL/source.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 171d215

Please sign in to comment.