Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Half-working Vim syntax file for Tumblr themes

  • Loading branch information...
commit 1f6a974e21359f5e1e3b1fd8ca2f4bf97f3d51df 1 parent f74a048
@inky authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 vim/syntax/tumblr.vim
View
16 vim/syntax/tumblr.vim
@@ -0,0 +1,16 @@
+" Vim syntax file
+" Language: Tumblr HTML Theme
+" Maintainer: Liam Cooke <liamcooke@gmail.com>
+" URL: http://github.com/inky/tumblr/blob/master/vim/syntax/tumblr.vim
+" Last Change: 2010 Mar 10
+
+runtime! syntax/html.vim
+unlet b:current_syntax
+
+syntax match tumblrBlock '{/\?block:[A-Za-z0-9-]\+}' oneline containedin=ALL
+syntax match tumblrTag '{[A-Za-z0-9-:]\+}' oneline containedin=ALL
+
+hi def link tumblrBlock Label
+hi def link tumblrTag Identifier
+
+let b:current_syntax = "tumblr"
Please sign in to comment.
Something went wrong with that request. Please try again.