github-linguist 7.25.0 → 7.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/ext/linguist/lex.linguist_yy.c +14 -17
  3. data/ext/linguist/lex.linguist_yy.h +2 -2
  4. data/ext/linguist/tokenizer.l +0 -1
  5. data/grammars/inline.graphql.scala.json +1 -0
  6. data/grammars/markdown.curry.codeblock.json +1 -1
  7. data/grammars/markdown.d2.codeblock.json +1 -0
  8. data/grammars/markdown.talon.codeblock.json +1 -0
  9. data/grammars/source.abap.json +1 -1
  10. data/grammars/source.abl.json +1 -1
  11. data/grammars/source.acucobol.json +1 -1
  12. data/grammars/source.aidl.json +1 -1
  13. data/grammars/source.apex.json +1 -0
  14. data/grammars/source.astro.json +1 -1
  15. data/grammars/source.ballerina.json +1 -1
  16. data/grammars/source.bicep.json +1 -1
  17. data/grammars/source.brs.json +1 -1
  18. data/grammars/source.bsl.json +1 -1
  19. data/grammars/source.cds.json +1 -1
  20. data/grammars/source.clar.json +1 -1
  21. data/grammars/source.cobol.json +1 -1
  22. data/grammars/source.cs.json +1 -1
  23. data/grammars/source.d2.json +1 -0
  24. data/grammars/source.dart.json +1 -1
  25. data/grammars/source.denizenscript.json +1 -1
  26. data/grammars/source.did.json +1 -0
  27. data/grammars/source.directivesmf.json +1 -0
  28. data/grammars/source.dm.json +1 -1
  29. data/grammars/source.earthfile.json +1 -1
  30. data/grammars/source.emacs.lisp.json +1 -1
  31. data/grammars/source.fsharp.json +1 -1
  32. data/grammars/source.gfm.blade.json +1 -1
  33. data/grammars/source.gleam.json +1 -1
  34. data/grammars/source.igor.json +1 -1
  35. data/grammars/source.julia.json +1 -1
  36. data/grammars/source.kotlin.json +1 -1
  37. data/grammars/source.lolcode.json +1 -0
  38. data/grammars/source.matlab.json +1 -1
  39. data/grammars/source.mdx.json +1 -0
  40. data/grammars/source.mo.json +1 -1
  41. data/grammars/source.move.json +1 -1
  42. data/grammars/source.nasal.json +1 -0
  43. data/grammars/source.nim.json +1 -1
  44. data/grammars/source.nushell.json +1 -0
  45. data/grammars/source.pact.json +1 -0
  46. data/grammars/source.pddl.json +1 -1
  47. data/grammars/source.pic.json +1 -1
  48. data/grammars/source.pnlgrp.json +1 -1
  49. data/grammars/source.prisma.json +1 -1
  50. data/grammars/source.ql.json +1 -1
  51. data/grammars/source.raku.json +1 -1
  52. data/grammars/source.rbs.json +1 -0
  53. data/grammars/source.rescript.json +1 -1
  54. data/grammars/source.rez.json +1 -0
  55. data/grammars/source.rmcobol.json +1 -0
  56. data/grammars/source.rpgle.json +1 -1
  57. data/grammars/source.scala.json +1 -1
  58. data/grammars/source.scenic.json +1 -1
  59. data/grammars/source.smithy.json +1 -1
  60. data/grammars/source.solidity.json +1 -1
  61. data/grammars/source.soql.json +1 -0
  62. data/grammars/source.stan.json +1 -1
  63. data/grammars/source.talon.json +1 -1
  64. data/grammars/source.tlverilog.json +1 -0
  65. data/grammars/source.toc.json +1 -1
  66. data/grammars/source.ts.json +1 -1
  67. data/grammars/source.tsx.json +1 -1
  68. data/grammars/source.turtle.json +1 -1
  69. data/grammars/source.typst.json +1 -0
  70. data/grammars/source.vba.json +1 -0
  71. data/grammars/source.vyper.json +1 -1
  72. data/grammars/source.wgsl.json +1 -0
  73. data/grammars/source.wit.json +1 -0
  74. data/grammars/source.wwb.json +1 -0
  75. data/grammars/source.yul.json +1 -1
  76. data/grammars/text.adblock.json +1 -1
  77. data/grammars/text.haml.json +1 -1
  78. data/grammars/text.hash-commented.json +1 -1
  79. data/grammars/text.html.markdown.d2.json +1 -0
  80. data/grammars/text.marko.json +1 -1
  81. data/grammars/text.md.json +1 -0
  82. data/grammars/text.pseudoxml.json +1 -0
  83. data/grammars/text.tex.latex.sweave.json +1 -0
  84. data/grammars/text.xml.svg.json +1 -1
  85. data/grammars/version +1 -1
  86. data/lib/linguist/VERSION +1 -1
  87. data/lib/linguist/generated.rb +10 -0
  88. data/lib/linguist/heuristics.rb +2 -0
  89. data/lib/linguist/heuristics.yml +83 -42
  90. data/lib/linguist/languages.json +1 -1
  91. data/lib/linguist/languages.yml +203 -19
  92. data/lib/linguist/samples.json +1 -1
  93. data/lib/linguist/vendor.yml +4 -1
  94. metadata +39 -16
  95. data/grammars/source.gfm.json +0 -1
  96. data/grammars/source.nim_filter.json +0 -1
  97. data/grammars/source.nimcfg.json +0 -1
