Skip to content

Commit f20c9ba

Browse files
committed
support inline request queries
1 parent a2336dd commit f20c9ba

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

vue.YAML-tmLanguage

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ patterns:
6262
match: (\s*)(?!--|>)\S(\s*)
6363

6464
- name: text.jade.embedded.html
65-
begin: (?:^\s+)?(<)((?i:template))\b(?=[^>]*lang="jade")
65+
begin: (?:^\s+)?(<)((?i:template))\b(?=[^>]*lang="jade(?:\?[^"]*)?")
6666
end: (</)((?i:template))(>)(?:\s*\n)?
6767
captures:
6868
'1': {name: punctuation.definition.tag.begin.html}
@@ -78,7 +78,7 @@ patterns:
7878
- include: text.jade
7979

8080
- name: source.vue-stylus.embedded.html
81-
begin: (?:^\s+)?(<)((?i:style))\b(?=[^>]*lang="stylus")
81+
begin: (?:^\s+)?(<)((?i:style))\b(?=[^>]*lang="stylus(?:\?[^"]*)?")
8282
end: (</)((?i:style))(>)(?:\s*\n)?
8383
captures:
8484
'1': {name: punctuation.definition.tag.begin.html}
@@ -94,7 +94,7 @@ patterns:
9494
- include: source.stylus
9595

9696
- name: source.sass.embedded.html
97-
begin: (?:^\s+)?(<)((?i:style))\b(?=[^>]*lang="(?:s(a|c)ss)")
97+
begin: (?:^\s+)?(<)((?i:style))\b(?=[^>]*lang="(?:s(a|c)ss)(?:\?[^"]*)?")
9898
end: (</)((?i:style))(>)(?:\s*\n)?
9999
captures:
100100
'1': {name: punctuation.definition.tag.begin.html}
@@ -110,7 +110,7 @@ patterns:
110110
- include: source.sass
111111

112112
- name: source.less.embedded.html
113-
begin: (?:^\s+)?(<)((?i:style))\b(?=[^>]*lang="less")
113+
begin: (?:^\s+)?(<)((?i:style))\b(?=[^>]*lang="less(?:\?[^"]*)?")
114114
end: (</)((?i:style))(>)(?:\s*\n)?
115115
captures:
116116
'1': {name: punctuation.definition.tag.begin.html}
@@ -142,7 +142,7 @@ patterns:
142142
- include: source.css
143143

144144
- name: source.coffee.embedded.html
145-
begin: (?:^\s+)?(<)((?i:script))\b(?=[^>]*lang="coffee")
145+
begin: (?:^\s+)?(<)((?i:script))\b(?=[^>]*lang="coffee(?:\?[^"]*)?")
146146
beginCaptures:
147147
'1': {name: punctuation.definition.tag.begin.html}
148148
'2': {name: entity.name.tag.script.html}

vue.tmLanguage

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
</dict>
210210
<dict>
211211
<key>begin</key>
212-
<string>(?:^\s+)?(&lt;)((?i:template))\b(?=[^&gt;]*lang="jade")</string>
212+
<string>(?:^\s+)?(&lt;)((?i:template))\b(?=[^&gt;]*lang="jade(?:\?[^"]*)?")</string>
213213
<key>captures</key>
214214
<dict>
215215
<key>1</key>
@@ -263,7 +263,7 @@
263263
</dict>
264264
<dict>
265265
<key>begin</key>
266-
<string>(?:^\s+)?(&lt;)((?i:style))\b(?=[^&gt;]*lang="stylus")</string>
266+
<string>(?:^\s+)?(&lt;)((?i:style))\b(?=[^&gt;]*lang="stylus(?:\?[^"]*)?")</string>
267267
<key>captures</key>
268268
<dict>
269269
<key>1</key>
@@ -317,7 +317,7 @@
317317
</dict>
318318
<dict>
319319
<key>begin</key>
320-
<string>(?:^\s+)?(&lt;)((?i:style))\b(?=[^&gt;]*lang="(?:s(a|c)ss)")</string>
320+
<string>(?:^\s+)?(&lt;)((?i:style))\b(?=[^&gt;]*lang="(?:s(a|c)ss)(?:\?[^"]*)?")</string>
321321
<key>captures</key>
322322
<dict>
323323
<key>1</key>
@@ -371,7 +371,7 @@
371371
</dict>
372372
<dict>
373373
<key>begin</key>
374-
<string>(?:^\s+)?(&lt;)((?i:style))\b(?=[^&gt;]*lang="less")</string>
374+
<string>(?:^\s+)?(&lt;)((?i:style))\b(?=[^&gt;]*lang="less(?:\?[^"]*)?")</string>
375375
<key>captures</key>
376376
<dict>
377377
<key>1</key>
@@ -479,7 +479,7 @@
479479
</dict>
480480
<dict>
481481
<key>begin</key>
482-
<string>(?:^\s+)?(&lt;)((?i:script))\b(?=[^&gt;]*lang="coffee")</string>
482+
<string>(?:^\s+)?(&lt;)((?i:script))\b(?=[^&gt;]*lang="coffee(?:\?[^"]*)?")</string>
483483
<key>beginCaptures</key>
484484
<dict>
485485
<key>1</key>

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