Skip to content

Commit 5e399a5

Browse files
committed
Fix sublime inserting HTML comments into stylus section. Stylus needs slashy comments.
1 parent fbcccae commit 5e399a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vue.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ patterns:
7777
patterns:
7878
- include: text.jade
7979

80-
- name: source.vue-stylus.embedded.html
80+
- name: source.stylus.embedded.html
8181
begin: (?:^\s+)?(<)((?i:style))\b(?=[^>]*lang="stylus(?:\?[^"]*)?")
8282
end: (</)((?i:style))(>)(?:\s*\n)?
8383
captures:

vue.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
<key>end</key>
286286
<string>(&lt;/)((?i:style))(&gt;)(?:\s*\n)?</string>
287287
<key>name</key>
288-
<string>source.vue-stylus.embedded.html</string>
288+
<string>source.stylus.embedded.html</string>
289289
<key>patterns</key>
290290
<array>
291291
<dict>

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