@@ -7,7 +7,7 @@
7
7
  # aliases - An Array of additional aliases (implicitly
8
8
  # includes name.downcase)
9
9
  # ace_mode - A String name of the Ace Mode used for highlighting whenever
10
- # a file is edited. This must match one of the filenames in http://git.io/3XO_Cg.
10
+ # a file is edited. This must match one of the filenames in https://gh.io/acemodes.
11
11
  # Use "text" if a mode does not exist.
12
12
  # codemirror_mode - A String name of the CodeMirror Mode used for highlighting whenever a file is edited.
13
13
  # This must match a mode from https://git.io/vi9Fx
@@ -349,7 +349,8 @@ Apex:
349
349
  color: "#1797c0"
350
350
  extensions:
351
351
  - ".cls"
352
- tm_scope: source.java
352
+ - ".trigger"
353
+ tm_scope: source.apex
353
354
  ace_mode: java
354
355
  codemirror_mode: clike
355
356
  codemirror_mime_type: text/x-java
@@ -640,9 +641,28 @@ Bluespec:
640
641
  color: "#12223c"
641
642
  extensions:
642
643
  - ".bsv"
644
+ aliases:
645
+ - bluespec bsv
646
+ - bsv
643
647
  tm_scope: source.bsv
644
648
  ace_mode: verilog
649
+ codemirror_mode: verilog
650
+ codemirror_mime_type: text/x-systemverilog
645
651
  language_id: 36
652
+ Bluespec BH:
653
+ type: programming
654
+ group: Bluespec
655
+ color: "#12223c"
656
+ extensions:
657
+ - ".bs"
658
+ aliases:
659
+ - bh
660
+ - bluespec classic
661
+ tm_scope: source.haskell
662
+ ace_mode: haskell
663
+ codemirror_mode: haskell
664
+ codemirror_mime_type: text/x-haskell
665
+ language_id: 641580358
646
666
  Boo:
647
667
  type: programming
648
668
  color: "#d4bec1"
@@ -758,6 +778,7 @@ C++:
758
778
  - ".re"
759
779
  - ".tcc"
760
780
  - ".tpp"
781
+ - ".txx"
761
782
  language_id: 43
762
783
  C-ObjDump:
763
784
  type: data
@@ -1396,6 +1417,16 @@ D-ObjDump:
1396
1417
  tm_scope: objdump.x86asm
1397
1418
  ace_mode: assembly_x86
1398
1419
  language_id: 81
1420
+ D2:
1421
+ type: markup
1422
+ color: "#526ee8"
1423
+ extensions:
1424
+ - ".d2"
1425
+ aliases:
1426
+ - d2lang
1427
+ tm_scope: source.d2
1428
+ ace_mode: text
1429
+ language_id: 37531557
1399
1430
  DIGITAL Command Language:
1400
1431
  type: programming
1401
1432
  aliases:
@@ -2167,6 +2198,7 @@ GLSL:
2167
2198
  - ".tese"
