astro-vscode 0.29.0 → 0.29.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,823 +0,0 @@
1
- {
2
- "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
3
- "fileTypes": ["astro"],
4
- "foldingStartMarker": "(?x)\n(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\\b.*?>\n|<!--(?!.*--\\s*>)\n|^<!--\\ \\#tminclude\\ (?>.*?-->)$\n|<\\?(?:php)?.*\\b(if|for(each)?|while)\\b.+:\n|\\{\\{?(if|foreach|capture|literal|foreach|php|section|strip)\n|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n)",
5
- "foldingStopMarker": "(?x)\n(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)>\n|^(?!.*?<!--).*?--\\s*>\n|^<!--\\ end\\ tminclude\\ -->$\n|<\\?(?:php)?.*\\bend(if|for(each)?|while)\\b\n|\\{\\{?/(if|foreach|capture|literal|foreach|php|section|strip)\n|^[^{]*\\}\n)",
6
- "keyEquivalent": "^~H",
7
- "name": "Astro",
8
- "scopeName": "source.astro",
9
- "patterns": [
10
- {
11
- "include": "#astro:expressions"
12
- },
13
- {
14
- "include": "#html:comment"
15
- },
16
- {
17
- "include": "#html:comment:bogus"
18
- },
19
- {
20
- "include": "#html:doctype"
21
- },
22
- {
23
- "include": "#astro:fragment"
24
- },
25
- {
26
- "include": "#astro:lang-scripts"
27
- },
28
- {
29
- "include": "#astro:lang-styles"
30
- },
31
- {
32
- "include": "#astro:component"
33
- },
34
- {
35
- "include": "#html:element"
36
- },
37
- {
38
- "include": "#html:entity"
39
- },
40
- {
41
- "include": "#html:entity:bogus"
42
- },
43
- {
44
- "include": "#frontmatter"
45
- }
46
- ],
47
- "repository": {
48
- "astro:attribute": {
49
- "patterns": [
50
- {
51
- "include": "#html:events"
52
- },
53
- {
54
- "include": "#html:attribute"
55
- },
56
- {
57
- "include": "#string-double-quoted"
58
- },
59
- {
60
- "include": "#string-single-quoted"
61
- },
62
- {
63
- "include": "#string-template-literal"
64
- },
65
- {
66
- "include": "#astro:expressions"
67
- }
68
- ]
69
- },
70
- "astro:component": {
71
- "patterns": [
72
- {
73
- "name": "meta.tag.component.astro astro.component.raw",
74
- "begin": "(<)([$A-Z_][^/?!\\s<>]*|[^/?!\\s<>.]+\\.[^/?!\\s<>]+)(.+is:raw.*?)(>)",
75
- "end": "(</)([$A-Z_][^/?!\\s<>]*|[^/?!\\s<>.]+\\.[^/?!\\s<>]+)(?=\\s|/?>)(>)",
76
- "beginCaptures": {
77
- "1": {
78
- "name": "punctuation.definition.tag.begin.astro"
79
- },
80
- "2": {
81
- "name": "entity.name.tag.astro support.class.component.astro"
82
- },
83
- "3": {
84
- "patterns": [
85
- {
86
- "include": "#astro:attribute"
87
- }
88
- ]
89
- },
90
- "4": {
91
- "name": "punctuation.definition.tag.end.astro"
92
- }
93
- },
94
- "endCaptures": {
95
- "1": {
96
- "name": "punctuation.definition.tag.begin.astro"
97
- },
98
- "2": {
99
- "name": "entity.name.tag.astro support.class.component.astro"
100
- },
101
- "3": {
102
- "name": "punctuation.definition.tag.end.astro"
103
- }
104
- },
105
- "contentName": "source.unknown"
106
- },
107
- {
108
- "name": "meta.tag.component.astro",
109
- "begin": "(</?)([$A-Z_][^/?!\\s<>]*|[^/?!\\s<>.]+\\.[^/?!\\s<>]+)\\b",
110
- "beginCaptures": {
111
- "1": {
112
- "name": "punctuation.definition.tag.begin.astro"
113
- },
114
- "2": {
115
- "name": "entity.name.tag.astro support.class.component.astro"
116
- }
117
- },
118
- "end": "(/?>)",
119
- "endCaptures": {
120
- "1": {
121
- "name": "punctuation.definition.tag.end.astro"
122
- }
123
- },
124
- "patterns": [
125
- {
126
- "include": "#astro:attribute"
127
- }
128
- ]
129
- }
130
- ]
131
- },
132
- "astro:fragment": {
133
- "name": "meta.tag.component.astro",
134
- "match": "(</?)(Fragment)?(\\s*>)",
135
- "captures": {
136
- "1": {
137
- "name": "punctuation.definition.tag.astro"
138
- },
139
- "2": {
140
- "name": "entity.name.tag.astro support.class.fragment.astro"
141
- },
142
- "3": {
143
- "name": "punctuation.definition.tag.astro"
144
- }
145
- }
146
- },
147
- "astro:lang-scripts": {
148
- "begin": "(<)(script)",
149
- "end": "(</)(script)\\s*(>)|(/>)",
150
- "beginCaptures": {
151
- "1": {
152
- "name": "punctuation.definition.tag.begin.html"
153
- },
154
- "2": {
155
- "name": "entity.name.tag.html"
156
- }
157
- },
158
- "endCaptures": {
159
- "1": {
160
- "name": "punctuation.definition.tag.begin.html"
161
- },
162
- "2": {
163
- "name": "entity.name.tag.html"
164
- },
165
- "3": {
166
- "name": "punctuation.definition.tag.end.html"
167
- },
168
- "4": {
169
- "name": "punctuation.definition.tag.end.html"
170
- }
171
- },
172
- "patterns": [
173
- {
174
- "comment": "Treat script tag with application/ld+json as JSON. This needs to be higher than is:raw since it's a very possible situation to have is:raw on a JSON script tag",
175
- "begin": "\\G(?=\\s*[^>]*?type\\s*=\\s*(['\"]|)(?i:application/ld\\+json)\\1)",
176
- "end": "(?=</|/>)",
177
- "patterns": [
178
- {
179
- "begin": "(?<=>)(?!</)",
180
- "end": "(?=</)",
181
- "contentName": "source.json",
182
- "patterns": [{ "include": "source.json" }]
183
- },
184
- { "include": "#html:tag-attributes" }
185
- ]
186
- },
187
- {
188
- "comment": "Treat script tag with JS-compatible types as JS",
189
- "begin": "\\G(?=\\s*[^>]*?type\\s*=\\s*(['\"]|)(?i:module|(?:text/javascript|text/partytown|application/node|application/javascript))\\1)",
190
- "end": "(?=</|/>)",
191
- "patterns": [
192
- {
193
- "begin": "(?<=>)(?!</)",
194
- "end": "(?=</)",
195
- "contentName": "source.js",
196
- "patterns": [{ "include": "source.js" }]
197
- },
198
- { "include": "#html:tag-attributes" }
199
- ]
200
- },
201
- {
202
- "comment": "Treat anything with an unknown type as unknown",
203
- "begin": "\\G(?=\\s*[^>]*?type\\s*=\\s*(['\"]|)\\1)",
204
- "end": "(?=</|/>)",
205
- "patterns": [
206
- {
207
- "begin": "(?<=>)(?!</)",
208
- "end": "(?=</)",
209
- "name": "source.unknown"
210
- },
211
- { "include": "#html:tag-attributes" }
212
- ]
213
- },
214
- {
215
- "begin": "\\G(?=\\s*[^>]*?lang\\s*=\\s*(['\"]|)(?i:jsx?|javascript)\\1)",
216
- "end": "(?=</|/>)",
217
- "patterns": [
218
- {
219
- "begin": "(?<=>)(?!</)",
220
- "end": "(?=</)",
221
- "contentName": "source.js",
222
- "patterns": [{ "include": "source.js" }]
223
- },
224
- { "include": "#html:tag-attributes" }
225
- ]
226
- },
227
- {
228
- "begin": "\\G(?=\\s*[^>]*?lang\\s*=\\s*(['\"]|)(?i:ts|typescript)\\1)",
229
- "end": "(?=</|/>)",
230
- "patterns": [
231
- {
232
- "begin": "(?<=>)(?!</)",
233
- "end": "(?=</)",
234
- "contentName": "source.ts",
235
- "patterns": [{ "include": "source.ts" }]
236
- },
237
- { "include": "#html:tag-attributes" }
238
- ]
239
- },
240
- {
241
- "begin": "\\G(?=\\s*[^>]*?lang\\s*=\\s*(['\"]|)(?i:tsx)\\1)",
242
- "end": "(?=</|/>)",
243
- "patterns": [
244
- {
245
- "begin": "(?<=>)(?!</)",
246
- "end": "(?=</)",
247
- "contentName": "source.tsx",
248
- "patterns": [{ "include": "source.tsx" }]
249
- },
250
- { "include": "#html:tag-attributes" }
251
- ]
252
- },
253
- {
254
- "begin": "(?<=>)(?!</)",
255
- "end": "(?=</)",
256
- "contentName": "source.js",
257
- "patterns": [{ "include": "source.js" }]
258
- },
259
- { "include": "#html:tag-attributes" }
260
- ]
261
- },
262
- "astro:lang-styles": {
263
- "begin": "(<)(style)",
264
- "end": "(</)(style)\\s*(>)|(/>)",
265
- "beginCaptures": {
266
- "1": {
267
- "name": "punctuation.definition.tag.begin.html"
268
- },
269
- "2": {
270
- "name": "entity.name.tag.html"
271
- }
272
- },
273
- "endCaptures": {
274
- "1": {
275
- "name": "punctuation.definition.tag.begin.html"
276
- },
277
- "2": {
278
- "name": "entity.name.tag.html"
279
- },
280
- "3": {
281
- "name": "punctuation.definition.tag.end.html"
282
- },
283
- "4": {
284
- "name": "punctuation.definition.tag.end.html"
285
- }
286
- },
287
- "patterns": [
288
- {
289
- "begin": "\\G(?=\\s*[^>]*?lang\\s*=\\s*(['\"]|)(?i:css)\\1)",
290
- "end": "(?=</|/>)",
291
- "patterns": [
292
- {
293
- "begin": "(?<=>)(?!</)",
294
- "end": "(?=</)",
295
- "contentName": "source.css",
296
- "patterns": [{ "include": "source.css" }]
297
- },
298
- { "include": "#html:tag-attributes" }
299
- ]
300
- },
301
- {
302
- "begin": "\\G(?=\\s*[^>]*?lang\\s*=\\s*(['\"]|)(?i:less)\\1)",
303
- "end": "(?=</|/>)",
304
- "patterns": [
305
- {
306
- "begin": "(?<=>)(?!</)",
307
- "end": "(?=</)",
308
- "contentName": "source.css.less",
309
- "patterns": [{ "include": "source.css.less" }]
310
- },
311
- { "include": "#html:tag-attributes" }
312
- ]
313
- },
314
- {
315
- "begin": "\\G(?=\\s*[^>]*?lang\\s*=\\s*(['\"]|)(?i:sass)\\1)",
316
- "end": "(?=</|/>)",
317
- "patterns": [
318
- {
319
- "begin": "(?<=>)(?!</)",
320
- "end": "(?=</)",
321
- "contentName": "source.sass",
322
- "patterns": [{ "include": "source.sass" }]
323
- },
324
- { "include": "#html:tag-attributes" }
325
- ]
326
- },
327
- {
328
- "begin": "\\G(?=\\s*[^>]*?lang\\s*=\\s*(['\"]|)(?i:scss)\\1)",
329
- "end": "(?=</|/>)",
330
- "patterns": [
331
- {
332
- "begin": "(?<=>)(?!</)",
333
- "end": "(?=</)",
334
- "contentName": "source.css.scss",
335
- "patterns": [{ "include": "source.css.scss" }]
336
- },
337
- { "include": "#html:tag-attributes" }
338
- ]
339
- },
340
- {
341
- "begin": "\\G(?=\\s*[^>]*?lang\\s*=\\s*(['\"]|)(?i:styl(?:us)?)\\1)",
342
- "end": "(?=</|/>)",
343
- "patterns": [
344
- {
345
- "begin": "(?<=>)(?!</)",
346
- "end": "(?=</)",
347
- "contentName": "source.stylus",
348
- "patterns": [{ "include": "source.stylus" }]
349
- },
350
- { "include": "#html:tag-attributes" }
351
- ]
352
- },
353
- {
354
- "begin": "(?<=>)(?!</)",
355
- "end": "(?=</)",
356
- "contentName": "source.css",
357
- "patterns": [{ "include": "source.css" }]
358
- },
359
- { "include": "#html:tag-attributes" }
360
- ]
361
- },
362
- "html:events": {
363
- "name": "meta.attribute.event-handler.$1.html",
364
- "begin": "on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o(nline|ffline)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d(data|metadata)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur))(?![\\w:-])",
365
- "beginCaptures": {
366
- "0": {
367
- "name": "entity.other.attribute-name.html"
368
- }
369
- },
370
- "end": "(?=\\s*+[^=\\s])",
371
- "patterns": [
372
- {
373
- "begin": "=",
374
- "beginCaptures": {
375
- "0": {
376
- "name": "punctuation.separator.key-value.html"
377
- }
378
- },
379
- "end": "(?<=[^\\s=])(?!\\s*=)|(?=/?>)",
380
- "patterns": [
381
- {
382
- "begin": "(?=[^\\s=<>`/]|/(?!>))",
383
- "end": "(?!\\G)",
384
- "name": "meta.embedded.line.js",
385
- "patterns": [
386
- {
387
- "captures": {
388
- "0": {
389
- "name": "source.js"
390
- },
391
- "1": {
392
- "patterns": [
393
- {
394
- "include": "source.js"
395
- }
396
- ]
397
- }
398
- },
399
- "match": "(([^\\s\"'=<>`/]|/(?!>))+)",
400
- "name": "string.unquoted.html"
401
- },
402
- {
403
- "begin": "\"",
404
- "beginCaptures": {
405
- "0": {
406
- "name": "punctuation.definition.string.begin.html"
407
- }
408
- },
409
- "contentName": "source.js",
410
- "end": "(\")",
411
- "endCaptures": {
412
- "0": {
413
- "name": "punctuation.definition.string.end.html"
414
- }
415
- },
416
- "name": "string.quoted.double.html",
417
- "patterns": [
418
- {
419
- "captures": {
420
- "0": {
421
- "patterns": [
422
- {
423
- "include": "source.js"
424
- }
425
- ]
426
- }
427
- },
428
- "match": "([^\\n\"/]|/(?![/*]))+"
429
- },
430
- {
431
- "begin": "//",
432
- "beginCaptures": {
433
- "0": {
434
- "name": "punctuation.definition.comment.js"
435
- }
436
- },
437
- "end": "(?=\")|\\n",
438
- "name": "comment.line.double-slash.js"
439
- },
440
- {
441
- "begin": "/\\*",
442
- "beginCaptures": {
443
- "0": {
444
- "name": "punctuation.definition.comment.begin.js"
445
- }
446
- },
447
- "end": "(?=\")|\\*/",
448
- "endCaptures": {
449
- "0": {
450
- "name": "punctuation.definition.comment.end.js"
451
- }
452
- },
453
- "name": "comment.block.js"
454
- }
455
- ]
456
- },
457
- {
458
- "begin": "'",
459
- "beginCaptures": {
460
- "0": {
461
- "name": "punctuation.definition.string.begin.html"
462
- }
463
- },
464
- "contentName": "source.js",
465
- "end": "(')",
466
- "endCaptures": {
467
- "0": {
468
- "name": "punctuation.definition.string.end.html"
469
- },
470
- "1": {
471
- "name": "source.js-ignored-vscode"
472
- }
473
- },
474
- "name": "string.quoted.single.html",
475
- "patterns": [
476
- {
477
- "captures": {
478
- "0": {
479
- "patterns": [
480
- {
481
- "include": "source.js"
482
- }
483
- ]
484
- }
485
- },
486
- "match": "([^\\n'/]|/(?![/*]))+"
487
- },
488
- {
489
- "begin": "//",
490
- "beginCaptures": {
491
- "0": {
492
- "name": "punctuation.definition.comment.js"
493
- }
494
- },
495
- "end": "(?=')|\\n",
496
- "name": "comment.line.double-slash.js"
497
- },
498
- {
499
- "begin": "/\\*",
500
- "beginCaptures": {
501
- "0": {
502
- "name": "punctuation.definition.comment.begin.js"
503
- }
504
- },
505
- "end": "(?=')|\\*/",
506
- "endCaptures": {
507
- "0": {
508
- "name": "punctuation.definition.comment.end.js"
509
- }
510
- },
511
- "name": "comment.block.js"
512
- }
513
- ]
514
- }
515
- ]
516
- },
517
- {
518
- "match": "=",
519
- "name": "invalid.illegal.unexpected-equals-sign.html"
520
- }
521
- ]
522
- }
523
- ]
524
- },
525
- "html:attribute": {
526
- "name": "meta.attribute.$1.html",
527
- "match": "([a-zA-Z0-9\\-:@_.]+)(=?)",
528
- "captures": {
529
- "1": {
530
- "name": "entity.other.attribute-name.html"
531
- },
532
- "2": {
533
- "name": "punctuation.separator.key-value.html"
534
- }
535
- }
536
- },
537
- "html:tag-attributes": {
538
- "begin": "\\G",
539
- "end": "(?=/>)|>",
540
- "endCaptures": {
541
- "0": {
542
- "name": "punctuation.definition.tag.end.html"
543
- }
544
- },
545
- "patterns": [{ "include": "#astro:attribute" }]
546
- },
547
- "html:comment": {
548
- "name": "comment.block.html",
549
- "begin": "<!--",
550
- "beginCaptures": {
551
- "0": {
552
- "name": "punctuation.definition.comment.html punctuation.definition.comment.begin.html"
553
- }
554
- },
555
- "end": "--!?>",
556
- "endCaptures": {
557
- "0": {
558
- "name": "punctuation.definition.comment.html punctuation.definition.comment.end.html"
559
- }
560
- }
561
- },
562
- "html:comment:bogus": {
563
- "name": "comment.block.html",
564
- "begin": "<\\?",
565
- "captures": {
566
- "0": {
567
- "name": "punctuation.definition.comment.html"
568
- }
569
- },
570
- "beginCaptures": {
571
- "0": {
572
- "name": "punctuation.definition.comment.html punctuation.definition.comment.begin.html"
573
- }
574
- },
575
- "end": ">",
576
- "endCaptures": {
577
- "0": {
578
- "name": "punctuation.definition.comment.html punctuation.definition.comment.end.html"
579
- }
580
- }
581
- },
582
- "html:doctype": {
583
- "name": "meta.tag.metadata.doctype.html",
584
- "begin": "(<!)([Dd][Oo][Cc][Tt][Yy][Pp][Ee])",
585
- "beginCaptures": {
586
- "1": {
587
- "name": "punctuation.definition.tag.html punctuation.definition.tag.begin.html"
588
- },
589
- "2": {
590
- "name": "entity.name.tag.html"
591
- }
592
- },
593
- "end": ">",
594
- "endCaptures": {
595
- "0": {
596
- "name": "punctuation.definition.tag.html punctuation.definition.tag.end.html"
597
- }
598
- },
599
- "patterns": [
600
- {
601
- "begin": "\"",
602
- "end": "\"",
603
- "name": "string.quoted.double.html"
604
- },
605
- {
606
- "match": "[^\\s>]+",
607
- "name": "entity.other.attribute-name.html"
608
- }
609
- ]
610
- },
611
- "html:element": {
612
- "patterns": [
613
- {
614
- "name": "astro.element.raw",
615
- "begin": "(<)([^/?!\\s<>]+)(.+is:raw.*?)(>)",
616
- "end": "(</)([^/?!\\s<>]+)(?=\\s|/?>)(>)",
617
- "beginCaptures": {
618
- "1": {
619
- "name": "punctuation.definition.tag.begin.html"
620
- },
621
- "2": {
622
- "name": "entity.name.tag.html"
623
- },
624
- "3": {
625
- "patterns": [
626
- {
627
- "include": "#astro:attribute"
628
- }
629
- ]
630
- },
631
- "4": {
632
- "name": "punctuation.definition.tag.end.html"
633
- }
634
- },
635
- "endCaptures": {
636
- "1": {
637
- "name": "punctuation.definition.tag.begin.html"
638
- },
639
- "2": {
640
- "name": "entity.name.tag.html"
641
- },
642
- "3": {
643
- "name": "punctuation.definition.tag.end.html"
644
- }
645
- },
646
- "contentName": "source.unknown"
647
- },
648
- {
649
- "name": "meta.tag.any.$2.start.html",
650
- "begin": "(<)([^/?!\\s<>]+)(?=\\s|/?>)",
651
- "beginCaptures": {
652
- "1": {
653
- "name": "punctuation.definition.tag.begin.html"
654
- },
655
- "2": {
656
- "name": "entity.name.tag.html"
657
- }
658
- },
659
- "end": "/?>",
660
- "endCaptures": {
661
- "0": {
662
- "name": "punctuation.definition.tag.end.html"
663
- }
664
- },
665
- "patterns": [
666
- {
667
- "include": "#astro:attribute"
668
- }
669
- ]
670
- },
671
- {
672
- "name": "meta.tag.any.$2.end.html",
673
- "begin": "(</)([^/?!\\s<>]+)(?=\\s|/?>)",
674
- "beginCaptures": {
675
- "1": {
676
- "name": "punctuation.definition.tag.begin.html"
677
- },
678
- "2": {
679
- "name": "entity.name.tag.html"
680
- }
681
- },
682
- "end": "/?>",
683
- "endCaptures": {
684
- "0": {
685
- "name": "punctuation.definition.tag.end.html"
686
- }
687
- },
688
- "patterns": [
689
- {
690
- "include": "#astro:attribute"
691
- }
692
- ]
693
- }
694
- ]
695
- },
696
- "html:entity": {
697
- "name": "constant.character.entity.html",
698
- "match": "(&)([0-9A-Za-z]+|#x[0-9A-Fa-f]+|x[0-9]+)(;)",
699
- "captures": {
700
- "1": {
701
- "name": "punctuation.definition.entity.html"
702
- },
703
- "3": {
704
- "name": "punctuation.definition.entity.html"
705
- }
706
- }
707
- },
708
- "html:entity:bogus": {
709
- "name": "constant.character.entity.html",
710
- "match": "(&)([0-9A-Za-z]+|#x[0-9A-Fa-f]+|x[0-9]+)",
711
- "captures": {
712
- "1": {
713
- "name": "invalid.illegal.bad-ampersand.html"
714
- },
715
- "3": {
716
- "name": "punctuation.definition.entity.html"
717
- }
718
- }
719
- },
720
- "astro:expressions": {
721
- "patterns": [
722
- {
723
- "begin": "\\{",
724
- "beginCaptures": {
725
- "0": {
726
- "name": "punctuation.section.embedded.begin.tsx"
727
- }
728
- },
729
- "end": "\\}",
730
- "endCaptures": {
731
- "0": {
732
- "name": "punctuation.section.embedded.end.tsx"
733
- }
734
- },
735
- "name": "expression.embedded.astro",
736
- "contentName": "source.tsx",
737
- "patterns": [
738
- {
739
- "include": "source.tsx"
740
- }
741
- ]
742
- }
743
- ]
744
- },
745
- "frontmatter": {
746
- "comment": "The frontmatter is treated as comments in order to get the \"faded\" look",
747
- "begin": "\\A(-{3})\\s*$",
748
- "beginCaptures": {
749
- "1": {
750
- "name": "comment"
751
- }
752
- },
753
- "contentName": "source.ts",
754
- "patterns": [
755
- {
756
- "include": "source.ts"
757
- }
758
- ],
759
- "end": "(^|\\G)(-{3})|\\.{3}\\s*$",
760
- "endCaptures": {
761
- "2": {
762
- "name": "comment"
763
- }
764
- }
765
- },
766
- "string-double-quoted": {
767
- "begin": "\"",
768
- "beginCaptures": {
769
- "0": {
770
- "name": "punctuation.definition.string.begin.html"
771
- }
772
- },
773
- "end": "\"",
774
- "endCaptures": {
775
- "0": {
776
- "name": "punctuation.definition.string.end.html"
777
- }
778
- },
779
- "name": "string.quoted.double.html",
780
- "patterns": [
781
- {
782
- "include": "#html:entity"
783
- },
784
- {
785
- "include": "#html:entity:bogus"
786
- }
787
- ]
788
- },
789
- "string-single-quoted": {
790
- "begin": "'",
791
- "beginCaptures": {
792
- "0": {
793
- "name": "punctuation.definition.string.begin.html"
794
- }
795
- },
796
- "end": "'",
797
- "endCaptures": {
798
- "0": {
799
- "name": "punctuation.definition.string.end.html"
800
- }
801
- },
802
- "name": "string.quoted.single.html",
803
- "patterns": [
804
- {
805
- "include": "#html:entity"
806
- },
807
- {
808
- "include": "#html:entity:bogus"
809
- }
810
- ]
811
- },
812
- "string-template-literal": {
813
- "begin": "`",
814
- "end": "`",
815
- "name": "string.template.html",
816
- "patterns": [
817
- {
818
- "include": "source.tsx#template-substitution-element"
819
- }
820
- ]
821
- }
822
- }
823
- }