🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
862 lines
14 KiB
TypeScript
Executable File
862 lines
14 KiB
TypeScript
Executable File
type LanguageName =
|
|
| '1C Enterprise'
|
|
| '2-Dimensional Array'
|
|
| '4D'
|
|
| 'ABAP'
|
|
| 'ABAP CDS'
|
|
| 'ABNF'
|
|
| 'AGS Script'
|
|
| 'AIDL'
|
|
| 'AL'
|
|
| 'AMPL'
|
|
| 'ANTLR'
|
|
| 'API Blueprint'
|
|
| 'APL'
|
|
| 'ASL'
|
|
| 'ASN.1'
|
|
| 'ASP.NET'
|
|
| 'ATS'
|
|
| 'ActionScript'
|
|
| 'Ada'
|
|
| 'Adblock Filter List'
|
|
| 'Adobe Font Metrics'
|
|
| 'Agda'
|
|
| 'Aiken'
|
|
| 'Alloy'
|
|
| 'Alpine Abuild'
|
|
| 'Altium Designer'
|
|
| 'AngelScript'
|
|
| 'Answer Set Programming'
|
|
| 'Ant Build System'
|
|
| 'Antlers'
|
|
| 'ApacheConf'
|
|
| 'Apex'
|
|
| 'Apollo Guidance Computer'
|
|
| 'AppleScript'
|
|
| 'Arc'
|
|
| 'AsciiDoc'
|
|
| 'AspectJ'
|
|
| 'Assembly'
|
|
| 'Astro'
|
|
| 'Asymptote'
|
|
| 'Augeas'
|
|
| 'AutoHotkey'
|
|
| 'AutoIt'
|
|
| 'Avro IDL'
|
|
| 'Awk'
|
|
| 'B4X'
|
|
| 'BASIC'
|
|
| 'BQN'
|
|
| 'Ballerina'
|
|
| 'Batchfile'
|
|
| 'Beef'
|
|
| 'Befunge'
|
|
| 'Berry'
|
|
| 'BibTeX'
|
|
| 'BibTeX Style'
|
|
| 'Bicep'
|
|
| 'Bikeshed'
|
|
| 'Bison'
|
|
| 'BitBake'
|
|
| 'Blade'
|
|
| 'BlitzBasic'
|
|
| 'BlitzMax'
|
|
| 'Bluespec'
|
|
| 'Bluespec BH'
|
|
| 'Boo'
|
|
| 'Boogie'
|
|
| 'Brainfuck'
|
|
| 'BrighterScript'
|
|
| 'Brightscript'
|
|
| 'Browserslist'
|
|
| 'BuildStream'
|
|
| 'C'
|
|
| 'C#'
|
|
| 'C++'
|
|
| 'C-ObjDump'
|
|
| 'C2hs Haskell'
|
|
| 'C3'
|
|
| 'CAP CDS'
|
|
| 'CIL'
|
|
| 'CLIPS'
|
|
| 'CMake'
|
|
| 'COBOL'
|
|
| 'CODEOWNERS'
|
|
| 'COLLADA'
|
|
| 'CSON'
|
|
| 'CSS'
|
|
| 'CSV'
|
|
| 'CUE'
|
|
| 'CWeb'
|
|
| 'Cabal Config'
|
|
| 'Caddyfile'
|
|
| 'Cadence'
|
|
| 'Cairo'
|
|
| 'Cairo Zero'
|
|
| 'CameLIGO'
|
|
| "Cap'n Proto"
|
|
| 'Carbon'
|
|
| 'CartoCSS'
|
|
| 'Ceylon'
|
|
| 'Chapel'
|
|
| 'Charity'
|
|
| 'Checksums'
|
|
| 'ChucK'
|
|
| 'Circom'
|
|
| 'Cirru'
|
|
| 'Clarion'
|
|
| 'Clarity'
|
|
| 'Classic ASP'
|
|
| 'Clean'
|
|
| 'Click'
|
|
| 'Clojure'
|
|
| 'Closure Templates'
|
|
| 'Cloud Firestore Security Rules'
|
|
| 'Clue'
|
|
| 'CoNLL-U'
|
|
| 'CodeQL'
|
|
| 'CoffeeScript'
|
|
| 'ColdFusion'
|
|
| 'ColdFusion CFC'
|
|
| 'Common Lisp'
|
|
| 'Common Workflow Language'
|
|
| 'Component Pascal'
|
|
| 'Cooklang'
|
|
| 'Cool'
|
|
| 'Cpp-ObjDump'
|
|
| 'Creole'
|
|
| 'Crystal'
|
|
| 'Csound'
|
|
| 'Csound Document'
|
|
| 'Csound Score'
|
|
| 'Cuda'
|
|
| 'Cue Sheet'
|
|
| 'Curry'
|
|
| 'Cycript'
|
|
| 'Cylc'
|
|
| 'Cypher'
|
|
| 'Cython'
|
|
| 'D'
|
|
| 'D-ObjDump'
|
|
| 'D2'
|
|
| 'DIGITAL Command Language'
|
|
| 'DM'
|
|
| 'DNS Zone'
|
|
| 'DTrace'
|
|
| 'Dafny'
|
|
| 'Darcs Patch'
|
|
| 'Dart'
|
|
| 'Daslang'
|
|
| 'DataWeave'
|
|
| 'Debian Package Control File'
|
|
| 'DenizenScript'
|
|
| 'Dhall'
|
|
| 'Diff'
|
|
| 'DirectX 3D File'
|
|
| 'Dockerfile'
|
|
| 'Dogescript'
|
|
| 'Dotenv'
|
|
| 'Dune'
|
|
| 'Dylan'
|
|
| 'E'
|
|
| 'E-mail'
|
|
| 'EBNF'
|
|
| 'ECL'
|
|
| 'ECLiPSe'
|
|
| 'EJS'
|
|
| 'EQ'
|
|
| 'Eagle'
|
|
| 'Earthly'
|
|
| 'Easybuild'
|
|
| 'Ecere Projects'
|
|
| 'Ecmarkup'
|
|
| 'Edge'
|
|
| 'EdgeQL'
|
|
| 'EditorConfig'
|
|
| 'Edje Data Collection'
|
|
| 'Eiffel'
|
|
| 'Elixir'
|
|
| 'Elm'
|
|
| 'Elvish'
|
|
| 'Elvish Transcript'
|
|
| 'Emacs Lisp'
|
|
| 'EmberScript'
|
|
| 'Erlang'
|
|
| 'Euphoria'
|
|
| 'F#'
|
|
| 'F*'
|
|
| 'FIGlet Font'
|
|
| 'FIRRTL'
|
|
| 'FLUX'
|
|
| 'Factor'
|
|
| 'Fancy'
|
|
| 'Fantom'
|
|
| 'Faust'
|
|
| 'Fennel'
|
|
| 'Filebench WML'
|
|
| 'Filterscript'
|
|
| 'Fluent'
|
|
| 'Formatted'
|
|
| 'Forth'
|
|
| 'Fortran'
|
|
| 'Fortran Free Form'
|
|
| 'FreeBASIC'
|
|
| 'FreeMarker'
|
|
| 'Frege'
|
|
| 'Futhark'
|
|
| 'G-code'
|
|
| 'GAML'
|
|
| 'GAMS'
|
|
| 'GAP'
|
|
| 'GCC Machine Description'
|
|
| 'GDB'
|
|
| 'GDScript'
|
|
| 'GDShader'
|
|
| 'GEDCOM'
|
|
| 'GLSL'
|
|
| 'GN'
|
|
| 'GSC'
|
|
| 'Game Maker Language'
|
|
| 'Gemfile.lock'
|
|
| 'Gemini'
|
|
| 'Genero 4gl'
|
|
| 'Genero per'
|
|
| 'Genie'
|
|
| 'Genshi'
|
|
| 'Gentoo Ebuild'
|
|
| 'Gentoo Eclass'
|
|
| 'Gerber Image'
|
|
| 'Gettext Catalog'
|
|
| 'Gherkin'
|
|
| 'Git Attributes'
|
|
| 'Git Config'
|
|
| 'Git Revision List'
|
|
| 'Gleam'
|
|
| 'Glimmer JS'
|
|
| 'Glimmer TS'
|
|
| 'Glyph'
|
|
| 'Glyph Bitmap Distribution Format'
|
|
| 'Gnuplot'
|
|
| 'Go'
|
|
| 'Go Checksums'
|
|
| 'Go Module'
|
|
| 'Go Workspace'
|
|
| 'Godot Resource'
|
|
| 'Golo'
|
|
| 'Gosu'
|
|
| 'Grace'
|
|
| 'Gradle'
|
|
| 'Gradle Kotlin DSL'
|
|
| 'Grammatical Framework'
|
|
| 'Graph Modeling Language'
|
|
| 'GraphQL'
|
|
| 'Graphviz (DOT)'
|
|
| 'Groovy'
|
|
| 'Groovy Server Pages'
|
|
| 'HAProxy'
|
|
| 'HCL'
|
|
| 'HIP'
|
|
| 'HLSL'
|
|
| 'HOCON'
|
|
| 'HTML'
|
|
| 'HTML+ECR'
|
|
| 'HTML+EEX'
|
|
| 'HTML+ERB'
|
|
| 'HTML+PHP'
|
|
| 'HTML+Razor'
|
|
| 'HTTP'
|
|
| 'HXML'
|
|
| 'Hack'
|
|
| 'Haml'
|
|
| 'Handlebars'
|
|
| 'Harbour'
|
|
| 'Hare'
|
|
| 'Haskell'
|
|
| 'Haxe'
|
|
| 'HiveQL'
|
|
| 'HolyC'
|
|
| 'Hosts File'
|
|
| 'Hy'
|
|
| 'HyPhy'
|
|
| 'IDL'
|
|
| 'IGOR Pro'
|
|
| 'INI'
|
|
| 'IRC log'
|
|
| 'ISPC'
|
|
| 'Idris'
|
|
| 'Ignore List'
|
|
| 'ImageJ Macro'
|
|
| 'Imba'
|
|
| 'Inform 7'
|
|
| 'Ink'
|
|
| 'Inno Setup'
|
|
| 'Io'
|
|
| 'Ioke'
|
|
| 'Isabelle'
|
|
| 'Isabelle ROOT'
|
|
| 'J'
|
|
| 'JAR Manifest'
|
|
| 'JCL'
|
|
| 'JFlex'
|
|
| 'JSON'
|
|
| 'JSON with Comments'
|
|
| 'JSON5'
|
|
| 'JSONLD'
|
|
| 'JSONiq'
|
|
| 'Jai'
|
|
| 'Janet'
|
|
| 'Jasmin'
|
|
| 'Java'
|
|
| 'Java Properties'
|
|
| 'Java Server Pages'
|
|
| 'Java Template Engine'
|
|
| 'JavaScript'
|
|
| 'JavaScript+ERB'
|
|
| 'Jest Snapshot'
|
|
| 'JetBrains MPS'
|
|
| 'Jinja'
|
|
| 'Jison'
|
|
| 'Jison Lex'
|
|
| 'Jolie'
|
|
| 'Jsonnet'
|
|
| 'Julia'
|
|
| 'Julia REPL'
|
|
| 'Jupyter Notebook'
|
|
| 'Just'
|
|
| 'KDL'
|
|
| 'KRL'
|
|
| 'Kaitai Struct'
|
|
| 'KakouneScript'
|
|
| 'KerboScript'
|
|
| 'KiCad Layout'
|
|
| 'KiCad Legacy Layout'
|
|
| 'KiCad Schematic'
|
|
| 'Kickstart'
|
|
| 'Kit'
|
|
| 'Koka'
|
|
| 'Kotlin'
|
|
| 'Kusto'
|
|
| 'LFE'
|
|
| 'LLVM'
|
|
| 'LOLCODE'
|
|
| 'LSL'
|
|
| 'LTspice Symbol'
|
|
| 'LabVIEW'
|
|
| 'Lark'
|
|
| 'Lasso'
|
|
| 'Latte'
|
|
| 'Lean'
|
|
| 'Lean 4'
|
|
| 'Leo'
|
|
| 'Less'
|
|
| 'Lex'
|
|
| 'LigoLANG'
|
|
| 'LilyPond'
|
|
| 'Limbo'
|
|
| 'Linear Programming'
|
|
| 'Linker Script'
|
|
| 'Linux Kernel Module'
|
|
| 'Liquid'
|
|
| 'Literate Agda'
|
|
| 'Literate CoffeeScript'
|
|
| 'Literate Haskell'
|
|
| 'LiveCode Script'
|
|
| 'LiveScript'
|
|
| 'Logos'
|
|
| 'Logtalk'
|
|
| 'LookML'
|
|
| 'LoomScript'
|
|
| 'Lua'
|
|
| 'Luau'
|
|
| 'M'
|
|
| 'M3U'
|
|
| 'M4'
|
|
| 'M4Sugar'
|
|
| 'MATLAB'
|
|
| 'MAXScript'
|
|
| 'MDX'
|
|
| 'MLIR'
|
|
| 'MQL4'
|
|
| 'MQL5'
|
|
| 'MTML'
|
|
| 'MUF'
|
|
| 'Macaulay2'
|
|
| 'Makefile'
|
|
| 'Mako'
|
|
| 'Markdown'
|
|
| 'Marko'
|
|
| 'Mask'
|
|
| 'Mathematica'
|
|
| 'Maven POM'
|
|
| 'Max'
|
|
| 'Mercury'
|
|
| 'Mermaid'
|
|
| 'Meson'
|
|
| 'Metal'
|
|
| 'Microsoft Developer Studio Project'
|
|
| 'Microsoft Visual Studio Solution'
|
|
| 'MiniD'
|
|
| 'MiniYAML'
|
|
| 'MiniZinc'
|
|
| 'MiniZinc Data'
|
|
| 'Mint'
|
|
| 'Mirah'
|
|
| 'Modelica'
|
|
| 'Modula-2'
|
|
| 'Modula-3'
|
|
| 'Module Management System'
|
|
| 'Mojo'
|
|
| 'Monkey'
|
|
| 'Monkey C'
|
|
| 'Moocode'
|
|
| 'MoonBit'
|
|
| 'MoonScript'
|
|
| 'Motoko'
|
|
| 'Motorola 68K Assembly'
|
|
| 'Move'
|
|
| 'Muse'
|
|
| 'Mustache'
|
|
| 'Myghty'
|
|
| 'NASL'
|
|
| 'NCL'
|
|
| 'NEON'
|
|
| 'NL'
|
|
| 'NMODL'
|
|
| 'NPM Config'
|
|
| 'NSIS'
|
|
| 'NWScript'
|
|
| 'Nasal'
|
|
| 'Nearley'
|
|
| 'Nemerle'
|
|
| 'NetLinx'
|
|
| 'NetLinx+ERB'
|
|
| 'NetLogo'
|
|
| 'NewLisp'
|
|
| 'Nextflow'
|
|
| 'Nginx'
|
|
| 'Nickel'
|
|
| 'Nim'
|
|
| 'Ninja'
|
|
| 'Nit'
|
|
| 'Nix'
|
|
| 'Noir'
|
|
| 'Nu'
|
|
| 'NumPy'
|
|
| 'Nunjucks'
|
|
| 'Nushell'
|
|
| 'OASv2-json'
|
|
| 'OASv2-yaml'
|
|
| 'OASv3-json'
|
|
| 'OASv3-yaml'
|
|
| 'OCaml'
|
|
| 'OMNeT++ MSG'
|
|
| 'OMNeT++ NED'
|
|
| 'Oberon'
|
|
| 'ObjDump'
|
|
| 'Object Data Instance Notation'
|
|
| 'ObjectScript'
|
|
| 'Objective-C'
|
|
| 'Objective-C++'
|
|
| 'Objective-J'
|
|
| 'Odin'
|
|
| 'Omgrofl'
|
|
| 'Opa'
|
|
| 'Opal'
|
|
| 'Open Policy Agent'
|
|
| 'OpenAPI Specification v2'
|
|
| 'OpenAPI Specification v3'
|
|
| 'OpenCL'
|
|
| 'OpenEdge ABL'
|
|
| 'OpenQASM'
|
|
| 'OpenRC runscript'
|
|
| 'OpenSCAD'
|
|
| 'OpenStep Property List'
|
|
| 'OpenType Feature File'
|
|
| 'Option List'
|
|
| 'Org'
|
|
| 'OverpassQL'
|
|
| 'Ox'
|
|
| 'Oxygene'
|
|
| 'Oz'
|
|
| 'P4'
|
|
| 'PDDL'
|
|
| 'PEG.js'
|
|
| 'PHP'
|
|
| 'PLSQL'
|
|
| 'PLpgSQL'
|
|
| 'POV-Ray SDL'
|
|
| 'Pact'
|
|
| 'Pan'
|
|
| 'Papyrus'
|
|
| 'Parrot'
|
|
| 'Parrot Assembly'
|
|
| 'Parrot Internal Representation'
|
|
| 'Pascal'
|
|
| 'Pawn'
|
|
| 'Pep8'
|
|
| 'Perl'
|
|
| 'Pic'
|
|
| 'Pickle'
|
|
| 'PicoLisp'
|
|
| 'PigLatin'
|
|
| 'Pike'
|
|
| 'Pip Requirements'
|
|
| 'Pkl'
|
|
| 'PlantUML'
|
|
| 'Pod'
|
|
| 'Pod 6'
|
|
| 'PogoScript'
|
|
| 'Polar'
|
|
| 'Pony'
|
|
| 'Portugol'
|
|
| 'PostCSS'
|
|
| 'PostScript'
|
|
| 'PowerBuilder'
|
|
| 'PowerShell'
|
|
| 'Praat'
|
|
| 'Prisma'
|
|
| 'Processing'
|
|
| 'Procfile'
|
|
| 'Proguard'
|
|
| 'Prolog'
|
|
| 'Promela'
|
|
| 'Propeller Spin'
|
|
| 'Protocol Buffer'
|
|
| 'Protocol Buffer Text Format'
|
|
| 'Public Key'
|
|
| 'Pug'
|
|
| 'Puppet'
|
|
| 'Pure Data'
|
|
| 'PureBasic'
|
|
| 'PureScript'
|
|
| 'Pyret'
|
|
| 'Python'
|
|
| 'Python console'
|
|
| 'Python traceback'
|
|
| 'Q#'
|
|
| 'QML'
|
|
| 'QMake'
|
|
| 'Qt Script'
|
|
| 'Quake'
|
|
| 'QuakeC'
|
|
| 'QuickBASIC'
|
|
| 'R'
|
|
| 'RAML'
|
|
| 'RBS'
|
|
| 'RDoc'
|
|
| 'REALbasic'
|
|
| 'REXX'
|
|
| 'RMarkdown'
|
|
| 'RON'
|
|
| 'ROS Interface'
|
|
| 'RPC'
|
|
| 'RPGLE'
|
|
| 'RPM Spec'
|
|
| 'RUNOFF'
|
|
| 'Racket'
|
|
| 'Ragel'
|
|
| 'Raku'
|
|
| 'Rascal'
|
|
| 'Raw token data'
|
|
| 'ReScript'
|
|
| 'Readline Config'
|
|
| 'Reason'
|
|
| 'ReasonLIGO'
|
|
| 'Rebol'
|
|
| 'Record Jar'
|
|
| 'Red'
|
|
| 'Redcode'
|
|
| 'Redirect Rules'
|
|
| 'Regular Expression'
|
|
| "Ren'Py"
|
|
| 'RenderScript'
|
|
| 'Rez'
|
|
| 'Rich Text Format'
|
|
| 'Ring'
|
|
| 'Riot'
|
|
| 'RobotFramework'
|
|
| 'Roc'
|
|
| 'Rocq Prover'
|
|
| 'Roff'
|
|
| 'Roff Manpage'
|
|
| 'Rouge'
|
|
| 'RouterOS Script'
|
|
| 'Ruby'
|
|
| 'Rust'
|
|
| 'SAS'
|
|
| 'SCSS'
|
|
| 'SELinux Policy'
|
|
| 'SMT'
|
|
| 'SPARQL'
|
|
| 'SQF'
|
|
| 'SQL'
|
|
| 'SQLPL'
|
|
| 'SRecode Template'
|
|
| 'SSH Config'
|
|
| 'STAR'
|
|
| 'STL'
|
|
| 'STON'
|
|
| 'SVG'
|
|
| 'SWIG'
|
|
| 'Sage'
|
|
| 'Sail'
|
|
| 'SaltStack'
|
|
| 'Sass'
|
|
| 'Scala'
|
|
| 'Scaml'
|
|
| 'Scenic'
|
|
| 'Scheme'
|
|
| 'Scilab'
|
|
| 'Self'
|
|
| 'ShaderLab'
|
|
| 'Shell'
|
|
| 'ShellCheck Config'
|
|
| 'ShellSession'
|
|
| 'Shen'
|
|
| 'Sieve'
|
|
| 'Simple File Verification'
|
|
| 'Singularity'
|
|
| 'Slang'
|
|
| 'Slash'
|
|
| 'Slice'
|
|
| 'Slim'
|
|
| 'Slint'
|
|
| 'SmPL'
|
|
| 'Smali'
|
|
| 'Smalltalk'
|
|
| 'Smarty'
|
|
| 'Smithy'
|
|
| 'Snakemake'
|
|
| 'Solidity'
|
|
| 'Soong'
|
|
| 'SourcePawn'
|
|
| 'Spline Font Database'
|
|
| 'Squirrel'
|
|
| 'Stan'
|
|
| 'Standard ML'
|
|
| 'Starlark'
|
|
| 'Stata'
|
|
| 'StringTemplate'
|
|
| 'Stylus'
|
|
| 'SubRip Text'
|
|
| 'SugarSS'
|
|
| 'SuperCollider'
|
|
| 'Survex data'
|
|
| 'Svelte'
|
|
| 'Sway'
|
|
| 'Sweave'
|
|
| 'Swift'
|
|
| 'SystemVerilog'
|
|
| 'TI Program'
|
|
| 'TL-Verilog'
|
|
| 'TLA'
|
|
| 'TOML'
|
|
| 'TSPLIB data'
|
|
| 'TSQL'
|
|
| 'TSV'
|
|
| 'TSX'
|
|
| 'TXL'
|
|
| 'Tact'
|
|
| 'Talon'
|
|
| 'Tcl'
|
|
| 'Tcsh'
|
|
| 'TeX'
|
|
| 'Tea'
|
|
| 'Terra'
|
|
| 'Terraform Template'
|
|
| 'Texinfo'
|
|
| 'Text'
|
|
| 'TextGrid'
|
|
| 'TextMate Properties'
|
|
| 'Textile'
|
|
| 'Thrift'
|
|
| 'Toit'
|
|
| 'Tor Config'
|
|
| 'Tree-sitter Query'
|
|
| 'Turing'
|
|
| 'Turtle'
|
|
| 'Twig'
|
|
| 'Type Language'
|
|
| 'TypeScript'
|
|
| 'TypeSpec'
|
|
| 'Typst'
|
|
| 'Unified Parallel C'
|
|
| 'Unity3D Asset'
|
|
| 'Unix Assembly'
|
|
| 'Uno'
|
|
| 'UnrealScript'
|
|
| 'Untyped Plutus Core'
|
|
| 'UrWeb'
|
|
| 'V'
|
|
| 'VBA'
|
|
| 'VBScript'
|
|
| 'VCL'
|
|
| 'VHDL'
|
|
| 'Vala'
|
|
| 'Valve Data Format'
|
|
| 'Velocity Template Language'
|
|
| 'Vento'
|
|
| 'Verilog'
|
|
| 'Vim Help File'
|
|
| 'Vim Script'
|
|
| 'Vim Snippet'
|
|
| 'Visual Basic .NET'
|
|
| 'Visual Basic 6.0'
|
|
| 'Volt'
|
|
| 'Vue'
|
|
| 'Vyper'
|
|
| 'WDL'
|
|
| 'WGSL'
|
|
| 'Wavefront Material'
|
|
| 'Wavefront Object'
|
|
| 'Web Ontology Language'
|
|
| 'WebAssembly'
|
|
| 'WebAssembly Interface Type'
|
|
| 'WebIDL'
|
|
| 'WebVTT'
|
|
| 'Wget Config'
|
|
| 'Whiley'
|
|
| 'Wikitext'
|
|
| 'Win32 Message File'
|
|
| 'Windows Registry Entries'
|
|
| 'Witcher Script'
|
|
| 'Wollok'
|
|
| 'World of Warcraft Addon Data'
|
|
| 'Wren'
|
|
| 'X BitMap'
|
|
| 'X Font Directory Index'
|
|
| 'X PixMap'
|
|
| 'X10'
|
|
| 'XC'
|
|
| 'XCompose'
|
|
| 'XML'
|
|
| 'XML Property List'
|
|
| 'XPages'
|
|
| 'XProc'
|
|
| 'XQuery'
|
|
| 'XS'
|
|
| 'XSLT'
|
|
| 'Xmake'
|
|
| 'Xojo'
|
|
| 'Xonsh'
|
|
| 'Xtend'
|
|
| 'YAML'
|
|
| 'YANG'
|
|
| 'YARA'
|
|
| 'YASnippet'
|
|
| 'Yacc'
|
|
| 'Yul'
|
|
| 'ZAP'
|
|
| 'ZIL'
|
|
| 'Zeek'
|
|
| 'ZenScript'
|
|
| 'Zephir'
|
|
| 'Zig'
|
|
| 'Zimpl'
|
|
| 'Zmodel'
|
|
| 'cURL Config'
|
|
| 'crontab'
|
|
| 'desktop'
|
|
| 'dircolors'
|
|
| 'eC'
|
|
| 'edn'
|
|
| 'fish'
|
|
| 'hoon'
|
|
| 'iCalendar'
|
|
| 'jq'
|
|
| 'kvlang'
|
|
| 'mIRC Script'
|
|
| 'mcfunction'
|
|
| 'mdsvex'
|
|
| 'mupad'
|
|
| 'nanorc'
|
|
| 'nesC'
|
|
| 'ooc'
|
|
| 'q'
|
|
| 'reStructuredText'
|
|
| 'robots.txt'
|
|
| 'sed'
|
|
| 'templ'
|
|
| 'vCard'
|
|
| 'wisp'
|
|
| 'xBase'
|
|
|
|
declare const LinguistLanguages: Record<
|
|
LanguageName,
|
|
LinguistLanguages.Language
|
|
>
|
|
|
|
declare namespace LinguistLanguages {
|
|
interface Language {
|
|
/**
|
|
* Language name.
|
|
*/
|
|
readonly name: string
|
|
/**
|
|
* Either "data", "programming", "markup" or "prose".
|
|
*/
|
|
readonly type: string
|
|
/**
|
|
* Ace mode used when editing files which use the language. This must match
|
|
* one of the names in https://gh.io/acemodes. Use "text" if no mode exists.
|
|
*/
|
|
readonly aceMode: string
|
|
/**
|
|
* List of associated file extensions, sorted in ascending ASCII order,
|
|
* except for the language's primary extension, which is always listed first.
|
|
*/
|
|
readonly extensions?: readonly string[]
|
|
/**
|
|
* List of associated filenames, sorted in ascending ASCII order.
|
|
* May be omitted if the extensions field is present (and vice versa).
|
|
*/
|
|
readonly filenames?: readonly string[]
|
|
/**
|
|
* Unique identifier used internally by GitHub, generated by running
|
|
* `script/update-ids`. Do not fill out this field manually.
|
|
*/
|
|
readonly languageId: number
|
|
/**
|
|
* The TextMate scope that represents this programming language.
|
|
* This should match one of the scopes listed in grammars.yml.
|
|
* Use "none" if there is no TextMate grammar for this language.
|
|
*/
|
|
readonly tmScope: string
|
|
/**
|
|
* List of additional aliases (implicitly includes lowercased forms of language's name).
|
|
* These are used in fenced code-blocks, code searches by language, and in overrides.
|
|
*/
|
|
readonly aliases?: readonly string[]
|
|
/**
|
|
* CodeMirror 5 mode used when editing files that use the language.
|
|
* This must match one of the names listed here: https://git.io/vi9Fx
|
|
*/
|
|
readonly codemirrorMode?: string
|
|
/**
|
|
* MIME media-type used by CodeMirror 5 for selecting a mode for editing the language.
|
|
* The `mime` types supported by the named mode are listed here: https://git.io/f4SoQ
|
|
*/
|
|
readonly codemirrorMimeType?: string
|
|
/**
|
|
* CSS colour code used to represent the language (format: "#RRGGBB").
|
|
*/
|
|
readonly color?: string
|
|
/**
|
|
* Name of the parent language. Languages in a group contribute to the usage statistics
|
|
* of their parent language.
|
|
*/
|
|
readonly group?: string
|
|
/**
|
|
* List of programs that execute the language (by running and/or compiling it).
|
|
* These are consulted when scrutinising a file's hashbang to determine its language.
|
|
*/
|
|
readonly interpreters?: readonly string[]
|
|
/**
|
|
* Enable soft line-wrapping (default: false)
|
|
*/
|
|
readonly wrap?: boolean
|
|
}
|
|
}
|
|
|
|
export = LinguistLanguages
|