Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 6eb77123b5177017cb8a16944b8248b1b1ea579a 1 parent cb8ba5a
@inky authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  vim/syntax/tumblr.vim
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.