github-linguist 7.26.0 → 7.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/ext/linguist/lex.linguist_yy.c +313 -294
  3. data/ext/linguist/lex.linguist_yy.h +5 -4
  4. data/ext/linguist/tokenizer.l +5 -2
  5. data/grammars/inline.edgeql.json +1 -0
  6. data/grammars/inline.hbs.json +1 -0
  7. data/grammars/inline.template.json +1 -0
  8. data/grammars/markdown.d2.codeblock.json +1 -0
  9. data/grammars/markdown.lean4.codeblock.json +1 -0
  10. data/grammars/markdown.move.codeblock.json +1 -0
  11. data/grammars/mdx.LANGUAGE.codeblock.json +1 -0
  12. data/grammars/source.abap.json +1 -1
  13. data/grammars/source.aidl.json +1 -1
  14. data/grammars/source.al.json +1 -1
  15. data/grammars/source.ballerina.json +1 -1
  16. data/grammars/source.bicep.json +1 -1
  17. data/grammars/source.cds.json +1 -1
  18. data/grammars/source.cobol.json +1 -1
  19. data/grammars/source.cs.json +1 -1
  20. data/grammars/source.d2.json +1 -1
  21. data/grammars/source.dart.json +1 -1
  22. data/grammars/source.denizenscript.json +1 -1
  23. data/grammars/source.directivesmf.json +1 -0
  24. data/grammars/source.dm.json +1 -1
  25. data/grammars/source.earthfile.json +1 -1
  26. data/grammars/source.edgeql.json +1 -0
  27. data/grammars/source.emacs.lisp.json +1 -1
  28. data/grammars/source.fsharp.json +1 -1
  29. data/grammars/source.gdresource.json +1 -1
  30. data/grammars/source.gdscript.json +1 -1
  31. data/grammars/source.genero-4gl.json +1 -0
  32. data/grammars/source.genero-per.json +1 -0
  33. data/grammars/source.gjs.json +1 -0
  34. data/grammars/source.gleam.json +1 -1
  35. data/grammars/source.gsc.json +1 -1
  36. data/grammars/source.gts.json +1 -0
  37. data/grammars/source.hcl.json +1 -0
  38. data/grammars/source.hcl.terraform.json +1 -0
  39. data/grammars/source.ice.json +1 -0
  40. data/grammars/source.igor.json +1 -1
  41. data/grammars/source.julia.json +1 -1
  42. data/grammars/source.kotlin.json +1 -1
  43. data/grammars/source.lean4.json +1 -0
  44. data/grammars/source.lean4.markdown.json +1 -0
  45. data/grammars/source.matlab.json +1 -1
  46. data/grammars/source.mdx.json +1 -1
  47. data/grammars/source.meta-info.json +1 -1
  48. data/grammars/source.mo.json +1 -1
  49. data/grammars/source.nasal.json +1 -1
  50. data/grammars/source.nim.json +1 -1
  51. data/grammars/source.nushell.json +1 -1
  52. data/grammars/source.odin.json +1 -1
  53. data/grammars/source.pic.json +1 -1
  54. data/grammars/source.praat.json +1 -0
  55. data/grammars/source.prisma.json +1 -1
  56. data/grammars/source.ql.json +1 -1
  57. data/grammars/source.raku.json +1 -1
  58. data/grammars/source.rascal.json +1 -1
  59. data/grammars/source.rbs.json +1 -1
  60. data/grammars/source.rego.json +1 -1
  61. data/grammars/source.rescript.json +1 -1
  62. data/grammars/source.rez.json +1 -0
  63. data/grammars/source.rpgle.json +1 -1
  64. data/grammars/source.rust.json +1 -1
  65. data/grammars/source.scala.json +1 -1
  66. data/grammars/source.scenic.json +1 -1
  67. data/grammars/source.sentinel.json +1 -0
  68. data/grammars/source.slice.json +1 -1
  69. data/grammars/source.solidity.json +1 -1
  70. data/grammars/source.stan.json +1 -1
  71. data/grammars/source.swift.json +1 -1
  72. data/grammars/source.talon.json +1 -1
  73. data/grammars/source.textgrid.json +1 -0
  74. data/grammars/source.toit.json +1 -0
  75. data/grammars/source.ts.json +1 -1
  76. data/grammars/source.tsx.json +1 -1
  77. data/grammars/source.typst.json +1 -0
  78. data/grammars/source.vba.json +1 -1
  79. data/grammars/source.viml.json +1 -1
  80. data/grammars/source.vyper.json +1 -1
  81. data/grammars/source.wit.json +1 -1
  82. data/grammars/source.yul.json +1 -1
  83. data/grammars/text.adblock.json +1 -1
  84. data/grammars/text.hash-commented.json +1 -1
  85. data/grammars/text.html.ember-handlebars.json +1 -0
  86. data/grammars/text.html.statamic.json +1 -1
  87. data/grammars/text.md.json +1 -1
  88. data/grammars/text.tex.json +1 -1
  89. data/grammars/text.tex.latex.sweave.json +1 -0
  90. data/grammars/text.xml.svg.json +1 -1
  91. data/grammars/version +1 -1
  92. data/lib/linguist/VERSION +1 -1
  93. data/lib/linguist/generated.rb +14 -4
  94. data/lib/linguist/heuristics.rb +2 -0
  95. data/lib/linguist/heuristics.yml +26 -11
  96. data/lib/linguist/languages.json +1 -1
  97. data/lib/linguist/languages.yml +129 -12
  98. data/lib/linguist/samples.json +1 -1
  99. metadata +35 -14
  100. data/grammars/govulncheck.json +0 -1
  101. data/grammars/source.dmf.json +0 -1
  102. data/grammars/source.genero-forms.json +0 -1
  103. data/grammars/source.genero.json +0 -1
  104. data/grammars/source.nimcfg.json +0 -1
