@codingame/monaco-editor-wrapper 1.14.8 → 2.0.0

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.
Files changed (49) hide show
  1. package/dist/cpp.tmLanguage.js +50 -15
  2. package/dist/cpptools.js +44 -3
  3. package/dist/dart3.js +37 -1
  4. package/dist/directives.tmLanguage.js +20 -0
  5. package/dist/erlang.js +4 -4
  6. package/dist/features/extensionConfigurations.js +11 -1
  7. package/dist/fsharp.tmLanguage.js +24 -4
  8. package/dist/index.js +7 -0
  9. package/dist/interpolations.tmLanguage.js +20 -0
  10. package/dist/java2.js +6 -0
  11. package/dist/json.js +1 -1
  12. package/dist/jsonc.js +1 -1
  13. package/dist/lua2.js +1089 -125
  14. package/dist/main.js +434 -333
  15. package/dist/markdown-svelte-css.js +37 -0
  16. package/dist/markdown-svelte-js.js +37 -0
  17. package/dist/markdown-svelte.js +59 -0
  18. package/dist/markdown-vue.js +59 -0
  19. package/dist/monaco.d.ts +1 -1
  20. package/dist/omnisharp.js +2 -2
  21. package/dist/postcss.src.yaml.js +393 -0
  22. package/dist/pug-svelte-dotblock.js +69 -0
  23. package/dist/pug-svelte-tags.js +215 -0
  24. package/dist/pug-svelte.js +307 -0
  25. package/dist/scalameta.js +5 -3
  26. package/dist/sql.tmLanguage.js +21 -5
  27. package/dist/svelte.js +118 -0
  28. package/dist/svelte.svelte-vscode-svelte.js +46 -0
  29. package/dist/svelte.svelte-vscode.js +373 -0
  30. package/dist/svelte.tmLanguage.src.yaml.js +1099 -0
  31. package/dist/theme-defaults~light_vs.js +2 -1
  32. package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
  33. package/dist/typescript-language-features.js +16 -0
  34. package/dist/typescript.js +20 -1
  35. package/dist/typescriptreact.js +20 -1
  36. package/dist/vetur.js +407 -0
  37. package/dist/vscode-R.js +55 -0
  38. package/dist/vscode-python.js +6 -6
  39. package/dist/vue-generated.js +1301 -0
  40. package/dist/vue-html.js +99 -0
  41. package/dist/vue-html.tmLanguage.js +573 -0
  42. package/dist/vue-postcss.js +72 -0
  43. package/dist/vue-sugarss.js +60 -0
  44. package/dist/vue-sugarss2.js +396 -0
  45. package/dist/vue.js +106 -0
  46. package/package.json +54 -7
  47. package/stats.html +1 -1
  48. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
  49. package/dist/services/TextModelService.d.ts +0 -25