2168
2199
  - ".vert"
2169
2200
  - ".vrx"
2201
+ - ".vs"
2170
2202
  - ".vsh"
2171
2203
  - ".vshader"
2172
2204
  tm_scope: source.glsl
@@ -2434,8 +2466,11 @@ Go Checksums:
2434
2466
  aliases:
2435
2467
  - go.sum
2436
2468
  - go sum
2469
+ - go.work.sum
2470
+ - go work sum
2437
2471
  filenames:
2438
2472
  - go.sum
2473
+ - go.work.sum
2439
2474
  tm_scope: go.sum
2440
2475
  ace_mode: text
2441
2476
  language_id: 1054391671
@@ -2450,6 +2485,17 @@ Go Module:
2450
2485
  tm_scope: go.mod
2451
2486
  ace_mode: text
2452
2487
  language_id: 947461016
2488
+ Go Workspace:
2489
+ type: data
2490
+ color: "#00ADD8"
2491
+ aliases:
2492
+ - go.work
2493
+ - go work
2494
+ filenames:
2495
+ - go.work
2496
+ tm_scope: go.mod
2497
+ ace_mode: text
2498
+ language_id: 934546256
2453
2499
  Godot Resource:
2454
2500
  type: data
2455
2501
  color: "#355570"
@@ -2498,6 +2544,15 @@ Gradle:
2498
2544
  tm_scope: source.groovy.gradle
2499
2545
  ace_mode: text
2500
2546
  language_id: 136
2547
+ Gradle Kotlin DSL:
2548
+ group: Gradle
2549
+ type: data
2550
+ color: "#02303a"
2551
+ extensions:
2552
+ - ".gradle.kts"
2553
+ ace_mode: text
2554
+ tm_scope: source.kotlin
2555
+ language_id: 432600901
2501
2556
  Grammatical Framework:
2502
2557
  type: programming
2503
2558
  aliases:
@@ -2611,6 +2666,9 @@ HOCON:
2611
2666
  color: "#9ff8ee"
2612
2667
  extensions:
2613
2668
  - ".hocon"
2669
+ filenames:
2670
+ - ".scalafix.conf"
2671
+ - ".scalafmt.conf"
2614
2672
  tm_scope: source.hocon
2615
2673
  ace_mode: text
2616
2674
  language_id: 679725279
@@ -2812,6 +2870,17 @@ HolyC:
2812
2870
  codemirror_mode: clike
2813
2871
  codemirror_mime_type: text/x-csrc
2814
2872
  language_id: 928121743
2873
+ Hosts File:
2874
+ type: data
2875
+ color: "#308888"
2876
+ filenames:
2877
+ - HOSTS
2878
+ - hosts
2879
+ aliases:
2880
+ - hosts
2881
+ tm_scope: source.hosts
2882
+ ace_mode: text
2883
+ language_id: 231021894
2815
2884
  Hy:
2816
2885
  type: programming
2817
2886
  ace_mode: text
@@ -2870,8 +2939,11 @@ INI:
2870
2939
  - ".coveragerc"
2871
2940
  - ".flake8"
2872
2941
  - ".pylintrc"
2942
+ - HOSTS
2873
2943
  - buildozer.spec
2944
+ - hosts
2874
2945
  - pylintrc
2946
+ - vlcrc
2875
2947
  tm_scope: source.ini
2876
2948
  aliases:
2877
2949
  - dosini
@@ -3114,6 +3186,7 @@ JSON with Comments:
3114
3186
  extensions:
3115
3187
  - ".jsonc"
3116
3188
  - ".code-snippets"
3189
+ - ".code-workspace"
3117
3190
  - ".sublime-build"
3118
3191
  - ".sublime-commands"
3119
3192
  - ".sublime-completions"
@@ -3134,6 +3207,7 @@ JSON with Comments:
3134
3207
  - ".jscsrc"
3135
3208
  - ".jshintrc"
3136
3209
  - ".jslintrc"
3210
+ - ".swcrc"
3137
3211
  - api-extractor.json
3138
3212
  - devcontainer.json
3139
3213
  - jsconfig.json
@@ -3540,7 +3614,7 @@ LOLCODE:
3540
3614
  extensions:
