Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 0505269

Browse files
chore: Bump go-enry and Zoekt to handle new languages (#63281)
- Updates enry to include languages from Linguist v7.29.0 such as Mojo etc. - Updates auto-complete filters in frontend code. - Updates Zoekt to pick up newer version with bumped enry dep. - Updates language extension overrides to avoid ambiguity for `.json` and `.yml`. - Updates snapshot tests.
1 parent 75b506c commit 0505269

File tree

8 files changed

+103
-45
lines changed

8 files changed

+103
-45
lines changed

client/common/src/languages.ts

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export const ALL_LANGUAGES = uniq(
128128
'Blade',
129129
'BlitzBasic',
130130
'BlitzMax',
131+
'Bluespec BH',
131132
'Bluespec',
132133
'Boo',
133134
'Boogie',
@@ -163,6 +164,7 @@ export const ALL_LANGUAGES = uniq(
163164
'Charity',
164165
'Checksums',
165166
'ChucK',
167+
'Circom',
166168
'Cirru',
167169
'Clarion',
168170
'Clarity',
@@ -192,9 +194,11 @@ export const ALL_LANGUAGES = uniq(
192194
'Cue Sheet',
193195
'Curry',
194196
'Cycript',
197+
'Cypher',
195198
'Cython',
196199
'D',
197200
'D-ObjDump',
201+
'D2',
198202
'DIGITAL Command Language',
199203
'DM',
200204
'DNS Zone',
@@ -210,6 +214,7 @@ export const ALL_LANGUAGES = uniq(
210214
'DirectX 3D File',
211215
'Dockerfile',
212216
'Dogescript',
217+
'Dotenv',
213218
'Dylan',
214219
'E',
215220
'E-mail',
@@ -222,11 +227,15 @@ export const ALL_LANGUAGES = uniq(
222227
'Earthly',
223228
'Easybuild',
224229
'Ecere Projects',
230+
'Ecmarkup',
231+
'Edge',
232+
'EdgeQL',
225233
'EditorConfig',
226234
'Edje Data Collection',
227235
'Eiffel',
228236
'Elixir',
229237
'Elm',
238+
'Elvish Transcript',
230239
'Elvish',
231240
'Emacs Lisp',
232241
'EmberScript',
@@ -266,8 +275,8 @@ export const ALL_LANGUAGES = uniq(
266275
'Game Maker Language',
267276
'Gemfile.lock',
268277
'Gemini',
269-
'Genero Forms',
270-
'Genero',
278+
'Genero 4gl',
279+
'Genero per',
271280
'Genie',
272281
'Genshi',
273282
'Gentoo Ebuild',
@@ -279,15 +288,20 @@ export const ALL_LANGUAGES = uniq(
279288
'Git Config',
280289
'Git Revision List',
281290
'Gleam',
291+
'Glimmer JS',
292+
'Glimmer TS',
282293
'Glyph Bitmap Distribution Format',
283294
'Glyph',
284295
'Gnuplot',
285296
'Go Checksums',
286297
'Go Module',
298+
'Go Workspace',
287299
'Go',
300+
'Godot Resource',
288301
'Golo',
289302
'Gosu',
290303
'Grace',
304+
'Gradle Kotlin DSL',
291305
'Gradle',
292306
'Grammatical Framework',
293307
'Graph Modeling Language',
@@ -315,6 +329,7 @@ export const ALL_LANGUAGES = uniq(
315329
'Haxe',
316330
'HiveQL',
317331
'HolyC',
332+
'Hosts File',
318333
'Hy',
319334
'HyPhy',
320335
'IDL',
@@ -324,14 +339,17 @@ export const ALL_LANGUAGES = uniq(
324339
'Idris',
325340
'Ignore List',
326341
'ImageJ Macro',
342+
'Imba',
327343
'Inform 7',
344+
'Ink',
328345
'Inno Setup',
329346
'Io',
330347
'Ioke',
331348
'Isabelle ROOT',
332349
'Isabelle',
333350
'J',
334351
'JAR Manifest',
352+
'JCL',
335353
'JFlex',
336354
'JSON with Comments',
337355
'JSON',
@@ -354,12 +372,15 @@ export const ALL_LANGUAGES = uniq(
354372
'Jsonnet',
355373
'Julia',
356374
'Jupyter Notebook',
375+
'Just',
357376
'KRL',
358377
'Kaitai Struct',
359378
'KakouneScript',
379+
'KerboScript',
360380
'KiCad Layout',
361381
'KiCad Legacy Layout',
362382
'KiCad Schematic',
383+
'Kickstart',
363384
'Kit',
364385
'Kotlin',
365386
'Kusto',
@@ -372,6 +393,7 @@ export const ALL_LANGUAGES = uniq(
372393
'Lark',
373394
'Lasso',
374395
'Latte',
396+
'Lean 4',
375397
'Lean',
376398
'Less',
377399
'Lex',
@@ -395,6 +417,7 @@ export const ALL_LANGUAGES = uniq(
395417
'M4Sugar',
396418
'MATLAB',
397419
'MAXScript',
420+
'MDX',
398421
'MLIR',
399422
'MQL4',
400423
'MQL5',
@@ -410,6 +433,7 @@ export const ALL_LANGUAGES = uniq(
410433
'Maven POM',
411434
'Max',
412435
'Mercury',
436+
'Mermaid',
413437
'Meson',
414438
'Metal',
415439
'Microsoft Developer Studio Project',
@@ -422,6 +446,7 @@ export const ALL_LANGUAGES = uniq(
422446
'Modula-2',
423447
'Modula-3',
424448
'Module Management System',
449+
'Mojo',
425450
'Monkey C',
426451
'Monkey',
427452
'Moocode',
@@ -455,7 +480,13 @@ export const ALL_LANGUAGES = uniq(
455480
'Nu',
456481
'NumPy',
457482
'Nunjucks',
483+
'Nushell',
484+
'OASv2-json',
485+
'OASv2-yaml',
486+
'OASv3-json',
487+
'OASv3-yaml',
458488
'OCaml',
489+
'Oberon',
459490
'ObjDump',
460491
'Object Data Instance Notation',
461492
'ObjectScript',
@@ -467,23 +498,28 @@ export const ALL_LANGUAGES = uniq(
467498
'Opa',
468499
'Opal',
469500
'Open Policy Agent',
501+
'OpenAPI Specification v2',
502+
'OpenAPI Specification v3',
470503
'OpenCL',
471504
'OpenEdge ABL',
472505
'OpenQASM',
473506
'OpenRC runscript',
474507
'OpenSCAD',
475508
'OpenStep Property List',
476509
'OpenType Feature File',
510+
'Option List',
477511
'Org',
478512
'Ox',
479513
'Oxygene',
480514
'Oz',
481515
'P4',
516+
'PDDL',
482517
'PEG.js',
483518
'PHP',
484519
'PLSQL',
485520
'PLpgSQL',
486521
'POV-Ray SDL',
522+
'Pact',
487523
'Pan',
488524
'Papyrus',
489525
'Parrot Assembly',
@@ -498,16 +534,19 @@ export const ALL_LANGUAGES = uniq(
498534
'PicoLisp',
499535
'PigLatin',
500536
'Pike',
537+
'Pip Requirements',
501538
'PlantUML',
502539
'Pod 6',
503540
'Pod',
504541
'PogoScript',
542+
'Polar',
505543
'Pony',
506544
'Portugol',
507545
'PostCSS',
508546
'PostScript',
509547
'PowerBuilder',
510548
'PowerShell',
549+
'Praat',
511550
'Prisma',
512551
'Processing',
513552
'Procfile',
@@ -523,6 +562,7 @@ export const ALL_LANGUAGES = uniq(
523562
'Pure Data',
524563
'PureBasic',
525564
'PureScript',
565+
'Pyret',
526566
'Python console',
527567
'Python traceback',
528568
'Python',
@@ -533,6 +573,7 @@ export const ALL_LANGUAGES = uniq(
533573
'Quake',
534574
'R',
535575
'RAML',
576+
'RBS',
536577
'RDoc',
537578
'REALbasic',
538579
'REXX',
@@ -558,10 +599,12 @@ export const ALL_LANGUAGES = uniq(
558599
'Regular Expression',
559600
"Ren'Py",
560601
'RenderScript',
602+
'Rez',
561603
'Rich Text Format',
562604
'Ring',
563605
'Riot',
564606
'RobotFramework',
607+
'Roc',
565608
'Roff Manpage',
566609
'Roff',
567610
'Rouge',
@@ -588,6 +631,7 @@ export const ALL_LANGUAGES = uniq(
588631
'Sass',
589632
'Scala',
590633
'Scaml',
634+
'Scenic',
591635
'Scheme',
592636
'Scilab',
593637
'Self',
@@ -597,14 +641,18 @@ export const ALL_LANGUAGES = uniq(
597641
'ShellSession',
598642
'Shen',
599643
'Sieve',
644+
'Simple File Verification',
600645
'Singularity',
601646
'Slash',
602647
'Slice',
603648
'Slim',
649+
'Slint',
604650
'SmPL',
605651
'Smali',
606652
'Smalltalk',
607653
'Smarty',
654+
'Smithy',
655+
'Snakemake',
608656
'Solidity',
609657
'Soong',
610658
'SourcePawn',
@@ -620,9 +668,12 @@ export const ALL_LANGUAGES = uniq(
620668
'SugarSS',
621669
'SuperCollider',
622670
'Svelte',
671+
'Sway',
672+
'Sweave',
623673
'Swift',
624674
'SystemVerilog',
625675
'TI Program',
676+
'TL-Verilog',
626677
'TLA',
627678
'TOML',
628679
'TSQL',
@@ -635,16 +686,20 @@ export const ALL_LANGUAGES = uniq(
635686
'TeX',
636687
'Tea',
637688
'Terra',
689+
'Terraform Template',
638690
'Texinfo',
639691
'Text',
692+
'TextGrid',
640693
'TextMate Properties',
641694
'Textile',
642695
'Thrift',
696+
'Toit',
643697
'Turing',
644698
'Turtle',
645699
'Twig',
646700
'Type Language',
647701
'TypeScript',
702+
'Typst',
648703
'Unified Parallel C',
649704
'Unity3D Asset',
650705
'Unix Assembly',
@@ -664,12 +719,16 @@ export const ALL_LANGUAGES = uniq(
664719
'Vim Script',
665720
'Vim Snippet',
666721
'Visual Basic .NET',
722+
'Visual Basic 6.0',
667723
'Volt',
668724
'Vue',
669725
'Vyper',
726+
'WDL',
727+
'WGSL',
670728
'Wavefront Material',
671729
'Wavefront Object',
672730
'Web Ontology Language',
731+
'WebAssembly Interface Type',
673732
'WebAssembly',
674733
'WebIDL',
675734
'WebVTT',
@@ -730,7 +789,6 @@ export const ALL_LANGUAGES = uniq(
730789
'reStructuredText',
731790
'robots.txt',
732791
'sed',
733-
'wdl',
734792
'wisp',
735793
'xBase',
736794
])

0 commit comments

Comments
 (0)