@@ -641,9 +641,28 @@ Bluespec:
641
641
  color: "#12223c"
642
642
  extensions:
643
643
  - ".bsv"
644
+ aliases:
645
+ - bluespec bsv
646
+ - bsv
644
647
  tm_scope: source.bsv
645
648
  ace_mode: verilog
649
+ codemirror_mode: verilog
650
+ codemirror_mime_type: text/x-systemverilog
646
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
647
666
  Boo:
648
667
  type: programming
649
668
  color: "#d4bec1"
@@ -1642,7 +1661,7 @@ ECL:
1642
1661
  ECLiPSe:
1643
1662
  type: programming
1644
1663
  color: "#001d9d"
1645
- group: prolog
1664
+ group: Prolog
1646
1665
  extensions:
1647
1666
  - ".ecl"
1648
1667
  tm_scope: source.prolog.eclipse
@@ -1724,6 +1743,17 @@ Ecmarkup:
1724
1743
  aliases:
1725
1744
  - ecmarkdown
1726
1745
  language_id: 844766630
1746
+ EdgeQL:
1747
+ type: programming
1748
+ color: "#31A7FF"
1749
+ aliases:
1750
+ - esdl
1751
+ extensions:
1752
+ - ".edgeql"
1753
+ - ".esdl"
1754
+ ace_mode: text
1755
+ tm_scope: source.edgeql
1756
+ language_id: 925235833
1727
1757
  EditorConfig:
1728
1758
  type: data
1729
1759
  color: "#fff1f2"
@@ -2179,6 +2209,7 @@ GLSL:
2179
2209
  - ".tese"
2180
2210
  - ".vert"
2181
2211
  - ".vrx"
2212
+ - ".vs"
2182
2213
  - ".vsh"
2183
2214
  - ".vshader"
2184
2215
  tm_scope: source.glsl
@@ -2240,20 +2271,20 @@ Gemini:
2240
2271
  wrap: true
2241
2272
  tm_scope: source.gemini
2242
2273
  language_id: 310828396
2243
- Genero:
2274
+ Genero 4gl:
2244
2275
  type: programming
2245
2276
  color: "#63408e"
2246
2277
  extensions:
2247
2278
  - ".4gl"
2248
- tm_scope: source.genero
2279
+ tm_scope: source.genero-4gl
2249
2280
  ace_mode: text
2250
2281
  language_id: 986054050
2251
- Genero Forms:
2282
+ Genero per:
2252
2283
  type: markup
2253
2284
  color: "#d8df39"
2254
2285
  extensions:
2255
2286
  - ".per"
2256
- tm_scope: source.genero-forms
2287
+ tm_scope: source.genero-per
2257
2288
  ace_mode: text
2258
2289
  language_id: 902995658
2259
2290
  Genie:
@@ -2351,7 +2382,6 @@ Gherkin:
2351
2382
  Git Attributes:
2352
2383
  type: data
2353
2384
  color: "#F44D27"
2354
- group: INI
2355
2385
  aliases:
2356
2386
  - gitattributes
2357
2387
  filenames:
