github-linguist 5.0.10 → 5.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/source.batchfile.json +577 -76
- data/grammars/source.clojure.json +5 -18
- data/grammars/source.crystal.json +1 -1
- data/grammars/source.csound-document.json +80 -20
- data/grammars/source.css.json +1 -1
- data/grammars/source.css.less.json +5 -10
- data/grammars/source.d.json +4 -0
- data/grammars/source.dart.json +128 -478
- data/grammars/source.gfm.json +107 -86
- data/grammars/source.graphql.json +1 -0
- data/grammars/source.harbour.json +28 -16
- data/grammars/source.jison.json +5 -2
- data/grammars/source.jisonlex-injection.json +1 -1
- data/grammars/source.js.json +1 -1
- data/grammars/source.lua.json +117 -29
- data/grammars/source.modelica.json +4 -0
- data/grammars/source.nim.json +1 -1
- data/grammars/source.pep8.json +122 -0
- data/grammars/source.perl6fe.json +3 -3
- data/grammars/source.php.zephir.json +6 -6
- data/grammars/source.rust.json +60 -52
- data/grammars/source.shen.json +162 -0
- data/grammars/source.sqf.json +1 -1
- data/grammars/source.terraform.json +1 -1
- data/grammars/source.tla.json +1 -1
- data/grammars/source.yaml-ext.json +330 -0
- data/grammars/text.haml.json +42 -12
- data/grammars/text.html.basic.json +43 -1
- data/grammars/text.html.php.blade.json +10 -6
- data/grammars/text.html.php.json +18 -14
- data/grammars/text.html.soy.json +609 -0
- data/lib/linguist/generated.rb +4 -4
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +32 -4
- data/lib/linguist/samples.json +1336 -90
- data/lib/linguist/version.rb +1 -1
- metadata +6 -5
- data/grammars/source.pubspec.json +0 -13
- data/grammars/text.dart-analysis-output.json +0 -162
- data/grammars/text.dart-doccomments.json +0 -19
data/grammars/source.gfm.json
CHANGED
@@ -339,13 +339,13 @@
|
|
339
339
|
"name": "comment.hr.gfm"
|
340
340
|
},
|
341
341
|
{
|
342
|
-
"begin": "^\\s*
|
342
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(coffee-?(script)?|cson))\\s*$",
|
343
343
|
"beginCaptures": {
|
344
344
|
"0": {
|
345
345
|
"name": "support.gfm"
|
346
346
|
}
|
347
347
|
},
|
348
|
-
"end": "^\\s
|
348
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
349
349
|
"endCaptures": {
|
350
350
|
"0": {
|
351
351
|
"name": "support.gfm"
|
@@ -360,13 +360,13 @@
|
|
360
360
|
]
|
361
361
|
},
|
362
362
|
{
|
363
|
-
"begin": "^\\s*(
|
363
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(javascript|js))\\s*$",
|
364
364
|
"beginCaptures": {
|
365
365
|
"0": {
|
366
366
|
"name": "support.gfm"
|
367
367
|
}
|
368
368
|
},
|
369
|
-
"end": "^\\s*\\1
|
369
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
370
370
|
"endCaptures": {
|
371
371
|
"0": {
|
372
372
|
"name": "support.gfm"
|
@@ -381,13 +381,13 @@
|
|
381
381
|
]
|
382
382
|
},
|
383
383
|
{
|
384
|
-
"begin": "^\\s*(
|
384
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(typescript|ts))\\s*$",
|
385
385
|
"beginCaptures": {
|
386
386
|
"0": {
|
387
387
|
"name": "support.gfm"
|
388
388
|
}
|
389
389
|
},
|
390
|
-
"end": "^\\s*\\1
|
390
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
391
391
|
"endCaptures": {
|
392
392
|
"0": {
|
393
393
|
"name": "support.gfm"
|
@@ -402,13 +402,13 @@
|
|
402
402
|
]
|
403
403
|
},
|
404
404
|
{
|
405
|
-
"begin": "^\\s*(
|
405
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(markdown|md|mdo?wn|mkdn?|mkdown))\\s*$",
|
406
406
|
"beginCaptures": {
|
407
407
|
"0": {
|
408
408
|
"name": "support.gfm"
|
409
409
|
}
|
410
410
|
},
|
411
|
-
"end": "^\\s*\\1
|
411
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
412
412
|
"endCaptures": {
|
413
413
|
"0": {
|
414
414
|
"name": "support.gfm"
|
@@ -423,13 +423,13 @@
|
|
423
423
|
]
|
424
424
|
},
|
425
425
|
{
|
426
|
-
"begin": "^\\s*(
|
426
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(json))\\s*$",
|
427
427
|
"beginCaptures": {
|
428
428
|
"0": {
|
429
429
|
"name": "support.gfm"
|
430
430
|
}
|
431
431
|
},
|
432
|
-
"end": "^\\s*\\1
|
432
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
433
433
|
"endCaptures": {
|
434
434
|
"0": {
|
435
435
|
"name": "support.gfm"
|
@@ -444,13 +444,13 @@
|
|
444
444
|
]
|
445
445
|
},
|
446
446
|
{
|
447
|
-
"begin": "^\\s*(
|
447
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(css))\\s*$",
|
448
448
|
"beginCaptures": {
|
449
449
|
"0": {
|
450
450
|
"name": "support.gfm"
|
451
451
|
}
|
452
452
|
},
|
453
|
-
"end": "^\\s*\\1
|
453
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
454
454
|
"endCaptures": {
|
455
455
|
"0": {
|
456
456
|
"name": "support.gfm"
|
@@ -465,13 +465,13 @@
|
|
465
465
|
]
|
466
466
|
},
|
467
467
|
{
|
468
|
-
"begin": "^\\s*(
|
468
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(less))\\s*$",
|
469
469
|
"beginCaptures": {
|
470
470
|
"0": {
|
471
471
|
"name": "support.gfm"
|
472
472
|
}
|
473
473
|
},
|
474
|
-
"end": "^\\s*\\1
|
474
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
475
475
|
"endCaptures": {
|
476
476
|
"0": {
|
477
477
|
"name": "support.gfm"
|
@@ -486,13 +486,13 @@
|
|
486
486
|
]
|
487
487
|
},
|
488
488
|
{
|
489
|
-
"begin": "^\\s*(
|
489
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(xml))\\s*$",
|
490
490
|
"beginCaptures": {
|
491
491
|
"0": {
|
492
492
|
"name": "support.gfm"
|
493
493
|
}
|
494
494
|
},
|
495
|
-
"end": "^\\s*\\1
|
495
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
496
496
|
"endCaptures": {
|
497
497
|
"0": {
|
498
498
|
"name": "support.gfm"
|
@@ -507,13 +507,13 @@
|
|
507
507
|
]
|
508
508
|
},
|
509
509
|
{
|
510
|
-
"begin": "^\\s*(
|
510
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(ruby|rb))\\s*$",
|
511
511
|
"beginCaptures": {
|
512
512
|
"0": {
|
513
513
|
"name": "support.gfm"
|
514
514
|
}
|
515
515
|
},
|
516
|
-
"end": "^\\s*\\1
|
516
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
517
517
|
"endCaptures": {
|
518
518
|
"0": {
|
519
519
|
"name": "support.gfm"
|
@@ -528,13 +528,13 @@
|
|
528
528
|
]
|
529
529
|
},
|
530
530
|
{
|
531
|
-
"begin": "^\\s*(
|
531
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(rust|rs))\\s*$",
|
532
532
|
"beginCaptures": {
|
533
533
|
"0": {
|
534
534
|
"name": "support.gfm"
|
535
535
|
}
|
536
536
|
},
|
537
|
-
"end": "^\\s*\\1
|
537
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
538
538
|
"endCaptures": {
|
539
539
|
"0": {
|
540
540
|
"name": "support.gfm"
|
@@ -549,13 +549,13 @@
|
|
549
549
|
]
|
550
550
|
},
|
551
551
|
{
|
552
|
-
"begin": "^\\s*(
|
552
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(java))\\s*$",
|
553
553
|
"beginCaptures": {
|
554
554
|
"0": {
|
555
555
|
"name": "support.gfm"
|
556
556
|
}
|
557
557
|
},
|
558
|
-
"end": "^\\s*\\1
|
558
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
559
559
|
"endCaptures": {
|
560
560
|
"0": {
|
561
561
|
"name": "support.gfm"
|
@@ -570,13 +570,13 @@
|
|
570
570
|
]
|
571
571
|
},
|
572
572
|
{
|
573
|
-
"begin": "^\\s*(
|
573
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(scala|sbt))\\s*$",
|
574
574
|
"beginCaptures": {
|
575
575
|
"0": {
|
576
576
|
"name": "support.gfm"
|
577
577
|
}
|
578
578
|
},
|
579
|
-
"end": "^\\s*\\1
|
579
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
580
580
|
"endCaptures": {
|
581
581
|
"0": {
|
582
582
|
"name": "support.gfm"
|
@@ -591,13 +591,13 @@
|
|
591
591
|
]
|
592
592
|
},
|
593
593
|
{
|
594
|
-
"begin": "^\\s*(
|
594
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(erlang))\\s*$",
|
595
595
|
"beginCaptures": {
|
596
596
|
"0": {
|
597
597
|
"name": "support.gfm"
|
598
598
|
}
|
599
599
|
},
|
600
|
-
"end": "^\\s*\\1
|
600
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
601
601
|
"endCaptures": {
|
602
602
|
"0": {
|
603
603
|
"name": "support.gfm"
|
@@ -612,13 +612,13 @@
|
|
612
612
|
]
|
613
613
|
},
|
614
614
|
{
|
615
|
-
"begin": "^\\s*(
|
615
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(go(lang)?))\\s*$",
|
616
616
|
"beginCaptures": {
|
617
617
|
"0": {
|
618
618
|
"name": "support.gfm"
|
619
619
|
}
|
620
620
|
},
|
621
|
-
"end": "^\\s*\\1
|
621
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
622
622
|
"endCaptures": {
|
623
623
|
"0": {
|
624
624
|
"name": "support.gfm"
|
@@ -633,13 +633,13 @@
|
|
633
633
|
]
|
634
634
|
},
|
635
635
|
{
|
636
|
-
"begin": "^\\s*(
|
636
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(cs(harp)?))\\s*$",
|
637
637
|
"beginCaptures": {
|
638
638
|
"0": {
|
639
639
|
"name": "support.gfm"
|
640
640
|
}
|
641
641
|
},
|
642
|
-
"end": "^\\s*\\1
|
642
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
643
643
|
"endCaptures": {
|
644
644
|
"0": {
|
645
645
|
"name": "support.gfm"
|
@@ -654,13 +654,13 @@
|
|
654
654
|
]
|
655
655
|
},
|
656
656
|
{
|
657
|
-
"begin": "^\\s*(
|
657
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(php))\\s*$",
|
658
658
|
"beginCaptures": {
|
659
659
|
"0": {
|
660
660
|
"name": "support.gfm"
|
661
661
|
}
|
662
662
|
},
|
663
|
-
"end": "^\\s*\\1
|
663
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
664
664
|
"endCaptures": {
|
665
665
|
"0": {
|
666
666
|
"name": "support.gfm"
|
@@ -675,13 +675,13 @@
|
|
675
675
|
]
|
676
676
|
},
|
677
677
|
{
|
678
|
-
"begin": "^\\s*(
|
678
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(sh|bash|shell))\\s*$",
|
679
679
|
"beginCaptures": {
|
680
680
|
"0": {
|
681
681
|
"name": "support.gfm"
|
682
682
|
}
|
683
683
|
},
|
684
|
-
"end": "^\\s*\\1
|
684
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
685
685
|
"endCaptures": {
|
686
686
|
"0": {
|
687
687
|
"name": "support.gfm"
|
@@ -696,13 +696,34 @@
|
|
696
696
|
]
|
697
697
|
},
|
698
698
|
{
|
699
|
-
"begin": "^\\s*(
|
699
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(shellsession|console))\\s*$",
|
700
700
|
"beginCaptures": {
|
701
701
|
"0": {
|
702
702
|
"name": "support.gfm"
|
703
703
|
}
|
704
704
|
},
|
705
|
-
"end": "^\\s*\\1
|
705
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
706
|
+
"endCaptures": {
|
707
|
+
"0": {
|
708
|
+
"name": "support.gfm"
|
709
|
+
}
|
710
|
+
},
|
711
|
+
"name": "markup.code.shell-session.gfm",
|
712
|
+
"contentName": "text.embedded.shell-session",
|
713
|
+
"patterns": [
|
714
|
+
{
|
715
|
+
"include": "text.shell-session"
|
716
|
+
}
|
717
|
+
]
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(py(thon)?))\\s*$",
|
721
|
+
"beginCaptures": {
|
722
|
+
"0": {
|
723
|
+
"name": "support.gfm"
|
724
|
+
}
|
725
|
+
},
|
726
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
706
727
|
"endCaptures": {
|
707
728
|
"0": {
|
708
729
|
"name": "support.gfm"
|
@@ -717,13 +738,13 @@
|
|
717
738
|
]
|
718
739
|
},
|
719
740
|
{
|
720
|
-
"begin": "^\\s*(
|
741
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(pycon))\\s*$",
|
721
742
|
"beginCaptures": {
|
722
743
|
"0": {
|
723
744
|
"name": "support.gfm"
|
724
745
|
}
|
725
746
|
},
|
726
|
-
"end": "^\\s*\\1
|
747
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
727
748
|
"endCaptures": {
|
728
749
|
"0": {
|
729
750
|
"name": "support.gfm"
|
@@ -738,13 +759,13 @@
|
|
738
759
|
]
|
739
760
|
},
|
740
761
|
{
|
741
|
-
"begin": "^\\s*(
|
762
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(c))\\s*$",
|
742
763
|
"beginCaptures": {
|
743
764
|
"0": {
|
744
765
|
"name": "support.gfm"
|
745
766
|
}
|
746
767
|
},
|
747
|
-
"end": "^\\s*\\1
|
768
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
748
769
|
"endCaptures": {
|
749
770
|
"0": {
|
750
771
|
"name": "support.gfm"
|
@@ -759,13 +780,13 @@
|
|
759
780
|
]
|
760
781
|
},
|
761
782
|
{
|
762
|
-
"begin": "^\\s*(
|
783
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(c(pp|\\+\\+)))\\s*$",
|
763
784
|
"beginCaptures": {
|
764
785
|
"0": {
|
765
786
|
"name": "support.gfm"
|
766
787
|
}
|
767
788
|
},
|
768
|
-
"end": "^\\s*\\1
|
789
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
769
790
|
"endCaptures": {
|
770
791
|
"0": {
|
771
792
|
"name": "support.gfm"
|
@@ -780,13 +801,13 @@
|
|
780
801
|
]
|
781
802
|
},
|
782
803
|
{
|
783
|
-
"begin": "^\\s*(
|
804
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(objc|objective-c))\\s*$",
|
784
805
|
"beginCaptures": {
|
785
806
|
"0": {
|
786
807
|
"name": "support.gfm"
|
787
808
|
}
|
788
809
|
},
|
789
|
-
"end": "^\\s*\\1
|
810
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
790
811
|
"endCaptures": {
|
791
812
|
"0": {
|
792
813
|
"name": "support.gfm"
|
@@ -801,13 +822,13 @@
|
|
801
822
|
]
|
802
823
|
},
|
803
824
|
{
|
804
|
-
"begin": "^\\s*(
|
825
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(adoc|asciidoc|asciidoctor|asc))\\s*$",
|
805
826
|
"beginCaptures": {
|
806
827
|
"0": {
|
807
828
|
"name": "support.gfm"
|
808
829
|
}
|
809
830
|
},
|
810
|
-
"end": "^\\s*\\1
|
831
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
811
832
|
"endCaptures": {
|
812
833
|
"0": {
|
813
834
|
"name": "support.gfm"
|
@@ -822,13 +843,13 @@
|
|
822
843
|
]
|
823
844
|
},
|
824
845
|
{
|
825
|
-
"begin": "^\\s*(
|
846
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(swift))\\s*$",
|
826
847
|
"beginCaptures": {
|
827
848
|
"0": {
|
828
849
|
"name": "support.gfm"
|
829
850
|
}
|
830
851
|
},
|
831
|
-
"end": "^\\s*\\1
|
852
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
832
853
|
"endCaptures": {
|
833
854
|
"0": {
|
834
855
|
"name": "support.gfm"
|
@@ -843,13 +864,13 @@
|
|
843
864
|
]
|
844
865
|
},
|
845
866
|
{
|
846
|
-
"begin": "^\\s*(
|
867
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(dockerfile|docker))\\s*$",
|
847
868
|
"beginCaptures": {
|
848
869
|
"0": {
|
849
870
|
"name": "support.gfm"
|
850
871
|
}
|
851
872
|
},
|
852
|
-
"end": "^\\s*\\1
|
873
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
853
874
|
"endCaptures": {
|
854
875
|
"0": {
|
855
876
|
"name": "support.gfm"
|
@@ -864,13 +885,13 @@
|
|
864
885
|
]
|
865
886
|
},
|
866
887
|
{
|
867
|
-
"begin": "^\\s*(
|
888
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(makefile|make))\\s*$",
|
868
889
|
"beginCaptures": {
|
869
890
|
"0": {
|
870
891
|
"name": "support.gfm"
|
871
892
|
}
|
872
893
|
},
|
873
|
-
"end": "^\\s*\\1
|
894
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
874
895
|
"endCaptures": {
|
875
896
|
"0": {
|
876
897
|
"name": "support.gfm"
|
@@ -885,13 +906,13 @@
|
|
885
906
|
]
|
886
907
|
},
|
887
908
|
{
|
888
|
-
"begin": "^\\s*(
|
909
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(perl))\\s*$",
|
889
910
|
"beginCaptures": {
|
890
911
|
"0": {
|
891
912
|
"name": "support.gfm"
|
892
913
|
}
|
893
914
|
},
|
894
|
-
"end": "^\\s*\\1
|
915
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
895
916
|
"endCaptures": {
|
896
917
|
"0": {
|
897
918
|
"name": "support.gfm"
|
@@ -906,13 +927,13 @@
|
|
906
927
|
]
|
907
928
|
},
|
908
929
|
{
|
909
|
-
"begin": "^\\s*(
|
930
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(perl6))\\s*$",
|
910
931
|
"beginCaptures": {
|
911
932
|
"0": {
|
912
933
|
"name": "support.gfm"
|
913
934
|
}
|
914
935
|
},
|
915
|
-
"end": "^\\s*\\1
|
936
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
916
937
|
"endCaptures": {
|
917
938
|
"0": {
|
918
939
|
"name": "support.gfm"
|
@@ -927,13 +948,13 @@
|
|
927
948
|
]
|
928
949
|
},
|
929
950
|
{
|
930
|
-
"begin": "^\\s*(
|
951
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(toml))\\s*$",
|
931
952
|
"beginCaptures": {
|
932
953
|
"0": {
|
933
954
|
"name": "support.gfm"
|
934
955
|
}
|
935
956
|
},
|
936
|
-
"end": "^\\s*\\1
|
957
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
937
958
|
"endCaptures": {
|
938
959
|
"0": {
|
939
960
|
"name": "support.gfm"
|
@@ -948,13 +969,13 @@
|
|
948
969
|
]
|
949
970
|
},
|
950
971
|
{
|
951
|
-
"begin": "^\\s*(
|
972
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(html))\\s*$",
|
952
973
|
"beginCaptures": {
|
953
974
|
"0": {
|
954
975
|
"name": "support.gfm"
|
955
976
|
}
|
956
977
|
},
|
957
|
-
"end": "^\\s*\\1
|
978
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
958
979
|
"endCaptures": {
|
959
980
|
"0": {
|
960
981
|
"name": "support.gfm"
|
@@ -969,13 +990,13 @@
|
|
969
990
|
]
|
970
991
|
},
|
971
992
|
{
|
972
|
-
"begin": "^\\s*(
|
993
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(ya?ml))\\s*$",
|
973
994
|
"beginCaptures": {
|
974
995
|
"0": {
|
975
996
|
"name": "support.gfm"
|
976
997
|
}
|
977
998
|
},
|
978
|
-
"end": "^\\s*\\1
|
999
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
979
1000
|
"endCaptures": {
|
980
1001
|
"0": {
|
981
1002
|
"name": "support.gfm"
|
@@ -990,13 +1011,13 @@
|
|
990
1011
|
]
|
991
1012
|
},
|
992
1013
|
{
|
993
|
-
"begin": "^\\s*(
|
1014
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(elixir))\\s*$",
|
994
1015
|
"beginCaptures": {
|
995
1016
|
"0": {
|
996
1017
|
"name": "support.gfm"
|
997
1018
|
}
|
998
1019
|
},
|
999
|
-
"end": "^\\s*\\1
|
1020
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1000
1021
|
"endCaptures": {
|
1001
1022
|
"0": {
|
1002
1023
|
"name": "support.gfm"
|
@@ -1011,13 +1032,13 @@
|
|
1011
1032
|
]
|
1012
1033
|
},
|
1013
1034
|
{
|
1014
|
-
"begin": "^\\s*(
|
1035
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(diff|patch|rej))\\s*$",
|
1015
1036
|
"beginCaptures": {
|
1016
1037
|
"0": {
|
1017
1038
|
"name": "support.gfm"
|
1018
1039
|
}
|
1019
1040
|
},
|
1020
|
-
"end": "^\\s*\\1
|
1041
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1021
1042
|
"endCaptures": {
|
1022
1043
|
"0": {
|
1023
1044
|
"name": "support.gfm"
|
@@ -1032,13 +1053,13 @@
|
|
1032
1053
|
]
|
1033
1054
|
},
|
1034
1055
|
{
|
1035
|
-
"begin": "^\\s*(
|
1056
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(julia))\\s*$",
|
1036
1057
|
"beginCaptures": {
|
1037
1058
|
"0": {
|
1038
1059
|
"name": "support.gfm"
|
1039
1060
|
}
|
1040
1061
|
},
|
1041
|
-
"end": "^\\s*\\1
|
1062
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1042
1063
|
"endCaptures": {
|
1043
1064
|
"0": {
|
1044
1065
|
"name": "support.gfm"
|
@@ -1053,13 +1074,13 @@
|
|
1053
1074
|
]
|
1054
1075
|
},
|
1055
1076
|
{
|
1056
|
-
"begin": "^\\s*(
|
1077
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*([\\{]{0,1})(?i:(r))([^\\}]*)([\\}]{0,1})\\s*$",
|
1057
1078
|
"beginCaptures": {
|
1058
1079
|
"0": {
|
1059
1080
|
"name": "support.gfm"
|
1060
1081
|
}
|
1061
1082
|
},
|
1062
|
-
"end": "^\\s*\\1
|
1083
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1063
1084
|
"endCaptures": {
|
1064
1085
|
"0": {
|
1065
1086
|
"name": "support.gfm"
|
@@ -1074,13 +1095,13 @@
|
|
1074
1095
|
]
|
1075
1096
|
},
|
1076
1097
|
{
|
1077
|
-
"begin": "^\\s*(
|
1098
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(haskell))\\s*$",
|
1078
1099
|
"beginCaptures": {
|
1079
1100
|
"0": {
|
1080
1101
|
"name": "support.gfm"
|
1081
1102
|
}
|
1082
1103
|
},
|
1083
|
-
"end": "^\\s*\\1
|
1104
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1084
1105
|
"endCaptures": {
|
1085
1106
|
"0": {
|
1086
1107
|
"name": "support.gfm"
|
@@ -1095,13 +1116,13 @@
|
|
1095
1116
|
]
|
1096
1117
|
},
|
1097
1118
|
{
|
1098
|
-
"begin": "^\\s*(
|
1119
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(elm))\\s*$",
|
1099
1120
|
"beginCaptures": {
|
1100
1121
|
"0": {
|
1101
1122
|
"name": "support.gfm"
|
1102
1123
|
}
|
1103
1124
|
},
|
1104
|
-
"end": "^\\s*\\1
|
1125
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1105
1126
|
"endCaptures": {
|
1106
1127
|
"0": {
|
1107
1128
|
"name": "support.gfm"
|
@@ -1116,13 +1137,13 @@
|
|
1116
1137
|
]
|
1117
1138
|
},
|
1118
1139
|
{
|
1119
|
-
"begin": "^\\s*(
|
1140
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(apib|apiblueprint))\\s*$",
|
1120
1141
|
"beginCaptures": {
|
1121
1142
|
"0": {
|
1122
1143
|
"name": "support.gfm"
|
1123
1144
|
}
|
1124
1145
|
},
|
1125
|
-
"end": "^\\s*\\1
|
1146
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1126
1147
|
"endCaptures": {
|
1127
1148
|
"0": {
|
1128
1149
|
"name": "support.gfm"
|
@@ -1137,13 +1158,13 @@
|
|
1137
1158
|
]
|
1138
1159
|
},
|
1139
1160
|
{
|
1140
|
-
"begin": "^\\s*(
|
1161
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(mson))\\s*$",
|
1141
1162
|
"beginCaptures": {
|
1142
1163
|
"0": {
|
1143
1164
|
"name": "support.gfm"
|
1144
1165
|
}
|
1145
1166
|
},
|
1146
|
-
"end": "^\\s*\\1
|
1167
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1147
1168
|
"endCaptures": {
|
1148
1169
|
"0": {
|
1149
1170
|
"name": "support.gfm"
|
@@ -1158,13 +1179,13 @@
|
|
1158
1179
|
]
|
1159
1180
|
},
|
1160
1181
|
{
|
1161
|
-
"begin": "^\\s*(
|
1182
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(sql))\\s*$",
|
1162
1183
|
"beginCaptures": {
|
1163
1184
|
"0": {
|
1164
1185
|
"name": "support.gfm"
|
1165
1186
|
}
|
1166
1187
|
},
|
1167
|
-
"end": "^\\s*\\1
|
1188
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1168
1189
|
"endCaptures": {
|
1169
1190
|
"0": {
|
1170
1191
|
"name": "support.gfm"
|
@@ -1179,13 +1200,13 @@
|
|
1179
1200
|
]
|
1180
1201
|
},
|
1181
1202
|
{
|
1182
|
-
"begin": "^\\s*(
|
1203
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(graphql))\\s*$",
|
1183
1204
|
"beginCaptures": {
|
1184
1205
|
"0": {
|
1185
1206
|
"name": "support.gfm"
|
1186
1207
|
}
|
1187
1208
|
},
|
1188
|
-
"end": "^\\s*\\1
|
1209
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1189
1210
|
"endCaptures": {
|
1190
1211
|
"0": {
|
1191
1212
|
"name": "support.gfm"
|
@@ -1200,13 +1221,13 @@
|
|
1200
1221
|
]
|
1201
1222
|
},
|
1202
1223
|
{
|
1203
|
-
"begin": "^\\s*(
|
1224
|
+
"begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(clj|clojure))\\s*$",
|
1204
1225
|
"beginCaptures": {
|
1205
1226
|
"0": {
|
1206
1227
|
"name": "support.gfm"
|
1207
1228
|
}
|
1208
1229
|
},
|
1209
|
-
"end": "^\\s*\\1
|
1230
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1210
1231
|
"endCaptures": {
|
1211
1232
|
"0": {
|
1212
1233
|
"name": "support.gfm"
|
@@ -1221,13 +1242,13 @@
|
|
1221
1242
|
]
|
1222
1243
|
},
|
1223
1244
|
{
|
1224
|
-
"begin": "^\\s*(
|
1245
|
+
"begin": "^\\s*(`{3,}|~{3,}).*$",
|
1225
1246
|
"beginCaptures": {
|
1226
1247
|
"0": {
|
1227
1248
|
"name": "support.gfm"
|
1228
1249
|
}
|
1229
1250
|
},
|
1230
|
-
"end": "^\\s*\\1
|
1251
|
+
"end": "^\\s*\\1((?<=`)`+|(?<=~)~+)?\\s*$",
|
1231
1252
|
"endCaptures": {
|
1232
1253
|
"0": {
|
1233
1254
|
"name": "support.gfm"
|