tartrazine/data/alias.go

1011 lines
50 KiB
Go
Raw Normal View History

2020-03-19 16:31:29 +00:00
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
2022-06-09 20:09:50 +00:00
// Extracted from github/linguist commit: d7799da826e01acdb8f84694d33116dccaabe9c2
package data
import "strings"
// LanguageByAliasMap keeps alias for different languages and use the name of the languages as an alias too.
2017-05-29 08:05:16 +00:00
// All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
var LanguageByAliasMap = map[string]string{
"1c_enterprise": "1C Enterprise",
2022-03-03 20:08:49 +00:00
"2-dimensional_array": "2-Dimensional Array",
"4d": "4D",
"abap": "ABAP",
2021-03-07 16:00:13 +00:00
"abap_cds": "ABAP CDS",
"abl": "OpenEdge ABL",
"abnf": "ABNF",
"abuild": "Alpine Abuild",
"acfm": "Adobe Font Metrics",
"aconf": "ApacheConf",
"actionscript": "ActionScript",
"actionscript3": "ActionScript",
"actionscript_3": "ActionScript",
"ada": "Ada",
"ada2005": "Ada",
"ada95": "Ada",
"adobe_composite_font_metrics": "Adobe Font Metrics",
"adobe_font_metrics": "Adobe Font Metrics",
"adobe_multiple_font_metrics": "Adobe Font Metrics",
"advpl": "xBase",
"afdko": "OpenType Feature File",
"agda": "Agda",
"ags": "AGS Script",
"ags_script": "AGS Script",
"ahk": "AutoHotkey",
2021-09-25 16:42:06 +00:00
"aidl": "AIDL",
"al": "AL",
"alloy": "Alloy",
"alpine_abuild": "Alpine Abuild",
"altium": "Altium Designer",
"altium_designer": "Altium Designer",
"amfm": "Adobe Font Metrics",
"ampl": "AMPL",
"amusewiki": "Muse",
"angelscript": "AngelScript",
"ant_build_system": "Ant Build System",
2022-06-09 20:09:50 +00:00
"antlers": "Antlers",
"antlr": "ANTLR",
"apache": "ApacheConf",
"apacheconf": "ApacheConf",
"apex": "Apex",
"api_blueprint": "API Blueprint",
"apkbuild": "Alpine Abuild",
"apl": "APL",
"apollo_guidance_computer": "Apollo Guidance Computer",
"applescript": "AppleScript",
"arc": "Arc",
"arexx": "REXX",
"as3": "ActionScript",
2022-06-09 20:09:50 +00:00
"ascii_stl": "STL",
"asciidoc": "AsciiDoc",
"asl": "ASL",
"asm": "Assembly",
"asn.1": "ASN.1",
"asp": "Classic ASP",
"asp.net": "ASP.NET",
"aspectj": "AspectJ",
"aspx": "ASP.NET",
"aspx-vb": "ASP.NET",
"assembly": "Assembly",
2021-09-25 16:42:06 +00:00
"astro": "Astro",
"asymptote": "Asymptote",
"ats": "ATS",
"ats2": "ATS",
"au3": "AutoIt",
"augeas": "Augeas",
"autoconf": "M4Sugar",
"autohotkey": "AutoHotkey",
"autoit": "AutoIt",
"autoit3": "AutoIt",
"autoitscript": "AutoIt",
"avro_idl": "Avro IDL",
"awk": "Awk",
"b3d": "BlitzBasic",
"ballerina": "Ballerina",
"bash": "Shell",
"bash_session": "ShellSession",
"basic": "BASIC",
"bat": "Batchfile",
"batch": "Batchfile",
"batchfile": "Batchfile",
"bazel": "Starlark",
2022-04-05 20:12:53 +00:00
"be": "Berry",
2021-03-07 16:00:13 +00:00
"beef": "Beef",
"befunge": "Befunge",
2022-04-05 20:12:53 +00:00
"berry": "Berry",
"bibtex": "BibTeX",
"bicep": "Bicep",
2022-06-09 20:09:50 +00:00
"bikeshed": "Bikeshed",
"bison": "Bison",
"bitbake": "BitBake",
"blade": "Blade",
"blitz3d": "BlitzBasic",
"blitzbasic": "BlitzBasic",
"blitzmax": "BlitzMax",
"blitzplus": "BlitzBasic",
"bluespec": "Bluespec",
"bmax": "BlitzMax",
"boo": "Boo",
2021-03-07 16:00:13 +00:00
"boogie": "Boogie",
"bplus": "BlitzBasic",
"brainfuck": "Brainfuck",
2022-06-09 20:09:50 +00:00
"brighterscript": "BrighterScript",
"brightscript": "Brightscript",
"bro": "Zeek",
"browserslist": "Browserslist",
"bsdmake": "Makefile",
"byond": "DM",
"bzl": "Starlark",
"c": "C",
"c#": "C#",
"c++": "C++",
"c++-objdump": "Cpp-ObjDump",
"c-objdump": "C-ObjDump",
"c2hs": "C2hs Haskell",
"c2hs_haskell": "C2hs Haskell",
"cabal": "Cabal Config",
"cabal_config": "Cabal Config",
2022-04-05 20:12:53 +00:00
"cadence": "Cadence",
"cairo": "Cairo",
2021-03-07 16:00:13 +00:00
"cake": "C#",
"cakescript": "C#",
2022-04-05 20:12:53 +00:00
"cameligo": "CameLIGO",
"cap'n_proto": "Cap'n Proto",
2022-06-09 20:09:50 +00:00
"cap_cds": "CAP CDS",
"carto": "CartoCSS",
"cartocss": "CartoCSS",
2022-06-09 20:09:50 +00:00
"cds": "CAP CDS",
"ceylon": "Ceylon",
"cfc": "ColdFusion CFC",
"cfm": "ColdFusion",
"cfml": "ColdFusion",
"chapel": "Chapel",
"charity": "Charity",
2022-06-09 20:09:50 +00:00
"checksum": "Checksums",
"checksums": "Checksums",
"chpl": "Chapel",
"chuck": "ChucK",
2021-09-25 16:42:06 +00:00
"cil": "CIL",
"cirru": "Cirru",
"clarion": "Clarion",
2022-03-03 20:08:49 +00:00
"clarity": "Clarity",
"classic_asp": "Classic ASP",
"clean": "Clean",
"click": "Click",
"clipper": "xBase",
"clips": "CLIPS",
"clojure": "Clojure",
"closure_templates": "Closure Templates",
"cloud_firestore_security_rules": "Cloud Firestore Security Rules",
"cmake": "CMake",
"cobol": "COBOL",
"coccinelle": "SmPL",
"codeowners": "CODEOWNERS",
"codeql": "CodeQL",
"coffee": "CoffeeScript",
"coffee-script": "CoffeeScript",
"coffeescript": "CoffeeScript",
"coldfusion": "ColdFusion",
"coldfusion_cfc": "ColdFusion CFC",
"coldfusion_html": "ColdFusion",
"collada": "COLLADA",
"common_lisp": "Common Lisp",
"common_workflow_language": "Common Workflow Language",
"component_pascal": "Component Pascal",
"conll": "CoNLL-U",
"conll-u": "CoNLL-U",
"conll-x": "CoNLL-U",
"console": "ShellSession",
2021-11-14 16:36:04 +00:00
"containerfile": "Dockerfile",
"cool": "Cool",
"coq": "Coq",
"cperl": "Perl",
"cpp": "C++",
"cpp-objdump": "Cpp-ObjDump",
"creole": "Creole",
"crystal": "Crystal",
"csharp": "C#",
"cson": "CSON",
"csound": "Csound",
"csound-csd": "Csound Document",
"csound-orc": "Csound",
"csound-sco": "Csound Score",
"csound_document": "Csound Document",
"csound_score": "Csound Score",
"css": "CSS",
"csv": "CSV",
"cucumber": "Gherkin",
"cuda": "Cuda",
2021-09-25 16:42:06 +00:00
"cue": "CUE",
"cue_sheet": "Cue Sheet",
"curl_config": "cURL Config",
"curlrc": "cURL Config",
2022-03-03 20:08:49 +00:00
"curry": "Curry",
"cweb": "CWeb",
"cwl": "Common Workflow Language",
"cycript": "Cycript",
"cython": "Cython",
"d": "D",
"d-objdump": "D-ObjDump",
"dafny": "Dafny",
"darcs_patch": "Darcs Patch",
"dart": "Dart",
"dataweave": "DataWeave",
"dcl": "DIGITAL Command Language",
2022-03-03 20:08:49 +00:00
"debian_package_control_file": "Debian Package Control File",
2021-03-07 16:00:13 +00:00
"delphi": "Pascal",
2022-03-03 20:08:49 +00:00
"denizenscript": "DenizenScript",
"desktop": "desktop",
"dhall": "Dhall",
"diff": "Diff",
"digital_command_language": "DIGITAL Command Language",
"dircolors": "dircolors",
"directx_3d_file": "DirectX 3D File",
"django": "Jinja",
"dlang": "D",
"dm": "DM",
"dns_zone": "DNS Zone",
"dockerfile": "Dockerfile",
"dogescript": "Dogescript",
"dosbatch": "Batchfile",
"dosini": "INI",
"dpatch": "Darcs Patch",
"dtrace": "DTrace",
"dtrace-script": "DTrace",
"dylan": "Dylan",
"e": "E",
2021-09-25 16:42:06 +00:00
"e-mail": "E-mail",
"eagle": "Eagle",
2022-03-03 20:08:49 +00:00
"earthfile": "Earthly",
2021-12-15 20:08:13 +00:00
"earthly": "Earthly",
"easybuild": "Easybuild",
"ebnf": "EBNF",
"ec": "eC",
"ecere_projects": "Ecere Projects",
"ecl": "ECL",
"eclipse": "ECLiPSe",
"ecr": "HTML+ECR",
"editor-config": "EditorConfig",
"editorconfig": "EditorConfig",
"edje_data_collection": "Edje Data Collection",
"edn": "edn",
"eeschema_schematic": "KiCad Schematic",
"eex": "HTML+EEX",
"eiffel": "Eiffel",
"ejs": "EJS",
"elisp": "Emacs Lisp",
"elixir": "Elixir",
"elm": "Elm",
"emacs": "Emacs Lisp",
"emacs_lisp": "Emacs Lisp",
"emacs_muse": "Muse",
2021-09-25 16:42:06 +00:00
"email": "E-mail",
"emberscript": "EmberScript",
2021-09-25 16:42:06 +00:00
"eml": "E-mail",
"eq": "EQ",
"erb": "HTML+ERB",
"erlang": "Erlang",
2022-03-03 20:08:49 +00:00
"euphoria": "Euphoria",
"f#": "F#",
"f*": "F*",
"factor": "Factor",
"fancy": "Fancy",
"fantom": "Fantom",
"faust": "Faust",
"fb": "FreeBasic",
2021-09-25 16:42:06 +00:00
"fennel": "Fennel",
"figfont": "FIGlet Font",
"figlet_font": "FIGlet Font",
"filebench_wml": "Filebench WML",
"filterscript": "Filterscript",
"fish": "fish",
"flex": "Lex",
2021-09-25 16:42:06 +00:00
"fluent": "Fluent",
"flux": "FLUX",
"formatted": "Formatted",
"forth": "Forth",
"fortran": "Fortran",
"fortran_free_form": "Fortran Free Form",
"foxpro": "xBase",
"freebasic": "FreeBasic",
"freemarker": "FreeMarker",
"frege": "Frege",
"fsharp": "F#",
"fstar": "F*",
"ftl": "FreeMarker",
"fundamental": "Text",
"futhark": "Futhark",
"g-code": "G-code",
"game_maker_language": "Game Maker Language",
"gaml": "GAML",
"gams": "GAMS",
"gap": "GAP",
2022-06-09 20:09:50 +00:00
"gas": "Unix Assembly",
"gcc_machine_description": "GCC Machine Description",
"gdb": "GDB",
"gdscript": "GDScript",
"gedcom": "GEDCOM",
"gemfile.lock": "Gemfile.lock",
2022-04-05 20:12:53 +00:00
"genero": "Genero",
"genero_forms": "Genero Forms",
"genie": "Genie",
"genshi": "Genshi",
"gentoo_ebuild": "Gentoo Ebuild",
"gentoo_eclass": "Gentoo Eclass",
2022-06-09 20:09:50 +00:00
"geojson": "JSON",
"gerber_image": "Gerber Image",
"gettext_catalog": "Gettext Catalog",
"gf": "Grammatical Framework",
"gherkin": "Gherkin",
"git-ignore": "Ignore List",
"git_attributes": "Git Attributes",
2022-06-09 20:09:50 +00:00
"git_blame_ignore_revs": "Git Revision List",
"git_config": "Git Config",
2022-06-09 20:09:50 +00:00
"git_revision_list": "Git Revision List",
"gitattributes": "Git Attributes",
"gitconfig": "Git Config",
"gitignore": "Ignore List",
"gitmodules": "Git Config",
2022-03-03 20:08:49 +00:00
"gleam": "Gleam",
"glsl": "GLSL",
"glyph": "Glyph",
"glyph_bitmap_distribution_format": "Glyph Bitmap Distribution Format",
"gn": "GN",
2022-06-09 20:09:50 +00:00
"gnu_asm": "Unix Assembly",
"gnuplot": "Gnuplot",
"go": "Go",
2021-11-14 16:36:04 +00:00
"go.mod": "Go Module",
"go.sum": "Go Checksums",
"go_checksums": "Go Checksums",
"go_mod": "Go Module",
"go_module": "Go Module",
"go_sum": "Go Checksums",
"golang": "Go",
"golo": "Golo",
"gosu": "Gosu",
"grace": "Grace",
"gradle": "Gradle",
"grammatical_framework": "Grammatical Framework",
"graph_modeling_language": "Graph Modeling Language",
"graphql": "GraphQL",
"graphviz_(dot)": "Graphviz (DOT)",
"groff": "Roff",
"groovy": "Groovy",
"groovy_server_pages": "Groovy Server Pages",
2022-03-03 20:08:49 +00:00
"gsc": "GSC",
"gsp": "Groovy Server Pages",
"hack": "Hack",
"haml": "Haml",
"handlebars": "Handlebars",
"haproxy": "HAProxy",
"harbour": "Harbour",
2022-06-09 20:09:50 +00:00
"hash": "Checksums",
"hashes": "Checksums",
2021-03-07 16:00:13 +00:00
"hashicorp_configuration_language": "HCL",
"haskell": "Haskell",
"haxe": "Haxe",
"hbs": "Handlebars",
"hcl": "HCL",
2021-12-15 20:08:13 +00:00
"heex": "HTML+EEX",
2021-09-25 16:42:06 +00:00
"help": "Vim Help File",
"hiveql": "HiveQL",
"hlsl": "HLSL",
"holyc": "HolyC",
2022-03-03 20:08:49 +00:00
"hoon": "hoon",
"html": "HTML",
"html+django": "Jinja",
"html+ecr": "HTML+ECR",
"html+eex": "HTML+EEX",
"html+erb": "HTML+ERB",
"html+jinja": "Jinja",
"html+php": "HTML+PHP",
"html+razor": "HTML+Razor",
"html+ruby": "HTML+ERB",
"htmlbars": "Handlebars",
"htmldjango": "Jinja",
"http": "HTTP",
"hxml": "HXML",
"hy": "Hy",
"hylang": "Hy",
"hyphy": "HyPhy",
"i7": "Inform 7",
"idl": "IDL",
"idris": "Idris",
"ignore": "Ignore List",
"ignore_list": "Ignore List",
"igor": "IGOR Pro",
"igor_pro": "IGOR Pro",
"igorpro": "IGOR Pro",
2021-03-07 16:00:13 +00:00
"ijm": "ImageJ Macro",
2022-03-03 20:08:49 +00:00
"ile_rpg": "RPGLE",
2021-03-07 16:00:13 +00:00
"imagej_macro": "ImageJ Macro",
"inc": "PHP",
"inform7": "Inform 7",
"inform_7": "Inform 7",
"ini": "INI",
"inno_setup": "Inno Setup",
"inputrc": "Readline Config",
"io": "Io",
"ioke": "Ioke",
"ipython_notebook": "Jupyter Notebook",
"irc": "IRC log",
"irc_log": "IRC log",
"irc_logs": "IRC log",
"isabelle": "Isabelle",
"isabelle_root": "Isabelle ROOT",
"j": "J",
2022-03-03 20:08:49 +00:00
"janet": "Janet",
2021-11-14 16:36:04 +00:00
"jar_manifest": "JAR Manifest",
"jasmin": "Jasmin",
"java": "Java",
"java_properties": "Java Properties",
"java_server_page": "Groovy Server Pages",
"java_server_pages": "Java Server Pages",
"javascript": "JavaScript",
"javascript+erb": "JavaScript+ERB",
2021-11-14 16:36:04 +00:00
"jest_snapshot": "Jest Snapshot",
2022-06-09 20:09:50 +00:00
"jetbrains_mps": "JetBrains MPS",
"jflex": "JFlex",
"jinja": "Jinja",
"jison": "Jison",
"jison_lex": "Jison Lex",
"jolie": "Jolie",
"jq": "jq",
"jruby": "Ruby",
"js": "JavaScript",
"json": "JSON",
"json5": "JSON5",
"json_with_comments": "JSON with Comments",
"jsonc": "JSON with Comments",
"jsoniq": "JSONiq",
2022-06-09 20:09:50 +00:00
"jsonl": "JSON",
"jsonld": "JSONLD",
"jsonnet": "Jsonnet",
"jsp": "Java Server Pages",
"julia": "Julia",
"jupyter_notebook": "Jupyter Notebook",
"kaitai_struct": "Kaitai Struct",
2021-09-25 16:42:06 +00:00
"kak": "KakouneScript",
"kakounescript": "KakouneScript",
"kakscript": "KakouneScript",
"keyvalues": "Valve Data Format",
"kicad_layout": "KiCad Layout",
"kicad_legacy_layout": "KiCad Legacy Layout",
"kicad_schematic": "KiCad Schematic",
"kit": "Kit",
"kotlin": "Kotlin",
"krl": "KRL",
"ksy": "Kaitai Struct",
"kusto": "Kusto",
2022-03-03 20:08:49 +00:00
"kvlang": "kvlang",
"labview": "LabVIEW",
2020-11-15 12:32:56 +00:00
"lark": "Lark",
"lasso": "Lasso",
"lassoscript": "Lasso",
"latex": "TeX",
"latte": "Latte",
"lean": "Lean",
2020-11-15 12:32:56 +00:00
"leex": "HTML+EEX",
"less": "Less",
2022-03-03 20:08:49 +00:00
"less-css": "Less",
"lex": "Lex",
"lfe": "LFE",
"lhaskell": "Literate Haskell",
"lhs": "Literate Haskell",
2022-04-05 20:12:53 +00:00
"ligolang": "LigoLANG",
"lilypond": "LilyPond",
"limbo": "Limbo",
"linker_script": "Linker Script",
"linux_kernel_module": "Linux Kernel Module",
"liquid": "Liquid",
"lisp": "Common Lisp",
"litcoffee": "Literate CoffeeScript",
"literate_agda": "Literate Agda",
"literate_coffeescript": "Literate CoffeeScript",
"literate_haskell": "Literate Haskell",
"live-script": "LiveScript",
"livescript": "LiveScript",
"llvm": "LLVM",
"logos": "Logos",
"logtalk": "Logtalk",
"lolcode": "LOLCODE",
"lookml": "LookML",
"loomscript": "LoomScript",
"ls": "LiveScript",
"lsl": "LSL",
"ltspice_symbol": "LTspice Symbol",
"lua": "Lua",
"m": "M",
"m2": "Macaulay2",
"m4": "M4",
"m4sugar": "M4Sugar",
"m68k": "Motorola 68K Assembly",
"macaulay2": "Macaulay2",
"macruby": "Ruby",
2021-09-25 16:42:06 +00:00
"mail": "E-mail",
"make": "Makefile",
"makefile": "Makefile",
"mako": "Mako",
"man": "Roff",
"man-page": "Roff",
"man_page": "Roff",
"manpage": "Roff",
"markdown": "Markdown",
"marko": "Marko",
"markojs": "Marko",
"mask": "Mask",
"mathematica": "Mathematica",
"matlab": "MATLAB",
"maven_pom": "Maven POM",
"max": "Max",
"max/msp": "Max",
"maxmsp": "Max",
"maxscript": "MAXScript",
2021-09-25 16:42:06 +00:00
"mbox": "E-mail",
"mcfunction": "mcfunction",
"mdoc": "Roff",
2021-09-25 16:42:06 +00:00
"mediawiki": "Wikitext",
"mercury": "Mercury",
"meson": "Meson",
"metal": "Metal",
"mf": "Makefile",
"microsoft_developer_studio_project": "Microsoft Developer Studio Project",
"microsoft_visual_studio_solution": "Microsoft Visual Studio Solution",
"minid": "MiniD",
2022-03-03 20:08:49 +00:00
"miniyaml": "MiniYAML",
"mint": "Mint",
"mirah": "Mirah",
"mirc_script": "mIRC Script",
"mlir": "MLIR",
"mma": "Mathematica",
"modelica": "Modelica",
"modula-2": "Modula-2",
"modula-3": "Modula-3",
"module_management_system": "Module Management System",
"monkey": "Monkey",
2022-04-05 20:12:53 +00:00
"monkey_c": "Monkey C",
"moocode": "Moocode",
"moonscript": "MoonScript",
2021-12-15 20:08:13 +00:00
"motoko": "Motoko",
"motorola_68k_assembly": "Motorola 68K Assembly",
2022-06-09 20:09:50 +00:00
"mps": "JetBrains MPS",
"mql4": "MQL4",
"mql5": "MQL5",
"mtml": "MTML",
"muf": "MUF",
"mumps": "M",
"mupad": "mupad",
"muse": "Muse",
"mustache": "Mustache",
"myghty": "Myghty",
"nanorc": "nanorc",
"nasl": "NASL",
"nasm": "Assembly",
"ncl": "NCL",
"ne-on": "NEON",
"nearley": "Nearley",
"nemerle": "Nemerle",
"neon": "NEON",
"neosnippet": "Vim Snippet",
"nesc": "nesC",
"netlinx": "NetLinx",
"netlinx+erb": "NetLinx+ERB",
"netlogo": "NetLogo",
"nette_object_notation": "NEON",
"newlisp": "NewLisp",
"nextflow": "Nextflow",
"nginx": "Nginx",
"nginx_configuration_file": "Nginx",
"nim": "Nim",
"ninja": "Ninja",
"nit": "Nit",
"nix": "Nix",
"nixos": "Nix",
2021-03-07 16:00:13 +00:00
"njk": "Nunjucks",
"nl": "NL",
"node": "JavaScript",
"npm_config": "NPM Config",
"npmrc": "NPM Config",
"nroff": "Roff",
"nsis": "NSIS",
"nu": "Nu",
"numpy": "NumPy",
2021-03-07 16:00:13 +00:00
"nunjucks": "Nunjucks",
"nush": "Nu",
2021-11-14 16:36:04 +00:00
"nvim": "Vim Script",
2020-11-15 12:32:56 +00:00
"nwscript": "NWScript",
"obj-c": "Objective-C",
"obj-c++": "Objective-C++",
"obj-j": "Objective-J",
"objc": "Objective-C",
"objc++": "Objective-C++",
"objdump": "ObjDump",
"object_data_instance_notation": "Object Data Instance Notation",
"objective-c": "Objective-C",
"objective-c++": "Objective-C++",
"objective-j": "Objective-J",
"objectivec": "Objective-C",
"objectivec++": "Objective-C++",
"objectivej": "Objective-J",
2021-03-07 16:00:13 +00:00
"objectpascal": "Pascal",
"objectscript": "ObjectScript",
"objj": "Objective-J",
"ocaml": "OCaml",
"octave": "MATLAB",
"odin": "Odin",
"odin-lang": "Odin",
"odinlang": "Odin",
"omgrofl": "Omgrofl",
"oncrpc": "RPC",
"ooc": "ooc",
"opa": "Opa",
"opal": "Opal",
"open_policy_agent": "Open Policy Agent",
"opencl": "OpenCL",
"openedge": "OpenEdge ABL",
"openedge_abl": "OpenEdge ABL",
"openqasm": "OpenQASM",
"openrc": "OpenRC runscript",
"openrc_runscript": "OpenRC runscript",
"openscad": "OpenSCAD",
"openstep_property_list": "OpenStep Property List",
"opentype_feature_file": "OpenType Feature File",
"org": "Org",
"osascript": "AppleScript",
"ox": "Ox",
"oxygene": "Oxygene",
"oz": "Oz",
"p4": "P4",
"pan": "Pan",
"pandoc": "Markdown",
"papyrus": "Papyrus",
"parrot": "Parrot",
"parrot_assembly": "Parrot Assembly",
"parrot_internal_representation": "Parrot Internal Representation",
"pascal": "Pascal",
"pasm": "Parrot Assembly",
"pawn": "Pawn",
"pcbnew": "KiCad Layout",
2021-09-25 16:42:06 +00:00
"peg.js": "PEG.js",
"pep8": "Pep8",
"perl": "Perl",
"perl-6": "Raku",
"perl6": "Raku",
"php": "PHP",
"pic": "Pic",
"pickle": "Pickle",
"picolisp": "PicoLisp",
"piglatin": "PigLatin",
"pike": "Pike",
"pir": "Parrot Internal Representation",
2021-03-07 16:00:13 +00:00
"plain_text": "Text",
"plantuml": "PlantUML",
"plpgsql": "PLpgSQL",
"plsql": "PLSQL",
"pod": "Pod",
"pod_6": "Pod 6",
"pogoscript": "PogoScript",
"pony": "Pony",
2022-06-09 20:09:50 +00:00
"portugol": "Portugol",
"posh": "PowerShell",
"postcss": "PostCSS",
"postscr": "PostScript",
"postscript": "PostScript",
"pot": "Gettext Catalog",
"pov-ray": "POV-Ray SDL",
"pov-ray_sdl": "POV-Ray SDL",
"povray": "POV-Ray SDL",
"powerbuilder": "PowerBuilder",
"powershell": "PowerShell",
"prisma": "Prisma",
"processing": "Processing",
2022-03-03 20:08:49 +00:00
"procfile": "Procfile",
"progress": "OpenEdge ABL",
"proguard": "Proguard",
"prolog": "Prolog",
2021-12-15 20:08:13 +00:00
"promela": "Promela",
"propeller_spin": "Propeller Spin",
"protobuf": "Protocol Buffer",
2022-03-03 20:08:49 +00:00
"protobuf_text_format": "Protocol Buffer Text Format",
"protocol_buffer": "Protocol Buffer",
2022-03-03 20:08:49 +00:00
"protocol_buffer_text_format": "Protocol Buffer Text Format",
"protocol_buffers": "Protocol Buffer",
"public_key": "Public Key",
"pug": "Pug",
"puppet": "Puppet",
"pure_data": "Pure Data",
"purebasic": "PureBasic",
"purescript": "PureScript",
"pwsh": "PowerShell",
"pycon": "Python console",
"pyrex": "Cython",
"python": "Python",
"python3": "Python",
"python_console": "Python console",
"python_traceback": "Python traceback",
"q": "q",
"q#": "Q#",
"ql": "CodeQL",
"qmake": "QMake",
"qml": "QML",
"qsharp": "Q#",
"qt_script": "Qt Script",
"quake": "Quake",
"r": "R",
"racket": "Racket",
"ragel": "Ragel",
"ragel-rb": "Ragel",
"ragel-ruby": "Ragel",
"rake": "Ruby",
"raku": "Raku",
"raml": "RAML",
"rascal": "Rascal",
"raw": "Raw token data",
"raw_token_data": "Raw token data",
"razor": "HTML+Razor",
"rb": "Ruby",
"rbx": "Ruby",
"rdoc": "RDoc",
"readline": "Readline Config",
"readline_config": "Readline Config",
"realbasic": "REALbasic",
"reason": "Reason",
2022-04-05 20:12:53 +00:00
"reasonligo": "ReasonLIGO",
"rebol": "Rebol",
2021-03-07 16:00:13 +00:00
"record_jar": "Record Jar",
"red": "Red",
"red/system": "Red",
"redcode": "Redcode",
"redirect_rules": "Redirect Rules",
"redirects": "Redirect Rules",
"regex": "Regular Expression",
"regexp": "Regular Expression",
"regular_expression": "Regular Expression",
"ren'py": "Ren'Py",
"renderscript": "RenderScript",
"renpy": "Ren'Py",
2020-11-15 12:32:56 +00:00
"rescript": "ReScript",
"restructuredtext": "reStructuredText",
"rexx": "REXX",
"rhtml": "HTML+ERB",
"rich_text_format": "Rich Text Format",
"ring": "Ring",
"riot": "Riot",
"rmarkdown": "RMarkdown",
"robotframework": "RobotFramework",
"robots": "robots.txt",
"robots.txt": "robots.txt",
"robots_txt": "robots.txt",
"roff": "Roff",
"roff_manpage": "Roff Manpage",
"rouge": "Rouge",
"rpc": "RPC",
"rpcgen": "RPC",
2022-03-03 20:08:49 +00:00
"rpgle": "RPGLE",
"rpm_spec": "RPM Spec",
2021-09-25 16:42:06 +00:00
"rs": "Rust",
"rs-274x": "Gerber Image",
"rscript": "R",
"rss": "XML",
"rst": "reStructuredText",
"ruby": "Ruby",
"runoff": "RUNOFF",
"rust": "Rust",
"rusthon": "Python",
"sage": "Sage",
"salt": "SaltStack",
"saltstack": "SaltStack",
"saltstate": "SaltStack",
"sas": "SAS",
"sass": "Sass",
"scala": "Scala",
"scaml": "Scaml",
"scheme": "Scheme",
"scilab": "Scilab",
"scss": "SCSS",
"sed": "sed",
"self": "Self",
2021-09-25 16:42:06 +00:00
"selinux_kernel_policy_language": "SELinux Policy",
"selinux_policy": "SELinux Policy",
"sepolicy": "SELinux Policy",
"sh": "Shell",
"shaderlab": "ShaderLab",
"shell": "Shell",
"shell-script": "Shell",
2021-12-15 20:08:13 +00:00
"shellcheck_config": "ShellCheck Config",
"shellcheckrc": "ShellCheck Config",
"shellsession": "ShellSession",
"shen": "Shen",
"sieve": "Sieve",
"singularity": "Singularity",
"slash": "Slash",
"slice": "Slice",
"slim": "Slim",
"smali": "Smali",
"smalltalk": "Smalltalk",
"smarty": "Smarty",
"sml": "Standard ML",
"smpl": "SmPL",
"smt": "SMT",
"snipmate": "Vim Snippet",
"snippet": "YASnippet",
"solidity": "Solidity",
2021-09-25 16:42:06 +00:00
"soong": "Soong",
"sourcemod": "SourcePawn",
"sourcepawn": "SourcePawn",
"soy": "Closure Templates",
"sparql": "SPARQL",
"specfile": "RPM Spec",
"spline_font_database": "Spline Font Database",
"splus": "R",
"sqf": "SQF",
"sql": "SQL",
"sqlpl": "SQLPL",
2022-03-03 20:08:49 +00:00
"sqlrpgle": "RPGLE",
"squeak": "Smalltalk",
"squirrel": "Squirrel",
"srecode_template": "SRecode Template",
"ssh_config": "SSH Config",
"stan": "Stan",
"standard_ml": "Standard ML",
2022-06-09 20:09:50 +00:00
"star": "STAR",
"starlark": "Starlark",
"stata": "Stata",
2022-06-09 20:09:50 +00:00
"stl": "STL",
"stla": "STL",
"ston": "STON",
"stringtemplate": "StringTemplate",
"stylus": "Stylus",
"subrip_text": "SubRip Text",
"sugarss": "SugarSS",
2022-06-09 20:09:50 +00:00
"sum": "Checksums",
"sums": "Checksums",
"supercollider": "SuperCollider",
"svelte": "Svelte",
"svg": "SVG",
"swift": "Swift",
"swig": "SWIG",
"systemverilog": "SystemVerilog",
2022-04-05 20:12:53 +00:00
"talon": "Talon",
"tcl": "Tcl",
"tcsh": "Tcsh",
"tea": "Tea",
"terra": "Terra",
"terraform": "HCL",
"tex": "TeX",
"texinfo": "Texinfo",
"text": "Text",
2022-03-03 20:08:49 +00:00
"text_proto": "Protocol Buffer Text Format",
"textile": "Textile",
2021-09-25 16:42:06 +00:00
"textmate_properties": "TextMate Properties",
"thrift": "Thrift",
"ti_program": "TI Program",
"tl": "Type Language",
"tla": "TLA",
2021-09-25 16:42:06 +00:00
"tm-properties": "TextMate Properties",
"toml": "TOML",
2022-06-09 20:09:50 +00:00
"topojson": "JSON",
"troff": "Roff",
"ts": "TypeScript",
"tsql": "TSQL",
"tsv": "TSV",
"tsx": "TSX",
"turing": "Turing",
"turtle": "Turtle",
"twig": "Twig",
"txl": "TXL",
"type_language": "Type Language",
"typescript": "TypeScript",
"udiff": "Diff",
"ultisnip": "Vim Snippet",
"ultisnips": "Vim Snippet",
"unified_parallel_c": "Unified Parallel C",
"unity3d_asset": "Unity3D Asset",
2022-06-09 20:09:50 +00:00
"unix_asm": "Unix Assembly",
"unix_assembly": "Unix Assembly",
"uno": "Uno",
"unrealscript": "UnrealScript",
"ur": "UrWeb",
"ur/web": "UrWeb",
"urweb": "UrWeb",
"v": "V",
"vala": "Vala",
2021-09-25 16:42:06 +00:00
"valve_data_format": "Valve Data Format",
"vb.net": "Visual Basic .NET",
"vb6": "VBA",
"vb_.net": "Visual Basic .NET",
"vba": "VBA",
"vbnet": "Visual Basic .NET",
"vbscript": "VBScript",
"vcl": "VCL",
2021-09-25 16:42:06 +00:00
"vdf": "Valve Data Format",
"verilog": "Verilog",
"vhdl": "VHDL",
2021-11-14 16:36:04 +00:00
"vim": "Vim Script",
"vim_help_file": "Vim Help File",
2021-11-14 16:36:04 +00:00
"vim_script": "Vim Script",
"vim_snippet": "Vim Snippet",
"vimhelp": "Vim Help File",
2021-11-14 16:36:04 +00:00
"viml": "Vim Script",
"visual_basic": "Visual Basic .NET",
"visual_basic_.net": "Visual Basic .NET",
"visual_basic_6": "VBA",
"visual_basic_for_applications": "VBA",
"vlang": "V",
"volt": "Volt",
2022-06-09 20:09:50 +00:00
"vtt": "WebVTT",
"vue": "Vue",
2022-03-03 20:08:49 +00:00
"vyper": "Vyper",
"wasm": "WebAssembly",
"wast": "WebAssembly",
"wavefront_material": "Wavefront Material",
"wavefront_object": "Wavefront Object",
"wdl": "wdl",
"web_ontology_language": "Web Ontology Language",
"webassembly": "WebAssembly",
"webidl": "WebIDL",
"webvtt": "WebVTT",
"wget_config": "Wget Config",
"wgetrc": "Wget Config",
2022-06-09 20:09:50 +00:00
"whiley": "Whiley",
2021-09-25 16:42:06 +00:00
"wiki": "Wikitext",
"wikitext": "Wikitext",
2022-04-05 20:12:53 +00:00
"win32_message_file": "Win32 Message File",
"winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp",
2022-03-03 20:08:49 +00:00
"witcher_script": "Witcher Script",
"wl": "Mathematica",
"wolfram": "Mathematica",
"wolfram_lang": "Mathematica",
"wolfram_language": "Mathematica",
"wollok": "Wollok",
"world_of_warcraft_addon_data": "World of Warcraft Addon Data",
"wsdl": "XML",
"x10": "X10",
"x_bitmap": "X BitMap",
"x_font_directory_index": "X Font Directory Index",
"x_pixmap": "X PixMap",
"xbase": "xBase",
"xbm": "X BitMap",
"xc": "XC",
"xcompose": "XCompose",
"xdr": "RPC",
"xhtml": "HTML",
"xml": "XML",
"xml+genshi": "Genshi",
"xml+kid": "Genshi",
"xml_property_list": "XML Property List",
"xojo": "Xojo",
"xonsh": "Xonsh",
"xpages": "XPages",
"xpm": "X PixMap",
"xproc": "XProc",
"xquery": "XQuery",
"xs": "XS",
"xsd": "XML",
"xsl": "XSLT",
"xslt": "XSLT",
"xten": "X10",
"xtend": "Xtend",
"yacc": "Yacc",
"yaml": "YAML",
"yang": "YANG",
"yara": "YARA",
"yas": "YASnippet",
"yasnippet": "YASnippet",
"yml": "YAML",
2022-06-09 20:09:50 +00:00
"yul": "Yul",
"zap": "ZAP",
"zeek": "Zeek",
"zenscript": "ZenScript",
"zephir": "Zephir",
"zig": "Zig",
"zil": "ZIL",
"zimpl": "Zimpl",
"zsh": "Shell",
}
// LanguageByAlias looks up the language name by it's alias or name.
// It mirrors the logic of github linguist and is needed e.g for heuristcs.yml
// that mixes names and aliases in a language field (see XPM example).
func LanguageByAlias(langOrAlias string) (lang string, ok bool) {
k := convertToAliasKey(langOrAlias)
lang, ok = LanguageByAliasMap[k]
return
}
// convertToAliasKey converts language name to a key in LanguageByAliasMap.
// Following
// - internal.code-generator.generator.convertToAliasKey()
// - GetLanguageByAlias()
// conventions.
// It is here to avoid dependency on "generate" and "enry" packages.
func convertToAliasKey(langName string) string {
ak := strings.SplitN(langName, `,`, 2)[0]
ak = strings.Replace(ak, ` `, `_`, -1)
ak = strings.ToLower(ak)
return ak
}