Browse files

Detect tags with arguments, such as {Likes limit="5"}

  • Loading branch information...
1 parent cb8ba5a commit 6eb77123b5177017cb8a16944b8248b1b1ea579a @inky committed Mar 10, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 vim/syntax/tumblr.vim
@@ -11,6 +11,7 @@ syntax region cssDefinition transparent matchgroup=cssBraces start='{' end='}' c
syntax match tumblrBlock '{/\?block:[A-Za-z0-9-]\+}' containedin=ALL
syntax match tumblrTag '{[A-Za-z0-9-:]\+}' containedin=ALL
+syntax match tumblrTag '{[A-Za-z0-9-:]\+\( [A-Za-z0-9]\+="[A-Za-z0-9]\+"\)*}' containedin=ALL
hi def link tumblrBlock Label
hi def link tumblrTag Identifier

0 comments on commit 6eb7712

Please sign in to comment.