3541
3615
  - ".lol"
3542
3616
  color: "#cc9900"
3543
- tm_scope: none
3617
+ tm_scope: source.lolcode
3544
3618
  ace_mode: text
3545
3619
  language_id: 192
3546
3620
  LSL:
@@ -3773,9 +3847,8 @@ LookML:
3773
3847
  codemirror_mime_type: text/x-yaml
3774
3848
  color: "#652B81"
3775
3849
  extensions:
3850
+ - ".lkml"
3776
3851
  - ".lookml"
3777
- - ".model.lkml"
3778
- - ".view.lkml"
3779
3852
  tm_scope: source.yaml
3780
3853
  language_id: 211
3781
3854
  LoomScript:
@@ -3860,6 +3933,17 @@ MAXScript:
3860
3933
  tm_scope: source.maxscript
3861
3934
  ace_mode: text
3862
3935
  language_id: 217
3936
+ MDX:
3937
+ type: markup
3938
+ color: "#fcb32c"
3939
+ ace_mode: markdown
3940
+ codemirror_mode: gfm
3941
+ codemirror_mime_type: text/x-gfm
3942
+ wrap: true
3943
+ extensions:
3944
+ - ".mdx"
3945
+ tm_scope: source.mdx
3946
+ language_id: 512838272
3863
3947
  MLIR:
3864
3948
  type: programming
3865
3949
  color: "#5EC8DB"
@@ -3967,6 +4051,7 @@ Markdown:
3967
4051
  type: prose
3968
4052
  color: "#083fa1"
3969
4053
  aliases:
4054
+ - md
3970
4055
  - pandoc
3971
4056
  ace_mode: markdown
3972
4057
  codemirror_mode: gfm
@@ -3978,7 +4063,6 @@ Markdown:
3978
4063
  - ".markdown"
3979
4064
  - ".mdown"
3980
4065
  - ".mdwn"
3981
- - ".mdx"
3982
4066
  - ".mkd"
3983
4067
  - ".mkdn"
3984
4068
  - ".mkdown"
@@ -3987,7 +4071,7 @@ Markdown:
3987
4071
  - ".workbook"
3988
4072
  filenames:
3989
4073
  - contents.lr
3990
- tm_scope: source.gfm
4074
+ tm_scope: text.md
3991
4075
  language_id: 222
3992
4076
  Marko:
3993
4077
  type: markup
@@ -4356,7 +4440,7 @@ Nasal:
4356
4440
  color: "#1d2c4e"
4357
4441
  extensions:
4358
4442
  - ".nas"
4359
- tm_scope: none
4443
+ tm_scope: source.nasal
4360
4444
  ace_mode: text
4361
4445
  language_id: 178322513
4362
4446
  Nearley:
@@ -4524,6 +4608,21 @@ Nunjucks:
4524
4608
  tm_scope: text.html.nunjucks
4525
4609
  ace_mode: nunjucks
4526
4610
  language_id: 461856962
4611
+ Nushell:
4612
+ type: programming
4613
+ color: "#4E9906"
4614
+ extensions:
4615
+ - ".nu"
4616
+ interpreters:
4617
+ - nu
4618
+ aliases:
4619
+ - nu-script
4620
+ - nushell-script
4621
+ tm_scope: source.nushell
4622
+ ace_mode: sh
4623
+ codemirror_mode: shell
4624
+ codemirror_mime_type: text/x-sh
4625
+ language_id: 446573572
4527
4626
  OASv2-json:
4528
4627
  type: data
4529
4628
  color: "#85ea2d"
@@ -4575,7 +4674,7 @@ OCaml:
4575
4674
  ace_mode: ocaml
4576
4675
  codemirror_mode: mllike
4577
4676
  codemirror_mime_type: text/x-ocaml
4578
- color: "#3be133"
4677
+ color: "#ef7a08"
4579
4678
  extensions:
4580
4679
  - ".ml"
4581
4680
  - ".eliom"
@@ -4791,6 +4890,8 @@ Option List:
4791
4890
  - ackrc
4792
4891
  filenames:
4793
4892
  - ".ackrc"
4893
+ - ".rspec"
4894
+ - ".yardopts"
4794
4895
  - ackrc
