Skip to content

Commit d2ee76d

Browse files
author
thom
committed
Recompiled, removed a couple of with_prototypes.
1 parent 4ccce6e commit d2ee76d

File tree

2 files changed

+16
-74
lines changed

2 files changed

+16
-74
lines changed

Vue Component.sublime-syntax

Lines changed: 8 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -644,44 +644,6 @@ contexts:
644644
1: punctuation.definition.tag.begin.html
645645
2: entity.name.tag.template.html
646646
push: template-mustache
647-
# - match: '(?i)(<)(template)\b'
648-
# captures:
649-
# 0: meta.tag.template.begin.html
650-
# 1: punctuation.definition.tag.begin.html
651-
# 2: entity.name.tag.template.html
652-
# push:
653-
# - match: (?i)(</)(template)(>)
654-
# captures:
655-
# 0: meta.tag.template.end.html
656-
# 1: punctuation.definition.tag.begin.html
657-
# 2: entity.name.tag.template.html
658-
# 3: punctuation.definition.tag.end.html
659-
# pop: true
660-
# - match: '>'
661-
# scope: meta.tag.template.begin.html punctuation.definition.tag.end.html
662-
# push: mustache-template
663-
# - match: ''
664-
# push:
665-
# - meta_scope: meta.tag.template.begin.html
666-
# - match: '(?=>)'
667-
# pop: true
668-
# - include: tag-attributes
669-
670-
mustache-template:
671-
- match: (?=</template)
672-
pop: true
673-
- match: '{{'
674-
scope: punctuation.definition.template.begin.html
675-
push:
676-
- match: '}}'
677-
scope: punctuation.definition.template.end.html
678-
pop: true
679-
- match: ''
680-
push: scope:source.js
681-
with_prototype:
682-
- match: (?=}})
683-
pop: true
684-
- include: main
685647

686648
vue-directive:
687649
- match: \b(v-[\w\:\.-]+)\b
@@ -702,26 +664,16 @@ contexts:
702664
js-string:
703665
- match: '"'
704666
scope: punctuation.definition.string.begin.html
705-
push:
706-
- match: '"'
707-
scope: punctuation.definition.string.end.html
708-
pop: true
709-
- match: ''
710-
push: scope:source.js
711-
with_prototype:
712-
- match: (?=")
713-
pop: true
667+
embed: scope:source.js
668+
escape: '"'
669+
escape_captures:
670+
0: punctuation.definition.string.end.html
714671
- match: "'"
715672
scope: punctuation.definition.string.begin.html
716-
push:
717-
- match: "'"
718-
scope: punctuation.definition.string.end.html
719-
pop: true
720-
- match: ''
721-
push: scope:source.js
722-
with_prototype:
723-
- match: (?=')
724-
pop: true
673+
embed: scope:source.js
674+
escape: "'"
675+
escape_captures:
676+
0: punctuation.definition.string.end.html
725677

726678
- include: else-pop
727679

Vue Component.sublime-syntax.yaml-macros

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,16 @@ contexts: !merge
4242
js-string:
4343
- match: '"'
4444
scope: punctuation.definition.string.begin.html
45-
push:
46-
- match: '"'
47-
scope: punctuation.definition.string.end.html
48-
pop: true
49-
- match: ''
50-
push: scope:source.js
51-
with_prototype:
52-
- match: (?=")
53-
pop: true
45+
embed: scope:source.js
46+
escape: '"'
47+
escape_captures:
48+
0: punctuation.definition.string.end.html
5449
- match: "'"
5550
scope: punctuation.definition.string.begin.html
56-
push:
57-
- match: "'"
58-
scope: punctuation.definition.string.end.html
59-
pop: true
60-
- match: ''
61-
push: scope:source.js
62-
with_prototype:
63-
- match: (?=')
64-
pop: true
51+
embed: scope:source.js
52+
escape: "'"
53+
escape_captures:
54+
0: punctuation.definition.string.end.html
6555

6656
- include: else-pop
6757

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