@@ -2396,6 +2426,15 @@ Gleam:
2396
2426
  - ".gleam"
2397
2427
  tm_scope: source.gleam
2398
2428
  language_id: 1054258749
2429
+ Glimmer JS:
2430
+ type: programming
2431
+ extensions:
2432
+ - ".gjs"
2433
+ ace_mode: javascript
2434
+ color: "#F5835F"
2435
+ tm_scope: source.gjs
2436
+ group: JavaScript
2437
+ language_id: 5523150
2399
2438
  Glyph:
2400
2439
  type: programming
2401
2440
  color: "#c1ac7f"
@@ -2524,6 +2563,15 @@ Gradle:
2524
2563
  tm_scope: source.groovy.gradle
2525
2564
  ace_mode: text
2526
2565
  language_id: 136
2566
+ Gradle Kotlin DSL:
2567
+ group: Gradle
2568
+ type: data
2569
+ color: "#02303a"
2570
+ extensions:
2571
+ - ".gradle.kts"
2572
+ ace_mode: text
2573
+ tm_scope: source.kotlin
2574
+ language_id: 432600901
2527
2575
  Grammatical Framework:
2528
2576
  type: programming
2529
2577
  aliases:
@@ -2638,8 +2686,8 @@ HOCON:
2638
2686
  extensions:
2639
2687
  - ".hocon"
2640
2688
  filenames:
2641
- - .scalafix.conf
2642
- - .scalafmt.conf
2689
+ - ".scalafix.conf"
2690
+ - ".scalafmt.conf"
2643
2691
  tm_scope: source.hocon
2644
2692
  ace_mode: text
2645
2693
  language_id: 679725279
@@ -2847,6 +2895,8 @@ Hosts File:
2847
2895
  filenames:
2848
2896
  - HOSTS
2849
2897
  - hosts
2898
+ aliases:
2899
+ - hosts
2850
2900
  tm_scope: source.hosts
2851
2901
  ace_mode: text
2852
2902
  language_id: 231021894
@@ -2945,7 +2995,6 @@ Idris:
2945
2995
  Ignore List:
2946
2996
  type: data
2947
2997
  color: "#000000"
2948
- group: INI
2949
2998
  aliases:
2950
2999
  - ignore
2951
3000
  - gitignore
@@ -3139,6 +3188,7 @@ JSON:
3139
3188
  - ".watchmanconfig"
3140
3189
  - Pipfile.lock
3141
3190
  - composer.lock
3191
+ - deno.lock
3142
3192
  - flake.lock
3143
3193
  - mcmod.info
3144
3194
  language_id: 174
@@ -3155,6 +3205,7 @@ JSON with Comments:
3155
3205
  extensions:
3156
3206
  - ".jsonc"
3157
3207
  - ".code-snippets"
3208
+ - ".code-workspace"
3158
3209
  - ".sublime-build"
3159
3210
  - ".sublime-commands"
3160
3211
  - ".sublime-completions"
@@ -3658,6 +3709,14 @@ Lean:
3658
3709
  tm_scope: source.lean
3659
3710
  ace_mode: text
3660
3711
  language_id: 197
3712
+ Lean 4:
3713
+ type: programming
3714
+ group: Lean
3715
+ extensions:
3716
+ - ".lean"
3717
+ tm_scope: source.lean4
3718
+ ace_mode: text
3719
+ language_id: 455147478
3661
3720
  Less:
3662
3721
  type: markup
3663
3722
  color: "#1d365d"
@@ -4409,7 +4468,7 @@ Nasal:
4409
4468
  extensions:
4410
4469
  - ".nas"
4411
4470
  tm_scope: source.nasal
4412
- ace_mode: text
4471
+ ace_mode: nasal
4413
4472
  language_id: 178322513
4414
4473
  Nearley:
4415
4474
  type: programming
@@ -4858,6 +4917,8 @@ Option List:
4858
4917
  - ackrc
4859
4918
  filenames:
4860
4919
  - ".ackrc"
4920
+ - ".rspec"
4921
+ - ".yardopts"
4861
4922
  - ackrc
4862
4923
  - mocha.opts
4863
4924
  tm_scope: source.opts
@@ -5136,6 +5197,8 @@ Pic:
5136
5197
  extensions:
5137
5198
  - ".pic"
5138
5199
  - ".chem"
5200
+ aliases:
5201
+ - pikchr
5139
5202
  ace_mode: text
5140
5203
  codemirror_mode: troff
5141
5204
  codemirror_mime_type: text/troff
