github-linguist 7.20.0 → 7.22.1
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.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +584 -498
- data/ext/linguist/lex.linguist_yy.h +2 -3
- data/ext/linguist/tokenizer.l +52 -15
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abl.json +1 -1
- data/grammars/source.astro.json +1 -1
- data/grammars/source.ats.json +1 -1
- data/grammars/source.ballerina.json +1 -1
- data/grammars/source.bms.json +1 -1
- data/grammars/source.brs.json +1 -0
- data/grammars/source.cairo.json +1 -1
- data/grammars/source.cds.json +1 -0
- data/grammars/source.clarion.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.css.json +1 -1
- data/grammars/source.csswg.json +1 -0
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.curry.json +1 -1
- data/grammars/source.denizenscript.json +1 -1
- data/grammars/source.ditroff.json +1 -1
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.gcode.json +1 -1
- data/grammars/source.gdresource.json +1 -0
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.gdshader.json +1 -0
- data/grammars/source.git-revlist.json +1 -0
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hlasm.json +1 -1
- data/grammars/source.hx.json +1 -1
- data/grammars/source.icurry.json +1 -1
- data/grammars/source.jsligo.json +1 -0
- data/grammars/source.json.json +1 -1
- data/grammars/source.julia.json +1 -1
- data/grammars/source.livescript.json +1 -1
- data/grammars/source.miniyaml.json +1 -1
- data/grammars/source.mlir.json +1 -1
- data/grammars/source.mo.json +1 -1
- data/grammars/source.move.json +1 -0
- data/grammars/source.nix.json +1 -1
- data/grammars/source.pony.json +1 -1
- data/grammars/source.portugol.json +1 -0
- data/grammars/source.rego.json +1 -1
- data/grammars/source.renpy.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.rsc.json +1 -0
- data/grammars/source.scala.json +1 -1
- data/grammars/source.solidity.json +1 -1
- data/grammars/source.sqf.json +1 -1
- data/grammars/source.star.json +1 -0
- data/grammars/source.stl.json +1 -0
- data/grammars/source.svelte.json +1 -1
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.v.json +1 -1
- data/grammars/source.velocity.html.json +1 -0
- data/grammars/source.velocity.json +1 -0
- data/grammars/source.whiley.json +1 -0
- data/grammars/source.wren.json +1 -0
- data/grammars/source.wsd.json +1 -1
- data/grammars/source.yul.json +1 -0
- data/grammars/text.hash-commented.json +1 -0
- data/grammars/text.html.statamic.json +1 -0
- data/grammars/text.srt.json +1 -1
- data/grammars/text.vtt.json +1 -0
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +2 -2
- data/lib/linguist/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +22 -1
- data/lib/linguist/language.rb +3 -4
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +218 -4
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +4 -1
- metadata +30 -13
- data/grammars/source.brightauthorproject.json +0 -1
- data/grammars/source.brightscript.json +0 -1
- data/grammars/source.vtt.json +0 -1
data/lib/linguist/languages.yml
CHANGED
@@ -305,6 +305,16 @@ Ant Build System:
|
|
305
305
|
codemirror_mode: xml
|
306
306
|
codemirror_mime_type: application/xml
|
307
307
|
language_id: 15
|
308
|
+
Antlers:
|
309
|
+
type: markup
|
310
|
+
color: "#ff269e"
|
311
|
+
extensions:
|
312
|
+
- ".antlers.html"
|
313
|
+
- ".antlers.php"
|
314
|
+
- ".antlers.xml"
|
315
|
+
tm_scope: text.html.statamic
|
316
|
+
ace_mode: text
|
317
|
+
language_id: 1067292663
|
308
318
|
ApacheConf:
|
309
319
|
type: data
|
310
320
|
color: "#d12127"
|
@@ -391,6 +401,7 @@ Assembly:
|
|
391
401
|
- ".a51"
|
392
402
|
- ".i"
|
393
403
|
- ".inc"
|
404
|
+
- ".nas"
|
394
405
|
- ".nasm"
|
395
406
|
tm_scope: source.assembly
|
396
407
|
ace_mode: assembly_x86
|
@@ -550,6 +561,16 @@ Bicep:
|
|
550
561
|
tm_scope: source.bicep
|
551
562
|
ace_mode: text
|
552
563
|
language_id: 321200902
|
564
|
+
Bikeshed:
|
565
|
+
type: markup
|
566
|
+
color: "#5562ac"
|
567
|
+
extensions:
|
568
|
+
- ".bs"
|
569
|
+
tm_scope: source.csswg
|
570
|
+
ace_mode: html
|
571
|
+
codemirror_mode: htmlmixed
|
572
|
+
codemirror_mime_type: text/html
|
573
|
+
language_id: 1055528081
|
553
574
|
Bison:
|
554
575
|
type: programming
|
555
576
|
color: "#6A463F"
|
@@ -637,12 +658,20 @@ Brainfuck:
|
|
637
658
|
codemirror_mode: brainfuck
|
638
659
|
codemirror_mime_type: text/x-brainfuck
|
639
660
|
language_id: 38
|
661
|
+
BrighterScript:
|
662
|
+
type: programming
|
663
|
+
color: "#66AABB"
|
664
|
+
extensions:
|
665
|
+
- ".bs"
|
666
|
+
tm_scope: source.brs
|
667
|
+
ace_mode: text
|
668
|
+
language_id: 943571030
|
640
669
|
Brightscript:
|
641
670
|
type: programming
|
642
671
|
color: "#662D91"
|
643
672
|
extensions:
|
644
673
|
- ".brs"
|
645
|
-
tm_scope: source.
|
674
|
+
tm_scope: source.brs
|
646
675
|
ace_mode: text
|
647
676
|
language_id: 39
|
648
677
|
Browserslist:
|
@@ -734,6 +763,16 @@ C2hs Haskell:
|
|
734
763
|
codemirror_mode: haskell
|
735
764
|
codemirror_mime_type: text/x-haskell
|
736
765
|
language_id: 45
|
766
|
+
CAP CDS:
|
767
|
+
type: programming
|
768
|
+
tm_scope: source.cds
|
769
|
+
color: "#0092d1"
|
770
|
+
aliases:
|
771
|
+
- cds
|
772
|
+
extensions:
|
773
|
+
- ".cds"
|
774
|
+
ace_mode: text
|
775
|
+
language_id: 390788699
|
737
776
|
CIL:
|
738
777
|
type: data
|
739
778
|
tm_scope: source.cil
|
@@ -920,6 +959,39 @@ Charity:
|
|
920
959
|
tm_scope: none
|
921
960
|
ace_mode: text
|
922
961
|
language_id: 56
|
962
|
+
Checksums:
|
963
|
+
type: data
|
964
|
+
tm_scope: text.checksums
|
965
|
+
aliases:
|
966
|
+
- checksum
|
967
|
+
- hash
|
968
|
+
- hashes
|
969
|
+
- sum
|
970
|
+
- sums
|
971
|
+
filenames:
|
972
|
+
- MD5SUMS
|
973
|
+
- SHA1SUMS
|
974
|
+
- SHA256SUMS
|
975
|
+
- SHA256SUMS.txt
|
976
|
+
- SHA512SUMS
|
977
|
+
- checksums.txt
|
978
|
+
- cksums
|
979
|
+
- md5sum.txt
|
980
|
+
extensions:
|
981
|
+
- ".crc32"
|
982
|
+
- ".md2"
|
983
|
+
- ".md4"
|
984
|
+
- ".md5"
|
985
|
+
- ".sha1"
|
986
|
+
- ".sha2"
|
987
|
+
- ".sha224"
|
988
|
+
- ".sha256"
|
989
|
+
- ".sha256sum"
|
990
|
+
- ".sha3"
|
991
|
+
- ".sha384"
|
992
|
+
- ".sha512"
|
993
|
+
ace_mode: text
|
994
|
+
language_id: 372063053
|
923
995
|
ChucK:
|
924
996
|
type: programming
|
925
997
|
color: "#3f8000"
|
@@ -990,6 +1062,7 @@ Clojure:
|
|
990
1062
|
color: "#db5855"
|
991
1063
|
extensions:
|
992
1064
|
- ".clj"
|
1065
|
+
- ".bb"
|
993
1066
|
- ".boot"
|
994
1067
|
- ".cl2"
|
995
1068
|
- ".cljc"
|
@@ -1000,6 +1073,8 @@ Clojure:
|
|
1000
1073
|
- ".hic"
|
1001
1074
|
filenames:
|
1002
1075
|
- riemann.config
|
1076
|
+
interpreters:
|
1077
|
+
- bb
|
1003
1078
|
language_id: 62
|
1004
1079
|
Closure Templates:
|
1005
1080
|
type: markup
|
@@ -1720,6 +1795,7 @@ F*:
|
|
1720
1795
|
- fstar
|
1721
1796
|
extensions:
|
1722
1797
|
- ".fst"
|
1798
|
+
- ".fsti"
|
1723
1799
|
tm_scope: source.fstar
|
1724
1800
|
ace_mode: text
|
1725
1801
|
language_id: 336943375
|
@@ -2193,6 +2269,16 @@ Git Config:
|
|
2193
2269
|
codemirror_mime_type: text/x-properties
|
2194
2270
|
tm_scope: source.gitconfig
|
2195
2271
|
language_id: 807968997
|
2272
|
+
Git Revision List:
|
2273
|
+
type: data
|
2274
|
+
color: "#F44D27"
|
2275
|
+
aliases:
|
2276
|
+
- Git Blame Ignore Revs
|
2277
|
+
filenames:
|
2278
|
+
- ".git-blame-ignore-revs"
|
2279
|
+
tm_scope: source.git-revlist
|
2280
|
+
ace_mode: text
|
2281
|
+
language_id: 461881235
|
2196
2282
|
Gleam:
|
2197
2283
|
type: programming
|
2198
2284
|
color: "#ffaff3"
|
@@ -2661,8 +2747,11 @@ INI:
|
|
2661
2747
|
- ".properties"
|
2662
2748
|
- ".url"
|
2663
2749
|
filenames:
|
2750
|
+
- ".coveragerc"
|
2664
2751
|
- ".flake8"
|
2752
|
+
- ".pylintrc"
|
2665
2753
|
- buildozer.spec
|
2754
|
+
- pylintrc
|
2666
2755
|
tm_scope: source.ini
|
2667
2756
|
aliases:
|
2668
2757
|
- dosini
|
@@ -2829,8 +2918,14 @@ JSON:
|
|
2829
2918
|
ace_mode: json
|
2830
2919
|
codemirror_mode: javascript
|
2831
2920
|
codemirror_mime_type: application/json
|
2921
|
+
aliases:
|
2922
|
+
- geojson
|
2923
|
+
- jsonl
|
2924
|
+
- topojson
|
2832
2925
|
extensions:
|
2833
2926
|
- ".json"
|
2927
|
+
- ".4DForm"
|
2928
|
+
- ".4DProject"
|
2834
2929
|
- ".avsc"
|
2835
2930
|
- ".geojson"
|
2836
2931
|
- ".gltf"
|
@@ -2888,6 +2983,7 @@ JSON with Comments:
|
|
2888
2983
|
- ".sublime_session"
|
2889
2984
|
filenames:
|
2890
2985
|
- ".babelrc"
|
2986
|
+
- ".devcontainer.json"
|
2891
2987
|
- ".eslintrc.json"
|
2892
2988
|
- ".jscsrc"
|
2893
2989
|
- ".jshintrc"
|
@@ -3054,6 +3150,20 @@ Jest Snapshot:
|
|
3054
3150
|
codemirror_mode: javascript
|
3055
3151
|
codemirror_mime_type: application/javascript
|
3056
3152
|
language_id: 774635084
|
3153
|
+
JetBrains MPS:
|
3154
|
+
type: programming
|
3155
|
+
aliases:
|
3156
|
+
- mps
|
3157
|
+
color: "#21D789"
|
3158
|
+
extensions:
|
3159
|
+
- ".mps"
|
3160
|
+
- ".mpl"
|
3161
|
+
- ".msd"
|
3162
|
+
ace_mode: xml
|
3163
|
+
codemirror_mode: xml
|
3164
|
+
codemirror_mime_type: text/xml
|
3165
|
+
tm_scope: none
|
3166
|
+
language_id: 465165328
|
3057
3167
|
Jinja:
|
3058
3168
|
type: markup
|
3059
3169
|
color: "#a52a22"
|
@@ -3198,6 +3308,7 @@ KiCad Schematic:
|
|
3198
3308
|
aliases:
|
3199
3309
|
- eeschema schematic
|
3200
3310
|
extensions:
|
3311
|
+
- ".kicad_sch"
|
3201
3312
|
- ".sch"
|
3202
3313
|
tm_scope: source.pcb.schematic
|
3203
3314
|
ace_mode: text
|
@@ -3281,6 +3392,7 @@ LabVIEW:
|
|
3281
3392
|
color: "#fede06"
|
3282
3393
|
extensions:
|
3283
3394
|
- ".lvproj"
|
3395
|
+
- ".lvclass"
|
3284
3396
|
- ".lvlib"
|
3285
3397
|
tm_scope: text.xml
|
3286
3398
|
ace_mode: xml
|
@@ -3686,6 +3798,7 @@ Markdown:
|
|
3686
3798
|
wrap: true
|
3687
3799
|
extensions:
|
3688
3800
|
- ".md"
|
3801
|
+
- ".livemd"
|
3689
3802
|
- ".markdown"
|
3690
3803
|
- ".mdown"
|
3691
3804
|
- ".mdwn"
|
@@ -3950,6 +4063,14 @@ Motorola 68K Assembly:
|
|
3950
4063
|
tm_scope: source.m68k
|
3951
4064
|
ace_mode: assembly_x86
|
3952
4065
|
language_id: 477582706
|
4066
|
+
Move:
|
4067
|
+
type: programming
|
4068
|
+
color: "#4a137a"
|
4069
|
+
extensions:
|
4070
|
+
- ".move"
|
4071
|
+
tm_scope: source.move
|
4072
|
+
ace_mode: text
|
4073
|
+
language_id: 638334599
|
3953
4074
|
Muse:
|
3954
4075
|
type: prose
|
3955
4076
|
extensions:
|
@@ -4042,6 +4163,14 @@ NWScript:
|
|
4042
4163
|
codemirror_mode: clike
|
4043
4164
|
codemirror_mime_type: text/x-csrc
|
4044
4165
|
language_id: 731233819
|
4166
|
+
Nasal:
|
4167
|
+
type: programming
|
4168
|
+
color: "#1d2c4e"
|
4169
|
+
extensions:
|
4170
|
+
- ".nas"
|
4171
|
+
tm_scope: none
|
4172
|
+
ace_mode: text
|
4173
|
+
language_id: 178322513
|
4045
4174
|
Nearley:
|
4046
4175
|
type: programming
|
4047
4176
|
ace_mode: text
|
@@ -4745,6 +4874,14 @@ Pony:
|
|
4745
4874
|
tm_scope: source.pony
|
4746
4875
|
ace_mode: text
|
4747
4876
|
language_id: 290
|
4877
|
+
Portugol:
|
4878
|
+
type: programming
|
4879
|
+
color: "#f8bd00"
|
4880
|
+
extensions:
|
4881
|
+
- ".por"
|
4882
|
+
tm_scope: source.portugol
|
4883
|
+
ace_mode: text
|
4884
|
+
language_id: 832391833
|
4748
4885
|
PostCSS:
|
4749
4886
|
type: markup
|
4750
4887
|
color: "#dc3a0c"
|
@@ -5493,6 +5630,16 @@ Rouge:
|
|
5493
5630
|
- ".rg"
|
5494
5631
|
tm_scope: source.clojure
|
5495
5632
|
language_id: 325
|
5633
|
+
RouterOS Script:
|
5634
|
+
type: programming
|
5635
|
+
ace_mode: text
|
5636
|
+
extensions:
|
5637
|
+
- ".rsc"
|
5638
|
+
interpreters:
|
5639
|
+
- RouterOS
|
5640
|
+
color: "#DE3941"
|
5641
|
+
tm_scope: none
|
5642
|
+
language_id: 592853203
|
5496
5643
|
Ruby:
|
5497
5644
|
type: programming
|
5498
5645
|
tm_scope: source.ruby
|
@@ -5700,6 +5847,24 @@ SSH Config:
|
|
5700
5847
|
ace_mode: text
|
5701
5848
|
tm_scope: source.ssh-config
|
5702
5849
|
language_id: 554920715
|
5850
|
+
STAR:
|
5851
|
+
type: data
|
5852
|
+
extensions:
|
5853
|
+
- ".star"
|
5854
|
+
tm_scope: source.star
|
5855
|
+
ace_mode: text
|
5856
|
+
language_id: 424510560
|
5857
|
+
STL:
|
5858
|
+
type: data
|
5859
|
+
color: "#373b5e"
|
5860
|
+
aliases:
|
5861
|
+
- ascii stl
|
5862
|
+
- stla
|
5863
|
+
extensions:
|
5864
|
+
- ".stl"
|
5865
|
+
tm_scope: source.stl
|
5866
|
+
ace_mode: text
|
5867
|
+
language_id: 455361735
|
5703
5868
|
STON:
|
5704
5869
|
type: data
|
5705
5870
|
group: Smalltalk
|
@@ -6094,6 +6259,7 @@ Starlark:
|
|
6094
6259
|
color: "#76d275"
|
6095
6260
|
extensions:
|
6096
6261
|
- ".bzl"
|
6262
|
+
- ".star"
|
6097
6263
|
filenames:
|
6098
6264
|
- BUCK
|
6099
6265
|
- BUILD
|
@@ -6249,7 +6415,7 @@ TSV:
|
|
6249
6415
|
language_id: 1035892117
|
6250
6416
|
TSX:
|
6251
6417
|
type: programming
|
6252
|
-
color: "#
|
6418
|
+
color: "#3178c6"
|
6253
6419
|
group: TypeScript
|
6254
6420
|
extensions:
|
6255
6421
|
- ".tsx"
|
@@ -6475,7 +6641,7 @@ Type Language:
|
|
6475
6641
|
language_id: 632765617
|
6476
6642
|
TypeScript:
|
6477
6643
|
type: programming
|
6478
|
-
color: "#
|
6644
|
+
color: "#3178c6"
|
6479
6645
|
aliases:
|
6480
6646
|
- ts
|
6481
6647
|
interpreters:
|
@@ -6483,6 +6649,8 @@ TypeScript:
|
|
6483
6649
|
- ts-node
|
6484
6650
|
extensions:
|
6485
6651
|
- ".ts"
|
6652
|
+
- ".cts"
|
6653
|
+
- ".mts"
|
6486
6654
|
tm_scope: source.ts
|
6487
6655
|
ace_mode: typescript
|
6488
6656
|
codemirror_mode: javascript
|
@@ -6521,6 +6689,10 @@ Unix Assembly:
|
|
6521
6689
|
extensions:
|
6522
6690
|
- ".s"
|
6523
6691
|
- ".ms"
|
6692
|
+
aliases:
|
6693
|
+
- gas
|
6694
|
+
- gnu asm
|
6695
|
+
- unix asm
|
6524
6696
|
tm_scope: source.x86
|
6525
6697
|
ace_mode: assembly_x86
|
6526
6698
|
language_id: 120
|
@@ -6641,6 +6813,19 @@ Valve Data Format:
|
|
6641
6813
|
ace_mode: text
|
6642
6814
|
tm_scope: source.keyvalues
|
6643
6815
|
language_id: 544060961
|
6816
|
+
Velocity Template Language:
|
6817
|
+
type: markup
|
6818
|
+
color: "#507cff"
|
6819
|
+
aliases:
|
6820
|
+
- vtl
|
6821
|
+
- velocity
|
6822
|
+
extensions:
|
6823
|
+
- ".vtl"
|
6824
|
+
ace_mode: velocity
|
6825
|
+
tm_scope: source.velocity
|
6826
|
+
codemirror_mode: velocity
|
6827
|
+
codemirror_mime_type: text/velocity
|
6828
|
+
language_id: 292377326
|
6644
6829
|
Verilog:
|
6645
6830
|
type: programming
|
6646
6831
|
color: "#b2b7f8"
|
@@ -6792,9 +6977,11 @@ WebIDL:
|
|
6792
6977
|
WebVTT:
|
6793
6978
|
type: data
|
6794
6979
|
wrap: true
|
6980
|
+
aliases:
|
6981
|
+
- vtt
|
6795
6982
|
extensions:
|
6796
6983
|
- ".vtt"
|
6797
|
-
tm_scope:
|
6984
|
+
tm_scope: text.vtt
|
6798
6985
|
ace_mode: text
|
6799
6986
|
language_id: 658679714
|
6800
6987
|
Wget Config:
|
@@ -6807,6 +6994,14 @@ Wget Config:
|
|
6807
6994
|
tm_scope: source.wgetrc
|
6808
6995
|
ace_mode: text
|
6809
6996
|
language_id: 668457123
|
6997
|
+
Whiley:
|
6998
|
+
type: programming
|
6999
|
+
color: "#d5c397"
|
7000
|
+
extensions:
|
7001
|
+
- ".whiley"
|
7002
|
+
tm_scope: source.whiley
|
7003
|
+
ace_mode: text
|
7004
|
+
language_id: 888779559
|
6810
7005
|
Wikitext:
|
6811
7006
|
type: prose
|
6812
7007
|
color: "#fc5757"
|
@@ -6864,6 +7059,16 @@ World of Warcraft Addon Data:
|
|
6864
7059
|
tm_scope: source.toc
|
6865
7060
|
ace_mode: text
|
6866
7061
|
language_id: 396
|
7062
|
+
Wren:
|
7063
|
+
type: programming
|
7064
|
+
color: "#383838"
|
7065
|
+
aliases:
|
7066
|
+
- wrenlang
|
7067
|
+
extensions:
|
7068
|
+
- ".wren"
|
7069
|
+
tm_scope: source.wren
|
7070
|
+
ace_mode: text
|
7071
|
+
language_id: 713580619
|
6867
7072
|
X BitMap:
|
6868
7073
|
type: data
|
6869
7074
|
group: C
|
@@ -6996,6 +7201,7 @@ XML:
|
|
6996
7201
|
- ".ps1xml"
|
6997
7202
|
- ".psc1"
|
6998
7203
|
- ".pt"
|
7204
|
+
- ".qhelp"
|
6999
7205
|
- ".rdf"
|
7000
7206
|
- ".res"
|
7001
7207
|
- ".resx"
|
@@ -7223,6 +7429,14 @@ Yacc:
|
|
7223
7429
|
ace_mode: text
|
7224
7430
|
color: "#4B6C4B"
|
7225
7431
|
language_id: 409
|
7432
|
+
Yul:
|
7433
|
+
type: programming
|
7434
|
+
color: "#794932"
|
7435
|
+
ace_mode: text
|
7436
|
+
tm_scope: source.yul
|
7437
|
+
extensions:
|
7438
|
+
- ".yul"
|
7439
|
+
language_id: 237469033
|
7226
7440
|
ZAP:
|
7227
7441
|
type: programming
|
7228
7442
|
color: "#0d665e"
|