Browse files

[fix] vim: don't enter xhtml syntax mode when using type coercion ope…

…rator '<:'
  • Loading branch information...
1 parent 9678424 commit 7988106e6698cd2cef940e4831264552a6f6741b @ogunden ogunden committed with Aqua-Ye Jan 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/vim/syntax/opa.vim
@@ -24,7 +24,7 @@ syn keyword opaCss css
syn region opaCodeinString matchgroup=opaKeywords start=+[^\\]{+ matchgroup=opaKeywords end=+}+ containedin=opaString,opaHtml contains=ALL
syn region opaString start=+"+ skip=+\\"+ end=+"+
-syn region opaHtml start=+<\S+ skip=+->+ end=+>+ contains=opaColor,opaString
+syn region opaHtml start=+<[^:]\S+ skip=+->+ end=+>+ contains=opaColor,opaString
syn match opaConstructor "\[\s*\]"
syn match opaBypass "%%"

0 comments on commit 7988106

Please sign in to comment.