tm-grammars 1.6.4 → 1.6.5
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.
- package/README.md +7 -7
- package/grammars/go.json +196 -92
- package/grammars/julia.json +5 -5
- package/grammars/latex.json +1006 -231
- package/grammars/rust.json +1 -1
- package/grammars/shellscript.json +581 -551
- package/grammars/tex.json +74 -30
- package/index.js +34 -33
- package/package.json +1 -1
package/grammars/latex.json
CHANGED
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"include": "text.tex#braces"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
|
-
"include": "$
|
|
113
|
+
"include": "$self"
|
|
114
114
|
}
|
|
115
115
|
]
|
|
116
116
|
},
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"name": "meta.chord.block.latex support.class.chord.block.environment.latex",
|
|
136
136
|
"patterns": [
|
|
137
137
|
{
|
|
138
|
-
"include": "$
|
|
138
|
+
"include": "$self"
|
|
139
139
|
}
|
|
140
140
|
]
|
|
141
141
|
},
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"include": "#multiline-optional-arg-no-highlight"
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)((?:
|
|
168
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:asy|asymptote))(\\})",
|
|
169
169
|
"beginCaptures": {
|
|
170
170
|
"1": {
|
|
171
171
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
@@ -177,16 +177,16 @@
|
|
|
177
177
|
"name": "punctuation.definition.arguments.end.latex"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
|
-
"contentName": "source.
|
|
180
|
+
"contentName": "source.asy",
|
|
181
181
|
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
182
182
|
"patterns": [
|
|
183
183
|
{
|
|
184
|
-
"include": "source.
|
|
184
|
+
"include": "source.asy"
|
|
185
185
|
}
|
|
186
186
|
]
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)((?:
|
|
189
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:bash))(\\})",
|
|
190
190
|
"beginCaptures": {
|
|
191
191
|
"1": {
|
|
192
192
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
@@ -198,11 +198,32 @@
|
|
|
198
198
|
"name": "punctuation.definition.arguments.end.latex"
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
|
-
"contentName": "source.
|
|
201
|
+
"contentName": "source.shell",
|
|
202
202
|
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
203
203
|
"patterns": [
|
|
204
204
|
{
|
|
205
|
-
"include": "source.
|
|
205
|
+
"include": "source.shell"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:c|cpp))(\\})",
|
|
211
|
+
"beginCaptures": {
|
|
212
|
+
"1": {
|
|
213
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
214
|
+
},
|
|
215
|
+
"2": {
|
|
216
|
+
"name": "variable.parameter.function.latex"
|
|
217
|
+
},
|
|
218
|
+
"3": {
|
|
219
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"contentName": "source.cpp.embedded.latex",
|
|
223
|
+
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
224
|
+
"patterns": [
|
|
225
|
+
{
|
|
226
|
+
"include": "source.cpp.embedded.latex"
|
|
206
227
|
}
|
|
207
228
|
]
|
|
208
229
|
},
|
|
@@ -227,6 +248,27 @@
|
|
|
227
248
|
}
|
|
228
249
|
]
|
|
229
250
|
},
|
|
251
|
+
{
|
|
252
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:gnuplot))(\\})",
|
|
253
|
+
"beginCaptures": {
|
|
254
|
+
"1": {
|
|
255
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
256
|
+
},
|
|
257
|
+
"2": {
|
|
258
|
+
"name": "variable.parameter.function.latex"
|
|
259
|
+
},
|
|
260
|
+
"3": {
|
|
261
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"contentName": "source.gnuplot",
|
|
265
|
+
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
266
|
+
"patterns": [
|
|
267
|
+
{
|
|
268
|
+
"include": "source.gnuplot"
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
},
|
|
230
272
|
{
|
|
231
273
|
"begin": "(?:\\G|(?<=\\]))(\\{)((?:hs|haskell))(\\})",
|
|
232
274
|
"beginCaptures": {
|
|
@@ -270,7 +312,7 @@
|
|
|
270
312
|
]
|
|
271
313
|
},
|
|
272
314
|
{
|
|
273
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)((?:
|
|
315
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:java))(\\})",
|
|
274
316
|
"beginCaptures": {
|
|
275
317
|
"1": {
|
|
276
318
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
@@ -282,16 +324,16 @@
|
|
|
282
324
|
"name": "punctuation.definition.arguments.end.latex"
|
|
283
325
|
}
|
|
284
326
|
},
|
|
285
|
-
"contentName": "
|
|
327
|
+
"contentName": "source.java",
|
|
286
328
|
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
287
329
|
"patterns": [
|
|
288
330
|
{
|
|
289
|
-
"include": "
|
|
331
|
+
"include": "source.java"
|
|
290
332
|
}
|
|
291
333
|
]
|
|
292
334
|
},
|
|
293
335
|
{
|
|
294
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)((?:
|
|
336
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:jl|julia))(\\})",
|
|
295
337
|
"beginCaptures": {
|
|
296
338
|
"1": {
|
|
297
339
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
@@ -303,11 +345,32 @@
|
|
|
303
345
|
"name": "punctuation.definition.arguments.end.latex"
|
|
304
346
|
}
|
|
305
347
|
},
|
|
306
|
-
"contentName": "source.
|
|
348
|
+
"contentName": "source.julia",
|
|
307
349
|
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
308
350
|
"patterns": [
|
|
309
351
|
{
|
|
310
|
-
"include": "source.
|
|
352
|
+
"include": "source.julia"
|
|
353
|
+
}
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:js|javascript))(\\})",
|
|
358
|
+
"beginCaptures": {
|
|
359
|
+
"1": {
|
|
360
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
361
|
+
},
|
|
362
|
+
"2": {
|
|
363
|
+
"name": "variable.parameter.function.latex"
|
|
364
|
+
},
|
|
365
|
+
"3": {
|
|
366
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"contentName": "source.js",
|
|
370
|
+
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
371
|
+
"patterns": [
|
|
372
|
+
{
|
|
373
|
+
"include": "source.js"
|
|
311
374
|
}
|
|
312
375
|
]
|
|
313
376
|
},
|
|
@@ -333,7 +396,7 @@
|
|
|
333
396
|
]
|
|
334
397
|
},
|
|
335
398
|
{
|
|
336
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)((?:
|
|
399
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:py|python|sage))(\\})",
|
|
337
400
|
"beginCaptures": {
|
|
338
401
|
"1": {
|
|
339
402
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
@@ -345,11 +408,11 @@
|
|
|
345
408
|
"name": "punctuation.definition.arguments.end.latex"
|
|
346
409
|
}
|
|
347
410
|
},
|
|
348
|
-
"contentName": "source.
|
|
411
|
+
"contentName": "source.python",
|
|
349
412
|
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
350
413
|
"patterns": [
|
|
351
414
|
{
|
|
352
|
-
"include": "source.
|
|
415
|
+
"include": "source.python"
|
|
353
416
|
}
|
|
354
417
|
]
|
|
355
418
|
},
|
|
@@ -375,7 +438,7 @@
|
|
|
375
438
|
]
|
|
376
439
|
},
|
|
377
440
|
{
|
|
378
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)((?:
|
|
441
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:rust))(\\})",
|
|
379
442
|
"beginCaptures": {
|
|
380
443
|
"1": {
|
|
381
444
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
@@ -387,11 +450,11 @@
|
|
|
387
450
|
"name": "punctuation.definition.arguments.end.latex"
|
|
388
451
|
}
|
|
389
452
|
},
|
|
390
|
-
"contentName": "source.
|
|
453
|
+
"contentName": "source.rust",
|
|
391
454
|
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
392
455
|
"patterns": [
|
|
393
456
|
{
|
|
394
|
-
"include": "source.
|
|
457
|
+
"include": "source.rust"
|
|
395
458
|
}
|
|
396
459
|
]
|
|
397
460
|
},
|
|
@@ -417,7 +480,7 @@
|
|
|
417
480
|
]
|
|
418
481
|
},
|
|
419
482
|
{
|
|
420
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)((?:
|
|
483
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)((?:xml))(\\})",
|
|
421
484
|
"beginCaptures": {
|
|
422
485
|
"1": {
|
|
423
486
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
@@ -429,11 +492,11 @@
|
|
|
429
492
|
"name": "punctuation.definition.arguments.end.latex"
|
|
430
493
|
}
|
|
431
494
|
},
|
|
432
|
-
"contentName": "
|
|
495
|
+
"contentName": "text.xml",
|
|
433
496
|
"end": "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",
|
|
434
497
|
"patterns": [
|
|
435
498
|
{
|
|
436
|
-
"include": "
|
|
499
|
+
"include": "text.xml"
|
|
437
500
|
}
|
|
438
501
|
]
|
|
439
502
|
},
|
|
@@ -459,7 +522,7 @@
|
|
|
459
522
|
]
|
|
460
523
|
},
|
|
461
524
|
{
|
|
462
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)(
|
|
525
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)([a-zA-Z]*)(\\})",
|
|
463
526
|
"beginCaptures": {
|
|
464
527
|
"1": {
|
|
465
528
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
@@ -471,30 +534,52 @@
|
|
|
471
534
|
"name": "punctuation.definition.arguments.end.latex"
|
|
472
535
|
}
|
|
473
536
|
},
|
|
474
|
-
"contentName": "
|
|
475
|
-
"end": "^\\s*(?=\\\\end\\{(?:minted|
|
|
537
|
+
"contentName": "meta.function.embedded.latex",
|
|
538
|
+
"end": "^\\s*(?=\\\\end\\{(?:lstlisting|minted|pyglist)\\})",
|
|
539
|
+
"name": "meta.embedded.block.generic.latex"
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"begin": "\\s*\\\\begin\\{(?:asy|asycode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
|
|
545
|
+
"captures": {
|
|
546
|
+
"0": {
|
|
476
547
|
"patterns": [
|
|
477
548
|
{
|
|
478
|
-
"include": "
|
|
549
|
+
"include": "#begin-env-tokenizer"
|
|
479
550
|
}
|
|
480
551
|
]
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"end": "\\s*\\\\end\\{(?:asy|asycode)\\*?\\}",
|
|
555
|
+
"patterns": [
|
|
556
|
+
{
|
|
557
|
+
"include": "#multiline-optional-arg-no-highlight"
|
|
481
558
|
},
|
|
482
559
|
{
|
|
483
|
-
"begin": "(?:\\G|(?<=\\]))(\\{)
|
|
560
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)",
|
|
484
561
|
"beginCaptures": {
|
|
485
562
|
"1": {
|
|
486
563
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
487
|
-
},
|
|
488
|
-
"2": {
|
|
489
|
-
"name": "variable.parameter.function.latex"
|
|
490
|
-
},
|
|
491
|
-
"3": {
|
|
492
|
-
"name": "punctuation.definition.arguments.end.latex"
|
|
493
564
|
}
|
|
494
565
|
},
|
|
495
|
-
"contentName": "
|
|
496
|
-
"end": "
|
|
497
|
-
"
|
|
566
|
+
"contentName": "variable.parameter.function.latex",
|
|
567
|
+
"end": "(\\})",
|
|
568
|
+
"endCaptures": {
|
|
569
|
+
"1": {
|
|
570
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"begin": "^(?=\\s*)",
|
|
576
|
+
"contentName": "source.asymptote",
|
|
577
|
+
"end": "^\\s*(?=\\\\end\\{(?:asy|asycode)\\*?\\})",
|
|
578
|
+
"patterns": [
|
|
579
|
+
{
|
|
580
|
+
"include": "source.asymptote"
|
|
581
|
+
}
|
|
582
|
+
]
|
|
498
583
|
}
|
|
499
584
|
]
|
|
500
585
|
},
|
|
@@ -542,7 +627,7 @@
|
|
|
542
627
|
]
|
|
543
628
|
},
|
|
544
629
|
{
|
|
545
|
-
"begin": "\\s*\\\\begin\\{(?:
|
|
630
|
+
"begin": "\\s*\\\\begin\\{(?:dot2tex|dotcode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
|
|
546
631
|
"captures": {
|
|
547
632
|
"0": {
|
|
548
633
|
"patterns": [
|
|
@@ -552,7 +637,7 @@
|
|
|
552
637
|
]
|
|
553
638
|
}
|
|
554
639
|
},
|
|
555
|
-
"end": "\\s*\\\\end\\{(?:
|
|
640
|
+
"end": "\\s*\\\\end\\{(?:dot2tex|dotcode)\\*?\\}",
|
|
556
641
|
"patterns": [
|
|
557
642
|
{
|
|
558
643
|
"include": "#multiline-optional-arg-no-highlight"
|
|
@@ -574,18 +659,18 @@
|
|
|
574
659
|
},
|
|
575
660
|
{
|
|
576
661
|
"begin": "^(?=\\s*)",
|
|
577
|
-
"contentName": "source.
|
|
578
|
-
"end": "^\\s*(?=\\\\end\\{(?:
|
|
662
|
+
"contentName": "source.dot",
|
|
663
|
+
"end": "^\\s*(?=\\\\end\\{(?:dot2tex|dotcode)\\*?\\})",
|
|
579
664
|
"patterns": [
|
|
580
665
|
{
|
|
581
|
-
"include": "source.
|
|
666
|
+
"include": "source.dot"
|
|
582
667
|
}
|
|
583
668
|
]
|
|
584
669
|
}
|
|
585
670
|
]
|
|
586
671
|
},
|
|
587
672
|
{
|
|
588
|
-
"begin": "\\s*\\\\begin\\{(?:
|
|
673
|
+
"begin": "\\s*\\\\begin\\{(?:gnuplot)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
|
|
589
674
|
"captures": {
|
|
590
675
|
"0": {
|
|
591
676
|
"patterns": [
|
|
@@ -595,7 +680,7 @@
|
|
|
595
680
|
]
|
|
596
681
|
}
|
|
597
682
|
},
|
|
598
|
-
"end": "\\s*\\\\end\\{(?:
|
|
683
|
+
"end": "\\s*\\\\end\\{(?:gnuplot)\\*?\\}",
|
|
599
684
|
"patterns": [
|
|
600
685
|
{
|
|
601
686
|
"include": "#multiline-optional-arg-no-highlight"
|
|
@@ -617,11 +702,54 @@
|
|
|
617
702
|
},
|
|
618
703
|
{
|
|
619
704
|
"begin": "^(?=\\s*)",
|
|
620
|
-
"contentName": "source.
|
|
621
|
-
"end": "^\\s*(?=\\\\end\\{(?:
|
|
705
|
+
"contentName": "source.gnuplot",
|
|
706
|
+
"end": "^\\s*(?=\\\\end\\{(?:gnuplot)\\*?\\})",
|
|
622
707
|
"patterns": [
|
|
623
708
|
{
|
|
624
|
-
"include": "source.
|
|
709
|
+
"include": "source.gnuplot"
|
|
710
|
+
}
|
|
711
|
+
]
|
|
712
|
+
}
|
|
713
|
+
]
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"begin": "\\s*\\\\begin\\{(?:hscode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
|
|
717
|
+
"captures": {
|
|
718
|
+
"0": {
|
|
719
|
+
"patterns": [
|
|
720
|
+
{
|
|
721
|
+
"include": "#begin-env-tokenizer"
|
|
722
|
+
}
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
"end": "\\s*\\\\end\\{(?:hscode)\\*?\\}",
|
|
727
|
+
"patterns": [
|
|
728
|
+
{
|
|
729
|
+
"include": "#multiline-optional-arg-no-highlight"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)",
|
|
733
|
+
"beginCaptures": {
|
|
734
|
+
"1": {
|
|
735
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"contentName": "variable.parameter.function.latex",
|
|
739
|
+
"end": "(\\})",
|
|
740
|
+
"endCaptures": {
|
|
741
|
+
"1": {
|
|
742
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"begin": "^(?=\\s*)",
|
|
748
|
+
"contentName": "source.haskell",
|
|
749
|
+
"end": "^\\s*(?=\\\\end\\{(?:hscode)\\*?\\})",
|
|
750
|
+
"patterns": [
|
|
751
|
+
{
|
|
752
|
+
"include": "source.haskell"
|
|
625
753
|
}
|
|
626
754
|
]
|
|
627
755
|
}
|
|
@@ -714,7 +842,7 @@
|
|
|
714
842
|
]
|
|
715
843
|
},
|
|
716
844
|
{
|
|
717
|
-
"begin": "\\s*\\\\begin\\{(?:
|
|
845
|
+
"begin": "\\s*\\\\begin\\{(?:luacode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
|
|
718
846
|
"captures": {
|
|
719
847
|
"0": {
|
|
720
848
|
"patterns": [
|
|
@@ -724,7 +852,7 @@
|
|
|
724
852
|
]
|
|
725
853
|
}
|
|
726
854
|
},
|
|
727
|
-
"end": "\\s*\\\\end\\{(?:
|
|
855
|
+
"end": "\\s*\\\\end\\{(?:luacode)\\*?\\}",
|
|
728
856
|
"patterns": [
|
|
729
857
|
{
|
|
730
858
|
"include": "#multiline-optional-arg-no-highlight"
|
|
@@ -746,11 +874,11 @@
|
|
|
746
874
|
},
|
|
747
875
|
{
|
|
748
876
|
"begin": "^(?=\\s*)",
|
|
749
|
-
"contentName": "source.
|
|
750
|
-
"end": "^\\s*(?=\\\\end\\{(?:
|
|
877
|
+
"contentName": "source.lua",
|
|
878
|
+
"end": "^\\s*(?=\\\\end\\{(?:luacode)\\*?\\})",
|
|
751
879
|
"patterns": [
|
|
752
880
|
{
|
|
753
|
-
"include": "source.
|
|
881
|
+
"include": "source.lua"
|
|
754
882
|
}
|
|
755
883
|
]
|
|
756
884
|
}
|
|
@@ -843,234 +971,881 @@
|
|
|
843
971
|
]
|
|
844
972
|
},
|
|
845
973
|
{
|
|
846
|
-
"begin": "\\s*\\\\begin\\{(?:
|
|
974
|
+
"begin": "\\s*\\\\begin\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
|
|
847
975
|
"captures": {
|
|
848
976
|
"0": {
|
|
849
977
|
"patterns": [
|
|
850
978
|
{
|
|
851
|
-
"include": "#begin-env-tokenizer"
|
|
979
|
+
"include": "#begin-env-tokenizer"
|
|
980
|
+
}
|
|
981
|
+
]
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
"end": "\\s*\\\\end\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\}",
|
|
985
|
+
"patterns": [
|
|
986
|
+
{
|
|
987
|
+
"include": "#multiline-optional-arg-no-highlight"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)",
|
|
991
|
+
"beginCaptures": {
|
|
992
|
+
"1": {
|
|
993
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"contentName": "variable.parameter.function.latex",
|
|
997
|
+
"end": "(\\})",
|
|
998
|
+
"endCaptures": {
|
|
999
|
+
"1": {
|
|
1000
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"begin": "^(?=\\s*)",
|
|
1006
|
+
"contentName": "source.python",
|
|
1007
|
+
"end": "^\\s*(?=\\\\end\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\})",
|
|
1008
|
+
"patterns": [
|
|
1009
|
+
{
|
|
1010
|
+
"include": "source.python"
|
|
1011
|
+
}
|
|
1012
|
+
]
|
|
1013
|
+
}
|
|
1014
|
+
]
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"begin": "\\s*\\\\begin\\{(?:scalacode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
|
|
1018
|
+
"captures": {
|
|
1019
|
+
"0": {
|
|
1020
|
+
"patterns": [
|
|
1021
|
+
{
|
|
1022
|
+
"include": "#begin-env-tokenizer"
|
|
1023
|
+
}
|
|
1024
|
+
]
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"end": "\\s*\\\\end\\{(?:scalacode)\\*?\\}",
|
|
1028
|
+
"patterns": [
|
|
1029
|
+
{
|
|
1030
|
+
"include": "#multiline-optional-arg-no-highlight"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)",
|
|
1034
|
+
"beginCaptures": {
|
|
1035
|
+
"1": {
|
|
1036
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
"contentName": "variable.parameter.function.latex",
|
|
1040
|
+
"end": "(\\})",
|
|
1041
|
+
"endCaptures": {
|
|
1042
|
+
"1": {
|
|
1043
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"begin": "^(?=\\s*)",
|
|
1049
|
+
"contentName": "source.scala",
|
|
1050
|
+
"end": "^\\s*(?=\\\\end\\{(?:scalacode)\\*?\\})",
|
|
1051
|
+
"patterns": [
|
|
1052
|
+
{
|
|
1053
|
+
"include": "source.scala"
|
|
1054
|
+
}
|
|
1055
|
+
]
|
|
1056
|
+
}
|
|
1057
|
+
]
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"begin": "\\s*\\\\begin\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)",
|
|
1061
|
+
"captures": {
|
|
1062
|
+
"0": {
|
|
1063
|
+
"patterns": [
|
|
1064
|
+
{
|
|
1065
|
+
"include": "#begin-env-tokenizer"
|
|
1066
|
+
}
|
|
1067
|
+
]
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
"end": "\\s*\\\\end\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\}",
|
|
1071
|
+
"patterns": [
|
|
1072
|
+
{
|
|
1073
|
+
"include": "#multiline-optional-arg-no-highlight"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"begin": "(?:\\G|(?<=\\]))(\\{)",
|
|
1077
|
+
"beginCaptures": {
|
|
1078
|
+
"1": {
|
|
1079
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
"contentName": "variable.parameter.function.latex",
|
|
1083
|
+
"end": "(\\})",
|
|
1084
|
+
"endCaptures": {
|
|
1085
|
+
"1": {
|
|
1086
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"begin": "^(?=\\s*)",
|
|
1092
|
+
"contentName": "source.python",
|
|
1093
|
+
"end": "^\\s*(?=\\\\end\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\})",
|
|
1094
|
+
"patterns": [
|
|
1095
|
+
{
|
|
1096
|
+
"include": "source.python"
|
|
1097
|
+
}
|
|
1098
|
+
]
|
|
1099
|
+
}
|
|
1100
|
+
]
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"begin": "\\s*\\\\begin\\{([a-zA-Z]*code|lstlisting|minted|pyglist)\\*?\\}(?:\\[.*\\])?(?:\\{.*\\})?",
|
|
1104
|
+
"captures": {
|
|
1105
|
+
"0": {
|
|
1106
|
+
"patterns": [
|
|
1107
|
+
{
|
|
1108
|
+
"include": "#begin-env-tokenizer"
|
|
1109
|
+
}
|
|
1110
|
+
]
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
"contentName": "meta.function.embedded.latex",
|
|
1114
|
+
"end": "\\\\end\\{\\1\\}(?:\\s*\\n)?",
|
|
1115
|
+
"name": "meta.embedded.block.generic.latex"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"begin": "((?:^\\s*)?\\\\begin\\{((?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?))\\})(?:\\[[^\\]]*\\]){,2}(?=\\{)",
|
|
1119
|
+
"captures": {
|
|
1120
|
+
"1": {
|
|
1121
|
+
"patterns": [
|
|
1122
|
+
{
|
|
1123
|
+
"include": "#begin-env-tokenizer"
|
|
1124
|
+
}
|
|
1125
|
+
]
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
"end": "(\\\\end\\{\\2\\})",
|
|
1129
|
+
"patterns": [
|
|
1130
|
+
{
|
|
1131
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:asy|asymptote)",
|
|
1132
|
+
"beginCaptures": {
|
|
1133
|
+
"1": {
|
|
1134
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1138
|
+
"patterns": [
|
|
1139
|
+
{
|
|
1140
|
+
"begin": "\\G",
|
|
1141
|
+
"end": "(\\})\\s*$",
|
|
1142
|
+
"endCaptures": {
|
|
1143
|
+
"1": {
|
|
1144
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"patterns": [
|
|
1148
|
+
{
|
|
1149
|
+
"include": "text.tex#braces"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"include": "$self"
|
|
1153
|
+
}
|
|
1154
|
+
]
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
"begin": "^(\\s*)",
|
|
1158
|
+
"contentName": "source.asy",
|
|
1159
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1160
|
+
"patterns": [
|
|
1161
|
+
{
|
|
1162
|
+
"include": "source.asy"
|
|
1163
|
+
}
|
|
1164
|
+
]
|
|
1165
|
+
}
|
|
1166
|
+
]
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:bash)",
|
|
1170
|
+
"beginCaptures": {
|
|
1171
|
+
"1": {
|
|
1172
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1176
|
+
"patterns": [
|
|
1177
|
+
{
|
|
1178
|
+
"begin": "\\G",
|
|
1179
|
+
"end": "(\\})\\s*$",
|
|
1180
|
+
"endCaptures": {
|
|
1181
|
+
"1": {
|
|
1182
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
"patterns": [
|
|
1186
|
+
{
|
|
1187
|
+
"include": "text.tex#braces"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"include": "$self"
|
|
1191
|
+
}
|
|
1192
|
+
]
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"begin": "^(\\s*)",
|
|
1196
|
+
"contentName": "source.shell",
|
|
1197
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1198
|
+
"patterns": [
|
|
1199
|
+
{
|
|
1200
|
+
"include": "source.shell"
|
|
1201
|
+
}
|
|
1202
|
+
]
|
|
1203
|
+
}
|
|
1204
|
+
]
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:c|cpp)",
|
|
1208
|
+
"beginCaptures": {
|
|
1209
|
+
"1": {
|
|
1210
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1214
|
+
"patterns": [
|
|
1215
|
+
{
|
|
1216
|
+
"begin": "\\G",
|
|
1217
|
+
"end": "(\\})\\s*$",
|
|
1218
|
+
"endCaptures": {
|
|
1219
|
+
"1": {
|
|
1220
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"patterns": [
|
|
1224
|
+
{
|
|
1225
|
+
"include": "text.tex#braces"
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"include": "$self"
|
|
1229
|
+
}
|
|
1230
|
+
]
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"begin": "^(\\s*)",
|
|
1234
|
+
"contentName": "source.cpp.embedded.latex",
|
|
1235
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1236
|
+
"patterns": [
|
|
1237
|
+
{
|
|
1238
|
+
"include": "source.cpp.embedded.latex"
|
|
1239
|
+
}
|
|
1240
|
+
]
|
|
1241
|
+
}
|
|
1242
|
+
]
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:css)",
|
|
1246
|
+
"beginCaptures": {
|
|
1247
|
+
"1": {
|
|
1248
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1252
|
+
"patterns": [
|
|
1253
|
+
{
|
|
1254
|
+
"begin": "\\G",
|
|
1255
|
+
"end": "(\\})\\s*$",
|
|
1256
|
+
"endCaptures": {
|
|
1257
|
+
"1": {
|
|
1258
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
"patterns": [
|
|
1262
|
+
{
|
|
1263
|
+
"include": "text.tex#braces"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"include": "$self"
|
|
1267
|
+
}
|
|
1268
|
+
]
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"begin": "^(\\s*)",
|
|
1272
|
+
"contentName": "source.css",
|
|
1273
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1274
|
+
"patterns": [
|
|
1275
|
+
{
|
|
1276
|
+
"include": "source.css"
|
|
1277
|
+
}
|
|
1278
|
+
]
|
|
1279
|
+
}
|
|
1280
|
+
]
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:gnuplot)",
|
|
1284
|
+
"beginCaptures": {
|
|
1285
|
+
"1": {
|
|
1286
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1290
|
+
"patterns": [
|
|
1291
|
+
{
|
|
1292
|
+
"begin": "\\G",
|
|
1293
|
+
"end": "(\\})\\s*$",
|
|
1294
|
+
"endCaptures": {
|
|
1295
|
+
"1": {
|
|
1296
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
"patterns": [
|
|
1300
|
+
{
|
|
1301
|
+
"include": "text.tex#braces"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"include": "$self"
|
|
1305
|
+
}
|
|
1306
|
+
]
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"begin": "^(\\s*)",
|
|
1310
|
+
"contentName": "source.gnuplot",
|
|
1311
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1312
|
+
"patterns": [
|
|
1313
|
+
{
|
|
1314
|
+
"include": "source.gnuplot"
|
|
1315
|
+
}
|
|
1316
|
+
]
|
|
1317
|
+
}
|
|
1318
|
+
]
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:hs|haskell)",
|
|
1322
|
+
"beginCaptures": {
|
|
1323
|
+
"1": {
|
|
1324
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1328
|
+
"patterns": [
|
|
1329
|
+
{
|
|
1330
|
+
"begin": "\\G",
|
|
1331
|
+
"end": "(\\})\\s*$",
|
|
1332
|
+
"endCaptures": {
|
|
1333
|
+
"1": {
|
|
1334
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1337
|
+
"patterns": [
|
|
1338
|
+
{
|
|
1339
|
+
"include": "text.tex#braces"
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"include": "$self"
|
|
1343
|
+
}
|
|
1344
|
+
]
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"begin": "^(\\s*)",
|
|
1348
|
+
"contentName": "source.haskell",
|
|
1349
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1350
|
+
"patterns": [
|
|
1351
|
+
{
|
|
1352
|
+
"include": "source.haskell"
|
|
1353
|
+
}
|
|
1354
|
+
]
|
|
1355
|
+
}
|
|
1356
|
+
]
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:html)",
|
|
1360
|
+
"beginCaptures": {
|
|
1361
|
+
"1": {
|
|
1362
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1366
|
+
"patterns": [
|
|
1367
|
+
{
|
|
1368
|
+
"begin": "\\G",
|
|
1369
|
+
"end": "(\\})\\s*$",
|
|
1370
|
+
"endCaptures": {
|
|
1371
|
+
"1": {
|
|
1372
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1373
|
+
}
|
|
1374
|
+
},
|
|
1375
|
+
"patterns": [
|
|
1376
|
+
{
|
|
1377
|
+
"include": "text.tex#braces"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"include": "$self"
|
|
1381
|
+
}
|
|
1382
|
+
]
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"begin": "^(\\s*)",
|
|
1386
|
+
"contentName": "text.html",
|
|
1387
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1388
|
+
"patterns": [
|
|
1389
|
+
{
|
|
1390
|
+
"include": "text.html.basic"
|
|
1391
|
+
}
|
|
1392
|
+
]
|
|
1393
|
+
}
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:java)",
|
|
1398
|
+
"beginCaptures": {
|
|
1399
|
+
"1": {
|
|
1400
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1404
|
+
"patterns": [
|
|
1405
|
+
{
|
|
1406
|
+
"begin": "\\G",
|
|
1407
|
+
"end": "(\\})\\s*$",
|
|
1408
|
+
"endCaptures": {
|
|
1409
|
+
"1": {
|
|
1410
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
"patterns": [
|
|
1414
|
+
{
|
|
1415
|
+
"include": "text.tex#braces"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"include": "$self"
|
|
1419
|
+
}
|
|
1420
|
+
]
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"begin": "^(\\s*)",
|
|
1424
|
+
"contentName": "source.java",
|
|
1425
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1426
|
+
"patterns": [
|
|
1427
|
+
{
|
|
1428
|
+
"include": "source.java"
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
}
|
|
1432
|
+
]
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:jl|julia)",
|
|
1436
|
+
"beginCaptures": {
|
|
1437
|
+
"1": {
|
|
1438
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1441
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1442
|
+
"patterns": [
|
|
1443
|
+
{
|
|
1444
|
+
"begin": "\\G",
|
|
1445
|
+
"end": "(\\})\\s*$",
|
|
1446
|
+
"endCaptures": {
|
|
1447
|
+
"1": {
|
|
1448
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
"patterns": [
|
|
1452
|
+
{
|
|
1453
|
+
"include": "text.tex#braces"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"include": "$self"
|
|
1457
|
+
}
|
|
1458
|
+
]
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"begin": "^(\\s*)",
|
|
1462
|
+
"contentName": "source.julia",
|
|
1463
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1464
|
+
"patterns": [
|
|
1465
|
+
{
|
|
1466
|
+
"include": "source.julia"
|
|
1467
|
+
}
|
|
1468
|
+
]
|
|
1469
|
+
}
|
|
1470
|
+
]
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:js|javascript)",
|
|
1474
|
+
"beginCaptures": {
|
|
1475
|
+
"1": {
|
|
1476
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1480
|
+
"patterns": [
|
|
1481
|
+
{
|
|
1482
|
+
"begin": "\\G",
|
|
1483
|
+
"end": "(\\})\\s*$",
|
|
1484
|
+
"endCaptures": {
|
|
1485
|
+
"1": {
|
|
1486
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
"patterns": [
|
|
1490
|
+
{
|
|
1491
|
+
"include": "text.tex#braces"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"include": "$self"
|
|
1495
|
+
}
|
|
1496
|
+
]
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"begin": "^(\\s*)",
|
|
1500
|
+
"contentName": "source.js",
|
|
1501
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1502
|
+
"patterns": [
|
|
1503
|
+
{
|
|
1504
|
+
"include": "source.js"
|
|
1505
|
+
}
|
|
1506
|
+
]
|
|
1507
|
+
}
|
|
1508
|
+
]
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:lua)",
|
|
1512
|
+
"beginCaptures": {
|
|
1513
|
+
"1": {
|
|
1514
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1518
|
+
"patterns": [
|
|
1519
|
+
{
|
|
1520
|
+
"begin": "\\G",
|
|
1521
|
+
"end": "(\\})\\s*$",
|
|
1522
|
+
"endCaptures": {
|
|
1523
|
+
"1": {
|
|
1524
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
"patterns": [
|
|
1528
|
+
{
|
|
1529
|
+
"include": "text.tex#braces"
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"include": "$self"
|
|
1533
|
+
}
|
|
1534
|
+
]
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"begin": "^(\\s*)",
|
|
1538
|
+
"contentName": "source.lua",
|
|
1539
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1540
|
+
"patterns": [
|
|
1541
|
+
{
|
|
1542
|
+
"include": "source.lua"
|
|
1543
|
+
}
|
|
1544
|
+
]
|
|
1545
|
+
}
|
|
1546
|
+
]
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:py|python|sage)",
|
|
1550
|
+
"beginCaptures": {
|
|
1551
|
+
"1": {
|
|
1552
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1556
|
+
"patterns": [
|
|
1557
|
+
{
|
|
1558
|
+
"begin": "\\G",
|
|
1559
|
+
"end": "(\\})\\s*$",
|
|
1560
|
+
"endCaptures": {
|
|
1561
|
+
"1": {
|
|
1562
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
"patterns": [
|
|
1566
|
+
{
|
|
1567
|
+
"include": "text.tex#braces"
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"include": "$self"
|
|
1571
|
+
}
|
|
1572
|
+
]
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"begin": "^(\\s*)",
|
|
1576
|
+
"contentName": "source.python",
|
|
1577
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1578
|
+
"patterns": [
|
|
1579
|
+
{
|
|
1580
|
+
"include": "source.python"
|
|
1581
|
+
}
|
|
1582
|
+
]
|
|
1583
|
+
}
|
|
1584
|
+
]
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:rb|ruby)",
|
|
1588
|
+
"beginCaptures": {
|
|
1589
|
+
"1": {
|
|
1590
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1594
|
+
"patterns": [
|
|
1595
|
+
{
|
|
1596
|
+
"begin": "\\G",
|
|
1597
|
+
"end": "(\\})\\s*$",
|
|
1598
|
+
"endCaptures": {
|
|
1599
|
+
"1": {
|
|
1600
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
"patterns": [
|
|
1604
|
+
{
|
|
1605
|
+
"include": "text.tex#braces"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"include": "$self"
|
|
1609
|
+
}
|
|
1610
|
+
]
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"begin": "^(\\s*)",
|
|
1614
|
+
"contentName": "source.ruby",
|
|
1615
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1616
|
+
"patterns": [
|
|
1617
|
+
{
|
|
1618
|
+
"include": "source.ruby"
|
|
1619
|
+
}
|
|
1620
|
+
]
|
|
852
1621
|
}
|
|
853
1622
|
]
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
|
-
"end": "\\s*\\\\end\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\}",
|
|
857
|
-
"patterns": [
|
|
858
|
-
{
|
|
859
|
-
"include": "#multiline-optional-arg-no-highlight"
|
|
860
1623
|
},
|
|
861
1624
|
{
|
|
862
|
-
"begin": "
|
|
1625
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:rust)",
|
|
863
1626
|
"beginCaptures": {
|
|
864
1627
|
"1": {
|
|
865
1628
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
866
1629
|
}
|
|
867
1630
|
},
|
|
868
|
-
"
|
|
869
|
-
"end": "(\\})",
|
|
870
|
-
"endCaptures": {
|
|
871
|
-
"1": {
|
|
872
|
-
"name": "punctuation.definition.arguments.end.latex"
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
"begin": "^(?=\\s*)",
|
|
878
|
-
"contentName": "source.python",
|
|
879
|
-
"end": "^\\s*(?=\\\\end\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\})",
|
|
1631
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
880
1632
|
"patterns": [
|
|
881
1633
|
{
|
|
882
|
-
"
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
1634
|
+
"begin": "\\G",
|
|
1635
|
+
"end": "(\\})\\s*$",
|
|
1636
|
+
"endCaptures": {
|
|
1637
|
+
"1": {
|
|
1638
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
"patterns": [
|
|
1642
|
+
{
|
|
1643
|
+
"include": "text.tex#braces"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"include": "$self"
|
|
1647
|
+
}
|
|
1648
|
+
]
|
|
1649
|
+
},
|
|
893
1650
|
{
|
|
894
|
-
"
|
|
1651
|
+
"begin": "^(\\s*)",
|
|
1652
|
+
"contentName": "source.rust",
|
|
1653
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1654
|
+
"patterns": [
|
|
1655
|
+
{
|
|
1656
|
+
"include": "source.rust"
|
|
1657
|
+
}
|
|
1658
|
+
]
|
|
895
1659
|
}
|
|
896
1660
|
]
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
"end": "\\s*\\\\end\\{(?:scalacode)\\*?\\}",
|
|
900
|
-
"patterns": [
|
|
901
|
-
{
|
|
902
|
-
"include": "#multiline-optional-arg-no-highlight"
|
|
903
1661
|
},
|
|
904
1662
|
{
|
|
905
|
-
"begin": "
|
|
1663
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:ts|typescript)",
|
|
906
1664
|
"beginCaptures": {
|
|
907
1665
|
"1": {
|
|
908
1666
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
909
1667
|
}
|
|
910
1668
|
},
|
|
911
|
-
"
|
|
912
|
-
"end": "(\\})",
|
|
913
|
-
"endCaptures": {
|
|
914
|
-
"1": {
|
|
915
|
-
"name": "punctuation.definition.arguments.end.latex"
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
"begin": "^(?=\\s*)",
|
|
921
|
-
"contentName": "source.scala",
|
|
922
|
-
"end": "^\\s*(?=\\\\end\\{(?:scalacode)\\*?\\})",
|
|
1669
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
923
1670
|
"patterns": [
|
|
924
1671
|
{
|
|
925
|
-
"
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
1672
|
+
"begin": "\\G",
|
|
1673
|
+
"end": "(\\})\\s*$",
|
|
1674
|
+
"endCaptures": {
|
|
1675
|
+
"1": {
|
|
1676
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1677
|
+
}
|
|
1678
|
+
},
|
|
1679
|
+
"patterns": [
|
|
1680
|
+
{
|
|
1681
|
+
"include": "text.tex#braces"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"include": "$self"
|
|
1685
|
+
}
|
|
1686
|
+
]
|
|
1687
|
+
},
|
|
936
1688
|
{
|
|
937
|
-
"
|
|
1689
|
+
"begin": "^(\\s*)",
|
|
1690
|
+
"contentName": "source.ts",
|
|
1691
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1692
|
+
"patterns": [
|
|
1693
|
+
{
|
|
1694
|
+
"include": "source.ts"
|
|
1695
|
+
}
|
|
1696
|
+
]
|
|
938
1697
|
}
|
|
939
1698
|
]
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
"end": "\\s*\\\\end\\{(?:asy|asycode)\\*?\\}",
|
|
943
|
-
"patterns": [
|
|
944
|
-
{
|
|
945
|
-
"include": "#multiline-optional-arg-no-highlight"
|
|
946
1699
|
},
|
|
947
1700
|
{
|
|
948
|
-
"begin": "
|
|
1701
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:xml)",
|
|
949
1702
|
"beginCaptures": {
|
|
950
1703
|
"1": {
|
|
951
1704
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
952
1705
|
}
|
|
953
1706
|
},
|
|
954
|
-
"
|
|
955
|
-
"end": "(\\})",
|
|
956
|
-
"endCaptures": {
|
|
957
|
-
"1": {
|
|
958
|
-
"name": "punctuation.definition.arguments.end.latex"
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
"begin": "^(?=\\s*)",
|
|
964
|
-
"contentName": "source.asymptote",
|
|
965
|
-
"end": "^\\s*(?=\\\\end\\{(?:asy|asycode)\\*?\\})",
|
|
1707
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
966
1708
|
"patterns": [
|
|
967
1709
|
{
|
|
968
|
-
"
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
1710
|
+
"begin": "\\G",
|
|
1711
|
+
"end": "(\\})\\s*$",
|
|
1712
|
+
"endCaptures": {
|
|
1713
|
+
"1": {
|
|
1714
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
"patterns": [
|
|
1718
|
+
{
|
|
1719
|
+
"include": "text.tex#braces"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"include": "$self"
|
|
1723
|
+
}
|
|
1724
|
+
]
|
|
1725
|
+
},
|
|
979
1726
|
{
|
|
980
|
-
"
|
|
1727
|
+
"begin": "^(\\s*)",
|
|
1728
|
+
"contentName": "text.xml",
|
|
1729
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1730
|
+
"patterns": [
|
|
1731
|
+
{
|
|
1732
|
+
"include": "text.xml"
|
|
1733
|
+
}
|
|
1734
|
+
]
|
|
981
1735
|
}
|
|
982
1736
|
]
|
|
983
|
-
}
|
|
984
|
-
},
|
|
985
|
-
"end": "\\s*\\\\end\\{(?:dot2tex|dotcode)\\*?\\}",
|
|
986
|
-
"patterns": [
|
|
987
|
-
{
|
|
988
|
-
"include": "#multiline-optional-arg-no-highlight"
|
|
989
1737
|
},
|
|
990
1738
|
{
|
|
991
|
-
"begin": "
|
|
1739
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:yaml)",
|
|
992
1740
|
"beginCaptures": {
|
|
993
1741
|
"1": {
|
|
994
1742
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
995
1743
|
}
|
|
996
1744
|
},
|
|
997
|
-
"
|
|
998
|
-
"end": "(\\})",
|
|
999
|
-
"endCaptures": {
|
|
1000
|
-
"1": {
|
|
1001
|
-
"name": "punctuation.definition.arguments.end.latex"
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
"begin": "^(?=\\s*)",
|
|
1007
|
-
"contentName": "source.dot",
|
|
1008
|
-
"end": "^\\s*(?=\\\\end\\{(?:dot2tex|dotcode)\\*?\\})",
|
|
1745
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1009
1746
|
"patterns": [
|
|
1010
1747
|
{
|
|
1011
|
-
"
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1748
|
+
"begin": "\\G",
|
|
1749
|
+
"end": "(\\})\\s*$",
|
|
1750
|
+
"endCaptures": {
|
|
1751
|
+
"1": {
|
|
1752
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1753
|
+
}
|
|
1754
|
+
},
|
|
1755
|
+
"patterns": [
|
|
1756
|
+
{
|
|
1757
|
+
"include": "text.tex#braces"
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"include": "$self"
|
|
1761
|
+
}
|
|
1762
|
+
]
|
|
1763
|
+
},
|
|
1022
1764
|
{
|
|
1023
|
-
"
|
|
1765
|
+
"begin": "^(\\s*)",
|
|
1766
|
+
"contentName": "source.yaml",
|
|
1767
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1768
|
+
"patterns": [
|
|
1769
|
+
{
|
|
1770
|
+
"include": "source.yaml"
|
|
1771
|
+
}
|
|
1772
|
+
]
|
|
1024
1773
|
}
|
|
1025
1774
|
]
|
|
1026
|
-
}
|
|
1027
|
-
},
|
|
1028
|
-
"end": "\\s*\\\\end\\{(?:gnuplot)\\*?\\}",
|
|
1029
|
-
"patterns": [
|
|
1030
|
-
{
|
|
1031
|
-
"include": "#multiline-optional-arg-no-highlight"
|
|
1032
1775
|
},
|
|
1033
1776
|
{
|
|
1034
|
-
"begin": "
|
|
1777
|
+
"begin": "\\G(\\{)(?:__|[a-z\\s]*)(?i:tikz|tikzpicture)",
|
|
1035
1778
|
"beginCaptures": {
|
|
1036
1779
|
"1": {
|
|
1037
1780
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
1038
1781
|
}
|
|
1039
1782
|
},
|
|
1040
|
-
"
|
|
1041
|
-
"end": "(\\})",
|
|
1042
|
-
"endCaptures": {
|
|
1043
|
-
"1": {
|
|
1044
|
-
"name": "punctuation.definition.arguments.end.latex"
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"begin": "^(?=\\s*)",
|
|
1050
|
-
"contentName": "source.gnuplot",
|
|
1051
|
-
"end": "^\\s*(?=\\\\end\\{(?:gnuplot)\\*?\\})",
|
|
1783
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1052
1784
|
"patterns": [
|
|
1053
1785
|
{
|
|
1054
|
-
"
|
|
1786
|
+
"begin": "\\G",
|
|
1787
|
+
"end": "(\\})\\s*$",
|
|
1788
|
+
"endCaptures": {
|
|
1789
|
+
"1": {
|
|
1790
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
"patterns": [
|
|
1794
|
+
{
|
|
1795
|
+
"include": "text.tex#braces"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"include": "$self"
|
|
1799
|
+
}
|
|
1800
|
+
]
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"begin": "^(\\s*)",
|
|
1804
|
+
"contentName": "text.tex.latex",
|
|
1805
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1806
|
+
"patterns": [
|
|
1807
|
+
{
|
|
1808
|
+
"include": "text.tex.latex"
|
|
1809
|
+
}
|
|
1810
|
+
]
|
|
1055
1811
|
}
|
|
1056
1812
|
]
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"begin": "\\G(\\{)",
|
|
1816
|
+
"beginCaptures": {
|
|
1817
|
+
"1": {
|
|
1818
|
+
"name": "punctuation.definition.arguments.begin.latex"
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
"end": "(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1064
1822
|
"patterns": [
|
|
1065
1823
|
{
|
|
1066
|
-
"
|
|
1824
|
+
"begin": "\\G",
|
|
1825
|
+
"end": "(\\})\\s*$",
|
|
1826
|
+
"endCaptures": {
|
|
1827
|
+
"1": {
|
|
1828
|
+
"name": "punctuation.definition.arguments.end.latex"
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1831
|
+
"patterns": [
|
|
1832
|
+
{
|
|
1833
|
+
"include": "text.tex#braces"
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"include": "$self"
|
|
1837
|
+
}
|
|
1838
|
+
]
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"begin": "^(\\s*)",
|
|
1842
|
+
"contentName": "meta.function.embedded.latex",
|
|
1843
|
+
"end": "^\\s*(?=\\\\end\\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\\*?|PlaceholderFromCode\\*?|SetPlaceholderCode\\*?)\\})",
|
|
1844
|
+
"name": "meta.embedded.block.generic.latex"
|
|
1067
1845
|
}
|
|
1068
1846
|
]
|
|
1069
1847
|
}
|
|
1070
|
-
|
|
1071
|
-
"contentName": "meta.function.embedded.latex",
|
|
1072
|
-
"end": "\\\\end\\{\\1\\}(?:\\s*\\n)?",
|
|
1073
|
-
"name": "meta.embedded.block.generic.latex"
|
|
1848
|
+
]
|
|
1074
1849
|
},
|
|
1075
1850
|
{
|
|
1076
1851
|
"begin": "(?:^\\s*)?\\\\begin\\{(terminal\\*?)\\}(?=\\[|\\{)",
|
|
@@ -1264,7 +2039,7 @@
|
|
|
1264
2039
|
"end": "(?=\\})",
|
|
1265
2040
|
"patterns": [
|
|
1266
2041
|
{
|
|
1267
|
-
"include": "$
|
|
2042
|
+
"include": "$self"
|
|
1268
2043
|
}
|
|
1269
2044
|
]
|
|
1270
2045
|
},
|
|
@@ -1285,7 +2060,7 @@
|
|
|
1285
2060
|
"end": "(?=\\})",
|
|
1286
2061
|
"patterns": [
|
|
1287
2062
|
{
|
|
1288
|
-
"include": "$
|
|
2063
|
+
"include": "$self"
|
|
1289
2064
|
}
|
|
1290
2065
|
]
|
|
1291
2066
|
}
|
|
@@ -1377,7 +2152,7 @@
|
|
|
1377
2152
|
"include": "text.tex#math"
|
|
1378
2153
|
},
|
|
1379
2154
|
{
|
|
1380
|
-
"include": "$
|
|
2155
|
+
"include": "$self"
|
|
1381
2156
|
}
|
|
1382
2157
|
]
|
|
1383
2158
|
},
|
|
@@ -1411,7 +2186,7 @@
|
|
|
1411
2186
|
"include": "text.tex#math"
|
|
1412
2187
|
},
|
|
1413
2188
|
{
|
|
1414
|
-
"include": "$
|
|
2189
|
+
"include": "$self"
|
|
1415
2190
|
}
|
|
1416
2191
|
]
|
|
1417
2192
|
},
|
|
@@ -1439,7 +2214,7 @@
|
|
|
1439
2214
|
"name": "keyword.control.table.newline.latex"
|
|
1440
2215
|
},
|
|
1441
2216
|
{
|
|
1442
|
-
"include": "$
|
|
2217
|
+
"include": "$self"
|
|
1443
2218
|
}
|
|
1444
2219
|
]
|
|
1445
2220
|
},
|
|
@@ -1458,7 +2233,7 @@
|
|
|
1458
2233
|
"name": "meta.function.environment.list.latex",
|
|
1459
2234
|
"patterns": [
|
|
1460
2235
|
{
|
|
1461
|
-
"include": "$
|
|
2236
|
+
"include": "$self"
|
|
1462
2237
|
}
|
|
1463
2238
|
]
|
|
1464
2239
|
},
|
|
@@ -1477,7 +2252,7 @@
|
|
|
1477
2252
|
"name": "meta.function.environment.latex.tikz",
|
|
1478
2253
|
"patterns": [
|
|
1479
2254
|
{
|
|
1480
|
-
"include": "$
|
|
2255
|
+
"include": "$self"
|
|
1481
2256
|
}
|
|
1482
2257
|
]
|
|
1483
2258
|
},
|
|
@@ -1496,7 +2271,7 @@
|
|
|
1496
2271
|
"name": "meta.function.environment.frame.latex",
|
|
1497
2272
|
"patterns": [
|
|
1498
2273
|
{
|
|
1499
|
-
"include": "$
|
|
2274
|
+
"include": "$self"
|
|
1500
2275
|
}
|
|
1501
2276
|
]
|
|
1502
2277
|
},
|
|
@@ -1548,7 +2323,7 @@
|
|
|
1548
2323
|
"name": "meta.function.environment.general.latex",
|
|
1549
2324
|
"patterns": [
|
|
1550
2325
|
{
|
|
1551
|
-
"include": "$
|
|
2326
|
+
"include": "$self"
|
|
1552
2327
|
}
|
|
1553
2328
|
]
|
|
1554
2329
|
},
|
|
@@ -1607,7 +2382,7 @@
|
|
|
1607
2382
|
"include": "text.tex#braces"
|
|
1608
2383
|
},
|
|
1609
2384
|
{
|
|
1610
|
-
"include": "$
|
|
2385
|
+
"include": "$self"
|
|
1611
2386
|
}
|
|
1612
2387
|
]
|
|
1613
2388
|
},
|
|
@@ -1643,7 +2418,7 @@
|
|
|
1643
2418
|
"include": "text.tex#braces"
|
|
1644
2419
|
},
|
|
1645
2420
|
{
|
|
1646
|
-
"include": "$
|
|
2421
|
+
"include": "$self"
|
|
1647
2422
|
}
|
|
1648
2423
|
]
|
|
1649
2424
|
},
|
|
@@ -1673,7 +2448,7 @@
|
|
|
1673
2448
|
"include": "text.tex#braces"
|
|
1674
2449
|
},
|
|
1675
2450
|
{
|
|
1676
|
-
"include": "$
|
|
2451
|
+
"include": "$self"
|
|
1677
2452
|
}
|
|
1678
2453
|
]
|
|
1679
2454
|
},
|
|
@@ -1704,7 +2479,7 @@
|
|
|
1704
2479
|
"include": "text.tex#braces"
|
|
1705
2480
|
},
|
|
1706
2481
|
{
|
|
1707
|
-
"include": "$
|
|
2482
|
+
"include": "$self"
|
|
1708
2483
|
}
|
|
1709
2484
|
]
|
|
1710
2485
|
},
|
|
@@ -1734,7 +2509,7 @@
|
|
|
1734
2509
|
"include": "text.tex#braces"
|
|
1735
2510
|
},
|
|
1736
2511
|
{
|
|
1737
|
-
"include": "$
|
|
2512
|
+
"include": "$self"
|
|
1738
2513
|
}
|
|
1739
2514
|
]
|
|
1740
2515
|
},
|
|
@@ -1764,7 +2539,7 @@
|
|
|
1764
2539
|
"include": "text.tex#braces"
|
|
1765
2540
|
},
|
|
1766
2541
|
{
|
|
1767
|
-
"include": "$
|
|
2542
|
+
"include": "$self"
|
|
1768
2543
|
}
|
|
1769
2544
|
]
|
|
1770
2545
|
},
|
|
@@ -2145,7 +2920,7 @@
|
|
|
2145
2920
|
"include": "text.tex#math"
|
|
2146
2921
|
},
|
|
2147
2922
|
{
|
|
2148
|
-
"include": "$
|
|
2923
|
+
"include": "$self"
|
|
2149
2924
|
}
|
|
2150
2925
|
]
|
|
2151
2926
|
},
|
|
@@ -2172,7 +2947,7 @@
|
|
|
2172
2947
|
"include": "text.tex#math"
|
|
2173
2948
|
},
|
|
2174
2949
|
{
|
|
2175
|
-
"include": "$
|
|
2950
|
+
"include": "$self"
|
|
2176
2951
|
}
|
|
2177
2952
|
]
|
|
2178
2953
|
},
|
|
@@ -2199,7 +2974,7 @@
|
|
|
2199
2974
|
"include": "text.tex#math"
|
|
2200
2975
|
},
|
|
2201
2976
|
{
|
|
2202
|
-
"include": "$
|
|
2977
|
+
"include": "$self"
|
|
2203
2978
|
}
|
|
2204
2979
|
]
|
|
2205
2980
|
},
|
|
@@ -2222,7 +2997,7 @@
|
|
|
2222
2997
|
"include": "text.tex#math"
|
|
2223
2998
|
},
|
|
2224
2999
|
{
|
|
2225
|
-
"include": "$
|
|
3000
|
+
"include": "$self"
|
|
2226
3001
|
}
|
|
2227
3002
|
]
|
|
2228
3003
|
},
|
|
@@ -2318,7 +3093,7 @@
|
|
|
2318
3093
|
"7": {
|
|
2319
3094
|
"patterns": [
|
|
2320
3095
|
{
|
|
2321
|
-
"include": "$
|
|
3096
|
+
"include": "$self"
|
|
2322
3097
|
}
|
|
2323
3098
|
]
|
|
2324
3099
|
},
|
|
@@ -2329,7 +3104,7 @@
|
|
|
2329
3104
|
"name": "punctuation.definition.arguments.begin.latex"
|
|
2330
3105
|
}
|
|
2331
3106
|
},
|
|
2332
|
-
"match": "\\s*((\\\\)(?:begin|end))(\\{)([a-zA-Z]*\\*?)(\\})(?:(\\[)(
|
|
3107
|
+
"match": "\\s*((\\\\)(?:begin|end))(\\{)([a-zA-Z]*\\*?)(\\})(?:(\\[)([^\\]]*)(\\])){,2}(?:(\\{)([^{}]*)(\\}))?"
|
|
2333
3108
|
},
|
|
2334
3109
|
"definition-label": {
|
|
2335
3110
|
"begin": "((\\\\)label)((?:\\[[^\\[]*?\\])*)(\\{)",
|