diff --git a/Vue Component.sublime-syntax b/Vue Component.sublime-syntax index e7a15b2..07248dc 100644 --- a/Vue Component.sublime-syntax +++ b/Vue Component.sublime-syntax @@ -652,7 +652,7 @@ contexts: pop: true template-tag: - - match: (<)((?i:template))\b + - match: (<)((?i:template(>| )))\b captures: 0: meta.tag.template.begin.html 1: punctuation.definition.tag.begin.html diff --git a/Vue Component.sublime-syntax.yaml-macros b/Vue Component.sublime-syntax.yaml-macros index 7e5c549..732b88a 100644 --- a/Vue Component.sublime-syntax.yaml-macros +++ b/Vue Component.sublime-syntax.yaml-macros @@ -31,7 +31,7 @@ contexts: !merge - include: vue-directive template-tag: - - match: (<)((?i:template))\b + - match: (<)((?i:template(>| )))\b captures: 0: meta.tag.template.begin.html 1: punctuation.definition.tag.begin.html