4795
4896
  - mocha.opts
4796
4897
  tm_scope: source.opts
@@ -4936,6 +5037,14 @@ POV-Ray SDL:
4936
5037
  tm_scope: source.pov-ray sdl
4937
5038
  ace_mode: text
4938
5039
  language_id: 275
5040
+ Pact:
5041
+ type: programming
5042
+ color: "#F7A8B8"
5043
+ ace_mode: text
5044
+ tm_scope: source.pact
5045
+ extensions:
5046
+ - ".pact"
5047
+ language_id: 756774415
4939
5048
  Pan:
4940
5049
  type: programming
4941
5050
  color: "#cc0000"
@@ -5061,6 +5170,8 @@ Pic:
5061
5170
  extensions:
5062
5171
  - ".pic"
5063
5172
  - ".chem"
5173
+ aliases:
5174
+ - pikchr
5064
5175
  ace_mode: text
5065
5176
  codemirror_mode: troff
5066
5177
  codemirror_mime_type: text/troff
@@ -5282,6 +5393,7 @@ Propeller Spin:
5282
5393
  Protocol Buffer:
5283
5394
  type: data
5284
5395
  aliases:
5396
+ - proto
5285
5397
  - protobuf
5286
5398
  - Protocol Buffers
5287
5399
  extensions:
@@ -5512,6 +5624,17 @@ RAML:
5512
5624
  extensions:
5513
5625
  - ".raml"
5514
5626
  language_id: 308
5627
+ RBS:
5628
+ type: data
5629
+ ace_mode: ruby
5630
+ codemirror_mode: ruby
5631
+ codemirror_mime_type: text/x-ruby
5632
+ extensions:
5633
+ - ".rbs"
5634
+ color: "#701516"
5635
+ tm_scope: source.rbs
5636
+ group: Ruby
5637
+ language_id: 899227493
5515
5638
  RDoc:
5516
5639
  type: prose
5517
5640
  color: "#701516"
@@ -5558,7 +5681,7 @@ RMarkdown:
5558
5681
  extensions:
5559
5682
  - ".qmd"
5560
5683
  - ".rmd"
5561
- tm_scope: source.gfm
5684
+ tm_scope: text.md
5562
5685
  language_id: 313
5563
5686
  RPC:
5564
5687
  type: programming
@@ -5799,6 +5922,14 @@ RenderScript:
5799
5922
  tm_scope: none
5800
5923
  ace_mode: text
5801
5924
  language_id: 323
5925
+ Rez:
5926
+ type: programming
5927
+ extensions:
5928
+ - ".r"
5929
+ tm_scope: source.rez
5930
+ ace_mode: text
5931
+ color: "#FFDAB3"
5932
+ language_id: 498022874
5802
5933
  Rich Text Format:
5803
5934
  type: markup
5804
5935
  extensions:
@@ -6013,6 +6144,8 @@ Rust:
6013
6144
  ace_mode: rust
6014
6145
  codemirror_mode: rust
6015
6146
  codemirror_mime_type: text/x-rustsrc
6147
+ interpreters:
6148
+ - rust-script
6016
6149
  language_id: 327
6017
6150
  SAS:
6018
6151
  type: programming
@@ -6320,6 +6453,7 @@ Shell:
6320
6453
  - ".sh.in"
6321
6454
  - ".tmux"
6322
6455
  - ".tool"
6456
+ - ".trigger"
6323
6457
  - ".zsh"
6324
6458
  - ".zsh-theme"
6325
6459
  filenames:
@@ -6693,6 +6827,14 @@ Sway:
6693
6827
  codemirror_mode: rust
6694
6828
  codemirror_mime_type: text/x-rustsrc
6695
6829
  language_id: 271471144
6830
+ Sweave:
6831
+ type: prose
6832
+ color: "#198ce7"
6833
+ extensions:
6834
+ - ".rnw"
6835
+ tm_scope: text.tex.latex.sweave
6836
+ ace_mode: tex
6837
+ language_id: 558779190
6696
6838
  Swift:
6697
6839
  type: programming
6698
6840
  color: "#F05138"
@@ -6726,6 +6868,14 @@ TI Program:
6726
6868
  - ".8xp.txt"
