Skip to content

Commit 71644bc

Browse files
deathaxeskyronic
authored andcommitted
Add section separators
Improve readability.
1 parent e9a899c commit 71644bc

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Vue Component.sublime-syntax

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ contexts:
8181
2: entity.name.tag.template.html
8282
push: template-mustache
8383

84+
###[ TAG ATTRIBUTES ]#########################################################
85+
8486
vue-directive:
8587
- match: (?=v-)
8688
push:
@@ -117,6 +119,8 @@ contexts:
117119
0: meta.string.html string.quoted.single.html punctuation.definition.string.end.html
118120
- include: else-pop
119121

122+
###[ STYLE TAG ]##############################################################
123+
120124
style-close-tag:
121125
# for compatibility with ST builds before 4114
122126
- match: (</)((?i:style){{tag_name_break}})
@@ -314,6 +318,8 @@ contexts:
314318
- tag-generic-attribute-meta
315319
- tag-generic-attribute-value
316320

321+
###[ SCRIPT TAG ]#############################################################
322+
317323
script-close-tag:
318324
# for compatibility with ST builds before 4114
319325
- match: (</)((?i:script){{tag_name_break}})
@@ -445,6 +451,8 @@ contexts:
445451
- tag-generic-attribute-meta
446452
- tag-generic-attribute-value
447453

454+
###[ TEMPLATE TAG ]###########################################################
455+
448456
template-common:
449457
- include: template-lang-attribute
450458
- include: tag-attributes

Vue Component.sublime-syntax.yaml-macros

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ contexts:
8282
2: entity.name.tag.template.html
8383
push: template-mustache
8484

85+
###[ TAG ATTRIBUTES ]#########################################################
86+
8587
vue-directive:
8688
- match: (?=v-)
8789
push:
@@ -126,6 +128,8 @@ contexts:
126128
punctuation.definition.string.end.html
127129
- include: else-pop
128130

131+
###[ STYLE TAG ]##############################################################
132+
129133
style-close-tag:
130134
# for compatibility with ST builds before 4114
131135
- match: (</)((?i:style){{tag_name_break}})
@@ -197,6 +201,8 @@ contexts:
197201
- tag-generic-attribute-meta
198202
- tag-generic-attribute-value
199203

204+
###[ SCRIPT TAG ]#############################################################
205+
200206
script-close-tag:
201207
# for compatibility with ST builds before 4114
202208
- match: (</)((?i:script){{tag_name_break}})
@@ -265,6 +271,8 @@ contexts:
265271
- tag-generic-attribute-meta
266272
- tag-generic-attribute-value
267273

274+
###[ TEMPLATE TAG ]###########################################################
275+
268276
template-common:
269277
- include: template-lang-attribute
270278
- include: tag-attributes

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