mirror of
https://github.com/L3MON4D3/LuaSnip
synced 2024-09-16 21:54:03 +02:00
snipmate: don't highlight lines starting with space as error (#579).
This commit is contained in:
parent
a45cd5f4d9
commit
5832c5e3ee
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@ syn match snippet '^priority.*' contains=snipKeyword,priority
|
||||||
syn match priority '\d\+' contained
|
syn match priority '\d\+' contained
|
||||||
syn match multiSnipText '\S\+ \zs.*' contained
|
syn match multiSnipText '\S\+ \zs.*' contained
|
||||||
syn match snipKeyword '^(snippet|extends|version|autosnippet|priority)'me=s+8 contained
|
syn match snipKeyword '^(snippet|extends|version|autosnippet|priority)'me=s+8 contained
|
||||||
syn match snipError "^[^#vsaep\t].*$"
|
" normally we'd want a \s in that group, but that doesn't work => cover common
|
||||||
|
" cases with \t and " ".
|
||||||
|
syn match snipError "^[^#vsaep\t ].*$"
|
||||||
|
|
||||||
hi link snippet Identifier
|
hi link snippet Identifier
|
||||||
hi link snipComment Comment
|
hi link snipComment Comment
|
||||||
|
|
Loading…
Reference in a new issue