]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/syntax/snippet.vim
Adds the custom status for tmux
[rbdr/dotfiles] / vim / syntax / snippet.vim
1 " Syntax highlighting for snippet files (used for snipMate.vim)
2 " Hopefully this should make snippets a bit nicer to write!
3 syn match snipComment '^#.*'
4 syn match placeHolder '\${\d\+\(:.\{-}\)\=}' contains=snipCommand
5 syn match tabStop '\$\d\+'
6 syn match snipCommand '[^\\]`.\{-}`'
7 syn match snippet '^snippet.*' transparent contains=multiSnipText,snipKeyword
8 syn match multiSnipText '\S\+ \zs.*' contained
9 syn match snipKeyword '^snippet'me=s+8 contained
10 syn match snipError "^[^#s\t].*$"
11
12 hi link snipComment Comment
13 hi link multiSnipText String
14 hi link snipKeyword Keyword
15 hi link snipComment Comment
16 hi link placeHolder Special
17 hi link tabStop Special
18 hi link snipCommand String
19 hi link snipError Error