@@ -134,12 +134,11 @@ contexts:
134
134
- match : (?i)(?=coffee{{unquoted_attribute_break}}|\'coffee\'|"coffee")
135
135
set :
136
136
- - meta_scope : meta.tag.script.begin.html
137
- - include : script-common
138
137
- match : ' >'
139
138
scope : punctuation.definition.tag.end.html
140
139
set :
141
- - embed_scope : source.coffee.embedded.html
142
- match : ' {{script_content_begin}} '
140
+ - match : ' {{script_content_begin}} '
141
+ embed_scope : source.coffee.embedded.html
143
142
escape_captures :
144
143
1 : source.coffee.embedded.html
145
144
2 : comment.block.html punctuation.definition.comment.end.html
@@ -150,17 +149,17 @@ contexts:
150
149
pop : 1
151
150
embed : scope:source.coffee
152
151
escape : ' {{script_content_end}}'
152
+ - include : script-common
153
153
- tag-generic-attribute-meta
154
154
- tag-generic-attribute-value
155
155
- match : (?i)(?=livescript{{unquoted_attribute_break}}|\'livescript\'|"livescript")
156
156
set :
157
157
- - meta_scope : meta.tag.script.begin.html
158
- - include : script-common
159
158
- match : ' >'
160
159
scope : punctuation.definition.tag.end.html
161
160
set :
162
- - embed_scope : source.livescript.embedded.html
163
- match : ' {{script_content_begin}} '
161
+ - match : ' {{script_content_begin}} '
162
+ embed_scope : source.livescript.embedded.html
164
163
escape_captures :
165
164
1 : source.livescript.embedded.html
166
165
2 : comment.block.html punctuation.definition.comment.end.html
@@ -171,17 +170,17 @@ contexts:
171
170
pop : 1
172
171
embed : scope:source.livescript
173
172
escape : ' {{script_content_end}}'
173
+ - include : script-common
174
174
- tag-generic-attribute-meta
175
175
- tag-generic-attribute-value
176
176
- match : (?i)(?=ts{{unquoted_attribute_break}}|\'ts\'|"ts")
177
177
set :
178
178
- - meta_scope : meta.tag.script.begin.html
179
- - include : script-common
180
179
- match : ' >'
181
180
scope : punctuation.definition.tag.end.html
182
181
set :
183
- - embed_scope : source.ts.embedded.html
184
- match : ' {{script_content_begin}} '
182
+ - match : ' {{script_content_begin}} '
183
+ embed_scope : source.ts.embedded.html
185
184
escape_captures :
186
185
1 : source.ts.embedded.html
187
186
2 : comment.block.html punctuation.definition.comment.end.html
@@ -192,6 +191,7 @@ contexts:
192
191
pop : 1
193
192
embed : scope:source.ts
194
193
escape : ' {{script_content_end}}'
194
+ - include : script-common
195
195
- tag-generic-attribute-meta
196
196
- tag-generic-attribute-value
197
197
- match : (?=\S)
@@ -269,12 +269,11 @@ contexts:
269
269
- match : (?i)(?=sass{{unquoted_attribute_break}}|\'sass\'|"sass")
270
270
set :
271
271
- - meta_scope : meta.tag.style.begin.html
272
- - include : style-common
273
272
- match : ' >'
274
273
scope : punctuation.definition.tag.end.html
275
274
set :
276
- - embed_scope : source.sass.embedded.html
277
- match : ' {{style_content_begin}} '
275
+ - match : ' {{style_content_begin}} '
276
+ embed_scope : source.sass.embedded.html
278
277
escape_captures :
279
278
1 : source.sass.embedded.html
280
279
2 : comment.block.html punctuation.definition.comment.end.html
@@ -285,17 +284,17 @@ contexts:
285
284
pop : 1
286
285
embed : scope:source.sass
287
286
escape : ' {{style_content_end}}'
287
+ - include : style-common
288
288
- tag-generic-attribute-meta
289
289
- tag-generic-attribute-value
290
290
- match : (?i)(?=scss{{unquoted_attribute_break}}|\'scss\'|"scss")
291
291
set :
292
292
- - meta_scope : meta.tag.style.begin.html
293
- - include : style-common
294
293
- match : ' >'
295
294
scope : punctuation.definition.tag.end.html
296
295
set :
297
- - embed_scope : source.scss.embedded.html
298
- match : ' {{style_content_begin}} '
296
+ - match : ' {{style_content_begin}} '
297
+ embed_scope : source.scss.embedded.html
299
298
escape_captures :
300
299
1 : source.scss.embedded.html
301
300
2 : comment.block.html punctuation.definition.comment.end.html
@@ -306,17 +305,17 @@ contexts:
306
305
pop : 1
307
306
embed : scope:source.scss
308
307
escape : ' {{style_content_end}}'
308
+ - include : style-common
309
309
- tag-generic-attribute-meta
310
310
- tag-generic-attribute-value
311
311
- match : (?i)(?=stylus{{unquoted_attribute_break}}|\'stylus\'|"stylus")
312
312
set :
313
313
- - meta_scope : meta.tag.style.begin.html
314
- - include : style-common
315
314
- match : ' >'
316
315
scope : punctuation.definition.tag.end.html
317
316
set :
318
- - embed_scope : source.stylus.embedded.html
319
- match : ' {{style_content_begin}} '
317
+ - match : ' {{style_content_begin}} '
318
+ embed_scope : source.stylus.embedded.html
320
319
escape_captures :
321
320
1 : source.stylus.embedded.html
322
321
2 : comment.block.html punctuation.definition.comment.end.html
@@ -327,17 +326,17 @@ contexts:
327
326
pop : 1
328
327
embed : scope:source.stylus
329
328
escape : ' {{style_content_end}}'
329
+ - include : style-common
330
330
- tag-generic-attribute-meta
331
331
- tag-generic-attribute-value
332
332
- match : (?i)(?=postcss\?parser=sugarss{{unquoted_attribute_break}}|\'postcss\?parser=sugarss\'|"postcss\?parser=sugarss")
333
333
set :
334
334
- - meta_scope : meta.tag.style.begin.html
335
- - include : style-common
336
335
- match : ' >'
337
336
scope : punctuation.definition.tag.end.html
338
337
set :
339
- - embed_scope : source.sss.embedded.html
340
- match : ' {{style_content_begin}} '
338
+ - match : ' {{style_content_begin}} '
339
+ embed_scope : source.sss.embedded.html
341
340
escape_captures :
342
341
1 : source.sss.embedded.html
343
342
2 : comment.block.html punctuation.definition.comment.end.html
@@ -348,17 +347,17 @@ contexts:
348
347
pop : 1
349
348
embed : scope:source.sss
350
349
escape : ' {{style_content_end}}'
350
+ - include : style-common
351
351
- tag-generic-attribute-meta
352
352
- tag-generic-attribute-value
353
353
- match : (?i)(?=postcss{{unquoted_attribute_break}}|\'postcss\'|"postcss")
354
354
set :
355
355
- - meta_scope : meta.tag.style.begin.html
356
- - include : style-common
357
356
- match : ' >'
358
357
scope : punctuation.definition.tag.end.html
359
358
set :
360
- - embed_scope : source.postcss.embedded.html
361
- match : ' {{style_content_begin}} '
359
+ - match : ' {{style_content_begin}} '
360
+ embed_scope : source.postcss.embedded.html
362
361
escape_captures :
363
362
1 : source.postcss.embedded.html
364
363
2 : comment.block.html punctuation.definition.comment.end.html
@@ -369,17 +368,17 @@ contexts:
369
368
pop : 1
370
369
embed : scope:source.postcss
371
370
escape : ' {{style_content_end}}'
371
+ - include : style-common
372
372
- tag-generic-attribute-meta
373
373
- tag-generic-attribute-value
374
374
- match : (?i)(?=less{{unquoted_attribute_break}}|\'less\'|"less")
375
375
set :
376
376
- - meta_scope : meta.tag.style.begin.html
377
- - include : style-common
378
377
- match : ' >'
379
378
scope : punctuation.definition.tag.end.html
380
379
set :
381
- - embed_scope : source.less.embedded.html
382
- match : ' {{style_content_begin}} '
380
+ - match : ' {{style_content_begin}} '
381
+ embed_scope : source.less.embedded.html
383
382
escape_captures :
384
383
1 : source.less.embedded.html
385
384
2 : comment.block.html punctuation.definition.comment.end.html
@@ -390,6 +389,7 @@ contexts:
390
389
pop : 1
391
390
embed : scope:source.less
392
391
escape : ' {{style_content_end}}'
392
+ - include : style-common
393
393
- tag-generic-attribute-meta
394
394
- tag-generic-attribute-value
395
395
- match : (?=\S)
@@ -449,12 +449,11 @@ contexts:
449
449
- match : (?i)(?=jade{{unquoted_attribute_break}}|\'jade\'|"jade")
450
450
set :
451
451
- - meta_scope : meta.tag.template.begin.html
452
- - include : template-common
453
452
- match : ' >'
454
453
scope : punctuation.definition.tag.end.html
455
454
set :
456
- - embed_scope : text.jade.embedded.html
457
- match : ' {{template_content_begin}} '
455
+ - match : ' {{template_content_begin}} '
456
+ embed_scope : text.jade.embedded.html
458
457
escape_captures :
459
458
1 : text.jade.embedded.html
460
459
2 : comment.block.html punctuation.definition.comment.end.html
@@ -465,17 +464,17 @@ contexts:
465
464
pop : 1
466
465
embed : scope:text.jade
467
466
escape : ' {{template_content_end}}'
467
+ - include : template-common
468
468
- tag-generic-attribute-meta
469
469
- tag-generic-attribute-value
470
470
- match : (?i)(?=pug{{unquoted_attribute_break}}|\'pug\'|"pug")
471
471
set :
472
472
- - meta_scope : meta.tag.template.begin.html
473
- - include : template-common
474
473
- match : ' >'
475
474
scope : punctuation.definition.tag.end.html
476
475
set :
477
- - embed_scope : text.pug.embedded.html
478
- match : ' {{template_content_begin}} '
476
+ - match : ' {{template_content_begin}} '
477
+ embed_scope : text.pug.embedded.html
479
478
escape_captures :
480
479
1 : text.pug.embedded.html
481
480
2 : comment.block.html punctuation.definition.comment.end.html
@@ -486,17 +485,17 @@ contexts:
486
485
pop : 1
487
486
embed : scope:text.pug
488
487
escape : ' {{template_content_end}}'
488
+ - include : template-common
489
489
- tag-generic-attribute-meta
490
490
- tag-generic-attribute-value
491
491
- match : (?i)(?=slm{{unquoted_attribute_break}}|\'slm\'|"slm")
492
492
set :
493
493
- - meta_scope : meta.tag.template.begin.html
494
- - include : template-common
495
494
- match : ' >'
496
495
scope : punctuation.definition.tag.end.html
497
496
set :
498
- - embed_scope : text.slm.embedded.html
499
- match : ' {{template_content_begin}} '
497
+ - match : ' {{template_content_begin}} '
498
+ embed_scope : text.slm.embedded.html
500
499
escape_captures :
501
500
1 : text.slm.embedded.html
502
501
2 : comment.block.html punctuation.definition.comment.end.html
@@ -507,6 +506,7 @@ contexts:
507
506
pop : 1
508
507
embed : scope:text.slm
509
508
escape : ' {{template_content_end}}'
509
+ - include : template-common
510
510
- tag-generic-attribute-meta
511
511
- tag-generic-attribute-value
512
512
- match : (?=\S)
@@ -521,7 +521,23 @@ contexts:
521
521
- meta_prepend : true
522
522
- include : vue-directive
523
523
524
+ tag-class-attribute-value :
525
+ # for compatibility with ST builds before 4114
526
+ - meta_prepend : true
527
+ - meta_include_prototype : false
528
+
524
529
tag-generic-attribute-value :
530
+ # for compatibility with ST builds before 4114
531
+ - meta_prepend : true
532
+ - meta_include_prototype : false
533
+
534
+ tag-href-attribute-value :
535
+ # for compatibility with ST builds before 4114
536
+ - meta_prepend : true
537
+ - meta_include_prototype : false
538
+
539
+ tag-id-attribute-value :
540
+ # for compatibility with ST builds before 4114
525
541
- meta_prepend : true
526
542
- meta_include_prototype : false
527
543
0 commit comments