1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-19 20:38:05 +01:00

added syntax warning for incorrect snippet files

This commit is contained in:
Michael Sanders
2009-05-12 12:23:27 -04:00
parent e0fc4d1d91
commit ef57082b04

View File

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