mirror of
https://github.com/gryf/snipmate.vim.git
synced 2026-10-09 15:12:29 +02:00
added syntax warning for incorrect snippet files
This commit is contained in:
1 parent
e0fc4d1d91
commit
ef57082b04
1 file changed
+2
@@ -7,6 +7,7 @@ syn match snipCommand '`.\{-}`'
|
||||
syn match snippet '^snippet.*' transparent contains=multiSnipText,snipKeyword
|
||||
syn match multiSnipText '\w\+ \zs.*' contained
|
||||
syn match snipKeyword '^snippet'me=s+8 contained
|
||||
syn match snipError "^[^#s\t].*$"
|
||||
|
||||
hi link snipComment Comment
|
||||
hi link multiSnipText String
|
||||
@@ -15,3 +16,4 @@ hi link snipComment Comment
|
||||
hi link placeHolder Special
|
||||
hi link tabStop Special
|
||||
hi link snipCommand String
|
||||
hi link snipError Error
|
||||
Reference in new issue
Block a user