Skip to content

Commit b98484e

Browse files
committed
fix jade highlighting issue (also revert scaope name)
1 parent 5a18a27 commit b98484e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

vue.YAML-tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# [PackageDev] target_format: plist, ext: tmLanguage
22
---
33
name: Vue Component
4-
scopeName: text.html.basic
4+
scopeName: text.html.vue
55
fileTypes: [vue]
66
uuid: 5512c10d-4cc5-434c-b8fc-53b912f55ab3
77

@@ -73,7 +73,7 @@ patterns:
7373
- begin: (>)
7474
beginCaptures:
7575
'1': {name: punctuation.definition.tag.end.html}
76-
end: (?=</(?i:style))
76+
end: (?=</(?i:template))
7777
patterns:
7878
- include: source.jade
7979

vue.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
</dict>
251251
</dict>
252252
<key>end</key>
253-
<string>(?=&lt;/(?i:style))</string>
253+
<string>(?=&lt;/(?i:template))</string>
254254
<key>patterns</key>
255255
<array>
256256
<dict>
@@ -1011,7 +1011,7 @@
10111011
</dict>
10121012
</dict>
10131013
<key>scopeName</key>
1014-
<string>text.html.basic</string>
1014+
<string>text.html.vue</string>
10151015
<key>uuid</key>
10161016
<string>5512c10d-4cc5-434c-b8fc-53b912f55ab3</string>
10171017
</dict>

0 commit comments

Comments
 (0)