mirror of
https://github.com/L3MON4D3/LuaSnip
synced 2024-09-16 13:44:04 +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,6 +13,8 @@ syn match snippet '^priority.*' contains=snipKeyword,priority
|
|||
syn match priority '\d\+' contained
|
||||
syn match multiSnipText '\S\+ \zs.*' contained
|
||||
syn match snipKeyword '^(snippet|extends|version|autosnippet|priority)'me=s+8 contained
|
||||
" 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
|
||||
|
|
Loading…
Reference in a new issue