git.templeos.me/xultist/go-enry/v2@v2.0.0-20230215093429-6ef3e87f47c0/data/alias.go (about)

     1  // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
     2  // Extracted from github/linguist commit: d7799da826e01acdb8f84694d33116dccaabe9c2
     3  
     4  package data
     5  
     6  import "strings"
     7  
     8  // LanguageByAliasMap keeps alias for different languages and use the name of the languages as an alias too.
     9  // All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
    10  var LanguageByAliasMap = map[string]string{
    11  	"1c_enterprise":                      "1C Enterprise",
    12  	"2-dimensional_array":                "2-Dimensional Array",
    13  	"4d":                                 "4D",
    14  	"abap":                               "ABAP",
    15  	"abap_cds":                           "ABAP CDS",
    16  	"abl":                                "OpenEdge ABL",
    17  	"abnf":                               "ABNF",
    18  	"abuild":                             "Alpine Abuild",
    19  	"acfm":                               "Adobe Font Metrics",
    20  	"aconf":                              "ApacheConf",
    21  	"actionscript":                       "ActionScript",
    22  	"actionscript3":                      "ActionScript",
    23  	"actionscript_3":                     "ActionScript",
    24  	"ada":                                "Ada",
    25  	"ada2005":                            "Ada",
    26  	"ada95":                              "Ada",
    27  	"adobe_composite_font_metrics":       "Adobe Font Metrics",
    28  	"adobe_font_metrics":                 "Adobe Font Metrics",
    29  	"adobe_multiple_font_metrics":        "Adobe Font Metrics",
    30  	"advpl":                              "xBase",
    31  	"afdko":                              "OpenType Feature File",
    32  	"agda":                               "Agda",
    33  	"ags":                                "AGS Script",
    34  	"ags_script":                         "AGS Script",
    35  	"ahk":                                "AutoHotkey",
    36  	"aidl":                               "AIDL",
    37  	"al":                                 "AL",
    38  	"alloy":                              "Alloy",
    39  	"alpine_abuild":                      "Alpine Abuild",
    40  	"altium":                             "Altium Designer",
    41  	"altium_designer":                    "Altium Designer",
    42  	"amfm":                               "Adobe Font Metrics",
    43  	"ampl":                               "AMPL",
    44  	"amusewiki":                          "Muse",
    45  	"angelscript":                        "AngelScript",
    46  	"ant_build_system":                   "Ant Build System",
    47  	"antlers":                            "Antlers",
    48  	"antlr":                              "ANTLR",
    49  	"apache":                             "ApacheConf",
    50  	"apacheconf":                         "ApacheConf",
    51  	"apex":                               "Apex",
    52  	"api_blueprint":                      "API Blueprint",
    53  	"apkbuild":                           "Alpine Abuild",
    54  	"apl":                                "APL",
    55  	"apollo_guidance_computer":           "Apollo Guidance Computer",
    56  	"applescript":                        "AppleScript",
    57  	"arc":                                "Arc",
    58  	"arexx":                              "REXX",
    59  	"as3":                                "ActionScript",
    60  	"ascii_stl":                          "STL",
    61  	"asciidoc":                           "AsciiDoc",
    62  	"asl":                                "ASL",
    63  	"asm":                                "Assembly",
    64  	"asn.1":                              "ASN.1",
    65  	"asp":                                "Classic ASP",
    66  	"asp.net":                            "ASP.NET",
    67  	"aspectj":                            "AspectJ",
    68  	"aspx":                               "ASP.NET",
    69  	"aspx-vb":                            "ASP.NET",
    70  	"assembly":                           "Assembly",
    71  	"astro":                              "Astro",
    72  	"asymptote":                          "Asymptote",
    73  	"ats":                                "ATS",
    74  	"ats2":                               "ATS",
    75  	"au3":                                "AutoIt",
    76  	"augeas":                             "Augeas",
    77  	"autoconf":                           "M4Sugar",
    78  	"autohotkey":                         "AutoHotkey",
    79  	"autoit":                             "AutoIt",
    80  	"autoit3":                            "AutoIt",
    81  	"autoitscript":                       "AutoIt",
    82  	"avro_idl":                           "Avro IDL",
    83  	"awk":                                "Awk",
    84  	"b3d":                                "BlitzBasic",
    85  	"ballerina":                          "Ballerina",
    86  	"bash":                               "Shell",
    87  	"bash_session":                       "ShellSession",
    88  	"basic":                              "BASIC",
    89  	"bat":                                "Batchfile",
    90  	"batch":                              "Batchfile",
    91  	"batchfile":                          "Batchfile",
    92  	"bazel":                              "Starlark",
    93  	"be":                                 "Berry",
    94  	"beef":                               "Beef",
    95  	"befunge":                            "Befunge",
    96  	"berry":                              "Berry",
    97  	"bibtex":                             "BibTeX",
    98  	"bicep":                              "Bicep",
    99  	"bikeshed":                           "Bikeshed",
   100  	"bison":                              "Bison",
   101  	"bitbake":                            "BitBake",
   102  	"blade":                              "Blade",
   103  	"blitz3d":                            "BlitzBasic",
   104  	"blitzbasic":                         "BlitzBasic",
   105  	"blitzmax":                           "BlitzMax",
   106  	"blitzplus":                          "BlitzBasic",
   107  	"bluespec":                           "Bluespec",
   108  	"bmax":                               "BlitzMax",
   109  	"boo":                                "Boo",
   110  	"boogie":                             "Boogie",
   111  	"bplus":                              "BlitzBasic",
   112  	"brainfuck":                          "Brainfuck",
   113  	"brighterscript":                     "BrighterScript",
   114  	"brightscript":                       "Brightscript",
   115  	"bro":                                "Zeek",
   116  	"browserslist":                       "Browserslist",
   117  	"bsdmake":                            "Makefile",
   118  	"byond":                              "DM",
   119  	"bzl":                                "Starlark",
   120  	"c":                                  "C",
   121  	"c#":                                 "C#",
   122  	"c++":                                "C++",
   123  	"c++-objdump":                        "Cpp-ObjDump",
   124  	"c-objdump":                          "C-ObjDump",
   125  	"c2hs":                               "C2hs Haskell",
   126  	"c2hs_haskell":                       "C2hs Haskell",
   127  	"cabal":                              "Cabal Config",
   128  	"cabal_config":                       "Cabal Config",
   129  	"cadence":                            "Cadence",
   130  	"cairo":                              "Cairo",
   131  	"cake":                               "C#",
   132  	"cakescript":                         "C#",
   133  	"cameligo":                           "CameLIGO",
   134  	"cap'n_proto":                        "Cap'n Proto",
   135  	"cap_cds":                            "CAP CDS",
   136  	"carto":                              "CartoCSS",
   137  	"cartocss":                           "CartoCSS",
   138  	"cds":                                "CAP CDS",
   139  	"ceylon":                             "Ceylon",
   140  	"cfc":                                "ColdFusion CFC",
   141  	"cfm":                                "ColdFusion",
   142  	"cfml":                               "ColdFusion",
   143  	"chapel":                             "Chapel",
   144  	"charity":                            "Charity",
   145  	"checksum":                           "Checksums",
   146  	"checksums":                          "Checksums",
   147  	"chpl":                               "Chapel",
   148  	"chuck":                              "ChucK",
   149  	"cil":                                "CIL",
   150  	"cirru":                              "Cirru",
   151  	"clarion":                            "Clarion",
   152  	"clarity":                            "Clarity",
   153  	"classic_asp":                        "Classic ASP",
   154  	"clean":                              "Clean",
   155  	"click":                              "Click",
   156  	"clipper":                            "xBase",
   157  	"clips":                              "CLIPS",
   158  	"clojure":                            "Clojure",
   159  	"closure_templates":                  "Closure Templates",
   160  	"cloud_firestore_security_rules":     "Cloud Firestore Security Rules",
   161  	"cmake":                              "CMake",
   162  	"cobol":                              "COBOL",
   163  	"coccinelle":                         "SmPL",
   164  	"codeowners":                         "CODEOWNERS",
   165  	"codeql":                             "CodeQL",
   166  	"coffee":                             "CoffeeScript",
   167  	"coffee-script":                      "CoffeeScript",
   168  	"coffeescript":                       "CoffeeScript",
   169  	"coldfusion":                         "ColdFusion",
   170  	"coldfusion_cfc":                     "ColdFusion CFC",
   171  	"coldfusion_html":                    "ColdFusion",
   172  	"collada":                            "COLLADA",
   173  	"common_lisp":                        "Common Lisp",
   174  	"common_workflow_language":           "Common Workflow Language",
   175  	"component_pascal":                   "Component Pascal",
   176  	"conll":                              "CoNLL-U",
   177  	"conll-u":                            "CoNLL-U",
   178  	"conll-x":                            "CoNLL-U",
   179  	"console":                            "ShellSession",
   180  	"containerfile":                      "Dockerfile",
   181  	"cool":                               "Cool",
   182  	"coq":                                "Coq",
   183  	"cperl":                              "Perl",
   184  	"cpp":                                "C++",
   185  	"cpp-objdump":                        "Cpp-ObjDump",
   186  	"creole":                             "Creole",
   187  	"crystal":                            "Crystal",
   188  	"csharp":                             "C#",
   189  	"cson":                               "CSON",
   190  	"csound":                             "Csound",
   191  	"csound-csd":                         "Csound Document",
   192  	"csound-orc":                         "Csound",
   193  	"csound-sco":                         "Csound Score",
   194  	"csound_document":                    "Csound Document",
   195  	"csound_score":                       "Csound Score",
   196  	"css":                                "CSS",
   197  	"csv":                                "CSV",
   198  	"cucumber":                           "Gherkin",
   199  	"cuda":                               "Cuda",
   200  	"cue":                                "CUE",
   201  	"cue_sheet":                          "Cue Sheet",
   202  	"curl_config":                        "cURL Config",
   203  	"curlrc":                             "cURL Config",
   204  	"curry":                              "Curry",
   205  	"cweb":                               "CWeb",
   206  	"cwl":                                "Common Workflow Language",
   207  	"cycript":                            "Cycript",
   208  	"cython":                             "Cython",
   209  	"d":                                  "D",
   210  	"d-objdump":                          "D-ObjDump",
   211  	"dafny":                              "Dafny",
   212  	"darcs_patch":                        "Darcs Patch",
   213  	"dart":                               "Dart",
   214  	"dataweave":                          "DataWeave",
   215  	"dcl":                                "DIGITAL Command Language",
   216  	"debian_package_control_file":        "Debian Package Control File",
   217  	"delphi":                             "Pascal",
   218  	"denizenscript":                      "DenizenScript",
   219  	"desktop":                            "desktop",
   220  	"dhall":                              "Dhall",
   221  	"diff":                               "Diff",
   222  	"digital_command_language":           "DIGITAL Command Language",
   223  	"dircolors":                          "dircolors",
   224  	"directx_3d_file":                    "DirectX 3D File",
   225  	"django":                             "Jinja",
   226  	"dlang":                              "D",
   227  	"dm":                                 "DM",
   228  	"dns_zone":                           "DNS Zone",
   229  	"dockerfile":                         "Dockerfile",
   230  	"dogescript":                         "Dogescript",
   231  	"dosbatch":                           "Batchfile",
   232  	"dosini":                             "INI",
   233  	"dpatch":                             "Darcs Patch",
   234  	"dtrace":                             "DTrace",
   235  	"dtrace-script":                      "DTrace",
   236  	"dylan":                              "Dylan",
   237  	"e":                                  "E",
   238  	"e-mail":                             "E-mail",
   239  	"eagle":                              "Eagle",
   240  	"earthfile":                          "Earthly",
   241  	"earthly":                            "Earthly",
   242  	"easybuild":                          "Easybuild",
   243  	"ebnf":                               "EBNF",
   244  	"ec":                                 "eC",
   245  	"ecere_projects":                     "Ecere Projects",
   246  	"ecl":                                "ECL",
   247  	"eclipse":                            "ECLiPSe",
   248  	"ecr":                                "HTML+ECR",
   249  	"editor-config":                      "EditorConfig",
   250  	"editorconfig":                       "EditorConfig",
   251  	"edje_data_collection":               "Edje Data Collection",
   252  	"edn":                                "edn",
   253  	"eeschema_schematic":                 "KiCad Schematic",
   254  	"eex":                                "HTML+EEX",
   255  	"eiffel":                             "Eiffel",
   256  	"ejs":                                "EJS",
   257  	"elisp":                              "Emacs Lisp",
   258  	"elixir":                             "Elixir",
   259  	"elm":                                "Elm",
   260  	"emacs":                              "Emacs Lisp",
   261  	"emacs_lisp":                         "Emacs Lisp",
   262  	"emacs_muse":                         "Muse",
   263  	"email":                              "E-mail",
   264  	"emberscript":                        "EmberScript",
   265  	"eml":                                "E-mail",
   266  	"eq":                                 "EQ",
   267  	"erb":                                "HTML+ERB",
   268  	"erlang":                             "Erlang",
   269  	"euphoria":                           "Euphoria",
   270  	"f#":                                 "F#",
   271  	"f*":                                 "F*",
   272  	"factor":                             "Factor",
   273  	"fancy":                              "Fancy",
   274  	"fantom":                             "Fantom",
   275  	"faust":                              "Faust",
   276  	"fb":                                 "FreeBasic",
   277  	"fennel":                             "Fennel",
   278  	"figfont":                            "FIGlet Font",
   279  	"figlet_font":                        "FIGlet Font",
   280  	"filebench_wml":                      "Filebench WML",
   281  	"filterscript":                       "Filterscript",
   282  	"fish":                               "fish",
   283  	"flex":                               "Lex",
   284  	"fluent":                             "Fluent",
   285  	"flux":                               "FLUX",
   286  	"formatted":                          "Formatted",
   287  	"forth":                              "Forth",
   288  	"fortran":                            "Fortran",
   289  	"fortran_free_form":                  "Fortran Free Form",
   290  	"foxpro":                             "xBase",
   291  	"freebasic":                          "FreeBasic",
   292  	"freemarker":                         "FreeMarker",
   293  	"frege":                              "Frege",
   294  	"fsharp":                             "F#",
   295  	"fstar":                              "F*",
   296  	"ftl":                                "FreeMarker",
   297  	"fundamental":                        "Text",
   298  	"futhark":                            "Futhark",
   299  	"g-code":                             "G-code",
   300  	"game_maker_language":                "Game Maker Language",
   301  	"gaml":                               "GAML",
   302  	"gams":                               "GAMS",
   303  	"gap":                                "GAP",
   304  	"gas":                                "Unix Assembly",
   305  	"gcc_machine_description":            "GCC Machine Description",
   306  	"gdb":                                "GDB",
   307  	"gdscript":                           "GDScript",
   308  	"gedcom":                             "GEDCOM",
   309  	"gemfile.lock":                       "Gemfile.lock",
   310  	"genero":                             "Genero",
   311  	"genero_forms":                       "Genero Forms",
   312  	"genie":                              "Genie",
   313  	"genshi":                             "Genshi",
   314  	"gentoo_ebuild":                      "Gentoo Ebuild",
   315  	"gentoo_eclass":                      "Gentoo Eclass",
   316  	"geojson":                            "JSON",
   317  	"gerber_image":                       "Gerber Image",
   318  	"gettext_catalog":                    "Gettext Catalog",
   319  	"gf":                                 "Grammatical Framework",
   320  	"gherkin":                            "Gherkin",
   321  	"git-ignore":                         "Ignore List",
   322  	"git_attributes":                     "Git Attributes",
   323  	"git_blame_ignore_revs":              "Git Revision List",
   324  	"git_config":                         "Git Config",
   325  	"git_revision_list":                  "Git Revision List",
   326  	"gitattributes":                      "Git Attributes",
   327  	"gitconfig":                          "Git Config",
   328  	"gitignore":                          "Ignore List",
   329  	"gitmodules":                         "Git Config",
   330  	"gleam":                              "Gleam",
   331  	"glsl":                               "GLSL",
   332  	"glyph":                              "Glyph",
   333  	"glyph_bitmap_distribution_format":   "Glyph Bitmap Distribution Format",
   334  	"gn":                                 "GN",
   335  	"gnu_asm":                            "Unix Assembly",
   336  	"gnuplot":                            "Gnuplot",
   337  	"go":                                 "Go",
   338  	"go.mod":                             "Go Module",
   339  	"go.sum":                             "Go Checksums",
   340  	"go_checksums":                       "Go Checksums",
   341  	"go_mod":                             "Go Module",
   342  	"go_module":                          "Go Module",
   343  	"go_sum":                             "Go Checksums",
   344  	"golang":                             "Go",
   345  	"golo":                               "Golo",
   346  	"gosu":                               "Gosu",
   347  	"grace":                              "Grace",
   348  	"gradle":                             "Gradle",
   349  	"grammatical_framework":              "Grammatical Framework",
   350  	"graph_modeling_language":            "Graph Modeling Language",
   351  	"graphql":                            "GraphQL",
   352  	"graphviz_(dot)":                     "Graphviz (DOT)",
   353  	"groff":                              "Roff",
   354  	"groovy":                             "Groovy",
   355  	"groovy_server_pages":                "Groovy Server Pages",
   356  	"gsc":                                "GSC",
   357  	"gsp":                                "Groovy Server Pages",
   358  	"hack":                               "Hack",
   359  	"haml":                               "Haml",
   360  	"handlebars":                         "Handlebars",
   361  	"haproxy":                            "HAProxy",
   362  	"harbour":                            "Harbour",
   363  	"hash":                               "Checksums",
   364  	"hashes":                             "Checksums",
   365  	"hashicorp_configuration_language":   "HCL",
   366  	"haskell":                            "Haskell",
   367  	"haxe":                               "Haxe",
   368  	"hbs":                                "Handlebars",
   369  	"hcl":                                "HCL",
   370  	"heex":                               "HTML+EEX",
   371  	"help":                               "Vim Help File",
   372  	"hiveql":                             "HiveQL",
   373  	"hlsl":                               "HLSL",
   374  	"holyc":                              "HolyC",
   375  	"hoon":                               "hoon",
   376  	"html":                               "HTML",
   377  	"html+django":                        "Jinja",
   378  	"html+ecr":                           "HTML+ECR",
   379  	"html+eex":                           "HTML+EEX",
   380  	"html+erb":                           "HTML+ERB",
   381  	"html+jinja":                         "Jinja",
   382  	"html+php":                           "HTML+PHP",
   383  	"html+razor":                         "HTML+Razor",
   384  	"html+ruby":                          "HTML+ERB",
   385  	"htmlbars":                           "Handlebars",
   386  	"htmldjango":                         "Jinja",
   387  	"http":                               "HTTP",
   388  	"hxml":                               "HXML",
   389  	"hy":                                 "Hy",
   390  	"hylang":                             "Hy",
   391  	"hyphy":                              "HyPhy",
   392  	"i7":                                 "Inform 7",
   393  	"idl":                                "IDL",
   394  	"idris":                              "Idris",
   395  	"ignore":                             "Ignore List",
   396  	"ignore_list":                        "Ignore List",
   397  	"igor":                               "IGOR Pro",
   398  	"igor_pro":                           "IGOR Pro",
   399  	"igorpro":                            "IGOR Pro",
   400  	"ijm":                                "ImageJ Macro",
   401  	"ile_rpg":                            "RPGLE",
   402  	"imagej_macro":                       "ImageJ Macro",
   403  	"inc":                                "PHP",
   404  	"inform7":                            "Inform 7",
   405  	"inform_7":                           "Inform 7",
   406  	"ini":                                "INI",
   407  	"inno_setup":                         "Inno Setup",
   408  	"inputrc":                            "Readline Config",
   409  	"io":                                 "Io",
   410  	"ioke":                               "Ioke",
   411  	"ipython_notebook":                   "Jupyter Notebook",
   412  	"irc":                                "IRC log",
   413  	"irc_log":                            "IRC log",
   414  	"irc_logs":                           "IRC log",
   415  	"isabelle":                           "Isabelle",
   416  	"isabelle_root":                      "Isabelle ROOT",
   417  	"j":                                  "J",
   418  	"janet":                              "Janet",
   419  	"jar_manifest":                       "JAR Manifest",
   420  	"jasmin":                             "Jasmin",
   421  	"java":                               "Java",
   422  	"java_properties":                    "Java Properties",
   423  	"java_server_page":                   "Groovy Server Pages",
   424  	"java_server_pages":                  "Java Server Pages",
   425  	"javascript":                         "JavaScript",
   426  	"javascript+erb":                     "JavaScript+ERB",
   427  	"jest_snapshot":                      "Jest Snapshot",
   428  	"jetbrains_mps":                      "JetBrains MPS",
   429  	"jflex":                              "JFlex",
   430  	"jinja":                              "Jinja",
   431  	"jison":                              "Jison",
   432  	"jison_lex":                          "Jison Lex",
   433  	"jolie":                              "Jolie",
   434  	"jq":                                 "jq",
   435  	"jruby":                              "Ruby",
   436  	"js":                                 "JavaScript",
   437  	"json":                               "JSON",
   438  	"json5":                              "JSON5",
   439  	"json_with_comments":                 "JSON with Comments",
   440  	"jsonc":                              "JSON with Comments",
   441  	"jsoniq":                             "JSONiq",
   442  	"jsonl":                              "JSON",
   443  	"jsonld":                             "JSONLD",
   444  	"jsonnet":                            "Jsonnet",
   445  	"jsp":                                "Java Server Pages",
   446  	"julia":                              "Julia",
   447  	"jupyter_notebook":                   "Jupyter Notebook",
   448  	"kaitai_struct":                      "Kaitai Struct",
   449  	"kak":                                "KakouneScript",
   450  	"kakounescript":                      "KakouneScript",
   451  	"kakscript":                          "KakouneScript",
   452  	"keyvalues":                          "Valve Data Format",
   453  	"kicad_layout":                       "KiCad Layout",
   454  	"kicad_legacy_layout":                "KiCad Legacy Layout",
   455  	"kicad_schematic":                    "KiCad Schematic",
   456  	"kit":                                "Kit",
   457  	"kotlin":                             "Kotlin",
   458  	"krl":                                "KRL",
   459  	"ksy":                                "Kaitai Struct",
   460  	"kusto":                              "Kusto",
   461  	"kvlang":                             "kvlang",
   462  	"labview":                            "LabVIEW",
   463  	"lark":                               "Lark",
   464  	"lasso":                              "Lasso",
   465  	"lassoscript":                        "Lasso",
   466  	"latex":                              "TeX",
   467  	"latte":                              "Latte",
   468  	"lean":                               "Lean",
   469  	"leex":                               "HTML+EEX",
   470  	"less":                               "Less",
   471  	"less-css":                           "Less",
   472  	"lex":                                "Lex",
   473  	"lfe":                                "LFE",
   474  	"lhaskell":                           "Literate Haskell",
   475  	"lhs":                                "Literate Haskell",
   476  	"ligolang":                           "LigoLANG",
   477  	"lilypond":                           "LilyPond",
   478  	"limbo":                              "Limbo",
   479  	"linker_script":                      "Linker Script",
   480  	"linux_kernel_module":                "Linux Kernel Module",
   481  	"liquid":                             "Liquid",
   482  	"lisp":                               "Common Lisp",
   483  	"litcoffee":                          "Literate CoffeeScript",
   484  	"literate_agda":                      "Literate Agda",
   485  	"literate_coffeescript":              "Literate CoffeeScript",
   486  	"literate_haskell":                   "Literate Haskell",
   487  	"live-script":                        "LiveScript",
   488  	"livescript":                         "LiveScript",
   489  	"llvm":                               "LLVM",
   490  	"logos":                              "Logos",
   491  	"logtalk":                            "Logtalk",
   492  	"lolcode":                            "LOLCODE",
   493  	"lookml":                             "LookML",
   494  	"loomscript":                         "LoomScript",
   495  	"ls":                                 "LiveScript",
   496  	"lsl":                                "LSL",
   497  	"ltspice_symbol":                     "LTspice Symbol",
   498  	"lua":                                "Lua",
   499  	"m":                                  "M",
   500  	"m2":                                 "Macaulay2",
   501  	"m4":                                 "M4",
   502  	"m4sugar":                            "M4Sugar",
   503  	"m68k":                               "Motorola 68K Assembly",
   504  	"macaulay2":                          "Macaulay2",
   505  	"macruby":                            "Ruby",
   506  	"mail":                               "E-mail",
   507  	"make":                               "Makefile",
   508  	"makefile":                           "Makefile",
   509  	"mako":                               "Mako",
   510  	"man":                                "Roff",
   511  	"man-page":                           "Roff",
   512  	"man_page":                           "Roff",
   513  	"manpage":                            "Roff",
   514  	"markdown":                           "Markdown",
   515  	"marko":                              "Marko",
   516  	"markojs":                            "Marko",
   517  	"mask":                               "Mask",
   518  	"mathematica":                        "Mathematica",
   519  	"matlab":                             "MATLAB",
   520  	"maven_pom":                          "Maven POM",
   521  	"max":                                "Max",
   522  	"max/msp":                            "Max",
   523  	"maxmsp":                             "Max",
   524  	"maxscript":                          "MAXScript",
   525  	"mbox":                               "E-mail",
   526  	"mcfunction":                         "mcfunction",
   527  	"mdoc":                               "Roff",
   528  	"mediawiki":                          "Wikitext",
   529  	"mercury":                            "Mercury",
   530  	"meson":                              "Meson",
   531  	"metal":                              "Metal",
   532  	"mf":                                 "Makefile",
   533  	"microsoft_developer_studio_project": "Microsoft Developer Studio Project",
   534  	"microsoft_visual_studio_solution":   "Microsoft Visual Studio Solution",
   535  	"minid":                              "MiniD",
   536  	"miniyaml":                           "MiniYAML",
   537  	"mint":                               "Mint",
   538  	"mirah":                              "Mirah",
   539  	"mirc_script":                        "mIRC Script",
   540  	"mlir":                               "MLIR",
   541  	"mma":                                "Mathematica",
   542  	"modelica":                           "Modelica",
   543  	"modula-2":                           "Modula-2",
   544  	"modula-3":                           "Modula-3",
   545  	"module_management_system":           "Module Management System",
   546  	"monkey":                             "Monkey",
   547  	"monkey_c":                           "Monkey C",
   548  	"moocode":                            "Moocode",
   549  	"moonscript":                         "MoonScript",
   550  	"motoko":                             "Motoko",
   551  	"motorola_68k_assembly":              "Motorola 68K Assembly",
   552  	"mps":                                "JetBrains MPS",
   553  	"mql4":                               "MQL4",
   554  	"mql5":                               "MQL5",
   555  	"mtml":                               "MTML",
   556  	"muf":                                "MUF",
   557  	"mumps":                              "M",
   558  	"mupad":                              "mupad",
   559  	"muse":                               "Muse",
   560  	"mustache":                           "Mustache",
   561  	"myghty":                             "Myghty",
   562  	"nanorc":                             "nanorc",
   563  	"nasl":                               "NASL",
   564  	"nasm":                               "Assembly",
   565  	"ncl":                                "NCL",
   566  	"ne-on":                              "NEON",
   567  	"nearley":                            "Nearley",
   568  	"nemerle":                            "Nemerle",
   569  	"neon":                               "NEON",
   570  	"neosnippet":                         "Vim Snippet",
   571  	"nesc":                               "nesC",
   572  	"netlinx":                            "NetLinx",
   573  	"netlinx+erb":                        "NetLinx+ERB",
   574  	"netlogo":                            "NetLogo",
   575  	"nette_object_notation":              "NEON",
   576  	"newlisp":                            "NewLisp",
   577  	"nextflow":                           "Nextflow",
   578  	"nginx":                              "Nginx",
   579  	"nginx_configuration_file":           "Nginx",
   580  	"nim":                                "Nim",
   581  	"ninja":                              "Ninja",
   582  	"nit":                                "Nit",
   583  	"nix":                                "Nix",
   584  	"nixos":                              "Nix",
   585  	"njk":                                "Nunjucks",
   586  	"nl":                                 "NL",
   587  	"node":                               "JavaScript",
   588  	"npm_config":                         "NPM Config",
   589  	"npmrc":                              "NPM Config",
   590  	"nroff":                              "Roff",
   591  	"nsis":                               "NSIS",
   592  	"nu":                                 "Nu",
   593  	"numpy":                              "NumPy",
   594  	"nunjucks":                           "Nunjucks",
   595  	"nush":                               "Nu",
   596  	"nvim":                               "Vim Script",
   597  	"nwscript":                           "NWScript",
   598  	"obj-c":                              "Objective-C",
   599  	"obj-c++":                            "Objective-C++",
   600  	"obj-j":                              "Objective-J",
   601  	"objc":                               "Objective-C",
   602  	"objc++":                             "Objective-C++",
   603  	"objdump":                            "ObjDump",
   604  	"object_data_instance_notation":      "Object Data Instance Notation",
   605  	"objective-c":                        "Objective-C",
   606  	"objective-c++":                      "Objective-C++",
   607  	"objective-j":                        "Objective-J",
   608  	"objectivec":                         "Objective-C",
   609  	"objectivec++":                       "Objective-C++",
   610  	"objectivej":                         "Objective-J",
   611  	"objectpascal":                       "Pascal",
   612  	"objectscript":                       "ObjectScript",
   613  	"objj":                               "Objective-J",
   614  	"ocaml":                              "OCaml",
   615  	"octave":                             "MATLAB",
   616  	"odin":                               "Odin",
   617  	"odin-lang":                          "Odin",
   618  	"odinlang":                           "Odin",
   619  	"omgrofl":                            "Omgrofl",
   620  	"oncrpc":                             "RPC",
   621  	"ooc":                                "ooc",
   622  	"opa":                                "Opa",
   623  	"opal":                               "Opal",
   624  	"open_policy_agent":                  "Open Policy Agent",
   625  	"opencl":                             "OpenCL",
   626  	"openedge":                           "OpenEdge ABL",
   627  	"openedge_abl":                       "OpenEdge ABL",
   628  	"openqasm":                           "OpenQASM",
   629  	"openrc":                             "OpenRC runscript",
   630  	"openrc_runscript":                   "OpenRC runscript",
   631  	"openscad":                           "OpenSCAD",
   632  	"openstep_property_list":             "OpenStep Property List",
   633  	"opentype_feature_file":              "OpenType Feature File",
   634  	"org":                                "Org",
   635  	"osascript":                          "AppleScript",
   636  	"ox":                                 "Ox",
   637  	"oxygene":                            "Oxygene",
   638  	"oz":                                 "Oz",
   639  	"p4":                                 "P4",
   640  	"pan":                                "Pan",
   641  	"pandoc":                             "Markdown",
   642  	"papyrus":                            "Papyrus",
   643  	"parrot":                             "Parrot",
   644  	"parrot_assembly":                    "Parrot Assembly",
   645  	"parrot_internal_representation":     "Parrot Internal Representation",
   646  	"pascal":                             "Pascal",
   647  	"pasm":                               "Parrot Assembly",
   648  	"pawn":                               "Pawn",
   649  	"pcbnew":                             "KiCad Layout",
   650  	"peg.js":                             "PEG.js",
   651  	"pep8":                               "Pep8",
   652  	"perl":                               "Perl",
   653  	"perl-6":                             "Raku",
   654  	"perl6":                              "Raku",
   655  	"php":                                "PHP",
   656  	"pic":                                "Pic",
   657  	"pickle":                             "Pickle",
   658  	"picolisp":                           "PicoLisp",
   659  	"piglatin":                           "PigLatin",
   660  	"pike":                               "Pike",
   661  	"pir":                                "Parrot Internal Representation",
   662  	"plain_text":                         "Text",
   663  	"plantuml":                           "PlantUML",
   664  	"plpgsql":                            "PLpgSQL",
   665  	"plsql":                              "PLSQL",
   666  	"pod":                                "Pod",
   667  	"pod_6":                              "Pod 6",
   668  	"pogoscript":                         "PogoScript",
   669  	"pony":                               "Pony",
   670  	"portugol":                           "Portugol",
   671  	"posh":                               "PowerShell",
   672  	"postcss":                            "PostCSS",
   673  	"postscr":                            "PostScript",
   674  	"postscript":                         "PostScript",
   675  	"pot":                                "Gettext Catalog",
   676  	"pov-ray":                            "POV-Ray SDL",
   677  	"pov-ray_sdl":                        "POV-Ray SDL",
   678  	"povray":                             "POV-Ray SDL",
   679  	"powerbuilder":                       "PowerBuilder",
   680  	"powershell":                         "PowerShell",
   681  	"prisma":                             "Prisma",
   682  	"processing":                         "Processing",
   683  	"procfile":                           "Procfile",
   684  	"progress":                           "OpenEdge ABL",
   685  	"proguard":                           "Proguard",
   686  	"prolog":                             "Prolog",
   687  	"promela":                            "Promela",
   688  	"propeller_spin":                     "Propeller Spin",
   689  	"protobuf":                           "Protocol Buffer",
   690  	"protobuf_text_format":               "Protocol Buffer Text Format",
   691  	"protocol_buffer":                    "Protocol Buffer",
   692  	"protocol_buffer_text_format":        "Protocol Buffer Text Format",
   693  	"protocol_buffers":                   "Protocol Buffer",
   694  	"public_key":                         "Public Key",
   695  	"pug":                                "Pug",
   696  	"puppet":                             "Puppet",
   697  	"pure_data":                          "Pure Data",
   698  	"purebasic":                          "PureBasic",
   699  	"purescript":                         "PureScript",
   700  	"pwsh":                               "PowerShell",
   701  	"pycon":                              "Python console",
   702  	"pyrex":                              "Cython",
   703  	"python":                             "Python",
   704  	"python3":                            "Python",
   705  	"python_console":                     "Python console",
   706  	"python_traceback":                   "Python traceback",
   707  	"q":                                  "q",
   708  	"q#":                                 "Q#",
   709  	"ql":                                 "CodeQL",
   710  	"qmake":                              "QMake",
   711  	"qml":                                "QML",
   712  	"qsharp":                             "Q#",
   713  	"qt_script":                          "Qt Script",
   714  	"quake":                              "Quake",
   715  	"r":                                  "R",
   716  	"racket":                             "Racket",
   717  	"ragel":                              "Ragel",
   718  	"ragel-rb":                           "Ragel",
   719  	"ragel-ruby":                         "Ragel",
   720  	"rake":                               "Ruby",
   721  	"raku":                               "Raku",
   722  	"raml":                               "RAML",
   723  	"rascal":                             "Rascal",
   724  	"raw":                                "Raw token data",
   725  	"raw_token_data":                     "Raw token data",
   726  	"razor":                              "HTML+Razor",
   727  	"rb":                                 "Ruby",
   728  	"rbx":                                "Ruby",
   729  	"rdoc":                               "RDoc",
   730  	"readline":                           "Readline Config",
   731  	"readline_config":                    "Readline Config",
   732  	"realbasic":                          "REALbasic",
   733  	"reason":                             "Reason",
   734  	"reasonligo":                         "ReasonLIGO",
   735  	"rebol":                              "Rebol",
   736  	"record_jar":                         "Record Jar",
   737  	"red":                                "Red",
   738  	"red/system":                         "Red",
   739  	"redcode":                            "Redcode",
   740  	"redirect_rules":                     "Redirect Rules",
   741  	"redirects":                          "Redirect Rules",
   742  	"regex":                              "Regular Expression",
   743  	"regexp":                             "Regular Expression",
   744  	"regular_expression":                 "Regular Expression",
   745  	"ren'py":                             "Ren'Py",
   746  	"renderscript":                       "RenderScript",
   747  	"renpy":                              "Ren'Py",
   748  	"rescript":                           "ReScript",
   749  	"restructuredtext":                   "reStructuredText",
   750  	"rexx":                               "REXX",
   751  	"rhtml":                              "HTML+ERB",
   752  	"rich_text_format":                   "Rich Text Format",
   753  	"ring":                               "Ring",
   754  	"riot":                               "Riot",
   755  	"rmarkdown":                          "RMarkdown",
   756  	"robotframework":                     "RobotFramework",
   757  	"robots":                             "robots.txt",
   758  	"robots.txt":                         "robots.txt",
   759  	"robots_txt":                         "robots.txt",
   760  	"roff":                               "Roff",
   761  	"roff_manpage":                       "Roff Manpage",
   762  	"rouge":                              "Rouge",
   763  	"rpc":                                "RPC",
   764  	"rpcgen":                             "RPC",
   765  	"rpgle":                              "RPGLE",
   766  	"rpm_spec":                           "RPM Spec",
   767  	"rs":                                 "Rust",
   768  	"rs-274x":                            "Gerber Image",
   769  	"rscript":                            "R",
   770  	"rss":                                "XML",
   771  	"rst":                                "reStructuredText",
   772  	"ruby":                               "Ruby",
   773  	"runoff":                             "RUNOFF",
   774  	"rust":                               "Rust",
   775  	"rusthon":                            "Python",
   776  	"sage":                               "Sage",
   777  	"salt":                               "SaltStack",
   778  	"saltstack":                          "SaltStack",
   779  	"saltstate":                          "SaltStack",
   780  	"sas":                                "SAS",
   781  	"sass":                               "Sass",
   782  	"scala":                              "Scala",
   783  	"scaml":                              "Scaml",
   784  	"scheme":                             "Scheme",
   785  	"scilab":                             "Scilab",
   786  	"scss":                               "SCSS",
   787  	"sed":                                "sed",
   788  	"self":                               "Self",
   789  	"selinux_kernel_policy_language":     "SELinux Policy",
   790  	"selinux_policy":                     "SELinux Policy",
   791  	"sepolicy":                           "SELinux Policy",
   792  	"sh":                                 "Shell",
   793  	"shaderlab":                          "ShaderLab",
   794  	"shell":                              "Shell",
   795  	"shell-script":                       "Shell",
   796  	"shellcheck_config":                  "ShellCheck Config",
   797  	"shellcheckrc":                       "ShellCheck Config",
   798  	"shellsession":                       "ShellSession",
   799  	"shen":                               "Shen",
   800  	"sieve":                              "Sieve",
   801  	"singularity":                        "Singularity",
   802  	"slash":                              "Slash",
   803  	"slice":                              "Slice",
   804  	"slim":                               "Slim",
   805  	"smali":                              "Smali",
   806  	"smalltalk":                          "Smalltalk",
   807  	"smarty":                             "Smarty",
   808  	"sml":                                "Standard ML",
   809  	"smpl":                               "SmPL",
   810  	"smt":                                "SMT",
   811  	"snipmate":                           "Vim Snippet",
   812  	"snippet":                            "YASnippet",
   813  	"solidity":                           "Solidity",
   814  	"soong":                              "Soong",
   815  	"sourcemod":                          "SourcePawn",
   816  	"sourcepawn":                         "SourcePawn",
   817  	"soy":                                "Closure Templates",
   818  	"sparql":                             "SPARQL",
   819  	"specfile":                           "RPM Spec",
   820  	"spline_font_database":               "Spline Font Database",
   821  	"splus":                              "R",
   822  	"sqf":                                "SQF",
   823  	"sql":                                "SQL",
   824  	"sqlpl":                              "SQLPL",
   825  	"sqlrpgle":                           "RPGLE",
   826  	"squeak":                             "Smalltalk",
   827  	"squirrel":                           "Squirrel",
   828  	"srecode_template":                   "SRecode Template",
   829  	"ssh_config":                         "SSH Config",
   830  	"stan":                               "Stan",
   831  	"standard_ml":                        "Standard ML",
   832  	"star":                               "STAR",
   833  	"starlark":                           "Starlark",
   834  	"stata":                              "Stata",
   835  	"stl":                                "STL",
   836  	"stla":                               "STL",
   837  	"ston":                               "STON",
   838  	"stringtemplate":                     "StringTemplate",
   839  	"stylus":                             "Stylus",
   840  	"subrip_text":                        "SubRip Text",
   841  	"sugarss":                            "SugarSS",
   842  	"sum":                                "Checksums",
   843  	"sums":                               "Checksums",
   844  	"supercollider":                      "SuperCollider",
   845  	"svelte":                             "Svelte",
   846  	"svg":                                "SVG",
   847  	"swift":                              "Swift",
   848  	"swig":                               "SWIG",
   849  	"systemverilog":                      "SystemVerilog",
   850  	"talon":                              "Talon",
   851  	"tcl":                                "Tcl",
   852  	"tcsh":                               "Tcsh",
   853  	"tea":                                "Tea",
   854  	"terra":                              "Terra",
   855  	"terraform":                          "HCL",
   856  	"tex":                                "TeX",
   857  	"texinfo":                            "Texinfo",
   858  	"text":                               "Text",
   859  	"text_proto":                         "Protocol Buffer Text Format",
   860  	"textile":                            "Textile",
   861  	"textmate_properties":                "TextMate Properties",
   862  	"thrift":                             "Thrift",
   863  	"ti_program":                         "TI Program",
   864  	"tl":                                 "Type Language",
   865  	"tla":                                "TLA",
   866  	"tm-properties":                      "TextMate Properties",
   867  	"toml":                               "TOML",
   868  	"topojson":                           "JSON",
   869  	"troff":                              "Roff",
   870  	"ts":                                 "TypeScript",
   871  	"tsql":                               "TSQL",
   872  	"tsv":                                "TSV",
   873  	"tsx":                                "TSX",
   874  	"turing":                             "Turing",
   875  	"turtle":                             "Turtle",
   876  	"twig":                               "Twig",
   877  	"txl":                                "TXL",
   878  	"type_language":                      "Type Language",
   879  	"typescript":                         "TypeScript",
   880  	"udiff":                              "Diff",
   881  	"ultisnip":                           "Vim Snippet",
   882  	"ultisnips":                          "Vim Snippet",
   883  	"unified_parallel_c":                 "Unified Parallel C",
   884  	"unity3d_asset":                      "Unity3D Asset",
   885  	"unix_asm":                           "Unix Assembly",
   886  	"unix_assembly":                      "Unix Assembly",
   887  	"uno":                                "Uno",
   888  	"unrealscript":                       "UnrealScript",
   889  	"ur":                                 "UrWeb",
   890  	"ur/web":                             "UrWeb",
   891  	"urweb":                              "UrWeb",
   892  	"v":                                  "V",
   893  	"vala":                               "Vala",
   894  	"valve_data_format":                  "Valve Data Format",
   895  	"vb.net":                             "Visual Basic .NET",
   896  	"vb6":                                "VBA",
   897  	"vb_.net":                            "Visual Basic .NET",
   898  	"vba":                                "VBA",
   899  	"vbnet":                              "Visual Basic .NET",
   900  	"vbscript":                           "VBScript",
   901  	"vcl":                                "VCL",
   902  	"vdf":                                "Valve Data Format",
   903  	"verilog":                            "Verilog",
   904  	"vhdl":                               "VHDL",
   905  	"vim":                                "Vim Script",
   906  	"vim_help_file":                      "Vim Help File",
   907  	"vim_script":                         "Vim Script",
   908  	"vim_snippet":                        "Vim Snippet",
   909  	"vimhelp":                            "Vim Help File",
   910  	"viml":                               "Vim Script",
   911  	"visual_basic":                       "Visual Basic .NET",
   912  	"visual_basic_.net":                  "Visual Basic .NET",
   913  	"visual_basic_6":                     "VBA",
   914  	"visual_basic_for_applications":      "VBA",
   915  	"vlang":                              "V",
   916  	"volt":                               "Volt",
   917  	"vtt":                                "WebVTT",
   918  	"vue":                                "Vue",
   919  	"vyper":                              "Vyper",
   920  	"wasm":                               "WebAssembly",
   921  	"wast":                               "WebAssembly",
   922  	"wavefront_material":                 "Wavefront Material",
   923  	"wavefront_object":                   "Wavefront Object",
   924  	"wdl":                                "wdl",
   925  	"web_ontology_language":              "Web Ontology Language",
   926  	"webassembly":                        "WebAssembly",
   927  	"webidl":                             "WebIDL",
   928  	"webvtt":                             "WebVTT",
   929  	"wget_config":                        "Wget Config",
   930  	"wgetrc":                             "Wget Config",
   931  	"whiley":                             "Whiley",
   932  	"wiki":                               "Wikitext",
   933  	"wikitext":                           "Wikitext",
   934  	"win32_message_file":                 "Win32 Message File",
   935  	"winbatch":                           "Batchfile",
   936  	"windows_registry_entries":           "Windows Registry Entries",
   937  	"wisp":                               "wisp",
   938  	"witcher_script":                     "Witcher Script",
   939  	"wl":                                 "Mathematica",
   940  	"wolfram":                            "Mathematica",
   941  	"wolfram_lang":                       "Mathematica",
   942  	"wolfram_language":                   "Mathematica",
   943  	"wollok":                             "Wollok",
   944  	"world_of_warcraft_addon_data":       "World of Warcraft Addon Data",
   945  	"wsdl":                               "XML",
   946  	"x10":                                "X10",
   947  	"x_bitmap":                           "X BitMap",
   948  	"x_font_directory_index":             "X Font Directory Index",
   949  	"x_pixmap":                           "X PixMap",
   950  	"xbase":                              "xBase",
   951  	"xbm":                                "X BitMap",
   952  	"xc":                                 "XC",
   953  	"xcompose":                           "XCompose",
   954  	"xdr":                                "RPC",
   955  	"xhtml":                              "HTML",
   956  	"xml":                                "XML",
   957  	"xml+genshi":                         "Genshi",
   958  	"xml+kid":                            "Genshi",
   959  	"xml_property_list":                  "XML Property List",
   960  	"xojo":                               "Xojo",
   961  	"xonsh":                              "Xonsh",
   962  	"xpages":                             "XPages",
   963  	"xpm":                                "X PixMap",
   964  	"xproc":                              "XProc",
   965  	"xquery":                             "XQuery",
   966  	"xs":                                 "XS",
   967  	"xsd":                                "XML",
   968  	"xsl":                                "XSLT",
   969  	"xslt":                               "XSLT",
   970  	"xten":                               "X10",
   971  	"xtend":                              "Xtend",
   972  	"yacc":                               "Yacc",
   973  	"yaml":                               "YAML",
   974  	"yang":                               "YANG",
   975  	"yara":                               "YARA",
   976  	"yas":                                "YASnippet",
   977  	"yasnippet":                          "YASnippet",
   978  	"yml":                                "YAML",
   979  	"yul":                                "Yul",
   980  	"zap":                                "ZAP",
   981  	"zeek":                               "Zeek",
   982  	"zenscript":                          "ZenScript",
   983  	"zephir":                             "Zephir",
   984  	"zig":                                "Zig",
   985  	"zil":                                "ZIL",
   986  	"zimpl":                              "Zimpl",
   987  	"zsh":                                "Shell",
   988  }
   989  
   990  // LanguageByAlias looks up the language name by it's alias or name.
   991  // It mirrors the logic of github linguist and is needed e.g for heuristcs.yml
   992  // that mixes names and aliases in a language field (see XPM example).
   993  func LanguageByAlias(langOrAlias string) (lang string, ok bool) {
   994  	k := convertToAliasKey(langOrAlias)
   995  	lang, ok = LanguageByAliasMap[k]
   996  	return
   997  }
   998  
   999  // convertToAliasKey converts language name to a key in LanguageByAliasMap.
  1000  // Following
  1001  //   - internal.code-generator.generator.convertToAliasKey()
  1002  //   - GetLanguageByAlias()
  1003  //
  1004  // conventions.
  1005  // It is here to avoid dependency on "generate" and "enry" packages.
  1006  func convertToAliasKey(langName string) string {
  1007  	ak := strings.SplitN(langName, `,`, 2)[0]
  1008  	ak = strings.Replace(ak, ` `, `_`, -1)
  1009  	ak = strings.ToLower(ak)
  1010  	return ak
  1011  }