github-linguist 7.25.0 → 7.26.0

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.
Files changed (73) 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.talon.codeblock.json +1 -0
  8. data/grammars/source.abap.json +1 -1
  9. data/grammars/source.abl.json +1 -1
  10. data/grammars/source.acucobol.json +1 -1
  11. data/grammars/source.apex.json +1 -0
  12. data/grammars/source.astro.json +1 -1
  13. data/grammars/source.bicep.json +1 -1
  14. data/grammars/source.brs.json +1 -1
  15. data/grammars/source.bsl.json +1 -1
  16. data/grammars/source.cds.json +1 -1
  17. data/grammars/source.clar.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 -0
  21. data/grammars/source.dart.json +1 -1
  22. data/grammars/source.denizenscript.json +1 -1
  23. data/grammars/source.did.json +1 -0
  24. data/grammars/source.dm.json +1 -1
  25. data/grammars/source.fsharp.json +1 -1
  26. data/grammars/source.gfm.blade.json +1 -1
  27. data/grammars/source.gleam.json +1 -1
  28. data/grammars/source.kotlin.json +1 -1
  29. data/grammars/source.lolcode.json +1 -0
  30. data/grammars/source.matlab.json +1 -1
  31. data/grammars/source.mdx.json +1 -0
  32. data/grammars/source.mo.json +1 -1
  33. data/grammars/source.move.json +1 -1
  34. data/grammars/source.nasal.json +1 -0
  35. data/grammars/source.nim.json +1 -1
  36. data/grammars/source.nushell.json +1 -0
  37. data/grammars/source.pact.json +1 -0
  38. data/grammars/source.pddl.json +1 -1
  39. data/grammars/source.pnlgrp.json +1 -1
  40. data/grammars/source.rascal.json +1 -1
  41. data/grammars/source.rbs.json +1 -0
  42. data/grammars/source.rescript.json +1 -1
  43. data/grammars/source.rmcobol.json +1 -0
  44. data/grammars/source.rpgle.json +1 -1
  45. data/grammars/source.scenic.json +1 -1
  46. data/grammars/source.smithy.json +1 -1
  47. data/grammars/source.soql.json +1 -0
  48. data/grammars/source.talon.json +1 -1
  49. data/grammars/source.tlverilog.json +1 -0
  50. data/grammars/source.toc.json +1 -1
  51. data/grammars/source.ts.json +1 -1
  52. data/grammars/source.tsx.json +1 -1
  53. data/grammars/source.turtle.json +1 -1
  54. data/grammars/source.vba.json +1 -0
  55. data/grammars/source.wgsl.json +1 -0
  56. data/grammars/source.wit.json +1 -0
  57. data/grammars/source.wwb.json +1 -0
  58. data/grammars/text.adblock.json +1 -1
  59. data/grammars/text.haml.json +1 -1
  60. data/grammars/text.html.markdown.d2.json +1 -0
  61. data/grammars/text.marko.json +1 -1
  62. data/grammars/text.md.json +1 -0
  63. data/grammars/text.pseudoxml.json +1 -0
  64. data/grammars/version +1 -1
  65. data/lib/linguist/VERSION +1 -1
  66. data/lib/linguist/heuristics.yml +68 -36
  67. data/lib/linguist/languages.json +1 -1
  68. data/lib/linguist/languages.yml +140 -19
  69. data/lib/linguist/samples.json +1 -1
  70. data/lib/linguist/vendor.yml +4 -1
  71. metadata +27 -8
  72. data/grammars/source.gfm.json +0 -1
  73. data/grammars/source.nim_filter.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
@@ -758,6 +759,7 @@ C++:
758
759
  - ".re"
759
760
  - ".tcc"
760
761
  - ".tpp"
762
+ - ".txx"
761
763
  language_id: 43
762
764
  C-ObjDump:
763
765
  type: data
@@ -1396,6 +1398,16 @@ D-ObjDump:
1396
1398
  tm_scope: objdump.x86asm
1397
1399
  ace_mode: assembly_x86
1398
1400
  language_id: 81
1401
+ D2:
1402
+ type: markup
1403
+ color: "#526ee8"
1404
+ extensions:
1405
+ - ".d2"
1406
+ aliases:
1407
+ - d2lang
1408
+ tm_scope: source.d2
1409
+ ace_mode: text
1410
+ language_id: 37531557
1399
1411
  DIGITAL Command Language:
1400
1412
  type: programming
1401
1413
  aliases:
@@ -2434,8 +2446,11 @@ Go Checksums:
2434
2446
  aliases:
2435
2447
  - go.sum
2436
2448
  - go sum
2449
+ - go.work.sum
2450
+ - go work sum
2437
2451
  filenames:
2438
2452
  - go.sum
2453
+ - go.work.sum
2439
2454
  tm_scope: go.sum
2440
2455
  ace_mode: text
2441
2456
  language_id: 1054391671
@@ -2450,6 +2465,17 @@ Go Module:
2450
2465
  tm_scope: go.mod
2451
2466
  ace_mode: text
2452
2467
  language_id: 947461016
2468
+ Go Workspace:
2469
+ type: data
2470
+ color: "#00ADD8"
2471
+ aliases:
2472
+ - go.work
2473
+ - go work
2474
+ filenames:
2475
+ - go.work
2476
+ tm_scope: go.mod
2477
+ ace_mode: text
2478
+ language_id: 934546256
2453
2479
  Godot Resource:
2454
2480
  type: data
2455
2481
  color: "#355570"
@@ -2611,6 +2637,9 @@ HOCON:
2611
2637
  color: "#9ff8ee"
2612
2638
  extensions:
2613
2639
  - ".hocon"
2640
+ filenames:
2641
+ - .scalafix.conf
2642
+ - .scalafmt.conf
2614
2643
  tm_scope: source.hocon
2615
2644
  ace_mode: text
2616
2645
  language_id: 679725279
@@ -2812,6 +2841,15 @@ HolyC:
2812
2841
  codemirror_mode: clike
2813
2842
  codemirror_mime_type: text/x-csrc
2814
2843
  language_id: 928121743
2844
+ Hosts File:
2845
+ type: data
2846
+ color: "#308888"
2847
+ filenames:
2848
+ - HOSTS
2849
+ - hosts
2850
+ tm_scope: source.hosts
2851
+ ace_mode: text
2852
+ language_id: 231021894
2815
2853
  Hy:
2816
2854
  type: programming
2817
2855
  ace_mode: text
@@ -2870,8 +2908,11 @@ INI:
2870
2908
  - ".coveragerc"
2871
2909
  - ".flake8"
2872
2910
  - ".pylintrc"
2911
+ - HOSTS
2873
2912
  - buildozer.spec
2913
+ - hosts
2874
2914
  - pylintrc
2915
+ - vlcrc
2875
2916
  tm_scope: source.ini
2876
2917
  aliases:
2877
2918
  - dosini
@@ -3134,6 +3175,7 @@ JSON with Comments:
3134
3175
  - ".jscsrc"
3135
3176
  - ".jshintrc"
3136
3177
  - ".jslintrc"
3178
+ - ".swcrc"
3137
3179
  - api-extractor.json
3138
3180
  - devcontainer.json
3139
3181
  - jsconfig.json
@@ -3540,7 +3582,7 @@ LOLCODE:
3540
3582
  extensions:
3541
3583
  - ".lol"
3542
3584
  color: "#cc9900"
3543
- tm_scope: none
3585
+ tm_scope: source.lolcode
3544
3586
  ace_mode: text
3545
3587
  language_id: 192
3546
3588
  LSL:
@@ -3773,9 +3815,8 @@ LookML:
3773
3815
  codemirror_mime_type: text/x-yaml
3774
3816
  color: "#652B81"
3775
3817
  extensions:
3818
+ - ".lkml"
3776
3819
  - ".lookml"
3777
- - ".model.lkml"
3778
- - ".view.lkml"
3779
3820
  tm_scope: source.yaml
3780
3821
  language_id: 211
3781
3822
  LoomScript:
@@ -3860,6 +3901,17 @@ MAXScript:
3860
3901
  tm_scope: source.maxscript
3861
3902
  ace_mode: text
3862
3903
  language_id: 217