@@ -5292,6 +5355,14 @@ PowerShell:
5292
5355
  interpreters:
5293
5356
  - pwsh
5294
5357
  language_id: 293
5358
+ Praat:
5359
+ type: programming
5360
+ color: "#c8506d"
5361
+ tm_scope: source.praat
5362
+ ace_mode: praat
5363
+ extensions:
5364
+ - ".praat"
5365
+ language_id: 106029007
5295
5366
  Prisma:
5296
5367
  type: data
5297
5368
  color: "#0c344b"
@@ -5886,6 +5957,14 @@ RenderScript:
5886
5957
  tm_scope: none
5887
5958
  ace_mode: text
5888
5959
  language_id: 323
5960
+ Rez:
5961
+ type: programming
5962
+ extensions:
5963
+ - ".r"
5964
+ tm_scope: source.rez
5965
+ ace_mode: text
5966
+ color: "#FFDAB3"
5967
+ language_id: 498022874
5889
5968
  Rich Text Format:
5890
5969
  type: markup
5891
5970
  extensions:
@@ -6775,7 +6854,7 @@ Svelte:
6775
6854
  language_id: 928734530
6776
6855
  Sway:
6777
6856
  type: programming
6778
- color: "#dea584"
6857
+ color: "#00F58C"
6779
6858
  extensions:
6780
6859
  - ".sw"
6781
6860
  tm_scope: source.sway
@@ -6783,6 +6862,14 @@ Sway:
6783
6862
  codemirror_mode: rust
6784
6863
  codemirror_mime_type: text/x-rustsrc
6785
6864
  language_id: 271471144
6865
+ Sweave:
6866
+ type: prose
6867
+ color: "#198ce7"
6868
+ extensions:
6869
+ - ".rnw"
6870
+ tm_scope: text.tex.latex.sweave
6871
+ ace_mode: tex
6872
+ language_id: 558779190
6786
6873
  Swift:
6787
6874
  type: programming
6788
6875
  color: "#F05138"
@@ -6819,7 +6906,7 @@ TI Program:
6819
6906
  TL-Verilog:
6820
6907
  type: programming
6821
6908
  extensions:
6822
- - ".tlv"
6909
+ - ".tlv"
6823
6910
  tm_scope: source.tlverilog
6824
6911
  ace_mode: verilog
6825
6912
  color: "#C40023"
@@ -6974,6 +7061,17 @@ Terra:
6974
7061
  interpreters:
6975
7062
  - lua
6976
7063
  language_id: 371
7064
+ Terraform Template:
7065
+ type: markup
7066
+ extensions:
7067
+ - ".tftpl"
7068
+ color: "#7b42bb"
7069
+ tm_scope: source.hcl.terraform
7070
+ ace_mode: ruby
7071
+ codemirror_mode: ruby
7072
+ codemirror_mime_type: text/x-ruby
7073
+ group: HCL
7074
+ language_id: 856832701
6977
7075
  Texinfo:
6978
7076
  type: prose
6979
7077
  wrap: true
@@ -7058,6 +7156,14 @@ Thrift:
7058
7156
  - ".thrift"
7059
7157
  ace_mode: text
7060
7158
  language_id: 374
7159
+ Toit:
7160
+ type: programming
7161
+ color: "#c2c9fb"
7162
+ extensions:
7163
+ - ".toit"
7164
+ tm_scope: source.toit
7165
+ ace_mode: text
7166
+ language_id: 356554395
7061
7167
  Turing:
7062
7168
  type: programming
7063
7169
  color: "#cf142b"
@@ -7112,6 +7218,16 @@ TypeScript:
7112
7218
  codemirror_mode: javascript
7113
7219
  codemirror_mime_type: application/typescript
7114
7220
  language_id: 378
7221
+ Typst:
7222
+ type: programming
7223
+ color: "#239dad"
7224
+ aliases:
7225
+ - typ
7226
+ extensions:
7227
+ - ".typ"
7228
+ tm_scope: source.typst
7229
+ ace_mode: text
7230
+ language_id: 704730682
7115
7231
  Unified Parallel C:
7116
7232
  type: programming
7117
7233
  color: "#4e3617"
@@ -7722,6 +7838,7 @@ XML:
7722
7838
  - ".tml"
7723
7839
  - ".ts"
7724
7840
  - ".tsx"
7841
+ - ".typ"
7725
7842
  - ".ui"
7726
7843
  - ".urdf"
7727
7844
  - ".ux"