mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
lets try again...
This commit is contained in:
11
sources_non_forked/vim-snipmate/syntax/snippet.vim
Normal file
11
sources_non_forked/vim-snipmate/syntax/snippet.vim
Normal file
@ -0,0 +1,11 @@
|
||||
" Syntax highlighting for .snippet files (used for snipMate.vim)
|
||||
" Hopefully this should make snippets a bit nicer to write!
|
||||
syn match placeHolder '\${\d\+\(:.\{-}\)\=}' contains=snipCommand
|
||||
syn match tabStop '\$\d\+'
|
||||
syn match snipEscape '\\\\\|\\`'
|
||||
syn match snipCommand '\%(\\\@<!\%(\\\\\)*\)\@<=`.\{-}\%(\\\@<!\%(\\\\\)*\)\@<=`'
|
||||
|
||||
hi link placeHolder Special
|
||||
hi link tabStop Special
|
||||
hi link snipEscape SpecialChar
|
||||
hi link snipCommand String
|
Reference in New Issue
Block a user