3904
+ MDX:
3905
+ type: markup
3906
+ color: "#fcb32c"
3907
+ ace_mode: markdown
3908
+ codemirror_mode: gfm
3909
+ codemirror_mime_type: text/x-gfm
3910
+ wrap: true
3911
+ extensions:
3912
+ - ".mdx"
3913
+ tm_scope: source.mdx
3914
+ language_id: 512838272
3863
3915
  MLIR:
3864
3916
  type: programming
3865
3917
  color: "#5EC8DB"
@@ -3967,6 +4019,7 @@ Markdown:
3967
4019
  type: prose
3968
4020
  color: "#083fa1"
3969
4021
  aliases:
4022
+ - md
3970
4023
  - pandoc
3971
4024
  ace_mode: markdown
3972
4025
  codemirror_mode: gfm
@@ -3978,7 +4031,6 @@ Markdown:
3978
4031
  - ".markdown"
3979
4032
  - ".mdown"
3980
4033
  - ".mdwn"
3981
- - ".mdx"
3982
4034
  - ".mkd"
3983
4035
  - ".mkdn"
3984
4036
  - ".mkdown"
@@ -3987,7 +4039,7 @@ Markdown:
3987
4039
  - ".workbook"
3988
4040
  filenames:
3989
4041
  - contents.lr
3990
- tm_scope: source.gfm
4042
+ tm_scope: text.md
3991
4043
  language_id: 222
3992
4044
  Marko:
3993
4045
  type: markup
@@ -4356,7 +4408,7 @@ Nasal:
4356
4408
  color: "#1d2c4e"
4357
4409
  extensions:
4358
4410
  - ".nas"
4359
- tm_scope: none
4411
+ tm_scope: source.nasal
4360
4412
  ace_mode: text
4361
4413
  language_id: 178322513
4362
4414
  Nearley:
@@ -4524,6 +4576,21 @@ Nunjucks:
4524
4576
  tm_scope: text.html.nunjucks
4525
4577
  ace_mode: nunjucks
4526
4578
  language_id: 461856962
4579
+ Nushell:
4580
+ type: programming
4581
+ color: "#4E9906"
4582
+ extensions:
4583
+ - ".nu"
4584
+ interpreters:
4585
+ - nu
4586
+ aliases:
4587
+ - nu-script
4588
+ - nushell-script
4589
+ tm_scope: source.nushell
4590
+ ace_mode: sh
4591
+ codemirror_mode: shell
4592
+ codemirror_mime_type: text/x-sh
4593
+ language_id: 446573572
4527
4594
  OASv2-json:
4528
4595
  type: data
4529
4596
  color: "#85ea2d"
@@ -4575,7 +4642,7 @@ OCaml:
4575
4642
  ace_mode: ocaml
4576
4643
  codemirror_mode: mllike
4577
4644
  codemirror_mime_type: text/x-ocaml
4578
- color: "#3be133"
4645
+ color: "#ef7a08"
4579
4646
  extensions:
4580
4647
  - ".ml"
4581
4648
  - ".eliom"
@@ -4936,6 +5003,14 @@ POV-Ray SDL:
4936
5003
  tm_scope: source.pov-ray sdl
4937
5004
  ace_mode: text
4938
5005
  language_id: 275
5006
+ Pact:
5007
+ type: programming
5008
+ color: "#F7A8B8"
5009
+ ace_mode: text
5010
+ tm_scope: source.pact
5011
+ extensions:
5012
+ - ".pact"
5013
+ language_id: 756774415
4939
5014
  Pan:
4940
5015
  type: programming
4941
5016
  color: "#cc0000"
@@ -5282,6 +5357,7 @@ Propeller Spin:
5282
5357
  Protocol Buffer:
5283
5358
  type: data
5284
5359
  aliases:
5360
+ - proto
5285
5361
  - protobuf
5286
5362
  - Protocol Buffers
5287
5363
  extensions:
@@ -5512,6 +5588,17 @@ RAML:
5512
5588
  extensions:
5513
5589
  - ".raml"
5514
5590
  language_id: 308
5591
+ RBS:
5592
+ type: data
5593
+ ace_mode: ruby
5594
+ codemirror_mode: ruby
5595
+ codemirror_mime_type: text/x-ruby
5596
+ extensions:
5597
+ - ".rbs"
5598
+ color: "#701516"
5599
+ tm_scope: source.rbs
5600
+ group: Ruby
5601
+ language_id: 899227493
5515
5602
  RDoc:
5516
5603
  type: prose
5517
5604
  color: "#701516"
@@ -5558,7 +5645,7 @@ RMarkdown:
5558
5645
  extensions:
5559
5646
  - ".qmd"
5560
5647
  - ".rmd"
5561
- tm_scope: source.gfm
5648
+ tm_scope: text.md
5562
5649
  language_id: 313
5563
5650
  RPC:
5564
5651
  type: programming
@@ -6013,6 +6100,8 @@ Rust:
6013
6100
  ace_mode: rust
6014
6101
  codemirror_mode: rust
6015
6102
  codemirror_mime_type: text/x-rustsrc
6103
+ interpreters:
6104
+ - rust-script
6016
6105
  language_id: 327
6017
6106
  SAS:
6018
6107
  type: programming
@@ -6320,6 +6409,7 @@ Shell:
6320
6409
  - ".sh.in"
6321
6410
  - ".tmux"
6322
6411
  - ".tool"
6412
+ - ".trigger"
6323
6413
  - ".zsh"
6324
6414
  - ".zsh-theme"
6325
6415
  filenames:
@@ -6726,6 +6816,14 @@ TI Program:
6726
6816
  - ".8xp.txt"
6727
6817
  language_id: 422
6728
6818
  tm_scope: none
6819
+ TL-Verilog:
6820
+ type: programming
6821
+ extensions:
6822
+ - ".tlv"
6823
+ tm_scope: source.tlverilog
6824
+ ace_mode: verilog
6825
+ color: "#C40023"
6826
+ language_id: 118656070
6729
6827
  TLA:
6730
6828
  type: programming
6731
6829
  color: "#4b0079"
@@ -7106,7 +7204,7 @@ VBA:
7106
7204
  - ".cls"
7107
7205
  - ".frm"
7108
7206
  - ".vba"
7109
- tm_scope: source.vbnet
7207
+ tm_scope: source.vba
7110
7208
  aliases:
7111
7209
  - visual basic for applications
7112
7210
  ace_mode: text
@@ -7262,6 +7360,7 @@ Visual Basic 6.0:
7262
7360
  type: programming
7263
7361
  color: "#2c6353"
7264
7362
  extensions:
7363
+ - ".bas"
7265
7364
  - ".cls"
7266
7365
  - ".ctl"
7267
7366
  - ".Dsr"
@@ -7303,6 +7402,24 @@ Vyper:
7303
7402
  ace_mode: text
7304
7403
  tm_scope: source.vyper
7305
7404
  language_id: 1055641948
7405
+ WDL:
7406
+ aliases:
7407
+ - Workflow Description Language
7408
+ type: programming
7409
+ color: "#42f1f4"
7410
+ extensions:
7411
+ - ".wdl"
7412
+ tm_scope: source.wdl
7413
+ ace_mode: text
7414
+ language_id: 374521672
7415
+ WGSL:
7416
+ type: programming
7417
+ color: "#1a5e9a"
7418
+ extensions:
7419
+ - ".wgsl"
7420
+ tm_scope: source.wgsl
7421
+ ace_mode: text
7422
+ language_id: 836605993
7306
7423
  Wavefront Material:
7307
7424
  type: data
7308
7425
  extensions:
@@ -7339,6 +7456,18 @@ WebAssembly:
7339
7456
  codemirror_mode: commonlisp
7340
7457
  codemirror_mime_type: text/x-common-lisp
7341
7458
  language_id: 956556503
7459
+ WebAssembly Interface Type:
7460
+ type: data
7461
+ color: "#6250e7"
7462
+ extensions:
7463
+ - ".wit"
7464
+ aliases:
7465
+ - wit
7466
+ ace_mode: text
7467
+ tm_scope: source.wit
7468
+ codemirror_mode: webidl
7469
+ codemirror_mime_type: text/x-webidl
7470
+ language_id: 134534086
7342
7471
  WebIDL:
7343
7472
  type: programming
7344
7473
  extensions:
@@ -8060,14 +8189,6 @@ sed:
8060
8189
  ace_mode: text
8061
8190
  tm_scope: source.sed
8062
8191
  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
8192
  wisp:
8072
8193
  type: programming
8073
8194
  ace_mode: clojure