@@ -0,0 +1,1301 @@
1
+ var name = "Vue";
2
+ var scopeName = "source.vue";
3
+ var fileTypes = [
4
+ "vue"
5
+ ];
6
+ var uuid = "5512c10d-4cc5-434c-b8fc-53b912f55ab3";
7
+ var patterns = [
8
+ {
9
+ begin: "(<)(slim)",
10
+ beginCaptures: {
11
+ "1": {
12
+ name: "punctuation.definition.tag.begin.html"
13
+ },
14
+ "2": {
15
+ name: "entity.name.tag.style.html"
16
+ }
17
+ },
18
+ end: "(</)(slim)(>)",
19
+ endCaptures: {
20
+ "1": {
21
+ name: "punctuation.definition.tag.begin.html"
22
+ },
23
+ "2": {
24
+ name: "entity.name.tag.style.html"
25
+ },
26
+ "3": {
27
+ name: "punctuation.definition.tag.end.html"
28
+ }
29
+ },
30
+ patterns: [
31
+ {
32
+ include: "#tag-stuff"
33
+ },
34
+ {
35
+ begin: "(>)",
36
+ beginCaptures: {
37
+ "1": {
38
+ name: "punctuation.definition.tag.end.html"
39
+ }
40
+ },
41
+ end: "(?=</slim>)",
42
+ contentName: "text.slim",
43
+ patterns: [
44
+ {
45
+ include: "text.slim"
46
+ }
47
+ ]
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ begin: "(<)(i18n)",
53
+ beginCaptures: {
54
+ "1": {
55
+ name: "punctuation.definition.tag.begin.html"
56
+ },
57
+ "2": {
58
+ name: "entity.name.tag.style.html"
59
+ }
60
+ },
61
+ end: "(</)(i18n)(>)",
62
+ endCaptures: {
63
+ "1": {
64
+ name: "punctuation.definition.tag.begin.html"
65
+ },
66
+ "2": {
67
+ name: "entity.name.tag.style.html"
68
+ },
69
+ "3": {
70
+ name: "punctuation.definition.tag.end.html"
71
+ }
72
+ },
73
+ patterns: [
74
+ {
75
+ include: "#tag-stuff"
76
+ },
77
+ {
78
+ begin: "(>)",
79
+ beginCaptures: {
80
+ "1": {
81
+ name: "punctuation.definition.tag.end.html"
82
+ }
83
+ },
84
+ end: "(?=</i18n>)",
85
+ contentName: "source.json",
86
+ patterns: [
87
+ {
88
+ include: "source.json"
89
+ }
90
+ ]
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ begin: "(<)(docs)",
96
+ beginCaptures: {
97
+ "1": {
98
+ name: "punctuation.definition.tag.begin.html"
99
+ },
100
+ "2": {
101
+ name: "entity.name.tag.style.html"
102
+ }
103
+ },
104
+ end: "(</)(docs)(>)",
105
+ endCaptures: {
106
+ "1": {
107
+ name: "punctuation.definition.tag.begin.html"
108
+ },
109
+ "2": {
110
+ name: "entity.name.tag.style.html"
111
+ },
112
+ "3": {
113
+ name: "punctuation.definition.tag.end.html"
114
+ }
115
+ },
116
+ patterns: [
117
+ {
118
+ include: "#tag-stuff"
119
+ },
120
+ {
121
+ begin: "(>)",
122
+ beginCaptures: {
123
+ "1": {
124
+ name: "punctuation.definition.tag.end.html"
125
+ }
126
+ },
127
+ end: "(?=</docs>)",
128
+ contentName: "text.html.markdown",
129
+ patterns: [
130
+ {
131
+ include: "text.html.markdown"
132
+ }
133
+ ]
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ name: "comment.block.html",
139
+ begin: "<!--",
140
+ end: "-->",
141
+ captures: {
142
+ "0": {
143
+ name: "punctuation.definition.comment.html"
144
+ }
145
+ }
146
+ },
147
+ {
148
+ begin: "(<)(?=template.*[^/>]*/>\\s*$)",
149
+ beginCaptures: {
150
+ "1": {
151
+ name: "punctuation.definition.tag.begin.html"
152
+ }
153
+ },
154
+ end: "(/>)",
155
+ endCaptures: {
156
+ "1": {
157
+ name: "punctuation.definition.tag.end.html"
158
+ }
159
+ },
160
+ patterns: [
161
+ {
162
+ begin: "(template)",
163
+ beginCaptures: {
164
+ "1": {
165
+ name: "entity.name.tag.template.html"
166
+ }
167
+ },
168
+ end: "(?=/>)",
169
+ patterns: [
170
+ {
171
+ include: "#tag-stuff"
172
+ }
173
+ ]
174
+ }
175
+ ]
176
+ },
177
+ {
178
+ begin: "(<)(template)(?=[^>]*>[^/>]*</template>)",
179
+ beginCaptures: {
180
+ "1": {
181
+ name: "punctuation.definition.tag.begin.html"
182
+ },
183
+ "2": {
184
+ name: "entity.name.tag.template.html"
185
+ }
186
+ },
187
+ end: "(</)(template)(>)",
188
+ endCaptures: {
189
+ "1": {
190
+ name: "punctuation.definition.tag.begin.html"
191
+ },
192
+ "2": {
193
+ name: "entity.name.tag.template.html"
194
+ },
195
+ "3": {
196
+ name: "punctuation.definition.tag.end.html"
197
+ }
198
+ },
199
+ patterns: [
200
+ {
201
+ include: "#tag-stuff"
202
+ },
203
+ {
204
+ begin: "(>)",
205
+ beginCaptures: {
206
+ "1": {
207
+ name: "punctuation.definition.tag.end.html"
208
+ }
209
+ },
210
+ end: "(?=</template>)"
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ begin: "(<)(template)\\b(?=[^>]*lang=('jade'|\"jade\"|'pug'|\"pug\"))(?![^/>]*/>\\s*$)",
216
+ beginCaptures: {
217
+ "1": {
218
+ name: "punctuation.definition.tag.begin.html"
219
+ },
220
+ "2": {
221
+ name: "entity.name.tag.template.html"
222
+ }
223
+ },
224
+ end: "(</)(template)(>)",
225
+ endCaptures: {
226
+ "1": {
227
+ name: "punctuation.definition.tag.begin.html"
228
+ },
229
+ "2": {
230
+ name: "entity.name.tag.template.html"
231
+ },
232
+ "3": {
233
+ name: "punctuation.definition.tag.end.html"
234
+ }
235
+ },
236
+ patterns: [
237
+ {
238
+ include: "#tag-stuff"
239
+ },
240
+ {
241
+ contentName: "text.pug",
242
+ begin: "(>)",
243
+ beginCaptures: {
244
+ "1": {
245
+ name: "punctuation.definition.tag.end.html"
246
+ }
247
+ },
248
+ end: "(?=</template>)",
249
+ patterns: [
250
+ {
251
+ include: "text.pug"
252
+ }
253
+ ]
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ begin: "(<)(template)\\b(?=[^>]*lang=('haml'|\"haml\"))(?![^/>]*/>\\s*$)",
259
+ beginCaptures: {
260
+ "1": {
261
+ name: "punctuation.definition.tag.begin.html"
262
+ },
263
+ "2": {
264
+ name: "entity.name.tag.template.html"
265
+ }
266
+ },
267
+ end: "(</)(template)(>)",
268
+ endCaptures: {
269
+ "1": {
270
+ name: "punctuation.definition.tag.begin.html"
271
+ },
272
+ "2": {
273
+ name: "entity.name.tag.template.html"
274
+ },
275
+ "3": {
276
+ name: "punctuation.definition.tag.end.html"
277
+ }
278
+ },
279
+ patterns: [
280
+ {
281
+ include: "#tag-stuff"
282
+ },
283
+ {
284
+ contentName: "text.haml",
285
+ begin: "(>)",
286
+ beginCaptures: {
287
+ "1": {
288
+ name: "punctuation.definition.tag.end.html"
289
+ }
290
+ },
291
+ end: "(?=</template>)",
292
+ patterns: [
293
+ {
294
+ include: "text.haml"
295
+ }
296
+ ]
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ begin: "(<)(template)\\b(?=[^>]*lang=('slim'|\"slim\"))(?![^/>]*/>\\s*$)",
302
+ beginCaptures: {
303
+ "1": {
304
+ name: "punctuation.definition.tag.begin.html"
305
+ },
306
+ "2": {
307
+ name: "entity.name.tag.template.html"
308
+ }
309
+ },
310
+ end: "(</)(template)(>)",
311
+ endCaptures: {
312
+ "1": {
313
+ name: "punctuation.definition.tag.begin.html"
314
+ },
315
+ "2": {
316
+ name: "entity.name.tag.template.html"
317
+ },
318
+ "3": {
319
+ name: "punctuation.definition.tag.end.html"
320
+ }
321
+ },
322
+ patterns: [
323
+ {
324
+ include: "#tag-stuff"
325
+ },
326
+ {
327
+ contentName: "text.slim",
328
+ begin: "(>)",
329
+ beginCaptures: {
330
+ "1": {
331
+ name: "punctuation.definition.tag.end.html"
332
+ }
333
+ },
334
+ end: "(?=</template>)",
335
+ patterns: [
336
+ {
337
+ include: "text.slim"
338
+ }
339
+ ]
340
+ }
341
+ ]
342
+ },
343
+ {
344
+ begin: "(<)(template)\\b(?=[^>]*lang=('slm'|\"slm\"))(?![^/>]*/>\\s*$)",
345
+ beginCaptures: {
346
+ "1": {
347
+ name: "punctuation.definition.tag.begin.html"
348
+ },
349
+ "2": {
350
+ name: "entity.name.tag.template.html"
351
+ }
352
+ },
353
+ end: "(</)(template)(>)",
354
+ endCaptures: {
355
+ "1": {
356
+ name: "punctuation.definition.tag.begin.html"
357
+ },
358
+ "2": {
359
+ name: "entity.name.tag.template.html"
360
+ },
361
+ "3": {
362
+ name: "punctuation.definition.tag.end.html"
363
+ }
364
+ },
365
+ patterns: [
366
+ {
367
+ include: "#tag-stuff"
368
+ },
369
+ {
370
+ contentName: "text.jade.slm",
371
+ begin: "(>)",
372
+ beginCaptures: {
373
+ "1": {
374
+ name: "punctuation.definition.tag.end.html"
375
+ }
376
+ },
377
+ end: "(?=</template>)",
378
+ patterns: [
379
+ {
380
+ include: "text.jade.slm"
381
+ }
382
+ ]
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ begin: "(<)(template)\\b(?=[^>]*lang=('liquid'|\"liquid\"))(?![^/>]*/>\\s*$)",
388
+ beginCaptures: {
389
+ "1": {
390
+ name: "punctuation.definition.tag.begin.html"
391
+ },
392
+ "2": {
393
+ name: "entity.name.tag.template.html"
394
+ }
395
+ },
396
+ end: "(</)(template)(>)",
397
+ endCaptures: {
398
+ "1": {
399
+ name: "punctuation.definition.tag.begin.html"
400
+ },
401
+ "2": {
402
+ name: "entity.name.tag.template.html"
403
+ },
404
+ "3": {
405
+ name: "punctuation.definition.tag.end.html"
406
+ }
407
+ },
408
+ patterns: [
409
+ {
410
+ include: "#tag-stuff"
411
+ },
412
+ {
413
+ contentName: "text.html.liquid",
414
+ begin: "(>)",
415
+ beginCaptures: {
416
+ "1": {
417
+ name: "punctuation.definition.tag.end.html"
418
+ }
419
+ },
420
+ end: "(?=</template>)",
421
+ patterns: [
422
+ {
423
+ include: "text.html.liquid"
424
+ }
425
+ ]
426
+ }
427
+ ]
428
+ },
429
+ {
430
+ begin: "(<)(template)(?![^/>]*/>\\s*$)",
431
+ beginCaptures: {
432
+ "1": {
433
+ name: "punctuation.definition.tag.begin.html"
434
+ },
435
+ "2": {
436
+ name: "entity.name.tag.template.html"
437
+ }
438
+ },
439
+ end: "^(</)(template)(>)",
440
+ endCaptures: {
441
+ "1": {
442
+ name: "punctuation.definition.tag.begin.html"
443
+ },
444
+ "2": {
445
+ name: "entity.name.tag.template.html"
446
+ },
447
+ "3": {
448
+ name: "punctuation.definition.tag.end.html"
449
+ }
450
+ },
451
+ patterns: [
452
+ {
453
+ include: "#tag-stuff"
454
+ },
455
+ {
456
+ contentName: "text.html.vue-html",
457
+ begin: "(>)",
458
+ beginCaptures: {
459
+ "1": {
460
+ name: "punctuation.definition.tag.end.html"
461
+ }
462
+ },
463
+ end: "(?=^</template>)",
464
+ patterns: [
465
+ {
466
+ include: "text.html.vue-html"
467
+ }
468
+ ]
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ begin: "(<)(style)\\b(?=[^/>]*/>\\s*$)",
474
+ beginCaptures: {
475
+ "1": {
476
+ name: "punctuation.definition.tag.begin.html"
477
+ },
478
+ "2": {
479
+ name: "entity.name.tag.style.html"
480
+ }
481
+ },
482
+ end: "(/>)",
483
+ endCaptures: {
484
+ "1": {
485
+ name: "punctuation.definition.tag.end.html"
486
+ }
487
+ },
488
+ patterns: [
489
+ {
490
+ include: "#tag-stuff"
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ begin: "(<)(style)(?=[^>]*>[^/>]*</style>)",
496
+ beginCaptures: {
497
+ "1": {
498
+ name: "punctuation.definition.tag.begin.html"
499
+ },
500
+ "2": {
501
+ name: "entity.name.tag.style.html"
502
+ }
503
+ },
504
+ end: "(</)(style)(>)",
505
+ endCaptures: {
506
+ "1": {
507
+ name: "punctuation.definition.tag.begin.html"
508
+ },
509
+ "2": {
510
+ name: "entity.name.tag.style.html"
511
+ },
512
+ "3": {
513
+ name: "punctuation.definition.tag.end.html"
514
+ }
515
+ },
516
+ patterns: [
517
+ {
518
+ include: "#tag-stuff"
519
+ },
520
+ {
521
+ begin: "(>)",
522
+ beginCaptures: {
523
+ "1": {
524
+ name: "punctuation.definition.tag.end.html"
525
+ }
526
+ },
527
+ end: "(?=</style>)"
528
+ }
529
+ ]
530
+ },
531
+ {
532
+ begin: "(<)(style)\\b(?=[^>]*lang=('sass'|\"sass\"))(?![^/>]*/>\\s*$)",
533
+ beginCaptures: {
534
+ "1": {
535
+ name: "punctuation.definition.tag.begin.html"
536
+ },
537
+ "2": {
538
+ name: "entity.name.tag.style.html"
539
+ }
540
+ },
541
+ end: "(</)(style)(>)",
542
+ endCaptures: {
543
+ "1": {
544
+ name: "punctuation.definition.tag.begin.html"
545
+ },
546
+ "2": {
547
+ name: "entity.name.tag.style.html"
548
+ },
549
+ "3": {
550
+ name: "punctuation.definition.tag.end.html"
551
+ }
552
+ },
553
+ patterns: [
554
+ {
555
+ include: "#tag-stuff"
556
+ },
557
+ {
558
+ contentName: "source.sass",
559
+ begin: "(>)",
560
+ beginCaptures: {
561
+ "1": {
562
+ name: "punctuation.definition.tag.end.html"
563
+ }
564
+ },
565
+ end: "(?=</style>)",
566
+ patterns: [
567
+ {
568
+ include: "source.sass"
569
+ }
570
+ ]
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ begin: "(<)(style)\\b(?=[^>]*lang=('scss'|\"scss\"))(?![^/>]*/>\\s*$)",
576
+ beginCaptures: {
577
+ "1": {
578
+ name: "punctuation.definition.tag.begin.html"
579
+ },
580
+ "2": {
581
+ name: "entity.name.tag.style.html"
582
+ }
583
+ },
584
+ end: "(</)(style)(>)",
585
+ endCaptures: {
586
+ "1": {
587
+ name: "punctuation.definition.tag.begin.html"
588
+ },
589
+ "2": {
590
+ name: "entity.name.tag.style.html"
591
+ },
592
+ "3": {
593
+ name: "punctuation.definition.tag.end.html"
594
+ }
595
+ },
596
+ patterns: [
597
+ {
598
+ include: "#tag-stuff"
599
+ },
600
+ {
601
+ contentName: "source.css.scss",
602
+ begin: "(>)",
603
+ beginCaptures: {
604
+ "1": {
605
+ name: "punctuation.definition.tag.end.html"
606
+ }
607
+ },
608
+ end: "(?=</style>)",
609
+ patterns: [
610
+ {
611
+ include: "source.css.scss"
612
+ }
613
+ ]
614
+ }
615
+ ]
616
+ },
617
+ {
618
+ begin: "(<)(style)\\b(?=[^>]*lang=('less'|\"less\"))(?![^/>]*/>\\s*$)",
619
+ beginCaptures: {
620
+ "1": {
621
+ name: "punctuation.definition.tag.begin.html"
622
+ },
623
+ "2": {
624
+ name: "entity.name.tag.style.html"
625
+ }
626
+ },
627
+ end: "(</)(style)(>)",
628
+ endCaptures: {
629
+ "1": {
630
+ name: "punctuation.definition.tag.begin.html"
631
+ },
632
+ "2": {
633
+ name: "entity.name.tag.style.html"
634
+ },
635
+ "3": {
636
+ name: "punctuation.definition.tag.end.html"
637
+ }
638
+ },
639
+ patterns: [
640
+ {
641
+ include: "#tag-stuff"
642
+ },
643
+ {
644
+ contentName: "source.css.less",
645
+ begin: "(>)",
646
+ beginCaptures: {
647
+ "1": {
648
+ name: "punctuation.definition.tag.end.html"
649
+ }
650
+ },
651
+ end: "(?=</style>)",
652
+ patterns: [
653
+ {
654
+ include: "source.css.less"
655
+ }
656
+ ]
657
+ }
658
+ ]
659
+ },
660
+ {
661
+ begin: "(<)(style)\\b(?=[^>]*lang=('stylus'|\"stylus\"))(?![^/>]*/>\\s*$)",
662
+ beginCaptures: {
663
+ "1": {
664
+ name: "punctuation.definition.tag.begin.html"
665
+ },
666
+ "2": {
667
+ name: "entity.name.tag.style.html"
668
+ }
669
+ },
670
+ end: "(</)(style)(>)",
671
+ endCaptures: {
672
+ "1": {
673
+ name: "punctuation.definition.tag.begin.html"
674
+ },
675
+ "2": {
676
+ name: "entity.name.tag.style.html"
677
+ },
678
+ "3": {
679
+ name: "punctuation.definition.tag.end.html"
680
+ }
681
+ },
682
+ patterns: [
683
+ {
684
+ include: "#tag-stuff"
685
+ },
686
+ {
687
+ contentName: "source.stylus",
688
+ begin: "(>)",
689
+ beginCaptures: {
690
+ "1": {
691
+ name: "punctuation.definition.tag.end.html"
692
+ }
693
+ },
694
+ end: "(?=</style>)",
695
+ patterns: [
696
+ {
697
+ include: "source.stylus"
698
+ }
699
+ ]
700
+ }
701
+ ]
702
+ },
703
+ {
704
+ begin: "(<)(style)\\b(?=[^>]*lang=('postcss'|\"postcss\"))(?![^/>]*/>\\s*$)",
705
+ beginCaptures: {
706
+ "1": {
707
+ name: "punctuation.definition.tag.begin.html"
708
+ },
709
+ "2": {
710
+ name: "entity.name.tag.style.html"
711
+ }
712
+ },
713
+ end: "(</)(style)(>)",
714
+ endCaptures: {
715
+ "1": {
716
+ name: "punctuation.definition.tag.begin.html"
717
+ },
718
+ "2": {
719
+ name: "entity.name.tag.style.html"
720
+ },
721
+ "3": {
722
+ name: "punctuation.definition.tag.end.html"
723
+ }
724
+ },
725
+ patterns: [
726
+ {
727
+ include: "#tag-stuff"
728
+ },
729
+ {
730
+ contentName: "source.css.postcss",
731
+ begin: "(>)",
732
+ beginCaptures: {
733
+ "1": {
734
+ name: "punctuation.definition.tag.end.html"
735
+ }
736
+ },
737
+ end: "(?=</style>)",
738
+ patterns: [
739
+ {
740
+ include: "source.css.postcss"
741
+ }
742
+ ]
743
+ }
744
+ ]
745
+ },
746
+ {
747
+ begin: "(<)(style)\\b(?=[^>]*lang=(['\"]sss['\"]))(?![^/>]*/>\\s*$)",
748
+ beginCaptures: {
749
+ "1": {
750
+ name: "punctuation.definition.tag.begin.html"
751
+ },
752
+ "2": {
753
+ name: "entity.name.tag.style.html"
754
+ }
755
+ },
756
+ end: "(</)(style)(>)",
757
+ endCaptures: {
758
+ "1": {
759
+ name: "punctuation.definition.tag.begin.html"
760
+ },
761
+ "2": {
762
+ name: "entity.name.tag.style.html"
763
+ },
764
+ "3": {
765
+ name: "punctuation.definition.tag.end.html"
766
+ }
767
+ },
768
+ patterns: [
769
+ {
770
+ include: "#tag-stuff"
771
+ },
772
+ {
773
+ contentName: "source.css.sugarss",
774
+ begin: "(>)",
775
+ beginCaptures: {
776
+ "1": {
777
+ name: "punctuation.definition.tag.end.html"
778
+ }
779
+ },
780
+ end: "(?=</style>)",
781
+ patterns: [
782
+ {
783
+ include: "source.css.sugarss"
784
+ }
785
+ ]
786
+ }
787
+ ]
788
+ },
789
+ {
790
+ begin: "(<)(style)(?![^/>]*/>\\s*$)",
791
+ beginCaptures: {
792
+ "1": {
793
+ name: "punctuation.definition.tag.begin.html"
794
+ },
795
+ "2": {
796
+ name: "entity.name.tag.style.html"
797
+ }
798
+ },
799
+ end: "(</)(style)(>)",
800
+ endCaptures: {
801
+ "1": {
802
+ name: "punctuation.definition.tag.begin.html"
803
+ },
804
+ "2": {
805
+ name: "entity.name.tag.style.html"
806
+ },
807
+ "3": {
808
+ name: "punctuation.definition.tag.end.html"
809
+ }
810
+ },
811
+ patterns: [
812
+ {
813
+ include: "#tag-stuff"
814
+ },
815
+ {
816
+ contentName: "source.css",
817
+ begin: "(>)",
818
+ beginCaptures: {
819
+ "1": {
820
+ name: "punctuation.definition.tag.end.html"
821
+ }
822
+ },
823
+ end: "(?=</style>)",
824
+ patterns: [
825
+ {
826
+ include: "source.css"
827
+ }
828
+ ]
829
+ }
830
+ ]
831
+ },
832
+ {
833
+ begin: "(<)(script)\\b(?=[^>]*/>$)",
834
+ beginCaptures: {
835
+ "1": {
836
+ name: "punctuation.definition.tag.begin.html"
837
+ },
838
+ "2": {
839
+ name: "entity.name.tag.script.html"
840
+ }
841
+ },
842
+ end: "(/>)",
843
+ endCaptures: {
844
+ "1": {
845
+ name: "punctuation.definition.tag.end.html"
846
+ }
847
+ },
848
+ patterns: [
849
+ {
850
+ include: "#tag-stuff"
851
+ }
852
+ ]
853
+ },
854
+ {
855
+ begin: "(<)(script)(?=[^>]*>[^/>]*</script>)",
856
+ beginCaptures: {
857
+ "1": {
858
+ name: "punctuation.definition.tag.begin.html"
859
+ },
860
+ "2": {
861
+ name: "entity.name.tag.script.html"
862
+ }
863
+ },
864
+ end: "(</)(script)(>)",
865
+ endCaptures: {
866
+ "1": {
867
+ name: "punctuation.definition.tag.begin.html"
868
+ },
869
+ "2": {
870
+ name: "entity.name.tag.script.html"
871
+ },
872
+ "3": {
873
+ name: "punctuation.definition.tag.end.html"
874
+ }
875
+ },
876
+ patterns: [
877
+ {
878
+ include: "#tag-stuff"
879
+ },
880
+ {
881
+ begin: "(>)",
882
+ beginCaptures: {
883
+ "1": {
884
+ name: "punctuation.definition.tag.end.html"
885
+ }
886
+ },
887
+ end: "(?=</script>)"
888
+ }
889
+ ]
890
+ },
891
+ {
892
+ begin: "(<)(script)\\b(?=[^>]*lang=('ts'|\"ts\"))(?![^/>]*/>\\s*$)",
893
+ beginCaptures: {
894
+ "1": {
895
+ name: "punctuation.definition.tag.begin.html"
896
+ },
897
+ "2": {
898
+ name: "entity.name.tag.script.html"
899
+ }
900
+ },
901
+ end: "(</)(script)(>)",
902
+ endCaptures: {
903
+ "1": {
904
+ name: "punctuation.definition.tag.begin.html"
905
+ },
906
+ "2": {
907
+ name: "entity.name.tag.script.html"
908
+ },
909
+ "3": {
910
+ name: "punctuation.definition.tag.end.html"
911
+ }
912
+ },
913
+ patterns: [
914
+ {
915
+ include: "#tag-stuff"
916
+ },
917
+ {
918
+ contentName: "source.ts",
919
+ begin: "(>)",
920
+ beginCaptures: {
921
+ "1": {
922
+ name: "punctuation.definition.tag.end.html"
923
+ }
924
+ },
925
+ end: "(?=</script>)",
926
+ patterns: [
927
+ {
928
+ include: "source.ts"
929
+ }
930
+ ]
931
+ }
932
+ ]
933
+ },
934
+ {
935
+ begin: "(<)(script)\\b(?=[^>]*lang=('coffee'|\"coffee\"))(?![^/>]*/>\\s*$)",
936
+ beginCaptures: {
937
+ "1": {
938
+ name: "punctuation.definition.tag.begin.html"
939
+ },
940
+ "2": {
941
+ name: "entity.name.tag.script.html"
942
+ }
943
+ },
944
+ end: "(</)(script)(>)",
945
+ endCaptures: {
946
+ "1": {
947
+ name: "punctuation.definition.tag.begin.html"
948
+ },
949
+ "2": {
950
+ name: "entity.name.tag.script.html"
951
+ },
952
+ "3": {
953
+ name: "punctuation.definition.tag.end.html"
954
+ }
955
+ },
956
+ patterns: [
957
+ {
958
+ include: "#tag-stuff"
959
+ },
960
+ {
961
+ contentName: "source.coffee",
962
+ begin: "(>)",
963
+ beginCaptures: {
964
+ "1": {
965
+ name: "punctuation.definition.tag.end.html"
966
+ }
967
+ },
968
+ end: "(?=</script>)",
969
+ patterns: [
970
+ {
971
+ include: "source.coffee"
972
+ }
973
+ ]
974
+ }
975
+ ]
976
+ },
977
+ {
978
+ begin: "(<)(script)(?![^/>]*/>\\s*$)",
979
+ beginCaptures: {
980
+ "1": {
981
+ name: "punctuation.definition.tag.begin.html"
982
+ },
983
+ "2": {
984
+ name: "entity.name.tag.script.html"
985
+ }
986
+ },
987
+ end: "(</)(script)(>)",
988
+ endCaptures: {
989
+ "1": {
990
+ name: "punctuation.definition.tag.begin.html"
991
+ },
992
+ "2": {
993
+ name: "entity.name.tag.script.html"
994
+ },
995
+ "3": {
996
+ name: "punctuation.definition.tag.end.html"
997
+ }
998
+ },
999
+ patterns: [
1000
+ {
1001
+ include: "#tag-stuff"
1002
+ },
1003
+ {
1004
+ contentName: "source.js",
1005
+ begin: "(>)",
1006
+ beginCaptures: {
1007
+ "1": {
1008
+ name: "punctuation.definition.tag.end.html"
1009
+ }
1010
+ },
1011
+ end: "(?=</script>)",
1012
+ patterns: [
1013
+ {
1014
+ include: "source.js"
1015
+ }
1016
+ ]
1017
+ }
1018
+ ]
1019
+ }
1020
+ ];
1021
+ var repository = {
1022
+ entities: {
1023
+ patterns: [
1024
+ {
1025
+ name: "constant.character.entity.html",
1026
+ match: "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
1027
+ captures: {
1028
+ "1": {
1029
+ name: "punctuation.definition.entity.html"
1030
+ },
1031
+ "3": {
1032
+ name: "punctuation.definition.entity.html"
1033
+ }
1034
+ }
1035
+ },
1036
+ {
1037
+ name: "invalid.illegal.bad-ampersand.html",
1038
+ match: "&"
1039
+ }
1040
+ ]
1041
+ },
1042
+ "string-double-quoted": {
1043
+ name: "string.quoted.double.html",
1044
+ begin: "\"",
1045
+ beginCaptures: {
1046
+ "0": {
1047
+ name: "punctuation.definition.string.begin.html"
1048
+ }
1049
+ },
1050
+ end: "\"",
1051
+ endCaptures: {
1052
+ "0": {
1053
+ name: "punctuation.definition.string.end.html"
1054
+ }
1055
+ },
1056
+ patterns: [
1057
+ {
1058
+ include: "#vue-interpolations"
1059
+ },
1060
+ {
1061
+ include: "#entities"
1062
+ }
1063
+ ]
1064
+ },
1065
+ "string-single-quoted": {
1066
+ name: "string.quoted.single.html",
1067
+ begin: "'",
1068
+ beginCaptures: {
1069
+ "0": {
1070
+ name: "punctuation.definition.string.begin.html"
1071
+ }
1072
+ },
1073
+ end: "'",
1074
+ endCaptures: {
1075
+ "0": {
1076
+ name: "punctuation.definition.string.end.html"
1077
+ }
1078
+ },
1079
+ patterns: [
1080
+ {
1081
+ include: "#vue-interpolations"
1082
+ },
1083
+ {
1084
+ include: "#entities"
1085
+ }
1086
+ ]
1087
+ },
1088
+ "tag-generic-attribute": {
1089
+ name: "entity.other.attribute-name.html",
1090
+ match: "\\b([a-zA-Z\\-:_]+)"
1091
+ },
1092
+ "tag-id-attribute": {
1093
+ name: "meta.attribute-with-value.id.html",
1094
+ begin: "\\b(id)\\b\\s*(=)",
1095
+ end: "(?<='|\")",
1096
+ captures: {
1097
+ "1": {
1098
+ name: "entity.other.attribute-name.id.html"
1099
+ },
1100
+ "2": {
1101
+ name: "punctuation.separator.key-value.html"
1102
+ }
1103
+ },
1104
+ patterns: [
1105
+ {
1106
+ name: "string.quoted.double.html",
1107
+ contentName: "meta.toc-list.id.html",
1108
+ begin: "\"",
1109
+ beginCaptures: {
1110
+ "0": {
1111
+ name: "punctuation.definition.string.begin.html"
1112
+ }
1113
+ },
1114
+ end: "\"",
1115
+ endCaptures: {
1116
+ "0": {
1117
+ name: "punctuation.definition.string.end.html"
1118
+ }
1119
+ },
1120
+ patterns: [
1121
+ {
1122
+ include: "#vue-interpolations"
1123
+ },
1124
+ {
1125
+ include: "#entities"
1126
+ }
1127
+ ]
1128
+ },
1129
+ {
1130
+ name: "string.quoted.single.html",
1131
+ contentName: "meta.toc-list.id.html",
1132
+ begin: "'",
1133
+ beginCaptures: {
1134
+ "0": {
1135
+ name: "punctuation.definition.string.begin.html"
1136
+ }
1137
+ },
1138
+ end: "'",
1139
+ endCaptures: {
1140
+ "0": {
1141
+ name: "punctuation.definition.string.end.html"
1142
+ }
1143
+ },
1144
+ patterns: [
1145
+ {
1146
+ include: "#vue-interpolations"
1147
+ },
1148
+ {
1149
+ include: "#entities"
1150
+ }
1151
+ ]
1152
+ }
1153
+ ]
1154
+ },
1155
+ "tag-stuff": {
1156
+ patterns: [
1157
+ {
1158
+ include: "#vue-directives"
1159
+ },
1160
+ {
1161
+ include: "#tag-id-attribute"
1162
+ },
1163
+ {
1164
+ include: "#tag-generic-attribute"
1165
+ },
1166
+ {
1167
+ include: "#string-double-quoted"
1168
+ },
1169
+ {
1170
+ include: "#string-single-quoted"
1171
+ }
1172
+ ]
1173
+ },
1174
+ "vue-directives": {
1175
+ name: "meta.directive.vue",
1176
+ begin: "(?:\\b(v-)|(:|@|#))([a-zA-Z0-9\\-_]+)(?:\\:([a-zA-Z\\-_]+))?(?:\\.([a-zA-Z\\-_]+))*\\s*(=)",
1177
+ end: "(?<='|\")|(?=[\\s<>`])",
1178
+ captures: {
1179
+ "1": {
1180
+ name: "entity.other.attribute-name.html"
1181
+ },
1182
+ "2": {
1183
+ name: "punctuation.separator.key-value.html"
1184
+ },
1185
+ "3": {
1186
+ name: "entity.other.attribute-name.html"
1187
+ },
1188
+ "4": {
1189
+ name: "entity.other.attribute-name.html"
1190
+ },
1191
+ "5": {
1192
+ name: "entity.other.attribute-name.html"
1193
+ },
1194
+ "6": {
1195
+ name: "punctuation.separator.key-value.html"
1196
+ }
1197
+ },
1198
+ patterns: [
1199
+ {
1200
+ name: "source.directive.vue",
1201
+ begin: "`",
1202
+ beginCaptures: {
1203
+ "0": {
1204
+ name: "punctuation.definition.string.begin.html"
1205
+ }
1206
+ },
1207
+ end: "`",
1208
+ endCaptures: {
1209
+ "0": {
1210
+ name: "punctuation.definition.string.end.html"
1211
+ }
1212
+ },
1213
+ patterns: [
1214
+ {
1215
+ include: "source.js#expression"
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ name: "source.directive.vue",
1221
+ begin: "\"",
1222
+ beginCaptures: {
1223
+ "0": {
1224
+ name: "punctuation.definition.string.begin.html"
1225
+ }
1226
+ },
1227
+ end: "\"",
1228
+ endCaptures: {
1229
+ "0": {
1230
+ name: "punctuation.definition.string.end.html"
1231
+ }
1232
+ },
1233
+ patterns: [
1234
+ {
1235
+ include: "source.js#expression"
1236
+ }
1237
+ ]
1238
+ },
1239
+ {
1240
+ name: "source.directive.vue",
1241
+ begin: "'",
1242
+ beginCaptures: {
1243
+ "0": {
1244
+ name: "punctuation.definition.string.begin.html"
1245
+ }
1246
+ },
1247
+ end: "'",
1248
+ endCaptures: {
1249
+ "0": {
1250
+ name: "punctuation.definition.string.end.html"
1251
+ }
1252
+ },
1253
+ patterns: [
1254
+ {
1255
+ include: "source.js#expression"
1256
+ }
1257
+ ]
1258
+ }
1259
+ ]
1260
+ },
1261
+ "vue-interpolations": {
1262
+ patterns: [
1263
+ {
1264
+ name: "expression.embedded.vue",
1265
+ begin: "\\{\\{\\{?",
1266
+ beginCaptures: {
1267
+ "0": {
1268
+ name: "punctuation.definition.generic.begin.html"
1269
+ }
1270
+ },
1271
+ end: "\\}\\}\\}?",
1272
+ endCaptures: {
1273
+ "0": {
1274
+ name: "punctuation.definition.generic.end.html"
1275
+ }
1276
+ },
1277
+ patterns: [
1278
+ {
1279
+ include: "source.js#expression"
1280
+ }
1281
+ ]
1282
+ }
1283
+ ]
1284
+ }
1285
+ };
1286
+ var information_for_contributors = [
1287
+ "This file has been converted from https://github.com/vuejs/vetur/blob/master/",
1288
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
1289
+ "Once accepted there, we are happy to receive an update request."
1290
+ ];
1291
+ var vueGenerated = {
1292
+ name: name,
1293
+ scopeName: scopeName,
1294
+ fileTypes: fileTypes,
1295
+ uuid: uuid,
1296
+ patterns: patterns,
1297
+ repository: repository,
1298
+ information_for_contributors: information_for_contributors
1299
+ };
1300
+
1301
+ export { vueGenerated as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName, uuid };