Skip to content

Commit 73cc77c

Browse files
deathaxeskyronic
authored andcommitted
Reuse tag-end context
No need to duplicate the match directive if it already exists.
1 parent 634c637 commit 73cc77c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Vue Component.sublime-syntax

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,7 @@ contexts:
425425
template-mustache:
426426
- meta_scope: meta.tag.template.begin.html
427427
- include: template-common
428-
- match: '>'
429-
scope: punctuation.definition.tag.end.html
430-
pop: 1
428+
- include: tag-end
431429

432430
template-lang-attribute:
433431
- match: (?i:lang){{attribute_name_break}}

Vue Component.sublime-syntax.yaml-macros

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,7 @@ contexts:
246246
template-mustache:
247247
- meta_scope: meta.tag.template.begin.html
248248
- include: template-common
249-
- match: '>'
250-
scope: punctuation.definition.tag.end.html
251-
pop: 1
249+
- include: tag-end
252250

253251
template-lang-attribute:
254252
- match: (?i:lang){{attribute_name_break}}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy