Skip to content

Commit e133b59

Browse files
author
Adrian Bjugård
committed
BUG vuejs#183: Correct template-tag regex
1 parent 25ffe66 commit e133b59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Vue Component.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ contexts:
653653
pop: true
654654

655655
template-tag:
656-
- match: (<)((?i:template))\b
656+
- match: (<)((?i:template(>| )))\b
657657
captures:
658658
0: meta.tag.template.begin.html
659659
1: punctuation.definition.tag.begin.html

Vue Component.sublime-syntax.yaml-macros

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ contexts: !merge
3131
- include: vue-directive
3232

3333
template-tag:
34-
- match: (<)((?i:template))\b
34+
- match: (<)((?i:template(>| )))\b
3535
captures:
3636
0: meta.tag.template.begin.html
3737
1: punctuation.definition.tag.begin.html

0 commit comments

Comments
 (0)