6727
6869
  language_id: 422
6728
6870
  tm_scope: none
6871
+ TL-Verilog:
6872
+ type: programming
6873
+ extensions:
6874
+ - ".tlv"
6875
+ tm_scope: source.tlverilog
6876
+ ace_mode: verilog
6877
+ color: "#C40023"
6878
+ language_id: 118656070
6729
6879
  TLA:
6730
6880
  type: programming
6731
6881
  color: "#4b0079"
@@ -7014,6 +7164,16 @@ TypeScript:
7014
7164
  codemirror_mode: javascript
7015
7165
  codemirror_mime_type: application/typescript
7016
7166
  language_id: 378
7167
+ Typst:
7168
+ type: programming
7169
+ color: "#239dad"
7170
+ aliases:
7171
+ - typ
7172
+ extensions:
7173
+ - ".typ"
7174
+ tm_scope: source.typst
7175
+ ace_mode: text
7176
+ language_id: 704730682
7017
7177
  Unified Parallel C:
7018
7178
  type: programming
7019
7179
  color: "#4e3617"
@@ -7106,7 +7266,7 @@ VBA:
7106
7266
  - ".cls"
7107
7267
  - ".frm"
7108
7268
  - ".vba"
7109
- tm_scope: source.vbnet
7269
+ tm_scope: source.vba
7110
7270
  aliases:
7111
7271
  - visual basic for applications
7112
7272
  ace_mode: text
@@ -7262,6 +7422,7 @@ Visual Basic 6.0:
7262
7422
  type: programming
7263
7423
  color: "#2c6353"
7264
7424
  extensions:
7425
+ - ".bas"
7265
7426
  - ".cls"
7266
7427
  - ".ctl"
7267
7428
  - ".Dsr"
@@ -7303,6 +7464,24 @@ Vyper:
7303
7464
  ace_mode: text
7304
7465
  tm_scope: source.vyper
7305
7466
  language_id: 1055641948
7467
+ WDL:
7468
+ aliases:
7469
+ - Workflow Description Language
7470
+ type: programming
7471
+ color: "#42f1f4"
7472
+ extensions:
7473
+ - ".wdl"
7474
+ tm_scope: source.wdl
7475
+ ace_mode: text
7476
+ language_id: 374521672
7477
+ WGSL:
7478
+ type: programming
7479
+ color: "#1a5e9a"
7480
+ extensions:
7481
+ - ".wgsl"
7482
+ tm_scope: source.wgsl
7483
+ ace_mode: text
7484
+ language_id: 836605993
7306
7485
  Wavefront Material:
7307
7486
  type: data
7308
7487
  extensions:
@@ -7339,6 +7518,18 @@ WebAssembly:
7339
7518
  codemirror_mode: commonlisp
7340
7519
  codemirror_mime_type: text/x-common-lisp
7341
7520
  language_id: 956556503
7521
+ WebAssembly Interface Type:
7522
+ type: data
7523
+ color: "#6250e7"
7524
+ extensions:
7525
+ - ".wit"
7526
+ aliases:
7527
+ - wit
7528
+ ace_mode: text
7529
+ tm_scope: source.wit
7530
+ codemirror_mode: webidl
7531
+ codemirror_mime_type: text/x-webidl
7532
+ language_id: 134534086
7342
7533
  WebIDL:
7343
7534
  type: programming
7344
7535
  extensions:
@@ -7593,6 +7784,7 @@ XML:
7593
7784
  - ".tml"
7594
7785
  - ".ts"
7595
7786
  - ".tsx"
7787
+ - ".typ"
7596
7788
  - ".ui"
7597
7789
  - ".urdf"
7598
7790
  - ".ux"
@@ -8060,14 +8252,6 @@ sed:
8060
8252
  ace_mode: text
8061
8253
  tm_scope: source.sed
8062
8254
  language_id: 847830017
8063
- wdl:
8064
- type: programming
8065
- color: "#42f1f4"
8066
- extensions:
8067
- - ".wdl"
8068
- tm_scope: source.wdl
8069
- ace_mode: text
8070
- language_id: 374521672
8071
8255
  wisp:
8072
8256
  type: programming
8073
8257
  ace_mode: clojure