diff --git a/Vue Component.sublime-syntax b/Vue Component.sublime-syntax index 6e10fbd..4d21ca7 100644 --- a/Vue Component.sublime-syntax +++ b/Vue Component.sublime-syntax @@ -390,6 +390,16 @@ contexts: - script-html - tag-generic-attribute-meta - tag-generic-attribute-value + - match: (?i)(?=x-template(?!{{unquoted_attribute_value}})|'x-template'|"x-template") + set: + - script-html + - tag-generic-attribute-meta + - tag-generic-attribute-value + - match: (?i)(?=text/x-template(?!{{unquoted_attribute_value}})|'text/x-template'|"text/x-template") + set: + - script-html + - tag-generic-attribute-meta + - tag-generic-attribute-value - match: (?=\S) set: - script-other