X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51e532bed427bffeac8fa44da7b2b6bf198b6849..fd091280b0e0935954b1fcfb60cc8a6d3e3dfdee:/.vim/syntax/snippet.vim?ds=sidebyside diff --git a/.vim/syntax/snippet.vim b/.vim/syntax/snippet.vim deleted file mode 100644 index 5e919e7..0000000 --- a/.vim/syntax/snippet.vim +++ /dev/null @@ -1,19 +0,0 @@ -" Syntax highlighting for snippet files (used for snipMate.vim) -" Hopefully this should make snippets a bit nicer to write! -syn match snipComment '^#.*' -syn match placeHolder '\${\d\+\(:.\{-}\)\=}' contains=snipCommand -syn match tabStop '\$\d\+' -syn match snipCommand '`.\{-}`' -syn match snippet '^snippet.*' transparent contains=multiSnipText,snipKeyword -syn match multiSnipText '\S\+ \zs.*' contained -syn match snipKeyword '^snippet'me=s+8 contained -syn match snipError "^[^#s\t].*$" - -hi link snipComment Comment -hi link multiSnipText String -hi link snipKeyword Keyword -hi link snipComment Comment -hi link placeHolder Special -hi link tabStop Special -hi link snipCommand String -hi link snipError Error diff --git a/.vim/syntax/snippet.vim b/.vim/syntax/snippet.vim new file mode 120000 index 0000000..9e534bc --- /dev/null +++ b/.vim/syntax/snippet.vim @@ -0,0 +1 @@ +/usr/share/vim/addons/syntax/snippet.vim \ No newline at end of file