123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684 |
- type LanguageName =
- | "1C Enterprise"
- | "4D"
- | "ABAP"
- | "ABAP CDS"
- | "ABNF"
- | "AGS Script"
- | "AIDL"
- | "AL"
- | "AMPL"
- | "ANTLR"
- | "API Blueprint"
- | "APL"
- | "ASL"
- | "ASN.1"
- | "ASP.NET"
- | "ATS"
- | "ActionScript"
- | "Ada"
- | "Adobe Font Metrics"
- | "Agda"
- | "Alloy"
- | "Alpine Abuild"
- | "Altium Designer"
- | "AngelScript"
- | "Ant Build System"
- | "ApacheConf"
- | "Apex"
- | "Apollo Guidance Computer"
- | "AppleScript"
- | "Arc"
- | "AsciiDoc"
- | "AspectJ"
- | "Assembly"
- | "Asymptote"
- | "Augeas"
- | "AutoHotkey"
- | "AutoIt"
- | "Avro IDL"
- | "Awk"
- | "BASIC"
- | "Ballerina"
- | "Batchfile"
- | "Beef"
- | "Befunge"
- | "BibTeX"
- | "Bicep"
- | "Bison"
- | "BitBake"
- | "Blade"
- | "BlitzBasic"
- | "BlitzMax"
- | "Bluespec"
- | "Boo"
- | "Boogie"
- | "Brainfuck"
- | "Brightscript"
- | "Browserslist"
- | "C"
- | "C#"
- | "C++"
- | "C-ObjDump"
- | "C2hs Haskell"
- | "CIL"
- | "CLIPS"
- | "CMake"
- | "COBOL"
- | "CODEOWNERS"
- | "COLLADA"
- | "CSON"
- | "CSS"
- | "CSV"
- | "CUE"
- | "CWeb"
- | "Cabal Config"
- | "Cap'n Proto"
- | "CartoCSS"
- | "Ceylon"
- | "Chapel"
- | "Charity"
- | "ChucK"
- | "Cirru"
- | "Clarion"
- | "Classic ASP"
- | "Clean"
- | "Click"
- | "Clojure"
- | "Closure Templates"
- | "Cloud Firestore Security Rules"
- | "CoNLL-U"
- | "CodeQL"
- | "CoffeeScript"
- | "ColdFusion"
- | "ColdFusion CFC"
- | "Common Lisp"
- | "Common Workflow Language"
- | "Component Pascal"
- | "Cool"
- | "Coq"
- | "Cpp-ObjDump"
- | "Creole"
- | "Crystal"
- | "Csound"
- | "Csound Document"
- | "Csound Score"
- | "Cuda"
- | "Cue Sheet"
- | "Cycript"
- | "Cython"
- | "D"
- | "D-ObjDump"
- | "DIGITAL Command Language"
- | "DM"
- | "DNS Zone"
- | "DTrace"
- | "Dafny"
- | "Darcs Patch"
- | "Dart"
- | "DataWeave"
- | "Dhall"
- | "Diff"
- | "DirectX 3D File"
- | "Dockerfile"
- | "Dogescript"
- | "Dylan"
- | "E"
- | "EBNF"
- | "ECL"
- | "ECLiPSe"
- | "EJS"
- | "EML"
- | "EQ"
- | "Eagle"
- | "Easybuild"
- | "Ecere Projects"
- | "EditorConfig"
- | "Edje Data Collection"
- | "Eiffel"
- | "Elixir"
- | "Elm"
- | "Emacs Lisp"
- | "EmberScript"
- | "Erlang"
- | "F#"
- | "F*"
- | "FIGlet Font"
- | "FLUX"
- | "Factor"
- | "Fancy"
- | "Fantom"
- | "Faust"
- | "Filebench WML"
- | "Filterscript"
- | "Fluent"
- | "Formatted"
- | "Forth"
- | "Fortran"
- | "Fortran Free Form"
- | "FreeBasic"
- | "FreeMarker"
- | "Frege"
- | "Futhark"
- | "G-code"
- | "GAML"
- | "GAMS"
- | "GAP"
- | "GCC Machine Description"
- | "GDB"
- | "GDScript"
- | "GEDCOM"
- | "GLSL"
- | "GN"
- | "Game Maker Language"
- | "Gemfile.lock"
- | "Genie"
- | "Genshi"
- | "Gentoo Ebuild"
- | "Gentoo Eclass"
- | "Gerber Image"
- | "Gettext Catalog"
- | "Gherkin"
- | "Git Attributes"
- | "Git Config"
- | "Glyph"
- | "Glyph Bitmap Distribution Format"
- | "Gnuplot"
- | "Go"
- | "Golo"
- | "Gosu"
- | "Grace"
- | "Gradle"
- | "Grammatical Framework"
- | "Graph Modeling Language"
- | "GraphQL"
- | "Graphviz (DOT)"
- | "Groovy"
- | "Groovy Server Pages"
- | "HAProxy"
- | "HCL"
- | "HLSL"
- | "HTML"
- | "HTML+ECR"
- | "HTML+EEX"
- | "HTML+ERB"
- | "HTML+PHP"
- | "HTML+Razor"
- | "HTTP"
- | "HXML"
- | "Hack"
- | "Haml"
- | "Handlebars"
- | "Harbour"
- | "Haskell"
- | "Haxe"
- | "HiveQL"
- | "HolyC"
- | "Hy"
- | "HyPhy"
- | "IDL"
- | "IGOR Pro"
- | "INI"
- | "IRC log"
- | "Idris"
- | "Ignore List"
- | "ImageJ Macro"
- | "Inform 7"
- | "Inno Setup"
- | "Io"
- | "Ioke"
- | "Isabelle"
- | "Isabelle ROOT"
- | "J"
- | "JFlex"
- | "JSON"
- | "JSON with Comments"
- | "JSON5"
- | "JSONLD"
- | "JSONiq"
- | "Jasmin"
- | "Java"
- | "Java Properties"
- | "Java Server Pages"
- | "JavaScript"
- | "JavaScript+ERB"
- | "Jinja"
- | "Jison"
- | "Jison Lex"
- | "Jolie"
- | "Jsonnet"
- | "Julia"
- | "Jupyter Notebook"
- | "KRL"
- | "Kaitai Struct"
- | "KiCad Layout"
- | "KiCad Legacy Layout"
- | "KiCad Schematic"
- | "Kit"
- | "Kotlin"
- | "Kusto"
- | "LFE"
- | "LLVM"
- | "LOLCODE"
- | "LSL"
- | "LTspice Symbol"
- | "LabVIEW"
- | "Lark"
- | "Lasso"
- | "Latte"
- | "Lean"
- | "Less"
- | "Lex"
- | "LilyPond"
- | "Limbo"
- | "Linker Script"
- | "Linux Kernel Module"
- | "Liquid"
- | "Literate Agda"
- | "Literate CoffeeScript"
- | "Literate Haskell"
- | "LiveScript"
- | "Logos"
- | "Logtalk"
- | "LookML"
- | "LoomScript"
- | "Lua"
- | "M"
- | "M4"
- | "M4Sugar"
- | "MATLAB"
- | "MAXScript"
- | "MLIR"
- | "MQL4"
- | "MQL5"
- | "MTML"
- | "MUF"
- | "Macaulay2"
- | "Makefile"
- | "Mako"
- | "Markdown"
- | "Marko"
- | "Mask"
- | "Mathematica"
- | "Maven POM"
- | "Max"
- | "Mercury"
- | "Meson"
- | "Metal"
- | "Microsoft Developer Studio Project"
- | "Microsoft Visual Studio Solution"
- | "MiniD"
- | "Mirah"
- | "Modelica"
- | "Modula-2"
- | "Modula-3"
- | "Module Management System"
- | "Monkey"
- | "Moocode"
- | "MoonScript"
- | "Motorola 68K Assembly"
- | "Muse"
- | "Mustache"
- | "Myghty"
- | "NASL"
- | "NCL"
- | "NEON"
- | "NL"
- | "NPM Config"
- | "NSIS"
- | "NWScript"
- | "Nearley"
- | "Nemerle"
- | "NetLinx"
- | "NetLinx+ERB"
- | "NetLogo"
- | "NewLisp"
- | "Nextflow"
- | "Nginx"
- | "Nim"
- | "Ninja"
- | "Nit"
- | "Nix"
- | "Nu"
- | "NumPy"
- | "Nunjucks"
- | "OCaml"
- | "ObjDump"
- | "Object Data Instance Notation"
- | "ObjectScript"
- | "Objective-C"
- | "Objective-C++"
- | "Objective-J"
- | "Odin"
- | "Omgrofl"
- | "Opa"
- | "Opal"
- | "Open Policy Agent"
- | "OpenCL"
- | "OpenEdge ABL"
- | "OpenQASM"
- | "OpenRC runscript"
- | "OpenSCAD"
- | "OpenStep Property List"
- | "OpenType Feature File"
- | "Org"
- | "Ox"
- | "Oxygene"
- | "Oz"
- | "P4"
- | "PEG.js"
- | "PHP"
- | "PLSQL"
- | "PLpgSQL"
- | "POV-Ray SDL"
- | "Pan"
- | "Papyrus"
- | "Parrot"
- | "Parrot Assembly"
- | "Parrot Internal Representation"
- | "Pascal"
- | "Pawn"
- | "Pep8"
- | "Perl"
- | "Pic"
- | "Pickle"
- | "PicoLisp"
- | "PigLatin"
- | "Pike"
- | "PlantUML"
- | "Pod"
- | "Pod 6"
- | "PogoScript"
- | "Pony"
- | "PostCSS"
- | "PostScript"
- | "PowerBuilder"
- | "PowerShell"
- | "Prisma"
- | "Processing"
- | "Proguard"
- | "Prolog"
- | "Propeller Spin"
- | "Protocol Buffer"
- | "Public Key"
- | "Pug"
- | "Puppet"
- | "Pure Data"
- | "PureBasic"
- | "PureScript"
- | "Python"
- | "Python console"
- | "Python traceback"
- | "Q#"
- | "QML"
- | "QMake"
- | "Qt Script"
- | "Quake"
- | "R"
- | "RAML"
- | "RDoc"
- | "REALbasic"
- | "REXX"
- | "RMarkdown"
- | "RPC"
- | "RPM Spec"
- | "RUNOFF"
- | "Racket"
- | "Ragel"
- | "Raku"
- | "Rascal"
- | "Raw token data"
- | "ReScript"
- | "Readline Config"
- | "Reason"
- | "Rebol"
- | "Record Jar"
- | "Red"
- | "Redcode"
- | "Redirect Rules"
- | "Regular Expression"
- | "Ren'Py"
- | "RenderScript"
- | "Rich Text Format"
- | "Ring"
- | "Riot"
- | "RobotFramework"
- | "Roff"
- | "Roff Manpage"
- | "Rouge"
- | "Ruby"
- | "Rust"
- | "SAS"
- | "SCSS"
- | "SELinux Policy"
- | "SMT"
- | "SPARQL"
- | "SQF"
- | "SQL"
- | "SQLPL"
- | "SRecode Template"
- | "SSH Config"
- | "STON"
- | "SVG"
- | "SWIG"
- | "Sage"
- | "SaltStack"
- | "Sass"
- | "Scala"
- | "Scaml"
- | "Scheme"
- | "Scilab"
- | "Self"
- | "ShaderLab"
- | "Shell"
- | "ShellSession"
- | "Shen"
- | "Sieve"
- | "Singularity"
- | "Slash"
- | "Slice"
- | "Slim"
- | "SmPL"
- | "Smali"
- | "Smalltalk"
- | "Smarty"
- | "Solidity"
- | "Soong"
- | "SourcePawn"
- | "Spline Font Database"
- | "Squirrel"
- | "Stan"
- | "Standard ML"
- | "Starlark"
- | "Stata"
- | "StringTemplate"
- | "Stylus"
- | "SubRip Text"
- | "SugarSS"
- | "SuperCollider"
- | "Svelte"
- | "Swift"
- | "SystemVerilog"
- | "TI Program"
- | "TLA"
- | "TOML"
- | "TSQL"
- | "TSV"
- | "TSX"
- | "TXL"
- | "Tcl"
- | "Tcsh"
- | "TeX"
- | "Tea"
- | "Terra"
- | "Texinfo"
- | "Text"
- | "TextMate Properties"
- | "Textile"
- | "Thrift"
- | "Turing"
- | "Turtle"
- | "Twig"
- | "Type Language"
- | "TypeScript"
- | "Unified Parallel C"
- | "Unity3D Asset"
- | "Unix Assembly"
- | "Uno"
- | "UnrealScript"
- | "UrWeb"
- | "V"
- | "VBA"
- | "VBScript"
- | "VCL"
- | "VHDL"
- | "Vala"
- | "Valve Data Format"
- | "Verilog"
- | "Vim Help File"
- | "Vim Snippet"
- | "Vim script"
- | "Visual Basic .NET"
- | "Volt"
- | "Vue"
- | "Wavefront Material"
- | "Wavefront Object"
- | "Web Ontology Language"
- | "WebAssembly"
- | "WebIDL"
- | "WebVTT"
- | "Wget Config"
- | "Wikitext"
- | "Windows Registry Entries"
- | "Wollok"
- | "World of Warcraft Addon Data"
- | "X BitMap"
- | "X Font Directory Index"
- | "X PixMap"
- | "X10"
- | "XC"
- | "XCompose"
- | "XML"
- | "XML Property List"
- | "XPages"
- | "XProc"
- | "XQuery"
- | "XS"
- | "XSLT"
- | "Xojo"
- | "Xonsh"
- | "Xtend"
- | "YAML"
- | "YANG"
- | "YARA"
- | "YASnippet"
- | "Yacc"
- | "ZAP"
- | "ZIL"
- | "Zeek"
- | "ZenScript"
- | "Zephir"
- | "Zig"
- | "Zimpl"
- | "cURL Config"
- | "desktop"
- | "dircolors"
- | "eC"
- | "edn"
- | "fish"
- | "jq"
- | "mIRC Script"
- | "mcfunction"
- | "mupad"
- | "nanorc"
- | "nesC"
- | "ooc"
- | "q"
- | "reStructuredText"
- | "robots.txt"
- | "sed"
- | "wdl"
- | "wisp"
- | "xBase";
- declare const LinguistLanguages: Record<LanguageName, LinguistLanguages.Language>;
- declare namespace LinguistLanguages {
- interface Language {
- name: string;
- /**
- * Either data, programming, markup, prose, or nil
- */
- type: string;
- /**
- * CSS hex color to represent the language. Only used if type is "programming" or "markup".
- */
- color?: string;
- /**
- * An Array of associated extensions (the first one is
- * considered the primary extension, the others should be
- * listed alphabetically)
- */
- extensions?: string[];
- /**
- * The TextMate scope that represents this programming
- * language. This should match one of the scopes listed in
- * the grammars.yml file. Use "none" if there is no grammar
- * for this language.
- */
- tmScope: string;
- /**
- * A String name of the Ace Mode used for highlighting whenever
- * a file is edited. This must match one of the filenames in http://git.io/3XO_Cg.
- * Use "text" if a mode does not exist.
- */
- aceMode: string;
- /**
- * Integer used as a language-name-independent indexed field so that we can rename
- * languages in Linguist without reindexing all the code on GitHub. Must not be
- * changed for existing languages without the explicit permission of GitHub staff.
- */
- languageId: number;
- /**
- * An Array of additional aliases (implicitly
- * includes name.downcase)
- */
- aliases?: string[];
- /**
- * A String name of the CodeMirror Mode used for highlighting whenever a file is edited.
- * This must match a mode from https://git.io/vi9Fx
- */
- codemirrorMode?: string;
- /**
- * A String name of the file mime type used for highlighting whenever a file is edited.
- * This should match the `mime` associated with the mode from https://git.io/f4SoQ
- */
- codemirrorMimeType?: string;
- /**
- * An Array of associated interpreters
- */
- interpreters?: string[];
- /**
- * Name of the parent language. Languages in a group are counted
- * in the statistics as the parent language.
- */
- group?: string;
- /**
- * An Array of filenames commonly associated with the language
- */
- filenames?: string[];
- /**
- * Boolean wrap to enable line wrapping (default: false)
- */
- wrap?: boolean;
- /**
- * Optional field. Only necessary as a replacement for the sample directory name if the
- * language name is not a valid filename under the Windows filesystem (e.g., if it
- * contains an asterisk).
- */
- fsName?: string;
- searchable?: boolean;
- }
- }
- export = LinguistLanguages;
|