Merge pull request #3 from lafriks-fork/feat/sync_linguist_7_9_0

sync to the latest github/linguist v7.9.0
This commit is contained in:
Alexander
2020-03-30 12:28:03 +02:00
committed by GitHub
30 changed files with 52041 additions and 30895 deletions

View File

@ -118,6 +118,8 @@ Parsing [linguist/samples](https://github.com/github/linguist/tree/master/sample
* [Heuristics for ".rno" extension](https://github.com/github/linguist/blob/3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d/lib/linguist/heuristics.yml#L365) in RUNOFF could not be parsed, due to unsupported lookahead in RE2 regexp engine. * [Heuristics for ".rno" extension](https://github.com/github/linguist/blob/3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d/lib/linguist/heuristics.yml#L365) in RUNOFF could not be parsed, due to unsupported lookahead in RE2 regexp engine.
* [Heuristics for ".inc" extension](https://github.com/github/linguist/blob/f0e2d0d7f1ce600b2a5acccaef6b149c87d8b99c/lib/linguist/heuristics.yml#L222) in NASL could not be parsed, due to unsupported possessive quantifier in RE2 regexp engine.
* As of [Linguist v5.3.2](https://github.com/github/linguist/releases/tag/v5.3.2) it is using [flex-based scanner in C for tokenization](https://github.com/github/linguist/pull/3846). Enry still uses [extract_token](https://github.com/github/linguist/pull/3846/files#diff-d5179df0b71620e3fac4535cd1368d15L60) regex-based algorithm. See [#193](https://github.com/src-d/enry/issues/193). * As of [Linguist v5.3.2](https://github.com/github/linguist/releases/tag/v5.3.2) it is using [flex-based scanner in C for tokenization](https://github.com/github/linguist/pull/3846). Enry still uses [extract_token](https://github.com/github/linguist/pull/3846/files#diff-d5179df0b71620e3fac4535cd1368d15L60) regex-based algorithm. See [#193](https://github.com/src-d/enry/issues/193).
* Bayesian classifier can't distinguish "SQL" from "PLpgSQL. See [#194](https://github.com/src-d/enry/issues/194). * Bayesian classifier can't distinguish "SQL" from "PLpgSQL. See [#194](https://github.com/src-d/enry/issues/194).

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -9,6 +9,7 @@ import "strings"
// All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores. // All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
var LanguageByAliasMap = map[string]string{ var LanguageByAliasMap = map[string]string{
"1c_enterprise": "1C Enterprise", "1c_enterprise": "1C Enterprise",
"4d": "4D",
"abap": "ABAP", "abap": "ABAP",
"abl": "OpenEdge ABL", "abl": "OpenEdge ABL",
"abnf": "ABNF", "abnf": "ABNF",
@ -36,6 +37,7 @@ var LanguageByAliasMap = map[string]string{
"altium_designer": "Altium Designer", "altium_designer": "Altium Designer",
"amfm": "Adobe Font Metrics", "amfm": "Adobe Font Metrics",
"ampl": "AMPL", "ampl": "AMPL",
"amusewiki": "Muse",
"angelscript": "AngelScript", "angelscript": "AngelScript",
"ant_build_system": "Ant Build System", "ant_build_system": "Ant Build System",
"antlr": "ANTLR", "antlr": "ANTLR",
@ -76,7 +78,9 @@ var LanguageByAliasMap = map[string]string{
"bat": "Batchfile", "bat": "Batchfile",
"batch": "Batchfile", "batch": "Batchfile",
"batchfile": "Batchfile", "batchfile": "Batchfile",
"bazel": "Starlark",
"befunge": "Befunge", "befunge": "Befunge",
"bibtex": "BibTeX",
"bison": "Bison", "bison": "Bison",
"bitbake": "BitBake", "bitbake": "BitBake",
"blade": "Blade", "blade": "Blade",
@ -93,6 +97,7 @@ var LanguageByAliasMap = map[string]string{
"bro": "Zeek", "bro": "Zeek",
"bsdmake": "Makefile", "bsdmake": "Makefile",
"byond": "DM", "byond": "DM",
"bzl": "Starlark",
"c": "C", "c": "C",
"c#": "C#", "c#": "C#",
"c++": "C++", "c++": "C++",
@ -124,6 +129,8 @@ var LanguageByAliasMap = map[string]string{
"cloud_firestore_security_rules": "Cloud Firestore Security Rules", "cloud_firestore_security_rules": "Cloud Firestore Security Rules",
"cmake": "CMake", "cmake": "CMake",
"cobol": "COBOL", "cobol": "COBOL",
"coccinelle": "SmPL",
"codeql": "CodeQL",
"coffee": "CoffeeScript", "coffee": "CoffeeScript",
"coffee-script": "CoffeeScript", "coffee-script": "CoffeeScript",
"coffeescript": "CoffeeScript", "coffeescript": "CoffeeScript",
@ -157,6 +164,8 @@ var LanguageByAliasMap = map[string]string{
"csv": "CSV", "csv": "CSV",
"cucumber": "Gherkin", "cucumber": "Gherkin",
"cuda": "Cuda", "cuda": "Cuda",
"curl_config": "cURL Config",
"curlrc": "cURL Config",
"cweb": "CWeb", "cweb": "CWeb",
"cwl": "Common Workflow Language", "cwl": "Common Workflow Language",
"cycript": "Cycript", "cycript": "Cycript",
@ -172,6 +181,8 @@ var LanguageByAliasMap = map[string]string{
"dhall": "Dhall", "dhall": "Dhall",
"diff": "Diff", "diff": "Diff",
"digital_command_language": "DIGITAL Command Language", "digital_command_language": "DIGITAL Command Language",
"dircolors": "dircolors",
"directx_3d_file": "DirectX 3D File",
"django": "HTML+Django", "django": "HTML+Django",
"dm": "DM", "dm": "DM",
"dns_zone": "DNS Zone", "dns_zone": "DNS Zone",
@ -205,6 +216,7 @@ var LanguageByAliasMap = map[string]string{
"elm": "Elm", "elm": "Elm",
"emacs": "Emacs Lisp", "emacs": "Emacs Lisp",
"emacs_lisp": "Emacs Lisp", "emacs_lisp": "Emacs Lisp",
"emacs_muse": "Muse",
"emberscript": "EmberScript", "emberscript": "EmberScript",
"eml": "EML", "eml": "EML",
"eq": "EQ", "eq": "EQ",
@ -215,6 +227,7 @@ var LanguageByAliasMap = map[string]string{
"factor": "Factor", "factor": "Factor",
"fancy": "Fancy", "fancy": "Fancy",
"fantom": "Fantom", "fantom": "Fantom",
"faust": "Faust",
"figfont": "FIGlet Font", "figfont": "FIGlet Font",
"figlet_font": "FIGlet Font", "figlet_font": "FIGlet Font",
"filebench_wml": "Filebench WML", "filebench_wml": "Filebench WML",
@ -234,6 +247,7 @@ var LanguageByAliasMap = map[string]string{
"fundamental": "Text", "fundamental": "Text",
"g-code": "G-code", "g-code": "G-code",
"game_maker_language": "Game Maker Language", "game_maker_language": "Game Maker Language",
"gaml": "GAML",
"gams": "GAMS", "gams": "GAMS",
"gap": "GAP", "gap": "GAP",
"gcc_machine_description": "GCC Machine Description", "gcc_machine_description": "GCC Machine Description",
@ -315,6 +329,7 @@ var LanguageByAliasMap = map[string]string{
"inform_7": "Inform 7", "inform_7": "Inform 7",
"ini": "INI", "ini": "INI",
"inno_setup": "Inno Setup", "inno_setup": "Inno Setup",
"inputrc": "Readline Config",
"io": "Io", "io": "Io",
"ioke": "Ioke", "ioke": "Ioke",
"ipython_notebook": "Jupyter Notebook", "ipython_notebook": "Jupyter Notebook",
@ -390,6 +405,7 @@ var LanguageByAliasMap = map[string]string{
"m": "M", "m": "M",
"m4": "M4", "m4": "M4",
"m4sugar": "M4Sugar", "m4sugar": "M4Sugar",
"m68k": "Motorola 68K Assembly",
"macruby": "Ruby", "macruby": "Ruby",
"make": "Makefile", "make": "Makefile",
"makefile": "Makefile", "makefile": "Makefile",
@ -416,8 +432,11 @@ var LanguageByAliasMap = map[string]string{
"meson": "Meson", "meson": "Meson",
"metal": "Metal", "metal": "Metal",
"mf": "Makefile", "mf": "Makefile",
"microsoft_developer_studio_project": "Microsoft Developer Studio Project",
"minid": "MiniD", "minid": "MiniD",
"mirah": "Mirah", "mirah": "Mirah",
"mirc_script": "mIRC Script",
"mlir": "MLIR",
"mma": "Mathematica", "mma": "Mathematica",
"modelica": "Modelica", "modelica": "Modelica",
"modula-2": "Modula-2", "modula-2": "Modula-2",
@ -433,12 +452,15 @@ var LanguageByAliasMap = map[string]string{
"muf": "MUF", "muf": "MUF",
"mumps": "M", "mumps": "M",
"mupad": "mupad", "mupad": "mupad",
"muse": "Muse",
"myghty": "Myghty", "myghty": "Myghty",
"nanorc": "nanorc", "nanorc": "nanorc",
"nasl": "NASL",
"nasm": "Assembly", "nasm": "Assembly",
"ncl": "NCL", "ncl": "NCL",
"nearley": "Nearley", "nearley": "Nearley",
"nemerle": "Nemerle", "nemerle": "Nemerle",
"neosnippet": "Vim Snippet",
"nesc": "nesC", "nesc": "nesC",
"netlinx": "NetLinx", "netlinx": "NetLinx",
"netlinx+erb": "NetLinx+ERB", "netlinx+erb": "NetLinx+ERB",
@ -455,6 +477,8 @@ var LanguageByAliasMap = map[string]string{
"njk": "HTML+Django", "njk": "HTML+Django",
"nl": "NL", "nl": "NL",
"node": "JavaScript", "node": "JavaScript",
"npm_config": "NPM Config",
"npmrc": "NPM Config",
"nroff": "Roff", "nroff": "Roff",
"nsis": "NSIS", "nsis": "NSIS",
"nu": "Nu", "nu": "Nu",
@ -468,6 +492,7 @@ var LanguageByAliasMap = map[string]string{
"objc": "Objective-C", "objc": "Objective-C",
"objc++": "Objective-C++", "objc++": "Objective-C++",
"objdump": "ObjDump", "objdump": "ObjDump",
"object_data_instance_notation": "Object Data Instance Notation",
"objective-c": "Objective-C", "objective-c": "Objective-C",
"objective-c++": "Objective-C++", "objective-c++": "Objective-C++",
"objective-j": "Objective-J", "objective-j": "Objective-J",
@ -479,17 +504,23 @@ var LanguageByAliasMap = map[string]string{
"objj": "Objective-J", "objj": "Objective-J",
"ocaml": "OCaml", "ocaml": "OCaml",
"octave": "MATLAB", "octave": "MATLAB",
"odin": "Odin",
"odin-lang": "Odin",
"odinlang": "Odin",
"omgrofl": "Omgrofl", "omgrofl": "Omgrofl",
"oncrpc": "RPC", "oncrpc": "RPC",
"ooc": "ooc", "ooc": "ooc",
"opa": "Opa", "opa": "Opa",
"opal": "Opal", "opal": "Opal",
"open_policy_agent": "Open Policy Agent",
"opencl": "OpenCL", "opencl": "OpenCL",
"openedge": "OpenEdge ABL", "openedge": "OpenEdge ABL",
"openedge_abl": "OpenEdge ABL", "openedge_abl": "OpenEdge ABL",
"openqasm": "OpenQASM",
"openrc": "OpenRC runscript", "openrc": "OpenRC runscript",
"openrc_runscript": "OpenRC runscript", "openrc_runscript": "OpenRC runscript",
"openscad": "OpenSCAD", "openscad": "OpenSCAD",
"openstep_property_list": "OpenStep Property List",
"opentype_feature_file": "OpenType Feature File", "opentype_feature_file": "OpenType Feature File",
"org": "Org", "org": "Org",
"osascript": "AppleScript", "osascript": "AppleScript",
@ -509,8 +540,8 @@ var LanguageByAliasMap = map[string]string{
"pcbnew": "KiCad Layout", "pcbnew": "KiCad Layout",
"pep8": "Pep8", "pep8": "Pep8",
"perl": "Perl", "perl": "Perl",
"perl6": "Perl 6", "perl-6": "Raku",
"perl_6": "Perl 6", "perl6": "Raku",
"php": "PHP", "php": "PHP",
"pic": "Pic", "pic": "Pic",
"pickle": "Pickle", "pickle": "Pickle",
@ -518,6 +549,7 @@ var LanguageByAliasMap = map[string]string{
"piglatin": "PigLatin", "piglatin": "PigLatin",
"pike": "Pike", "pike": "Pike",
"pir": "Parrot Internal Representation", "pir": "Parrot Internal Representation",
"plantuml": "PlantUML",
"plpgsql": "PLpgSQL", "plpgsql": "PLpgSQL",
"plsql": "PLSQL", "plsql": "PLSQL",
"pod": "Pod", "pod": "Pod",
@ -534,8 +566,10 @@ var LanguageByAliasMap = map[string]string{
"povray": "POV-Ray SDL", "povray": "POV-Ray SDL",
"powerbuilder": "PowerBuilder", "powerbuilder": "PowerBuilder",
"powershell": "PowerShell", "powershell": "PowerShell",
"prisma": "Prisma",
"processing": "Processing", "processing": "Processing",
"progress": "OpenEdge ABL", "progress": "OpenEdge ABL",
"proguard": "Proguard",
"prolog": "Prolog", "prolog": "Prolog",
"propeller_spin": "Propeller Spin", "propeller_spin": "Propeller Spin",
"protobuf": "Protocol Buffer", "protobuf": "Protocol Buffer",
@ -555,6 +589,7 @@ var LanguageByAliasMap = map[string]string{
"python_console": "Python console", "python_console": "Python console",
"python_traceback": "Python traceback", "python_traceback": "Python traceback",
"q": "q", "q": "q",
"ql": "CodeQL",
"qmake": "QMake", "qmake": "QMake",
"qml": "QML", "qml": "QML",
"quake": "Quake", "quake": "Quake",
@ -564,6 +599,7 @@ var LanguageByAliasMap = map[string]string{
"ragel-rb": "Ragel", "ragel-rb": "Ragel",
"ragel-ruby": "Ragel", "ragel-ruby": "Ragel",
"rake": "Ruby", "rake": "Ruby",
"raku": "Raku",
"raml": "RAML", "raml": "RAML",
"rascal": "Rascal", "rascal": "Rascal",
"raw": "Raw token data", "raw": "Raw token data",
@ -572,6 +608,8 @@ var LanguageByAliasMap = map[string]string{
"rb": "Ruby", "rb": "Ruby",
"rbx": "Ruby", "rbx": "Ruby",
"rdoc": "RDoc", "rdoc": "RDoc",
"readline": "Readline Config",
"readline_config": "Readline Config",
"realbasic": "REALbasic", "realbasic": "REALbasic",
"reason": "Reason", "reason": "Reason",
"rebol": "Rebol", "rebol": "Rebol",
@ -589,6 +627,7 @@ var LanguageByAliasMap = map[string]string{
"rhtml": "RHTML", "rhtml": "RHTML",
"rich_text_format": "Rich Text Format", "rich_text_format": "Rich Text Format",
"ring": "Ring", "ring": "Ring",
"riot": "Riot",
"rmarkdown": "RMarkdown", "rmarkdown": "RMarkdown",
"robotframework": "RobotFramework", "robotframework": "RobotFramework",
"roff": "Roff", "roff": "Roff",
@ -631,7 +670,9 @@ var LanguageByAliasMap = map[string]string{
"smalltalk": "Smalltalk", "smalltalk": "Smalltalk",
"smarty": "Smarty", "smarty": "Smarty",
"sml": "Standard ML", "sml": "Standard ML",
"smpl": "SmPL",
"smt": "SMT", "smt": "SMT",
"snipmate": "Vim Snippet",
"snippet": "YASnippet", "snippet": "YASnippet",
"solidity": "Solidity", "solidity": "Solidity",
"sourcemod": "SourcePawn", "sourcemod": "SourcePawn",
@ -650,6 +691,7 @@ var LanguageByAliasMap = map[string]string{
"ssh_config": "SSH Config", "ssh_config": "SSH Config",
"stan": "Stan", "stan": "Stan",
"standard_ml": "Standard ML", "standard_ml": "Standard ML",
"starlark": "Starlark",
"stata": "Stata", "stata": "Stata",
"ston": "STON", "ston": "STON",
"stylus": "Stylus", "stylus": "Stylus",
@ -659,6 +701,7 @@ var LanguageByAliasMap = map[string]string{
"svelte": "Svelte", "svelte": "Svelte",
"svg": "SVG", "svg": "SVG",
"swift": "Swift", "swift": "Swift",
"swig": "SWIG",
"systemverilog": "SystemVerilog", "systemverilog": "SystemVerilog",
"tcl": "Tcl", "tcl": "Tcl",
"tcsh": "Tcsh", "tcsh": "Tcsh",
@ -666,6 +709,7 @@ var LanguageByAliasMap = map[string]string{
"terra": "Terra", "terra": "Terra",
"terraform": "HCL", "terraform": "HCL",
"tex": "TeX", "tex": "TeX",
"texinfo": "Texinfo",
"text": "Text", "text": "Text",
"textile": "Textile", "textile": "Textile",
"thrift": "Thrift", "thrift": "Thrift",
@ -684,6 +728,8 @@ var LanguageByAliasMap = map[string]string{
"type_language": "Type Language", "type_language": "Type Language",
"typescript": "TypeScript", "typescript": "TypeScript",
"udiff": "Diff", "udiff": "Diff",
"ultisnip": "Vim Snippet",
"ultisnips": "Vim Snippet",
"unified_parallel_c": "Unified Parallel C", "unified_parallel_c": "Unified Parallel C",
"unity3d_asset": "Unity3D Asset", "unity3d_asset": "Unity3D Asset",
"unix_assembly": "Unix Assembly", "unix_assembly": "Unix Assembly",
@ -692,16 +738,26 @@ var LanguageByAliasMap = map[string]string{
"ur": "UrWeb", "ur": "UrWeb",
"ur/web": "UrWeb", "ur/web": "UrWeb",
"urweb": "UrWeb", "urweb": "UrWeb",
"v": "V",
"vala": "Vala", "vala": "Vala",
"vb.net": "Visual Basic", "vb.net": "Visual Basic .NET",
"vbnet": "Visual Basic", "vb6": "VBA",
"vb_.net": "Visual Basic .NET",
"vba": "VBA",
"vbnet": "Visual Basic .NET",
"vbscript": "VBScript",
"vcl": "VCL", "vcl": "VCL",
"verilog": "Verilog", "verilog": "Verilog",
"vhdl": "VHDL", "vhdl": "VHDL",
"vim": "Vim script", "vim": "Vim script",
"vim_script": "Vim script", "vim_script": "Vim script",
"vim_snippet": "Vim Snippet",
"viml": "Vim script", "viml": "Vim script",
"visual_basic": "Visual Basic", "visual_basic": "Visual Basic .NET",
"visual_basic_.net": "Visual Basic .NET",
"visual_basic_6": "VBA",
"visual_basic_for_applications": "VBA",
"vlang": "V",
"volt": "Volt", "volt": "Volt",
"vue": "Vue", "vue": "Vue",
"wasm": "WebAssembly", "wasm": "WebAssembly",
@ -713,6 +769,8 @@ var LanguageByAliasMap = map[string]string{
"webassembly": "WebAssembly", "webassembly": "WebAssembly",
"webidl": "WebIDL", "webidl": "WebIDL",
"webvtt": "WebVTT", "webvtt": "WebVTT",
"wget_config": "Wget Config",
"wgetrc": "Wget Config",
"winbatch": "Batchfile", "winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries", "windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp", "wisp": "wisp",
@ -732,6 +790,7 @@ var LanguageByAliasMap = map[string]string{
"xml": "XML", "xml": "XML",
"xml+genshi": "Genshi", "xml+genshi": "Genshi",
"xml+kid": "Genshi", "xml+kid": "Genshi",
"xml_property_list": "XML Property List",
"xojo": "Xojo", "xojo": "Xojo",
"xpages": "XPages", "xpages": "XPages",
"xpm": "X PixMap", "xpm": "X PixMap",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -71,11 +71,13 @@ var LanguagesColor = map[string]string{
"Factor": "#636746", "Factor": "#636746",
"Fancy": "#7b9db4", "Fancy": "#7b9db4",
"Fantom": "#14253c", "Fantom": "#14253c",
"Faust": "#c37240",
"Forth": "#341708", "Forth": "#341708",
"Fortran": "#4d41b1", "Fortran": "#4d41b1",
"FreeMarker": "#0050b2", "FreeMarker": "#0050b2",
"Frege": "#00cafe", "Frege": "#00cafe",
"G-code": "#D08CF2", "G-code": "#D08CF2",
"GAML": "#FFC766",
"GDScript": "#355570", "GDScript": "#355570",
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Genie": "#fb855d", "Genie": "#fb855d",
@ -96,6 +98,7 @@ var LanguagesColor = map[string]string{
"HolyC": "#ffefaf", "HolyC": "#ffefaf",
"Hy": "#7790B2", "Hy": "#7790B2",
"IDL": "#a3522f", "IDL": "#a3522f",
"IGOR Pro": "#0000cc",
"Idris": "#b30000", "Idris": "#b30000",
"Io": "#a9188d", "Io": "#a9188d",
"Ioke": "#078193", "Ioke": "#078193",
@ -121,6 +124,7 @@ var LanguagesColor = map[string]string{
"Lua": "#000080", "Lua": "#000080",
"MATLAB": "#e16737", "MATLAB": "#e16737",
"MAXScript": "#00a6a6", "MAXScript": "#00a6a6",
"MLIR": "#5EC8DB",
"MQL4": "#62A8D6", "MQL4": "#62A8D6",
"MQL5": "#4A76B8", "MQL5": "#4A76B8",
"MTML": "#b7e1f4", "MTML": "#b7e1f4",
@ -149,8 +153,10 @@ var LanguagesColor = map[string]string{
"Objective-C": "#438eff", "Objective-C": "#438eff",
"Objective-C++": "#6866fb", "Objective-C++": "#6866fb",
"Objective-J": "#ff0c5a", "Objective-J": "#ff0c5a",
"Odin": "#60AFFE",
"Omgrofl": "#cabbff", "Omgrofl": "#cabbff",
"Opal": "#f7ede0", "Opal": "#f7ede0",
"OpenQASM": "#AA70FF",
"Oxygene": "#cdd0e3", "Oxygene": "#cdd0e3",
"Oz": "#fab738", "Oz": "#fab738",
"P4": "#7055b5", "P4": "#7055b5",
@ -163,7 +169,6 @@ var LanguagesColor = map[string]string{
"Pawn": "#dbb284", "Pawn": "#dbb284",
"Pep8": "#C76F5B", "Pep8": "#C76F5B",
"Perl": "#0298c3", "Perl": "#0298c3",
"Perl 6": "#0000fb",
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"PogoScript": "#d80074", "PogoScript": "#d80074",
@ -184,11 +189,14 @@ var LanguagesColor = map[string]string{
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#3c5caa", "Racket": "#3c5caa",
"Ragel": "#9d5200", "Ragel": "#9d5200",
"Raku": "#0000fb",
"Rascal": "#fffaa0", "Rascal": "#fffaa0",
"Reason": "#ff5847",
"Rebol": "#358a5b", "Rebol": "#358a5b",
"Red": "#f50000", "Red": "#f50000",
"Ren'Py": "#ff7f7f", "Ren'Py": "#ff7f7f",
"Ring": "#2D54CB", "Ring": "#2D54CB",
"Riot": "#A71E49",
"Roff": "#ecdebe", "Roff": "#ecdebe",
"Rouge": "#cc0088", "Rouge": "#cc0088",
"Ruby": "#701516", "Ruby": "#701516",
@ -204,12 +212,14 @@ var LanguagesColor = map[string]string{
"Shen": "#120F14", "Shen": "#120F14",
"Slash": "#007eff", "Slash": "#007eff",
"Slice": "#003fa2", "Slice": "#003fa2",
"SmPL": "#c94949",
"Smalltalk": "#596706", "Smalltalk": "#596706",
"Solidity": "#AA6746", "Solidity": "#AA6746",
"SourcePawn": "#5c7611", "SourcePawn": "#5c7611",
"Squirrel": "#800000", "Squirrel": "#800000",
"Stan": "#b2011d", "Stan": "#b2011d",
"Standard ML": "#dc566d", "Standard ML": "#dc566d",
"Starlark": "#76d275",
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Swift": "#ffac45", "Swift": "#ffac45",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
@ -220,12 +230,15 @@ var LanguagesColor = map[string]string{
"Turing": "#cf142b", "Turing": "#cf142b",
"TypeScript": "#2b7489", "TypeScript": "#2b7489",
"UnrealScript": "#a54c4d", "UnrealScript": "#a54c4d",
"V": "#5d87bd",
"VBA": "#867db1",
"VBScript": "#15dcdc",
"VCL": "#148AA8", "VCL": "#148AA8",
"VHDL": "#adb2cb", "VHDL": "#adb2cb",
"Vala": "#fbe5cd", "Vala": "#fbe5cd",
"Verilog": "#b2b7f8", "Verilog": "#b2b7f8",
"Vim script": "#199f4b", "Vim script": "#199f4b",
"Visual Basic": "#945db7", "Visual Basic .NET": "#945db7",
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#2c3e50", "Vue": "#2c3e50",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
@ -243,6 +256,7 @@ var LanguagesColor = map[string]string{
"Zephir": "#118f9e", "Zephir": "#118f9e",
"Zig": "#ec915c", "Zig": "#ec915c",
"eC": "#913960", "eC": "#913960",
"mIRC Script": "#926059",
"mcfunction": "#E22837", "mcfunction": "#E22837",
"nesC": "#94B0C7", "nesC": "#94B0C7",
"ooc": "#b0b77e", "ooc": "#b0b77e",

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d" var LinguistCommit = "40992ba7f86889f80dfed3ba95e11e1082200bad"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -591,6 +591,12 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^(\/\/.+|((import|export)\s+)?(function|int|float|char)\s+((room|repeatedly|on|game)_)?([A-Za-z]+[A-Za-z_0-9]+)\s*[;\(])`), regexp.MustCompile(`(?m)^(\/\/.+|((import|export)\s+)?(function|int|float|char)\s+((room|repeatedly|on|game)_)?([A-Za-z]+[A-Za-z_0-9]+)\s*[;\(])`),
), ),
}, },
".asm": &Heuristics{
rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"),
regexp.MustCompile(`(?m)(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b|(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+|(?im)^\s*move\.[bwl]\s+.*\b[ad]\d|(?im)^\s*movem\.[bwl]\b|(?im)^\s*move[mp](?:\.[wl])?\b|(?im)^\s*btst\b|(?im)^\s*dbra\b`),
),
},
".asy": &Heuristics{ ".asy": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("LTspice Symbol"), rule.MatchingLanguages("LTspice Symbol"),
@ -673,6 +679,16 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)([\/\\].*:\s+.*\s\\$|: \\$|^[ %]:|^[\w\s\/\\.]+\w+\.\w+\s*:\s+[\w\s\/\\.]+\w+\.\w+)`), regexp.MustCompile(`(?m)([\/\\].*:\s+.*\s\\$|: \\$|^[ %]:|^[\w\s\/\\.]+\w+\.\w+\s*:\s+[\w\s\/\\.]+\w+\.\w+)`),
), ),
}, },
".dsp": &Heuristics{
rule.Or(
rule.MatchingLanguages("Microsoft Developer Studio Project"),
regexp.MustCompile(`(?m)# Microsoft Developer Studio Generated Build File`),
),
rule.Or(
rule.MatchingLanguages("Faust"),
regexp.MustCompile(`(?m)\bprocess\s*[(=]|\b(library|import)\s*\(\s*"|\bdeclare\s+(name|version|author|copyright|license)\s+"`),
),
},
".ecl": &Heuristics{ ".ecl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("ECLiPSe"), rule.MatchingLanguages("ECLiPSe"),
@ -772,6 +788,10 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".gs": &Heuristics{ ".gs": &Heuristics{
rule.Or(
rule.MatchingLanguages("GLSL"),
regexp.MustCompile(`(?m)^#version\s+[0-9]+\b`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("Gosu"), rule.MatchingLanguages("Gosu"),
regexp.MustCompile(`(?m)^uses java\.`), regexp.MustCompile(`(?m)^uses java\.`),
@ -793,6 +813,16 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)<\?hh`), regexp.MustCompile(`(?m)<\?hh`),
), ),
}, },
".i": &Heuristics{
rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"),
regexp.MustCompile(`(?m)(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b|(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+|(?im)^\s*move\.[bwl]\s+.*\b[ad]\d|(?im)^\s*movem\.[bwl]\b|(?im)^\s*move[mp](?:\.[wl])?\b|(?im)^\s*btst\b|(?im)^\s*dbra\b`),
),
rule.Or(
rule.MatchingLanguages("SWIG"),
regexp.MustCompile(`(?m)^[ \t]*%[a-z_]+\b|^%[{}]$`),
),
},
".ice": &Heuristics{ ".ice": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("JSON"), rule.MatchingLanguages("JSON"),
@ -803,6 +833,10 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".inc": &Heuristics{ ".inc": &Heuristics{
rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"),
regexp.MustCompile(`(?m)(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b|(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+|(?im)^\s*move\.[bwl]\s+.*\b[ad]\d|(?im)^\s*movem\.[bwl]\b|(?im)^\s*move[mp](?:\.[wl])?\b|(?im)^\s*btst\b|(?im)^\s*dbra\b`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("PHP"), rule.MatchingLanguages("PHP"),
regexp.MustCompile(`(?m)^<\?(?:php)?`), regexp.MustCompile(`(?m)^<\?(?:php)?`),
@ -931,6 +965,12 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Roff"), rule.MatchingLanguages("Roff"),
), ),
}, },
".mask": &Heuristics{
rule.Or(
rule.MatchingLanguages("Unity3d Asset"),
regexp.MustCompile(`(?m)tag:unity3d.com`),
),
},
".md": &Heuristics{ ".md": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Markdown"), rule.MatchingLanguages("Markdown"),
@ -1047,6 +1087,25 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("NewLisp"), rule.MatchingLanguages("NewLisp"),
), ),
}, },
".odin": &Heuristics{
rule.Or(
rule.MatchingLanguages("Object Data Instance Notation"),
regexp.MustCompile(`(?m)(?:^|<)\s*[A-Za-z0-9_]+\s*=\s*<`),
),
rule.Or(
rule.MatchingLanguages("Odin"),
regexp.MustCompile(`(?m)package\s+\w+|\b(?:im|ex)port\s*"[\w:./]+"|\w+\s*::\s*(?:proc|struct)\s*\(|^\s*//\s`),
),
},
".p": &Heuristics{
rule.Or(
rule.MatchingLanguages("Gnuplot"),
regexp.MustCompile(`(?m)^s?plot\b|^set\s+(term|terminal|out|output|[xy]tics|[xy]label|[xy]range|style)\b`),
),
rule.Always(
rule.MatchingLanguages("OpenEdge ABL"),
),
},
".php": &Heuristics{ ".php": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Hack"), rule.MatchingLanguages("Hack"),
@ -1067,17 +1126,26 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`), regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Perl 6"), rule.MatchingLanguages("Raku"),
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`), regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
), ),
}, },
".plist": &Heuristics{
rule.Or(
rule.MatchingLanguages("XML Property List"),
regexp.MustCompile(`(?m)<!DOCTYPE\s+plist`),
),
rule.Always(
rule.MatchingLanguages("OpenStep Property List"),
),
},
".pm": &Heuristics{ ".pm": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`), regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Perl 6"), rule.MatchingLanguages("Raku"),
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`), regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
), ),
rule.Or( rule.Or(
@ -1105,6 +1173,10 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".pro": &Heuristics{ ".pro": &Heuristics{
rule.Or(
rule.MatchingLanguages("Proguard"),
regexp.MustCompile(`(?m)^-(include\b.*\.pro$|keep\b|keepclassmembers\b|keepattributes\b)`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("Prolog"), rule.MatchingLanguages("Prolog"),
regexp.MustCompile(`(?m)^[^\[#]+:-`), regexp.MustCompile(`(?m)^[^\[#]+:-`),
@ -1216,6 +1288,12 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`), regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`),
), ),
}, },
".s": &Heuristics{
rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"),
regexp.MustCompile(`(?m)(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b|(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+|(?im)^\s*move\.[bwl]\s+.*\b[ad]\d|(?im)^\s*movem\.[bwl]\b|(?im)^\s*move[mp](?:\.[wl])?\b|(?im)^\s*btst\b|(?im)^\s*dbra\b`),
),
},
".sc": &Heuristics{ ".sc": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("SuperCollider"), rule.MatchingLanguages("SuperCollider"),
@ -1267,7 +1345,7 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`), regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Perl 6"), rule.MatchingLanguages("Raku"),
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`), regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
), ),
rule.Or( rule.Or(
@ -1313,13 +1391,27 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`), regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`),
), ),
}, },
".v": &Heuristics{
rule.Or(
rule.MatchingLanguages("Coq"),
regexp.MustCompile(`(?m)\(\*.*?\*\)|(?:^|\s)(?:Proof|Qed)\.(?:$|\s)|(?:^|\s)Require[ \t]+Import\s`),
),
rule.Or(
rule.MatchingLanguages("Verilog"),
regexp.MustCompile(`(?m)^[ \t]*module\s+[^\s()]+\s+\#?\(|^[ \t]*`+"`"+`(?:ifdef|timescale)\s|^[ \t]*always[ \t]+@`),
),
rule.Or(
rule.MatchingLanguages("V"),
regexp.MustCompile(`(?m)\$(?:if|else)[ \t]|^[ \t]*fn\s+[^\s()]+\(.*?\).*?\{|^[ \t]*for\s*\{`),
),
},
".vba": &Heuristics{ ".vba": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Vim script"), rule.MatchingLanguages("Vim script"),
regexp.MustCompile(`(?m)^UseVimball`), regexp.MustCompile(`(?m)^UseVimball`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("Visual Basic"), rule.MatchingLanguages("VBA"),
), ),
}, },
".w": &Heuristics{ ".w": &Heuristics{
@ -1333,6 +1425,10 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".x": &Heuristics{ ".x": &Heuristics{
rule.Or(
rule.MatchingLanguages("DirectX 3D File"),
regexp.MustCompile(`(?m)^xof 030(2|3)(?:txt|bin|tzip|bzip)\b`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("RPC"), rule.MatchingLanguages("RPC"),
regexp.MustCompile(`(?m)\b(program|version)\s+\w+\s*{|\bunion\s+\w+\s+switch\s*\(`), regexp.MustCompile(`(?m)\b(program|version)\s+\w+\s*{|\bunion\s+\w+\s+switch\s*\(`),

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -17,11 +17,12 @@ var LanguagesByExtension = map[string][]string{
".3qt": {"Roff", "Roff Manpage"}, ".3qt": {"Roff", "Roff Manpage"},
".3x": {"Roff", "Roff Manpage"}, ".3x": {"Roff", "Roff Manpage"},
".4": {"Roff", "Roff Manpage"}, ".4": {"Roff", "Roff Manpage"},
".4dm": {"4D"},
".4th": {"Forth"}, ".4th": {"Forth"},
".5": {"Roff", "Roff Manpage"}, ".5": {"Roff", "Roff Manpage"},
".6": {"Roff", "Roff Manpage"}, ".6": {"Roff", "Roff Manpage"},
".6pl": {"Perl 6"}, ".6pl": {"Raku"},
".6pm": {"Perl 6"}, ".6pm": {"Raku"},
".7": {"Roff", "Roff Manpage"}, ".7": {"Roff", "Roff Manpage"},
".8": {"Roff", "Roff Manpage"}, ".8": {"Roff", "Roff Manpage"},
".8xk": {"TI Program"}, ".8xk": {"TI Program"},
@ -70,7 +71,7 @@ var LanguagesByExtension = map[string][]string{
".asd": {"Common Lisp"}, ".asd": {"Common Lisp"},
".ash": {"AGS Script"}, ".ash": {"AGS Script"},
".ashx": {"ASP"}, ".ashx": {"ASP"},
".asm": {"Assembly"}, ".asm": {"Assembly", "Motorola 68K Assembly"},
".asmx": {"ASP"}, ".asmx": {"ASP"},
".asn": {"ASN.1"}, ".asn": {"ASN.1"},
".asn1": {"ASN.1"}, ".asn1": {"ASN.1"},
@ -93,7 +94,7 @@ var LanguagesByExtension = map[string][]string{
".axs.erb": {"NetLinx+ERB"}, ".axs.erb": {"NetLinx+ERB"},
".b": {"Brainfuck", "Limbo"}, ".b": {"Brainfuck", "Limbo"},
".bal": {"Ballerina"}, ".bal": {"Ballerina"},
".bas": {"Visual Basic"}, ".bas": {"VBA"},
".bash": {"Shell"}, ".bash": {"Shell"},
".bat": {"Batchfile"}, ".bat": {"Batchfile"},
".bats": {"Shell"}, ".bats": {"Shell"},
@ -103,7 +104,8 @@ var LanguagesByExtension = map[string][]string{
".bdy": {"PLSQL"}, ".bdy": {"PLSQL"},
".befunge": {"Befunge"}, ".befunge": {"Befunge"},
".bf": {"Brainfuck", "HyPhy"}, ".bf": {"Brainfuck", "HyPhy"},
".bib": {"TeX"}, ".bib": {"BibTeX"},
".bibtex": {"BibTeX"},
".bison": {"Bison"}, ".bison": {"Bison"},
".blade": {"Blade"}, ".blade": {"Blade"},
".blade.php": {"Blade"}, ".blade.php": {"Blade"},
@ -118,7 +120,7 @@ var LanguagesByExtension = map[string][]string{
".bsv": {"Bluespec"}, ".bsv": {"Bluespec"},
".builder": {"Ruby"}, ".builder": {"Ruby"},
".builds": {"XML"}, ".builds": {"XML"},
".bzl": {"Python"}, ".bzl": {"Starlark"},
".c": {"C"}, ".c": {"C"},
".c++": {"C++"}, ".c++": {"C++"},
".c++-objdump": {"Cpp-ObjDump"}, ".c++-objdump": {"Cpp-ObjDump"},
@ -147,6 +149,7 @@ var LanguagesByExtension = map[string][]string{
".chpl": {"Chapel"}, ".chpl": {"Chapel"},
".chs": {"C2hs Haskell"}, ".chs": {"C2hs Haskell"},
".cirru": {"Cirru"}, ".cirru": {"Cirru"},
".cjs": {"JavaScript"},
".cjsx": {"CoffeeScript"}, ".cjsx": {"CoffeeScript"},
".ck": {"ChucK"}, ".ck": {"ChucK"},
".cl": {"Common Lisp", "Cool", "OpenCL"}, ".cl": {"Common Lisp", "Cool", "OpenCL"},
@ -160,7 +163,7 @@ var LanguagesByExtension = map[string][]string{
".cljscm": {"Clojure"}, ".cljscm": {"Clojure"},
".cljx": {"Clojure"}, ".cljx": {"Clojure"},
".clp": {"CLIPS"}, ".clp": {"CLIPS"},
".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "Visual Basic"}, ".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "VBA"},
".clw": {"Clarion"}, ".clw": {"Clarion"},
".cmake": {"CMake"}, ".cmake": {"CMake"},
".cmake.in": {"CMake"}, ".cmake.in": {"CMake"},
@ -168,6 +171,7 @@ var LanguagesByExtension = map[string][]string{
".cnc": {"G-code"}, ".cnc": {"G-code"},
".cob": {"COBOL"}, ".cob": {"COBOL"},
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".cocci": {"SmPL"},
".coffee": {"CoffeeScript"}, ".coffee": {"CoffeeScript"},
".com": {"DIGITAL Command Language"}, ".com": {"DIGITAL Command Language"},
".command": {"Shell"}, ".command": {"Shell"},
@ -222,6 +226,7 @@ var LanguagesByExtension = map[string][]string{
".dhall": {"Dhall"}, ".dhall": {"Dhall"},
".di": {"D"}, ".di": {"D"},
".diff": {"Diff"}, ".diff": {"Diff"},
".dircolors": {"dircolors"},
".dita": {"XML"}, ".dita": {"XML"},
".ditamap": {"XML"}, ".ditamap": {"XML"},
".ditaval": {"XML"}, ".ditaval": {"XML"},
@ -231,12 +236,14 @@ var LanguagesByExtension = map[string][]string{
".dm": {"DM"}, ".dm": {"DM"},
".do": {"Stata"}, ".do": {"Stata"},
".dockerfile": {"Dockerfile"}, ".dockerfile": {"Dockerfile"},
".dof": {"INI"},
".doh": {"Stata"}, ".doh": {"Stata"},
".dot": {"Graphviz (DOT)"}, ".dot": {"Graphviz (DOT)"},
".dotsettings": {"XML"}, ".dotsettings": {"XML"},
".dpatch": {"Darcs Patch"}, ".dpatch": {"Darcs Patch"},
".dpr": {"Pascal"}, ".dpr": {"Pascal"},
".druby": {"Mirah"}, ".druby": {"Mirah"},
".dsp": {"Faust", "Microsoft Developer Studio Project"},
".dtx": {"TeX"}, ".dtx": {"TeX"},
".duby": {"Mirah"}, ".duby": {"Mirah"},
".dwl": {"DataWeave"}, ".dwl": {"DataWeave"},
@ -269,6 +276,7 @@ var LanguagesByExtension = map[string][]string{
".eml": {"EML"}, ".eml": {"EML"},
".epj": {"Ecere Projects"}, ".epj": {"Ecere Projects"},
".eps": {"PostScript"}, ".eps": {"PostScript"},
".epsi": {"PostScript"},
".eq": {"EQ"}, ".eq": {"EQ"},
".erb": {"HTML+ERB"}, ".erb": {"HTML+ERB"},
".erb.deface": {"HTML+ERB"}, ".erb.deface": {"HTML+ERB"},
@ -304,9 +312,9 @@ var LanguagesByExtension = map[string][]string{
".fr": {"Forth", "Frege", "Text"}, ".fr": {"Forth", "Frege", "Text"},
".frag": {"GLSL", "JavaScript"}, ".frag": {"GLSL", "JavaScript"},
".frg": {"GLSL"}, ".frg": {"GLSL"},
".frm": {"Visual Basic"}, ".frm": {"VBA"},
".frt": {"Forth"}, ".frt": {"Forth"},
".frx": {"Visual Basic"}, ".frx": {"VBA"},
".fs": {"F#", "Filterscript", "Forth", "GLSL"}, ".fs": {"F#", "Filterscript", "Forth", "GLSL"},
".fsh": {"GLSL"}, ".fsh": {"GLSL"},
".fshader": {"GLSL"}, ".fshader": {"GLSL"},
@ -323,6 +331,7 @@ var LanguagesByExtension = map[string][]string{
".fy": {"Fancy"}, ".fy": {"Fancy"},
".g": {"G-code", "GAP"}, ".g": {"G-code", "GAP"},
".g4": {"ANTLR"}, ".g4": {"ANTLR"},
".gaml": {"GAML"},
".gap": {"GAP"}, ".gap": {"GAP"},
".gawk": {"Awk"}, ".gawk": {"Awk"},
".gbl": {"Gerber Image"}, ".gbl": {"Gerber Image"},
@ -347,6 +356,7 @@ var LanguagesByExtension = map[string][]string{
".glade": {"XML"}, ".glade": {"XML"},
".glf": {"Glyph"}, ".glf": {"Glyph"},
".glsl": {"GLSL"}, ".glsl": {"GLSL"},
".glslf": {"GLSL"},
".glslv": {"GLSL"}, ".glslv": {"GLSL"},
".gltf": {"JSON"}, ".gltf": {"JSON"},
".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"}, ".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"},
@ -370,7 +380,7 @@ var LanguagesByExtension = map[string][]string{
".groovy": {"Groovy"}, ".groovy": {"Groovy"},
".grt": {"Groovy"}, ".grt": {"Groovy"},
".grxml": {"XML"}, ".grxml": {"XML"},
".gs": {"Genie", "Gosu", "JavaScript"}, ".gs": {"GLSL", "Genie", "Gosu", "JavaScript"},
".gshader": {"GLSL"}, ".gshader": {"GLSL"},
".gsp": {"Groovy Server Pages"}, ".gsp": {"Groovy Server Pages"},
".gst": {"Gosu"}, ".gst": {"Gosu"},
@ -386,6 +396,7 @@ var LanguagesByExtension = map[string][]string{
".gypi": {"Python"}, ".gypi": {"Python"},
".h": {"C", "C++", "Objective-C"}, ".h": {"C", "C++", "Objective-C"},
".h++": {"C++"}, ".h++": {"C++"},
".hack": {"Hack"},
".haml": {"Haml"}, ".haml": {"Haml"},
".haml.deface": {"Haml"}, ".haml.deface": {"Haml"},
".handlebars": {"Handlebars"}, ".handlebars": {"Handlebars"},
@ -396,14 +407,17 @@ var LanguagesByExtension = map[string][]string{
".hc": {"HolyC"}, ".hc": {"HolyC"},
".hcl": {"HCL"}, ".hcl": {"HCL"},
".hh": {"C++", "Hack"}, ".hh": {"C++", "Hack"},
".hhi": {"Hack"},
".hic": {"Clojure"}, ".hic": {"Clojure"},
".hlean": {"Lean"}, ".hlean": {"Lean"},
".hlsl": {"HLSL"}, ".hlsl": {"HLSL"},
".hlsli": {"HLSL"}, ".hlsli": {"HLSL"},
".hpp": {"C++"}, ".hpp": {"C++"},
".hqf": {"SQF"}, ".hqf": {"SQF"},
".hql": {"HiveQL"},
".hrl": {"Erlang"}, ".hrl": {"Erlang"},
".hs": {"Haskell"}, ".hs": {"Haskell"},
".hs-boot": {"Haskell"},
".hsc": {"Haskell"}, ".hsc": {"Haskell"},
".htm": {"HTML"}, ".htm": {"HTML"},
".html": {"HTML"}, ".html": {"HTML"},
@ -414,6 +428,7 @@ var LanguagesByExtension = map[string][]string{
".hxsl": {"Haxe"}, ".hxsl": {"Haxe"},
".hxx": {"C++"}, ".hxx": {"C++"},
".hy": {"Hy"}, ".hy": {"Hy"},
".i": {"Assembly", "Motorola 68K Assembly", "SWIG"},
".i3": {"Modula-3"}, ".i3": {"Modula-3"},
".i7x": {"Inform 7"}, ".i7x": {"Inform 7"},
".ice": {"JSON", "Slice"}, ".ice": {"JSON", "Slice"},
@ -427,7 +442,7 @@ var LanguagesByExtension = map[string][]string{
".ik": {"Ioke"}, ".ik": {"Ioke"},
".ily": {"LilyPond"}, ".ily": {"LilyPond"},
".iml": {"XML"}, ".iml": {"XML"},
".inc": {"Assembly", "C++", "HTML", "PHP", "POV-Ray SDL", "Pascal", "Pawn", "SQL", "SourcePawn"}, ".inc": {"Assembly", "C++", "HTML", "Motorola 68K Assembly", "NASL", "PHP", "POV-Ray SDL", "Pascal", "Pawn", "SQL", "SourcePawn"},
".ini": {"INI"}, ".ini": {"INI"},
".inl": {"C++"}, ".inl": {"C++"},
".ino": {"C++"}, ".ino": {"C++"},
@ -440,6 +455,7 @@ var LanguagesByExtension = map[string][]string{
".ipynb": {"Jupyter Notebook"}, ".ipynb": {"Jupyter Notebook"},
".irclog": {"IRC log"}, ".irclog": {"IRC log"},
".iss": {"Inno Setup"}, ".iss": {"Inno Setup"},
".iuml": {"PlantUML"},
".ivy": {"XML"}, ".ivy": {"XML"},
".j": {"Jasmin", "Objective-J"}, ".j": {"Jasmin", "Objective-J"},
".jade": {"Pug"}, ".jade": {"Pug"},
@ -463,6 +479,7 @@ var LanguagesByExtension = map[string][]string{
".json": {"JSON"}, ".json": {"JSON"},
".json-tmlanguage": {"JSON"}, ".json-tmlanguage": {"JSON"},
".json5": {"JSON5"}, ".json5": {"JSON5"},
".jsonc": {"JSON with Comments"},
".jsonl": {"JSON"}, ".jsonl": {"JSON"},
".jsonld": {"JSONLD"}, ".jsonld": {"JSONLD"},
".jsonnet": {"Jsonnet"}, ".jsonnet": {"Jsonnet"},
@ -492,7 +509,6 @@ var LanguagesByExtension = map[string][]string{
".launch": {"XML"}, ".launch": {"XML"},
".lbx": {"TeX"}, ".lbx": {"TeX"},
".ld": {"Linker Script"}, ".ld": {"Linker Script"},
".ldml": {"Lasso"},
".lds": {"Linker Script"}, ".lds": {"Linker Script"},
".lean": {"Lean"}, ".lean": {"Lean"},
".lektorproject": {"INI"}, ".lektorproject": {"INI"},
@ -532,7 +548,7 @@ var LanguagesByExtension = map[string][]string{
".mao": {"Mako"}, ".mao": {"Mako"},
".markdown": {"Markdown"}, ".markdown": {"Markdown"},
".marko": {"Marko"}, ".marko": {"Marko"},
".mask": {"Mask"}, ".mask": {"Mask", "Unity3D Asset"},
".mat": {"Unity3D Asset"}, ".mat": {"Unity3D Asset"},
".mata": {"Stata"}, ".mata": {"Stata"},
".matah": {"Stata"}, ".matah": {"Stata"},
@ -573,6 +589,7 @@ var LanguagesByExtension = map[string][]string{
".ml": {"OCaml", "Standard ML"}, ".ml": {"OCaml", "Standard ML"},
".ml4": {"OCaml"}, ".ml4": {"OCaml"},
".mli": {"OCaml"}, ".mli": {"OCaml"},
".mlir": {"MLIR"},
".mll": {"OCaml"}, ".mll": {"OCaml"},
".mly": {"OCaml"}, ".mly": {"OCaml"},
".mm": {"Objective-C++", "XML"}, ".mm": {"Objective-C++", "XML"},
@ -588,6 +605,7 @@ var LanguagesByExtension = map[string][]string{
".mq4": {"MQL4"}, ".mq4": {"MQL4"},
".mq5": {"MQL5"}, ".mq5": {"MQL5"},
".mqh": {"MQL4", "MQL5"}, ".mqh": {"MQL4", "MQL5"},
".mrc": {"mIRC Script"},
".ms": {"MAXScript", "Roff", "Unix Assembly"}, ".ms": {"MAXScript", "Roff", "Unix Assembly"},
".mspec": {"Ruby"}, ".mspec": {"Ruby"},
".mss": {"CartoCSS"}, ".mss": {"CartoCSS"},
@ -598,6 +616,7 @@ var LanguagesByExtension = map[string][]string{
".mud": {"ZIL"}, ".mud": {"ZIL"},
".muf": {"MUF"}, ".muf": {"MUF"},
".mumps": {"M"}, ".mumps": {"M"},
".muse": {"Muse"},
".mustache": {"HTML+Django"}, ".mustache": {"HTML+Django"},
".mxml": {"XML"}, ".mxml": {"XML"},
".mxt": {"Max"}, ".mxt": {"Max"},
@ -605,6 +624,7 @@ var LanguagesByExtension = map[string][]string{
".myt": {"Myghty"}, ".myt": {"Myghty"},
".n": {"Nemerle", "Roff"}, ".n": {"Nemerle", "Roff"},
".nanorc": {"nanorc"}, ".nanorc": {"nanorc"},
".nasl": {"NASL"},
".nasm": {"Assembly"}, ".nasm": {"Assembly"},
".natvis": {"XML"}, ".natvis": {"XML"},
".nawk": {"Awk"}, ".nawk": {"Awk"},
@ -632,7 +652,7 @@ var LanguagesByExtension = map[string][]string{
".nlogo": {"NetLogo"}, ".nlogo": {"NetLogo"},
".no": {"Text"}, ".no": {"Text"},
".nproj": {"XML"}, ".nproj": {"XML"},
".nqp": {"Perl 6"}, ".nqp": {"Raku"},
".nr": {"Roff"}, ".nr": {"Roff"},
".nse": {"Lua"}, ".nse": {"Lua"},
".nsh": {"NSIS"}, ".nsh": {"NSIS"},
@ -647,6 +667,7 @@ var LanguagesByExtension = map[string][]string{
".obj": {"Wavefront Object"}, ".obj": {"Wavefront Object"},
".objdump": {"ObjDump"}, ".objdump": {"ObjDump"},
".odd": {"XML"}, ".odd": {"XML"},
".odin": {"Object Data Instance Notation", "Odin"},
".ol": {"Jolie"}, ".ol": {"Jolie"},
".omgrofl": {"Omgrofl"}, ".omgrofl": {"Omgrofl"},
".ooc": {"ooc"}, ".ooc": {"ooc"},
@ -664,11 +685,11 @@ var LanguagesByExtension = map[string][]string{
".oxo": {"Ox"}, ".oxo": {"Ox"},
".oxygene": {"Oxygene"}, ".oxygene": {"Oxygene"},
".oz": {"Oz"}, ".oz": {"Oz"},
".p": {"OpenEdge ABL"}, ".p": {"Gnuplot", "OpenEdge ABL"},
".p4": {"P4"}, ".p4": {"P4"},
".p6": {"Perl 6"}, ".p6": {"Raku"},
".p6l": {"Perl 6"}, ".p6l": {"Raku"},
".p6m": {"Perl 6"}, ".p6m": {"Raku"},
".p8": {"Lua"}, ".p8": {"Lua"},
".pac": {"JavaScript"}, ".pac": {"JavaScript"},
".pan": {"Pan"}, ".pan": {"Pan"},
@ -707,18 +728,19 @@ var LanguagesByExtension = map[string][]string{
".pkgproj": {"XML"}, ".pkgproj": {"XML"},
".pkl": {"Pickle"}, ".pkl": {"Pickle"},
".pks": {"PLSQL"}, ".pks": {"PLSQL"},
".pl": {"Perl", "Perl 6", "Prolog"}, ".pl": {"Perl", "Prolog", "Raku"},
".pl6": {"Perl 6"}, ".pl6": {"Raku"},
".plantuml": {"PlantUML"},
".plb": {"PLSQL"}, ".plb": {"PLSQL"},
".plist": {"XML"}, ".plist": {"OpenStep Property List", "XML Property List"},
".plot": {"Gnuplot"}, ".plot": {"Gnuplot"},
".pls": {"PLSQL"}, ".pls": {"PLSQL"},
".plsql": {"PLSQL"}, ".plsql": {"PLSQL"},
".plt": {"Gnuplot"}, ".plt": {"Gnuplot"},
".pluginspec": {"Ruby", "XML"}, ".pluginspec": {"Ruby", "XML"},
".plx": {"Perl"}, ".plx": {"Perl"},
".pm": {"Perl", "Perl 6", "X PixMap"}, ".pm": {"Perl", "Raku", "X PixMap"},
".pm6": {"Perl 6"}, ".pm6": {"Raku"},
".pmod": {"Pike"}, ".pmod": {"Pike"},
".po": {"Gettext Catalog"}, ".po": {"Gettext Catalog"},
".pod": {"Pod", "Pod 6"}, ".pod": {"Pod", "Pod 6"},
@ -727,6 +749,7 @@ var LanguagesByExtension = map[string][]string{
".podspec": {"Ruby"}, ".podspec": {"Ruby"},
".pogo": {"PogoScript"}, ".pogo": {"PogoScript"},
".pony": {"Pony"}, ".pony": {"Pony"},
".postcss": {"PostCSS"},
".pot": {"Gettext Catalog"}, ".pot": {"Gettext Catalog"},
".pov": {"POV-Ray SDL"}, ".pov": {"POV-Ray SDL"},
".pp": {"Pascal", "Puppet"}, ".pp": {"Pascal", "Puppet"},
@ -736,8 +759,9 @@ var LanguagesByExtension = map[string][]string{
".prefs": {"INI"}, ".prefs": {"INI"},
".prg": {"xBase"}, ".prg": {"xBase"},
".pri": {"QMake"}, ".pri": {"QMake"},
".prisma": {"Prisma"},
".prjpcb": {"Altium Designer"}, ".prjpcb": {"Altium Designer"},
".pro": {"IDL", "INI", "Prolog", "QMake"}, ".pro": {"IDL", "INI", "Proguard", "Prolog", "QMake"},
".proj": {"XML"}, ".proj": {"XML"},
".prolog": {"Prolog"}, ".prolog": {"Prolog"},
".properties": {"INI", "Java Properties"}, ".properties": {"INI", "Java Properties"},
@ -755,6 +779,7 @@ var LanguagesByExtension = map[string][]string{
".pt": {"XML"}, ".pt": {"XML"},
".pub": {"Public Key"}, ".pub": {"Public Key"},
".pug": {"Pug"}, ".pug": {"Pug"},
".puml": {"PlantUML"},
".purs": {"PureScript"}, ".purs": {"PureScript"},
".pwn": {"Pawn"}, ".pwn": {"Pawn"},
".pxd": {"Cython"}, ".pxd": {"Cython"},
@ -769,7 +794,10 @@ var LanguagesByExtension = map[string][]string{
".pyw": {"Python"}, ".pyw": {"Python"},
".pyx": {"Cython"}, ".pyx": {"Cython"},
".q": {"HiveQL", "q"}, ".q": {"HiveQL", "q"},
".qasm": {"OpenQASM"},
".qbs": {"QML"}, ".qbs": {"QML"},
".ql": {"CodeQL"},
".qll": {"CodeQL"},
".qml": {"QML"}, ".qml": {"QML"},
".r": {"R", "Rebol"}, ".r": {"R", "Rebol"},
".r2": {"Rebol"}, ".r2": {"Rebol"},
@ -782,6 +810,7 @@ var LanguagesByExtension = map[string][]string{
".rb": {"Ruby"}, ".rb": {"Ruby"},
".rbbas": {"REALbasic"}, ".rbbas": {"REALbasic"},
".rbfrm": {"REALbasic"}, ".rbfrm": {"REALbasic"},
".rbi": {"Ruby"},
".rbmnu": {"REALbasic"}, ".rbmnu": {"REALbasic"},
".rbres": {"REALbasic"}, ".rbres": {"REALbasic"},
".rbtbar": {"REALbasic"}, ".rbtbar": {"REALbasic"},
@ -802,6 +831,7 @@ var LanguagesByExtension = map[string][]string{
".reg": {"Windows Registry Entries"}, ".reg": {"Windows Registry Entries"},
".regex": {"Regular Expression"}, ".regex": {"Regular Expression"},
".regexp": {"Regular Expression"}, ".regexp": {"Regular Expression"},
".rego": {"Open Policy Agent"},
".rei": {"Reason"}, ".rei": {"Reason"},
".rest": {"reStructuredText"}, ".rest": {"reStructuredText"},
".rest.txt": {"reStructuredText"}, ".rest.txt": {"reStructuredText"},
@ -811,6 +841,7 @@ var LanguagesByExtension = map[string][]string{
".rg": {"Rouge"}, ".rg": {"Rouge"},
".rhtml": {"RHTML"}, ".rhtml": {"RHTML"},
".ring": {"Ring"}, ".ring": {"Ring"},
".riot": {"Riot"},
".rkt": {"Racket"}, ".rkt": {"Racket"},
".rktd": {"Racket"}, ".rktd": {"Racket"},
".rktl": {"Racket"}, ".rktl": {"Racket"},
@ -819,6 +850,7 @@ var LanguagesByExtension = map[string][]string{
".rnh": {"RUNOFF"}, ".rnh": {"RUNOFF"},
".rno": {"RUNOFF", "Roff"}, ".rno": {"RUNOFF", "Roff"},
".robot": {"RobotFramework"}, ".robot": {"RobotFramework"},
".rockspec": {"Lua"},
".roff": {"Roff"}, ".roff": {"Roff"},
".ronn": {"Markdown"}, ".ronn": {"Markdown"},
".rpy": {"Python", "Ren'Py"}, ".rpy": {"Python", "Ren'Py"},
@ -835,7 +867,7 @@ var LanguagesByExtension = map[string][]string{
".ru": {"Ruby"}, ".ru": {"Ruby"},
".ruby": {"Ruby"}, ".ruby": {"Ruby"},
".rviz": {"YAML"}, ".rviz": {"YAML"},
".s": {"Unix Assembly"}, ".s": {"Motorola 68K Assembly", "Unix Assembly"},
".sage": {"Sage"}, ".sage": {"Sage"},
".sagews": {"Sage"}, ".sagews": {"Sage"},
".sas": {"SAS"}, ".sas": {"SAS"},
@ -877,9 +909,13 @@ var LanguagesByExtension = map[string][]string{
".sls": {"SaltStack", "Scheme"}, ".sls": {"SaltStack", "Scheme"},
".sma": {"Pawn"}, ".sma": {"Pawn"},
".smali": {"Smali"}, ".smali": {"Smali"},
".smk": {"Python"},
".sml": {"Standard ML"}, ".sml": {"Standard ML"},
".smt": {"SMT"}, ".smt": {"SMT"},
".smt2": {"SMT"}, ".smt2": {"SMT"},
".snip": {"Vim Snippet"},
".snippet": {"Vim Snippet"},
".snippets": {"Vim Snippet"},
".soy": {"Closure Templates"}, ".soy": {"Closure Templates"},
".sp": {"SourcePawn"}, ".sp": {"SourcePawn"},
".sparql": {"SPARQL"}, ".sparql": {"SPARQL"},
@ -902,7 +938,7 @@ var LanguagesByExtension = map[string][]string{
".sthlp": {"Stata"}, ".sthlp": {"Stata"},
".ston": {"STON"}, ".ston": {"STON"},
".storyboard": {"XML"}, ".storyboard": {"XML"},
".sttheme": {"XML"}, ".sttheme": {"XML Property List"},
".sty": {"TeX"}, ".sty": {"TeX"},
".styl": {"Stylus"}, ".styl": {"Stylus"},
".sublime-build": {"JSON with Comments"}, ".sublime-build": {"JSON with Comments"},
@ -926,7 +962,7 @@ var LanguagesByExtension = map[string][]string{
".svh": {"SystemVerilog"}, ".svh": {"SystemVerilog"},
".swift": {"Swift"}, ".swift": {"Swift"},
".syntax": {"YAML"}, ".syntax": {"YAML"},
".t": {"Perl", "Perl 6", "Terra", "Turing"}, ".t": {"Perl", "Raku", "Terra", "Turing"},
".tab": {"SQL"}, ".tab": {"SQL"},
".tac": {"Python"}, ".tac": {"Python"},
".targets": {"XML"}, ".targets": {"XML"},
@ -937,6 +973,8 @@ var LanguagesByExtension = map[string][]string{
".tesc": {"GLSL"}, ".tesc": {"GLSL"},
".tese": {"GLSL"}, ".tese": {"GLSL"},
".tex": {"TeX"}, ".tex": {"TeX"},
".texi": {"Texinfo"},
".texinfo": {"Texinfo"},
".textile": {"Textile"}, ".textile": {"Textile"},
".tf": {"HCL"}, ".tf": {"HCL"},
".tfstate": {"JSON"}, ".tfstate": {"JSON"},
@ -949,12 +987,12 @@ var LanguagesByExtension = map[string][]string{
".tla": {"TLA"}, ".tla": {"TLA"},
".tm": {"Tcl"}, ".tm": {"Tcl"},
".tmac": {"Roff"}, ".tmac": {"Roff"},
".tmcommand": {"XML"}, ".tmcommand": {"XML Property List"},
".tml": {"XML"}, ".tml": {"XML"},
".tmlanguage": {"XML"}, ".tmlanguage": {"XML Property List"},
".tmpreferences": {"XML"}, ".tmpreferences": {"XML Property List"},
".tmsnippet": {"XML"}, ".tmsnippet": {"XML Property List"},
".tmtheme": {"XML"}, ".tmtheme": {"XML Property List"},
".tmux": {"Shell"}, ".tmux": {"Shell"},
".toc": {"TeX", "World of Warcraft Addon Data"}, ".toc": {"TeX", "World of Warcraft Addon Data"},
".toml": {"TOML"}, ".toml": {"TOML"},
@ -971,6 +1009,7 @@ var LanguagesByExtension = map[string][]string{
".ttl": {"Turtle"}, ".ttl": {"Turtle"},
".tu": {"Turing"}, ".tu": {"Turing"},
".twig": {"Twig"}, ".twig": {"Twig"},
".txi": {"Texinfo"},
".txl": {"TXL"}, ".txl": {"TXL"},
".txt": {"Text"}, ".txt": {"Text"},
".uc": {"UnrealScript"}, ".uc": {"UnrealScript"},
@ -984,15 +1023,15 @@ var LanguagesByExtension = map[string][]string{
".urdf": {"XML"}, ".urdf": {"XML"},
".urs": {"UrWeb"}, ".urs": {"UrWeb"},
".ux": {"XML"}, ".ux": {"XML"},
".v": {"Coq", "Verilog"}, ".v": {"Coq", "V", "Verilog"},
".vala": {"Vala"}, ".vala": {"Vala"},
".vapi": {"Vala"}, ".vapi": {"Vala"},
".vark": {"Gosu"}, ".vark": {"Gosu"},
".vb": {"Visual Basic"}, ".vb": {"Visual Basic .NET"},
".vba": {"Vim script", "Visual Basic"}, ".vba": {"VBA", "Vim script"},
".vbhtml": {"Visual Basic"}, ".vbhtml": {"Visual Basic .NET"},
".vbproj": {"XML"}, ".vbproj": {"XML"},
".vbs": {"Visual Basic"}, ".vbs": {"VBScript"},
".vcl": {"VCL"}, ".vcl": {"VCL"},
".vcxproj": {"XML"}, ".vcxproj": {"XML"},
".veo": {"Verilog"}, ".veo": {"Verilog"},
@ -1046,7 +1085,7 @@ var LanguagesByExtension = map[string][]string{
".wxi": {"XML"}, ".wxi": {"XML"},
".wxl": {"XML"}, ".wxl": {"XML"},
".wxs": {"XML"}, ".wxs": {"XML"},
".x": {"Linker Script", "Logos", "RPC"}, ".x": {"DirectX 3D File", "Linker Script", "Logos", "RPC"},
".x10": {"X10"}, ".x10": {"X10"},
".x3d": {"XML"}, ".x3d": {"XML"},
".x68": {"Motorola 68K Assembly"}, ".x68": {"Motorola 68K Assembly"},
@ -1097,6 +1136,7 @@ var LanguagesByExtension = map[string][]string{
".yacc": {"Yacc"}, ".yacc": {"Yacc"},
".yaml": {"YAML"}, ".yaml": {"YAML"},
".yaml-tmlanguage": {"YAML"}, ".yaml-tmlanguage": {"YAML"},
".yaml.sed": {"YAML"},
".yang": {"YANG"}, ".yang": {"YANG"},
".yap": {"Prolog"}, ".yap": {"Prolog"},
".yar": {"YARA"}, ".yar": {"YARA"},
@ -1123,6 +1163,7 @@ var LanguagesByExtension = map[string][]string{
var ExtensionsByLanguage = map[string][]string{ var ExtensionsByLanguage = map[string][]string{
"1C Enterprise": {".bsl", ".os"}, "1C Enterprise": {".bsl", ".os"},
"4D": {".4dm"},
"ABAP": {".abap"}, "ABAP": {".abap"},
"ABNF": {".abnf"}, "ABNF": {".abnf"},
"AGS Script": {".asc", ".ash"}, "AGS Script": {".asc", ".ash"},
@ -1147,7 +1188,7 @@ var ExtensionsByLanguage = map[string][]string{
"Arc": {".arc"}, "Arc": {".arc"},
"AsciiDoc": {".asciidoc", ".adoc", ".asc"}, "AsciiDoc": {".asciidoc", ".adoc", ".asc"},
"AspectJ": {".aj"}, "AspectJ": {".aj"},
"Assembly": {".asm", ".a51", ".inc", ".nasm"}, "Assembly": {".asm", ".a51", ".i", ".inc", ".nasm"},
"Asymptote": {".asy"}, "Asymptote": {".asy"},
"Augeas": {".aug"}, "Augeas": {".aug"},
"AutoHotkey": {".ahk", ".ahkl"}, "AutoHotkey": {".ahk", ".ahkl"},
@ -1156,6 +1197,7 @@ var ExtensionsByLanguage = map[string][]string{
"Ballerina": {".bal"}, "Ballerina": {".bal"},
"Batchfile": {".bat", ".cmd"}, "Batchfile": {".bat", ".cmd"},
"Befunge": {".befunge"}, "Befunge": {".befunge"},
"BibTeX": {".bib", ".bibtex"},
"Bison": {".bison"}, "Bison": {".bison"},
"BitBake": {".bb"}, "BitBake": {".bb"},
"Blade": {".blade", ".blade.php"}, "Blade": {".blade", ".blade.php"},
@ -1192,6 +1234,7 @@ var ExtensionsByLanguage = map[string][]string{
"Clojure": {".clj", ".boot", ".cl2", ".cljc", ".cljs", ".cljs.hl", ".cljscm", ".cljx", ".hic"}, "Clojure": {".clj", ".boot", ".cl2", ".cljc", ".cljs", ".cljs.hl", ".cljscm", ".cljx", ".hic"},
"Closure Templates": {".soy"}, "Closure Templates": {".soy"},
"CoNLL-U": {".conllu", ".conll"}, "CoNLL-U": {".conllu", ".conll"},
"CodeQL": {".ql", ".qll"},
"CoffeeScript": {".coffee", "._coffee", ".cake", ".cjsx", ".iced"}, "CoffeeScript": {".coffee", "._coffee", ".cake", ".cjsx", ".iced"},
"ColdFusion": {".cfm", ".cfml"}, "ColdFusion": {".cfm", ".cfml"},
"ColdFusion CFC": {".cfc"}, "ColdFusion CFC": {".cfc"},
@ -1220,6 +1263,7 @@ var ExtensionsByLanguage = map[string][]string{
"DataWeave": {".dwl"}, "DataWeave": {".dwl"},
"Dhall": {".dhall"}, "Dhall": {".dhall"},
"Diff": {".diff", ".patch"}, "Diff": {".diff", ".patch"},
"DirectX 3D File": {".x"},
"Dockerfile": {".dockerfile"}, "Dockerfile": {".dockerfile"},
"Dogescript": {".djs"}, "Dogescript": {".djs"},
"Dylan": {".dylan", ".dyl", ".intr", ".lid"}, "Dylan": {".dylan", ".dyl", ".intr", ".lid"},
@ -1247,6 +1291,7 @@ var ExtensionsByLanguage = map[string][]string{
"Factor": {".factor"}, "Factor": {".factor"},
"Fancy": {".fy", ".fancypack"}, "Fancy": {".fy", ".fancypack"},
"Fantom": {".fan"}, "Fantom": {".fan"},
"Faust": {".dsp"},
"Filebench WML": {".f"}, "Filebench WML": {".f"},
"Filterscript": {".fs"}, "Filterscript": {".fs"},
"Formatted": {".for", ".eam.fs"}, "Formatted": {".for", ".eam.fs"},
@ -1255,12 +1300,13 @@ var ExtensionsByLanguage = map[string][]string{
"FreeMarker": {".ftl"}, "FreeMarker": {".ftl"},
"Frege": {".fr"}, "Frege": {".fr"},
"G-code": {".g", ".cnc", ".gco", ".gcode"}, "G-code": {".g", ".cnc", ".gco", ".gcode"},
"GAML": {".gaml"},
"GAMS": {".gms"}, "GAMS": {".gms"},
"GAP": {".g", ".gap", ".gd", ".gi", ".tst"}, "GAP": {".g", ".gap", ".gd", ".gi", ".tst"},
"GCC Machine Description": {".md"}, "GCC Machine Description": {".md"},
"GDB": {".gdb", ".gdbinit"}, "GDB": {".gdb", ".gdbinit"},
"GDScript": {".gd"}, "GDScript": {".gd"},
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslv", ".gshader", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"}, "GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"},
"GN": {".gn", ".gni"}, "GN": {".gn", ".gni"},
"Game Maker Language": {".gml"}, "Game Maker Language": {".gml"},
"Genie": {".gs"}, "Genie": {".gs"},
@ -1273,7 +1319,7 @@ var ExtensionsByLanguage = map[string][]string{
"Git Config": {".gitconfig"}, "Git Config": {".gitconfig"},
"Glyph": {".glf"}, "Glyph": {".glf"},
"Glyph Bitmap Distribution Format": {".bdf"}, "Glyph Bitmap Distribution Format": {".bdf"},
"Gnuplot": {".gp", ".gnu", ".gnuplot", ".plot", ".plt"}, "Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"},
"Go": {".go"}, "Go": {".go"},
"Golo": {".golo"}, "Golo": {".golo"},
"Gosu": {".gs", ".gst", ".gsx", ".vark"}, "Gosu": {".gs", ".gst", ".gsx", ".vark"},
@ -1297,19 +1343,19 @@ var ExtensionsByLanguage = map[string][]string{
"HTML+Razor": {".cshtml", ".razor"}, "HTML+Razor": {".cshtml", ".razor"},
"HTTP": {".http"}, "HTTP": {".http"},
"HXML": {".hxml"}, "HXML": {".hxml"},
"Hack": {".hh", ".php"}, "Hack": {".hack", ".hh", ".hhi", ".php"},
"Haml": {".haml", ".haml.deface"}, "Haml": {".haml", ".haml.deface"},
"Handlebars": {".handlebars", ".hbs"}, "Handlebars": {".handlebars", ".hbs"},
"Harbour": {".hb"}, "Harbour": {".hb"},
"Haskell": {".hs", ".hsc"}, "Haskell": {".hs", ".hs-boot", ".hsc"},
"Haxe": {".hx", ".hxsl"}, "Haxe": {".hx", ".hxsl"},
"HiveQL": {".q"}, "HiveQL": {".q", ".hql"},
"HolyC": {".hc"}, "HolyC": {".hc"},
"Hy": {".hy"}, "Hy": {".hy"},
"HyPhy": {".bf"}, "HyPhy": {".bf"},
"IDL": {".pro", ".dlm"}, "IDL": {".pro", ".dlm"},
"IGOR Pro": {".ipf"}, "IGOR Pro": {".ipf"},
"INI": {".ini", ".cfg", ".lektorproject", ".prefs", ".pro", ".properties"}, "INI": {".ini", ".cfg", ".dof", ".lektorproject", ".prefs", ".pro", ".properties"},
"IRC log": {".irclog", ".weechatlog"}, "IRC log": {".irclog", ".weechatlog"},
"Idris": {".idr", ".lidr"}, "Idris": {".idr", ".lidr"},
"Ignore List": {".gitignore"}, "Ignore List": {".gitignore"},
@ -1321,7 +1367,7 @@ var ExtensionsByLanguage = map[string][]string{
"J": {".ijs"}, "J": {".ijs"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"}, "JSON with Comments": {".jsonc", ".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"},
"JSON5": {".json5"}, "JSON5": {".json5"},
"JSONLD": {".jsonld"}, "JSONLD": {".jsonld"},
"JSONiq": {".jq"}, "JSONiq": {".jq"},
@ -1330,7 +1376,7 @@ var ExtensionsByLanguage = map[string][]string{
"Java": {".java"}, "Java": {".java"},
"Java Properties": {".properties"}, "Java Properties": {".properties"},
"Java Server Pages": {".jsp"}, "Java Server Pages": {".jsp"},
"JavaScript": {".js", "._js", ".bones", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"}, "JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript+ERB": {".js.erb"}, "JavaScript+ERB": {".js.erb"},
"Jison": {".jison"}, "Jison": {".jison"},
"Jison Lex": {".jisonlex"}, "Jison Lex": {".jisonlex"},
@ -1350,7 +1396,7 @@ var ExtensionsByLanguage = map[string][]string{
"LSL": {".lsl", ".lslp"}, "LSL": {".lsl", ".lslp"},
"LTspice Symbol": {".asy"}, "LTspice Symbol": {".asy"},
"LabVIEW": {".lvproj"}, "LabVIEW": {".lvproj"},
"Lasso": {".lasso", ".las", ".lasso8", ".lasso9", ".ldml"}, "Lasso": {".lasso", ".las", ".lasso8", ".lasso9"},
"Latte": {".latte"}, "Latte": {".latte"},
"Lean": {".lean", ".hlean"}, "Lean": {".lean", ".hlean"},
"Less": {".less"}, "Less": {".less"},
@ -1368,12 +1414,13 @@ var ExtensionsByLanguage = map[string][]string{
"Logtalk": {".lgt", ".logtalk"}, "Logtalk": {".lgt", ".logtalk"},
"LookML": {".lookml", ".model.lkml", ".view.lkml"}, "LookML": {".lookml", ".model.lkml", ".view.lkml"},
"LoomScript": {".ls"}, "LoomScript": {".ls"},
"Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".wlua"}, "Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".rockspec", ".wlua"},
"M": {".mumps", ".m"}, "M": {".mumps", ".m"},
"M4": {".m4"}, "M4": {".m4"},
"M4Sugar": {".m4"}, "M4Sugar": {".m4"},
"MATLAB": {".matlab", ".m"}, "MATLAB": {".matlab", ".m"},
"MAXScript": {".ms", ".mcr"}, "MAXScript": {".ms", ".mcr"},
"MLIR": {".mlir"},
"MQL4": {".mq4", ".mqh"}, "MQL4": {".mq4", ".mqh"},
"MQL5": {".mq5", ".mqh"}, "MQL5": {".mq5", ".mqh"},
"MTML": {".mtml"}, "MTML": {".mtml"},
@ -1388,6 +1435,7 @@ var ExtensionsByLanguage = map[string][]string{
"MediaWiki": {".mediawiki", ".wiki"}, "MediaWiki": {".mediawiki", ".wiki"},
"Mercury": {".m", ".moo"}, "Mercury": {".m", ".moo"},
"Metal": {".metal"}, "Metal": {".metal"},
"Microsoft Developer Studio Project": {".dsp"},
"MiniD": {".minid"}, "MiniD": {".minid"},
"Mirah": {".druby", ".duby", ".mirah"}, "Mirah": {".druby", ".duby", ".mirah"},
"Modelica": {".mo"}, "Modelica": {".mo"},
@ -1397,8 +1445,10 @@ var ExtensionsByLanguage = map[string][]string{
"Monkey": {".monkey", ".monkey2"}, "Monkey": {".monkey", ".monkey2"},
"Moocode": {".moo"}, "Moocode": {".moo"},
"MoonScript": {".moon"}, "MoonScript": {".moon"},
"Motorola 68K Assembly": {".x68"}, "Motorola 68K Assembly": {".asm", ".i", ".inc", ".s", ".x68"},
"Muse": {".muse"},
"Myghty": {".myt"}, "Myghty": {".myt"},
"NASL": {".nasl", ".inc"},
"NCL": {".ncl"}, "NCL": {".ncl"},
"NL": {".nl"}, "NL": {".nl"},
"NSIS": {".nsi", ".nsh"}, "NSIS": {".nsi", ".nsh"},
@ -1418,16 +1468,21 @@ var ExtensionsByLanguage = map[string][]string{
"NumPy": {".numpy", ".numpyw", ".numsc"}, "NumPy": {".numpy", ".numpyw", ".numsc"},
"OCaml": {".ml", ".eliom", ".eliomi", ".ml4", ".mli", ".mll", ".mly"}, "OCaml": {".ml", ".eliom", ".eliomi", ".ml4", ".mli", ".mll", ".mly"},
"ObjDump": {".objdump"}, "ObjDump": {".objdump"},
"Object Data Instance Notation": {".odin"},
"ObjectScript": {".cls"}, "ObjectScript": {".cls"},
"Objective-C": {".m", ".h"}, "Objective-C": {".m", ".h"},
"Objective-C++": {".mm"}, "Objective-C++": {".mm"},
"Objective-J": {".j", ".sj"}, "Objective-J": {".j", ".sj"},
"Odin": {".odin"},
"Omgrofl": {".omgrofl"}, "Omgrofl": {".omgrofl"},
"Opa": {".opa"}, "Opa": {".opa"},
"Opal": {".opal"}, "Opal": {".opal"},
"Open Policy Agent": {".rego"},
"OpenCL": {".cl", ".opencl"}, "OpenCL": {".cl", ".opencl"},
"OpenEdge ABL": {".p", ".cls", ".w"}, "OpenEdge ABL": {".p", ".cls", ".w"},
"OpenQASM": {".qasm"},
"OpenSCAD": {".scad"}, "OpenSCAD": {".scad"},
"OpenStep Property List": {".plist"},
"OpenType Feature File": {".fea"}, "OpenType Feature File": {".fea"},
"Org": {".org"}, "Org": {".org"},
"Ox": {".ox", ".oxh", ".oxo"}, "Ox": {".ox", ".oxh", ".oxo"},
@ -1447,21 +1502,23 @@ var ExtensionsByLanguage = map[string][]string{
"Pawn": {".pwn", ".inc", ".sma"}, "Pawn": {".pwn", ".inc", ".sma"},
"Pep8": {".pep"}, "Pep8": {".pep"},
"Perl": {".pl", ".al", ".cgi", ".fcgi", ".perl", ".ph", ".plx", ".pm", ".psgi", ".t"}, "Perl": {".pl", ".al", ".cgi", ".fcgi", ".perl", ".ph", ".plx", ".pm", ".psgi", ".t"},
"Perl 6": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
"Pic": {".pic", ".chem"}, "Pic": {".pic", ".chem"},
"Pickle": {".pkl"}, "Pickle": {".pkl"},
"PicoLisp": {".l"}, "PicoLisp": {".l"},
"PigLatin": {".pig"}, "PigLatin": {".pig"},
"Pike": {".pike", ".pmod"}, "Pike": {".pike", ".pmod"},
"PlantUML": {".puml", ".iuml", ".plantuml"},
"Pod": {".pod"}, "Pod": {".pod"},
"Pod 6": {".pod", ".pod6"}, "Pod 6": {".pod", ".pod6"},
"PogoScript": {".pogo"}, "PogoScript": {".pogo"},
"Pony": {".pony"}, "Pony": {".pony"},
"PostCSS": {".pcss"}, "PostCSS": {".pcss", ".postcss"},
"PostScript": {".ps", ".eps", ".pfa"}, "PostScript": {".ps", ".eps", ".epsi", ".pfa"},
"PowerBuilder": {".pbt", ".sra", ".sru", ".srw"}, "PowerBuilder": {".pbt", ".sra", ".sru", ".srw"},
"PowerShell": {".ps1", ".psd1", ".psm1"}, "PowerShell": {".ps1", ".psd1", ".psm1"},
"Prisma": {".prisma"},
"Processing": {".pde"}, "Processing": {".pde"},
"Proguard": {".pro"},
"Prolog": {".pl", ".pro", ".prolog", ".yap"}, "Prolog": {".pl", ".pro", ".prolog", ".yap"},
"Propeller Spin": {".spin"}, "Propeller Spin": {".spin"},
"Protocol Buffer": {".proto"}, "Protocol Buffer": {".proto"},
@ -1471,7 +1528,7 @@ var ExtensionsByLanguage = map[string][]string{
"Pure Data": {".pd"}, "Pure Data": {".pd"},
"PureBasic": {".pb", ".pbi"}, "PureBasic": {".pb", ".pbi"},
"PureScript": {".purs"}, "PureScript": {".purs"},
"Python": {".py", ".bzl", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".spec", ".tac", ".wsgi", ".xpy"}, "Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".wsgi", ".xpy"},
"Python traceback": {".pytb"}, "Python traceback": {".pytb"},
"QML": {".qml", ".qbs"}, "QML": {".qml", ".qbs"},
"QMake": {".pro", ".pri"}, "QMake": {".pro", ".pri"},
@ -1487,6 +1544,7 @@ var ExtensionsByLanguage = map[string][]string{
"RUNOFF": {".rnh", ".rno"}, "RUNOFF": {".rnh", ".rno"},
"Racket": {".rkt", ".rktd", ".rktl", ".scrbl"}, "Racket": {".rkt", ".rktd", ".rktl", ".scrbl"},
"Ragel": {".rl"}, "Ragel": {".rl"},
"Raku": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
"Rascal": {".rsc"}, "Rascal": {".rsc"},
"Raw token data": {".raw"}, "Raw token data": {".raw"},
"Reason": {".re", ".rei"}, "Reason": {".re", ".rei"},
@ -1498,11 +1556,12 @@ var ExtensionsByLanguage = map[string][]string{
"RenderScript": {".rs", ".rsh"}, "RenderScript": {".rs", ".rsh"},
"Rich Text Format": {".rtf"}, "Rich Text Format": {".rtf"},
"Ring": {".ring"}, "Ring": {".ring"},
"Riot": {".riot"},
"RobotFramework": {".robot"}, "RobotFramework": {".robot"},
"Roff": {".roff", ".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".l", ".man", ".mdoc", ".me", ".ms", ".n", ".nr", ".rno", ".tmac"}, "Roff": {".roff", ".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".l", ".man", ".mdoc", ".me", ".ms", ".n", ".nr", ".rno", ".tmac"},
"Roff Manpage": {".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".man", ".mdoc"}, "Roff Manpage": {".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".man", ".mdoc"},
"Rouge": {".rg"}, "Rouge": {".rg"},
"Ruby": {".rb", ".builder", ".eye", ".fcgi", ".gemspec", ".god", ".jbuilder", ".mspec", ".pluginspec", ".podspec", ".rabl", ".rake", ".rbuild", ".rbw", ".rbx", ".ru", ".ruby", ".spec", ".thor", ".watchr"}, "Ruby": {".rb", ".builder", ".eye", ".fcgi", ".gemspec", ".god", ".jbuilder", ".mspec", ".pluginspec", ".podspec", ".rabl", ".rake", ".rbi", ".rbuild", ".rbw", ".rbx", ".ru", ".ruby", ".spec", ".thor", ".watchr"},
"Rust": {".rs", ".rs.in"}, "Rust": {".rs", ".rs.in"},
"SAS": {".sas"}, "SAS": {".sas"},
"SCSS": {".scss"}, "SCSS": {".scss"},
@ -1514,6 +1573,7 @@ var ExtensionsByLanguage = map[string][]string{
"SRecode Template": {".srt"}, "SRecode Template": {".srt"},
"STON": {".ston"}, "STON": {".ston"},
"SVG": {".svg"}, "SVG": {".svg"},
"SWIG": {".i"},
"Sage": {".sage", ".sagews"}, "Sage": {".sage", ".sagews"},
"SaltStack": {".sls"}, "SaltStack": {".sls"},
"Sass": {".sass"}, "Sass": {".sass"},
@ -1529,6 +1589,7 @@ var ExtensionsByLanguage = map[string][]string{
"Slash": {".sl"}, "Slash": {".sl"},
"Slice": {".ice"}, "Slice": {".ice"},
"Slim": {".slim"}, "Slim": {".slim"},
"SmPL": {".cocci"},
"Smali": {".smali"}, "Smali": {".smali"},
"Smalltalk": {".st", ".cs"}, "Smalltalk": {".st", ".cs"},
"Smarty": {".tpl"}, "Smarty": {".tpl"},
@ -1537,6 +1598,7 @@ var ExtensionsByLanguage = map[string][]string{
"Squirrel": {".nut"}, "Squirrel": {".nut"},
"Stan": {".stan"}, "Stan": {".stan"},
"Standard ML": {".ml", ".fun", ".sig", ".sml"}, "Standard ML": {".ml", ".fun", ".sig", ".sml"},
"Starlark": {".bzl"},
"Stata": {".do", ".ado", ".doh", ".ihlp", ".mata", ".matah", ".sthlp"}, "Stata": {".do", ".ado", ".doh", ".ihlp", ".mata", ".matah", ".sthlp"},
"Stylus": {".styl"}, "Stylus": {".styl"},
"SubRip Text": {".srt"}, "SubRip Text": {".srt"},
@ -1553,9 +1615,10 @@ var ExtensionsByLanguage = map[string][]string{
"TXL": {".txl"}, "TXL": {".txl"},
"Tcl": {".tcl", ".adp", ".tm"}, "Tcl": {".tcl", ".adp", ".tm"},
"Tcsh": {".tcsh", ".csh"}, "Tcsh": {".tcsh", ".csh"},
"TeX": {".tex", ".aux", ".bbx", ".bib", ".cbx", ".cls", ".dtx", ".ins", ".lbx", ".ltx", ".mkii", ".mkiv", ".mkvi", ".sty", ".toc"}, "TeX": {".tex", ".aux", ".bbx", ".cbx", ".cls", ".dtx", ".ins", ".lbx", ".ltx", ".mkii", ".mkiv", ".mkvi", ".sty", ".toc"},
"Tea": {".tea"}, "Tea": {".tea"},
"Terra": {".t"}, "Terra": {".t"},
"Texinfo": {".texinfo", ".texi", ".txi"},
"Text": {".txt", ".fr", ".nb", ".ncl", ".no"}, "Text": {".txt", ".fr", ".nb", ".ncl", ".no"},
"Textile": {".textile"}, "Textile": {".textile"},
"Thrift": {".thrift"}, "Thrift": {".thrift"},
@ -1565,17 +1628,21 @@ var ExtensionsByLanguage = map[string][]string{
"Type Language": {".tl"}, "Type Language": {".tl"},
"TypeScript": {".ts"}, "TypeScript": {".ts"},
"Unified Parallel C": {".upc"}, "Unified Parallel C": {".upc"},
"Unity3D Asset": {".anim", ".asset", ".mat", ".meta", ".prefab", ".unity"}, "Unity3D Asset": {".anim", ".asset", ".mask", ".mat", ".meta", ".prefab", ".unity"},
"Unix Assembly": {".s", ".ms"}, "Unix Assembly": {".s", ".ms"},
"Uno": {".uno"}, "Uno": {".uno"},
"UnrealScript": {".uc"}, "UnrealScript": {".uc"},
"UrWeb": {".ur", ".urs"}, "UrWeb": {".ur", ".urs"},
"V": {".v"},
"VBA": {".bas", ".cls", ".frm", ".frx", ".vba"},
"VBScript": {".vbs"},
"VCL": {".vcl"}, "VCL": {".vcl"},
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
"Vala": {".vala", ".vapi"}, "Vala": {".vala", ".vapi"},
"Verilog": {".v", ".veo"}, "Verilog": {".v", ".veo"},
"Vim Snippet": {".snip", ".snippet", ".snippets"},
"Vim script": {".vim", ".vba", ".vmb"}, "Vim script": {".vim", ".vba", ".vmb"},
"Visual Basic": {".vb", ".bas", ".cls", ".frm", ".frx", ".vba", ".vbhtml", ".vbs"}, "Visual Basic .NET": {".vb", ".vbhtml"},
"Volt": {".volt"}, "Volt": {".volt"},
"Vue": {".vue"}, "Vue": {".vue"},
"Wavefront Material": {".mtl"}, "Wavefront Material": {".mtl"},
@ -1591,7 +1658,8 @@ var ExtensionsByLanguage = map[string][]string{
"X PixMap": {".xpm", ".pm"}, "X PixMap": {".xpm", ".pm"},
"X10": {".x10"}, "X10": {".x10"},
"XC": {".xc"}, "XC": {".xc"},
"XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".plist", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".rdf", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sttheme", ".sublime-snippet", ".targets", ".tmcommand", ".tml", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"}, "XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".rdf", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".targets", ".tml", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
"XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"},
"XPages": {".xsp-config", ".xsp.metadata"}, "XPages": {".xsp-config", ".xsp.metadata"},
"XProc": {".xpl", ".xproc"}, "XProc": {".xpl", ".xproc"},
"XQuery": {".xquery", ".xq", ".xql", ".xqm", ".xqy"}, "XQuery": {".xquery", ".xq", ".xql", ".xqm", ".xqy"},
@ -1599,7 +1667,7 @@ var ExtensionsByLanguage = map[string][]string{
"XSLT": {".xslt", ".xsl"}, "XSLT": {".xslt", ".xsl"},
"Xojo": {".xojo_code", ".xojo_menu", ".xojo_report", ".xojo_script", ".xojo_toolbar", ".xojo_window"}, "Xojo": {".xojo_code", ".xojo_menu", ".xojo_report", ".xojo_script", ".xojo_toolbar", ".xojo_window"},
"Xtend": {".xtend"}, "Xtend": {".xtend"},
"YAML": {".yml", ".mir", ".reek", ".rviz", ".sublime-syntax", ".syntax", ".yaml", ".yaml-tmlanguage", ".yml.mysql"}, "YAML": {".yml", ".mir", ".reek", ".rviz", ".sublime-syntax", ".syntax", ".yaml", ".yaml-tmlanguage", ".yaml.sed", ".yml.mysql"},
"YANG": {".yang"}, "YANG": {".yang"},
"YARA": {".yar", ".yara"}, "YARA": {".yar", ".yara"},
"YASnippet": {".yasnippet"}, "YASnippet": {".yasnippet"},
@ -1612,9 +1680,11 @@ var ExtensionsByLanguage = map[string][]string{
"Zig": {".zig"}, "Zig": {".zig"},
"Zimpl": {".zimpl", ".zmpl", ".zpl"}, "Zimpl": {".zimpl", ".zmpl", ".zpl"},
"desktop": {".desktop", ".desktop.in"}, "desktop": {".desktop", ".desktop.in"},
"dircolors": {".dircolors"},
"eC": {".ec", ".eh"}, "eC": {".ec", ".eh"},
"edn": {".edn"}, "edn": {".edn"},
"fish": {".fish"}, "fish": {".fish"},
"mIRC Script": {".mrc"},
"mcfunction": {".mcfunction"}, "mcfunction": {".mcfunction"},
"mupad": {".mu"}, "mupad": {".mu"},
"nanorc": {".nanorc"}, "nanorc": {".nanorc"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -23,7 +23,10 @@ var LanguagesByFilename = map[string][]string{
".coffeelintignore": {"Ignore List"}, ".coffeelintignore": {"Ignore List"},
".cproject": {"XML"}, ".cproject": {"XML"},
".cshrc": {"Shell"}, ".cshrc": {"Shell"},
".curlrc": {"cURL Config"},
".cvsignore": {"Ignore List"}, ".cvsignore": {"Ignore List"},
".dir_colors": {"dircolors"},
".dircolors": {"dircolors"},
".dockerignore": {"Ignore List"}, ".dockerignore": {"Ignore List"},
".editorconfig": {"EditorConfig"}, ".editorconfig": {"EditorConfig"},
".emacs": {"Emacs Lisp"}, ".emacs": {"Emacs Lisp"},
@ -43,14 +46,17 @@ var LanguagesByFilename = map[string][]string{
".gvimrc": {"Vim script"}, ".gvimrc": {"Vim script"},
".htaccess": {"ApacheConf"}, ".htaccess": {"ApacheConf"},
".htmlhintrc": {"JSON"}, ".htmlhintrc": {"JSON"},
".inputrc": {"Readline Config"},
".irbrc": {"Ruby"}, ".irbrc": {"Ruby"},
".jscsrc": {"JSON with Comments"}, ".jscsrc": {"JSON with Comments"},
".jshintrc": {"JSON with Comments"}, ".jshintrc": {"JSON with Comments"},
".jslintrc": {"JSON with Comments"}, ".jslintrc": {"JSON with Comments"},
".login": {"Shell"}, ".login": {"Shell"},
".luacheckrc": {"Lua"},
".nanorc": {"nanorc"}, ".nanorc": {"nanorc"},
".nodemonignore": {"Ignore List"}, ".nodemonignore": {"Ignore List"},
".npmignore": {"Ignore List"}, ".npmignore": {"Ignore List"},
".npmrc": {"NPM Config"},
".nvimrc": {"Vim script"}, ".nvimrc": {"Vim script"},
".php": {"PHP"}, ".php": {"PHP"},
".php_cs": {"PHP"}, ".php_cs": {"PHP"},
@ -67,6 +73,7 @@ var LanguagesByFilename = map[string][]string{
".viper": {"Emacs Lisp"}, ".viper": {"Emacs Lisp"},
".vscodeignore": {"Ignore List"}, ".vscodeignore": {"Ignore List"},
".watchmanconfig": {"JSON"}, ".watchmanconfig": {"JSON"},
".wgetrc": {"Wget Config"},
".zlogin": {"Shell"}, ".zlogin": {"Shell"},
".zlogout": {"Shell"}, ".zlogout": {"Shell"},
".zprofile": {"Shell"}, ".zprofile": {"Shell"},
@ -77,9 +84,9 @@ var LanguagesByFilename = map[string][]string{
"App.config": {"XML"}, "App.config": {"XML"},
"Appraisals": {"Ruby"}, "Appraisals": {"Ruby"},
"BSDmakefile": {"Makefile"}, "BSDmakefile": {"Makefile"},
"BUCK": {"Python"}, "BUCK": {"Starlark"},
"BUILD": {"Python"}, "BUILD": {"Starlark"},
"BUILD.bazel": {"Python"}, "BUILD.bazel": {"Starlark"},
"Berksfile": {"Ruby"}, "Berksfile": {"Ruby"},
"Brewfile": {"Ruby"}, "Brewfile": {"Ruby"},
"Buildfile": {"Ruby"}, "Buildfile": {"Ruby"},
@ -91,6 +98,8 @@ var LanguagesByFilename = map[string][]string{
"Capfile": {"Ruby"}, "Capfile": {"Ruby"},
"Cargo.lock": {"TOML"}, "Cargo.lock": {"TOML"},
"Cask": {"Emacs Lisp"}, "Cask": {"Emacs Lisp"},
"DEPS": {"Python"},
"DIR_COLORS": {"dircolors"},
"Dangerfile": {"Ruby"}, "Dangerfile": {"Ruby"},
"Deliverfile": {"Ruby"}, "Deliverfile": {"Ruby"},
"Dockerfile": {"Dockerfile"}, "Dockerfile": {"Dockerfile"},
@ -144,11 +153,14 @@ var LanguagesByFilename = map[string][]string{
"Snapfile": {"Ruby"}, "Snapfile": {"Ruby"},
"Thorfile": {"Ruby"}, "Thorfile": {"Ruby"},
"Vagrantfile": {"Ruby"}, "Vagrantfile": {"Ruby"},
"WORKSPACE": {"Python"}, "WORKSPACE": {"Starlark"},
"Web.Debug.config": {"XML"}, "Web.Debug.config": {"XML"},
"Web.Release.config": {"XML"}, "Web.Release.config": {"XML"},
"Web.config": {"XML"}, "Web.config": {"XML"},
"XCompose": {"XCompose"}, "XCompose": {"XCompose"},
"_curlrc": {"cURL Config"},
"_dir_colors": {"dircolors"},
"_dircolors": {"dircolors"},
"_emacs": {"Emacs Lisp"}, "_emacs": {"Emacs Lisp"},
"_vimrc": {"Vim script"}, "_vimrc": {"Vim script"},
"abbrev_defs": {"Emacs Lisp"}, "abbrev_defs": {"Emacs Lisp"},
@ -173,7 +185,9 @@ var LanguagesByFilename = map[string][]string{
"delete.me": {"Text"}, "delete.me": {"Text"},
"descrip.mmk": {"Module Management System"}, "descrip.mmk": {"Module Management System"},
"descrip.mms": {"Module Management System"}, "descrip.mms": {"Module Management System"},
"dir_colors": {"dircolors"},
"encodings.dir": {"X Font Directory Index"}, "encodings.dir": {"X Font Directory Index"},
"eqnrc": {"Roff"},
"expr-dist": {"R"}, "expr-dist": {"R"},
"firestore.rules": {"Cloud Firestore Security Rules"}, "firestore.rules": {"Cloud Firestore Security Rules"},
"fonts.alias": {"X Font Directory Index"}, "fonts.alias": {"X Font Directory Index"},
@ -189,6 +203,7 @@ var LanguagesByFilename = map[string][]string{
"gvimrc": {"Vim script"}, "gvimrc": {"Vim script"},
"haproxy.cfg": {"HAProxy"}, "haproxy.cfg": {"HAProxy"},
"httpd.conf": {"ApacheConf"}, "httpd.conf": {"ApacheConf"},
"inputrc": {"Readline Config"},
"jsconfig.json": {"JSON with Comments"}, "jsconfig.json": {"JSON with Comments"},
"keep.me": {"Text"}, "keep.me": {"Text"},
"language-configuration.json": {"JSON with Comments"}, "language-configuration.json": {"JSON with Comments"},
@ -212,6 +227,9 @@ var LanguagesByFilename = map[string][]string{
"nim.cfg": {"Nim"}, "nim.cfg": {"Nim"},
"nvimrc": {"Vim script"}, "nvimrc": {"Vim script"},
"owh": {"Tcl"}, "owh": {"Tcl"},
"package.mask": {"Text"},
"package.use.mask": {"Text"},
"package.use.stable.mask": {"Text"},
"packages.config": {"XML"}, "packages.config": {"XML"},
"pom.xml": {"Maven POM"}, "pom.xml": {"Maven POM"},
"profile": {"Shell"}, "profile": {"Shell"},
@ -229,10 +247,15 @@ var LanguagesByFilename = map[string][]string{
"sshd_config": {"SSH Config"}, "sshd_config": {"SSH Config"},
"starfield": {"Tcl"}, "starfield": {"Tcl"},
"test.me": {"Text"}, "test.me": {"Text"},
"troffrc": {"Roff"},
"troffrc-end": {"Roff"},
"tsconfig.json": {"JSON with Comments"}, "tsconfig.json": {"JSON with Comments"},
"use.mask": {"Text"},
"use.stable.mask": {"Text"},
"vimrc": {"Vim script"}, "vimrc": {"Vim script"},
"wscript": {"Python"}, "wscript": {"Python"},
"xcompose": {"XCompose"}, "xcompose": {"XCompose"},
"yarn.lock": {"YAML"},
"zlogin": {"Shell"}, "zlogin": {"Shell"},
"zlogout": {"Shell"}, "zlogout": {"Shell"},
"zprofile": {"Shell"}, "zprofile": {"Shell"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -20,6 +20,7 @@ var LanguagesByInterpreter = map[string][]string{
"coffee": {"CoffeeScript"}, "coffee": {"CoffeeScript"},
"cperl": {"Perl"}, "cperl": {"Perl"},
"crystal": {"Crystal"}, "crystal": {"Crystal"},
"csh": {"Tcsh"},
"csi": {"Scheme"}, "csi": {"Scheme"},
"cvc4": {"SMT"}, "cvc4": {"SMT"},
"cwl-runner": {"Common Workflow Language"}, "cwl-runner": {"Common Workflow Language"},
@ -36,6 +37,7 @@ var LanguagesByInterpreter = map[string][]string{
"gawk": {"Awk"}, "gawk": {"Awk"},
"gerbv": {"Gerber Image"}, "gerbv": {"Gerber Image"},
"gerbview": {"Gerber Image"}, "gerbview": {"Gerber Image"},
"gjs": {"JavaScript"},
"gn": {"GN"}, "gn": {"GN"},
"gnuplot": {"Gnuplot"}, "gnuplot": {"Gnuplot"},
"gosh": {"Scheme"}, "gosh": {"Scheme"},
@ -57,6 +59,7 @@ var LanguagesByInterpreter = map[string][]string{
"lua": {"Lua", "Terra"}, "lua": {"Lua", "Terra"},
"macruby": {"Ruby"}, "macruby": {"Ruby"},
"make": {"Makefile"}, "make": {"Makefile"},
"makeinfo": {"Texinfo"},
"mathsat5": {"SMT"}, "mathsat5": {"SMT"},
"mawk": {"Awk"}, "mawk": {"Awk"},
"minised": {"sed"}, "minised": {"sed"},
@ -77,7 +80,7 @@ var LanguagesByInterpreter = map[string][]string{
"parrot": {"Parrot Assembly", "Parrot Internal Representation"}, "parrot": {"Parrot Assembly", "Parrot Internal Representation"},
"pdksh": {"Shell"}, "pdksh": {"Shell"},
"perl": {"Perl", "Pod"}, "perl": {"Perl", "Pod"},
"perl6": {"Perl 6", "Pod 6"}, "perl6": {"Pod 6", "Raku"},
"php": {"PHP"}, "php": {"PHP"},
"picolisp": {"PicoLisp"}, "picolisp": {"PicoLisp"},
"pike": {"Pike"}, "pike": {"Pike"},
@ -86,10 +89,13 @@ var LanguagesByInterpreter = map[string][]string{
"python": {"Python"}, "python": {"Python"},
"python2": {"Python"}, "python2": {"Python"},
"python3": {"Python"}, "python3": {"Python"},
"qjs": {"JavaScript"},
"qmake": {"QMake"}, "qmake": {"QMake"},
"r6rs": {"Scheme"}, "r6rs": {"Scheme"},
"racket": {"Racket"}, "racket": {"Racket"},
"rake": {"Ruby"}, "rake": {"Ruby"},
"raku": {"Raku"},
"rakudo": {"Raku"},
"rbx": {"Ruby"}, "rbx": {"Ruby"},
"rc": {"Shell"}, "rc": {"Shell"},
"regina": {"REXX"}, "regina": {"REXX"},
@ -112,6 +118,7 @@ var LanguagesByInterpreter = map[string][]string{
"swipl": {"Prolog"}, "swipl": {"Prolog"},
"tcc": {"C"}, "tcc": {"C"},
"tclsh": {"Tcl"}, "tclsh": {"Tcl"},
"tcsh": {"Tcsh"},
"ts-node": {"TypeScript"}, "ts-node": {"TypeScript"},
"v8": {"JavaScript"}, "v8": {"JavaScript"},
"v8-shell": {"JavaScript"}, "v8-shell": {"JavaScript"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -13,6 +13,7 @@ var LanguagesMime = map[string]string{
"Ant Build System": "application/xml", "Ant Build System": "application/xml",
"Apex": "text/x-java", "Apex": "text/x-java",
"Asymptote": "text/x-kotlin", "Asymptote": "text/x-kotlin",
"BibTeX": "text/x-stex",
"Brainfuck": "text/x-brainfuck", "Brainfuck": "text/x-brainfuck",
"C": "text/x-csrc", "C": "text/x-csrc",
"C#": "text/x-csharp", "C#": "text/x-csharp",
@ -50,7 +51,7 @@ var LanguagesMime = map[string]string{
"Easybuild": "text/x-python", "Easybuild": "text/x-python",
"Ecere Projects": "application/json", "Ecere Projects": "application/json",
"EditorConfig": "text/x-properties", "EditorConfig": "text/x-properties",
"Edje Data Collection": "application/json", "Edje Data Collection": "text/x-c++src",
"Eiffel": "text/x-eiffel", "Eiffel": "text/x-eiffel",
"Elm": "text/x-elm", "Elm": "text/x-elm",
"Emacs Lisp": "text/x-common-lisp", "Emacs Lisp": "text/x-common-lisp",
@ -146,7 +147,6 @@ var LanguagesMime = map[string]string{
"PLpgSQL": "text/x-sql", "PLpgSQL": "text/x-sql",
"Pascal": "text/x-pascal", "Pascal": "text/x-pascal",
"Perl": "text/x-perl", "Perl": "text/x-perl",
"Perl 6": "text/x-perl",
"Pic": "text/troff", "Pic": "text/troff",
"Pod": "text/x-perl", "Pod": "text/x-perl",
"PowerShell": "application/x-powershell", "PowerShell": "application/x-powershell",
@ -161,6 +161,7 @@ var LanguagesMime = map[string]string{
"RHTML": "application/x-erb", "RHTML": "application/x-erb",
"RMarkdown": "text/x-gfm", "RMarkdown": "text/x-gfm",
"RPM Spec": "text/x-rpm-spec", "RPM Spec": "text/x-rpm-spec",
"Raku": "text/x-perl",
"Reason": "text/x-rustsrc", "Reason": "text/x-rustsrc",
"Roff": "text/troff", "Roff": "text/troff",
"Roff Manpage": "text/troff", "Roff Manpage": "text/troff",
@ -174,6 +175,7 @@ var LanguagesMime = map[string]string{
"SQLPL": "text/x-sql", "SQLPL": "text/x-sql",
"SRecode Template": "text/x-common-lisp", "SRecode Template": "text/x-common-lisp",
"SVG": "text/xml", "SVG": "text/xml",
"SWIG": "text/x-c++src",
"Sage": "text/x-python", "Sage": "text/x-python",
"SaltStack": "text/x-yaml", "SaltStack": "text/x-yaml",
"Sass": "text/x-sass", "Sass": "text/x-sass",
@ -186,6 +188,7 @@ var LanguagesMime = map[string]string{
"Smarty": "text/x-smarty", "Smarty": "text/x-smarty",
"Squirrel": "text/x-c++src", "Squirrel": "text/x-c++src",
"Standard ML": "text/x-ocaml", "Standard ML": "text/x-ocaml",
"Starlark": "text/x-python",
"Svelte": "text/html", "Svelte": "text/html",
"Swift": "text/x-swift", "Swift": "text/x-swift",
"SystemVerilog": "text/x-systemverilog", "SystemVerilog": "text/x-systemverilog",
@ -203,9 +206,12 @@ var LanguagesMime = map[string]string{
"Unity3D Asset": "text/x-yaml", "Unity3D Asset": "text/x-yaml",
"Uno": "text/x-csharp", "Uno": "text/x-csharp",
"UnrealScript": "text/x-java", "UnrealScript": "text/x-java",
"V": "text/x-go",
"VBA": "text/x-vb",
"VBScript": "text/vbscript",
"VHDL": "text/x-vhdl", "VHDL": "text/x-vhdl",
"Verilog": "text/x-verilog", "Verilog": "text/x-verilog",
"Visual Basic": "text/x-vb", "Visual Basic .NET": "text/x-vb",
"Volt": "text/x-d", "Volt": "text/x-d",
"WebAssembly": "text/x-common-lisp", "WebAssembly": "text/x-common-lisp",
"WebIDL": "text/x-webidl", "WebIDL": "text/x-webidl",
@ -214,6 +220,7 @@ var LanguagesMime = map[string]string{
"X PixMap": "text/x-csrc", "X PixMap": "text/x-csrc",
"XC": "text/x-csrc", "XC": "text/x-csrc",
"XML": "text/xml", "XML": "text/xml",
"XML Property List": "text/xml",
"XPages": "text/xml", "XPages": "text/xml",
"XProc": "text/xml", "XProc": "text/xml",
"XQuery": "application/xquery", "XQuery": "application/xquery",

View File

@ -1,10 +1,11 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
var LanguagesType = map[string]int{ var LanguagesType = map[string]int{
"1C Enterprise": 2, "1C Enterprise": 2,
"4D": 2,
"ABAP": 2, "ABAP": 2,
"ABNF": 1, "ABNF": 1,
"AGS Script": 2, "AGS Script": 2,
@ -40,6 +41,7 @@ var LanguagesType = map[string]int{
"Ballerina": 2, "Ballerina": 2,
"Batchfile": 2, "Batchfile": 2,
"Befunge": 2, "Befunge": 2,
"BibTeX": 3,
"Bison": 2, "Bison": 2,
"BitBake": 2, "BitBake": 2,
"Blade": 3, "Blade": 3,
@ -77,6 +79,7 @@ var LanguagesType = map[string]int{
"Closure Templates": 3, "Closure Templates": 3,
"Cloud Firestore Security Rules": 1, "Cloud Firestore Security Rules": 1,
"CoNLL-U": 1, "CoNLL-U": 1,
"CodeQL": 2,
"CoffeeScript": 2, "CoffeeScript": 2,
"ColdFusion": 2, "ColdFusion": 2,
"ColdFusion CFC": 2, "ColdFusion CFC": 2,
@ -105,6 +108,7 @@ var LanguagesType = map[string]int{
"DataWeave": 2, "DataWeave": 2,
"Dhall": 2, "Dhall": 2,
"Diff": 1, "Diff": 1,
"DirectX 3D File": 1,
"Dockerfile": 2, "Dockerfile": 2,
"Dogescript": 2, "Dogescript": 2,
"Dylan": 2, "Dylan": 2,
@ -133,6 +137,7 @@ var LanguagesType = map[string]int{
"Factor": 2, "Factor": 2,
"Fancy": 2, "Fancy": 2,
"Fantom": 2, "Fantom": 2,
"Faust": 2,
"Filebench WML": 2, "Filebench WML": 2,
"Filterscript": 2, "Filterscript": 2,
"Formatted": 1, "Formatted": 1,
@ -141,6 +146,7 @@ var LanguagesType = map[string]int{
"FreeMarker": 2, "FreeMarker": 2,
"Frege": 2, "Frege": 2,
"G-code": 2, "G-code": 2,
"GAML": 2,
"GAMS": 2, "GAMS": 2,
"GAP": 2, "GAP": 2,
"GCC Machine Description": 2, "GCC Machine Description": 2,
@ -262,6 +268,7 @@ var LanguagesType = map[string]int{
"M4Sugar": 2, "M4Sugar": 2,
"MATLAB": 2, "MATLAB": 2,
"MAXScript": 2, "MAXScript": 2,
"MLIR": 2,
"MQL4": 2, "MQL4": 2,
"MQL5": 2, "MQL5": 2,
"MTML": 3, "MTML": 3,
@ -278,6 +285,7 @@ var LanguagesType = map[string]int{
"Mercury": 2, "Mercury": 2,
"Meson": 2, "Meson": 2,
"Metal": 2, "Metal": 2,
"Microsoft Developer Studio Project": 1,
"MiniD": 2, "MiniD": 2,
"Mirah": 2, "Mirah": 2,
"Modelica": 2, "Modelica": 2,
@ -288,9 +296,12 @@ var LanguagesType = map[string]int{
"Moocode": 2, "Moocode": 2,
"MoonScript": 2, "MoonScript": 2,
"Motorola 68K Assembly": 2, "Motorola 68K Assembly": 2,
"Muse": 4,
"Myghty": 2, "Myghty": 2,
"NASL": 2,
"NCL": 2, "NCL": 2,
"NL": 1, "NL": 1,
"NPM Config": 1,
"NSIS": 2, "NSIS": 2,
"Nearley": 2, "Nearley": 2,
"Nemerle": 2, "Nemerle": 2,
@ -308,17 +319,22 @@ var LanguagesType = map[string]int{
"NumPy": 2, "NumPy": 2,
"OCaml": 2, "OCaml": 2,
"ObjDump": 1, "ObjDump": 1,
"Object Data Instance Notation": 1,
"ObjectScript": 2, "ObjectScript": 2,
"Objective-C": 2, "Objective-C": 2,
"Objective-C++": 2, "Objective-C++": 2,
"Objective-J": 2, "Objective-J": 2,
"Odin": 2,
"Omgrofl": 2, "Omgrofl": 2,
"Opa": 2, "Opa": 2,
"Opal": 2, "Opal": 2,
"Open Policy Agent": 2,
"OpenCL": 2, "OpenCL": 2,
"OpenEdge ABL": 2, "OpenEdge ABL": 2,
"OpenQASM": 2,
"OpenRC runscript": 2, "OpenRC runscript": 2,
"OpenSCAD": 2, "OpenSCAD": 2,
"OpenStep Property List": 1,
"OpenType Feature File": 1, "OpenType Feature File": 1,
"Org": 4, "Org": 4,
"Ox": 2, "Ox": 2,
@ -338,12 +354,12 @@ var LanguagesType = map[string]int{
"Pawn": 2, "Pawn": 2,
"Pep8": 2, "Pep8": 2,
"Perl": 2, "Perl": 2,
"Perl 6": 2,
"Pic": 3, "Pic": 3,
"Pickle": 1, "Pickle": 1,
"PicoLisp": 2, "PicoLisp": 2,
"PigLatin": 2, "PigLatin": 2,
"Pike": 2, "Pike": 2,
"PlantUML": 1,
"Pod": 4, "Pod": 4,
"Pod 6": 4, "Pod 6": 4,
"PogoScript": 2, "PogoScript": 2,
@ -352,7 +368,9 @@ var LanguagesType = map[string]int{
"PostScript": 3, "PostScript": 3,
"PowerBuilder": 2, "PowerBuilder": 2,
"PowerShell": 2, "PowerShell": 2,
"Prisma": 1,
"Processing": 2, "Processing": 2,
"Proguard": 1,
"Prolog": 2, "Prolog": 2,
"Propeller Spin": 2, "Propeller Spin": 2,
"Protocol Buffer": 1, "Protocol Buffer": 1,
@ -380,8 +398,10 @@ var LanguagesType = map[string]int{
"RUNOFF": 3, "RUNOFF": 3,
"Racket": 2, "Racket": 2,
"Ragel": 2, "Ragel": 2,
"Raku": 2,
"Rascal": 2, "Rascal": 2,
"Raw token data": 1, "Raw token data": 1,
"Readline Config": 1,
"Reason": 2, "Reason": 2,
"Rebol": 2, "Rebol": 2,
"Red": 2, "Red": 2,
@ -391,6 +411,7 @@ var LanguagesType = map[string]int{
"RenderScript": 2, "RenderScript": 2,
"Rich Text Format": 3, "Rich Text Format": 3,
"Ring": 2, "Ring": 2,
"Riot": 3,
"RobotFramework": 2, "RobotFramework": 2,
"Roff": 3, "Roff": 3,
"Roff Manpage": 3, "Roff Manpage": 3,
@ -408,6 +429,7 @@ var LanguagesType = map[string]int{
"SSH Config": 1, "SSH Config": 1,
"STON": 1, "STON": 1,
"SVG": 1, "SVG": 1,
"SWIG": 2,
"Sage": 2, "Sage": 2,
"SaltStack": 2, "SaltStack": 2,
"Sass": 3, "Sass": 3,
@ -423,6 +445,7 @@ var LanguagesType = map[string]int{
"Slash": 2, "Slash": 2,
"Slice": 2, "Slice": 2,
"Slim": 3, "Slim": 3,
"SmPL": 2,
"Smali": 2, "Smali": 2,
"Smalltalk": 2, "Smalltalk": 2,
"Smarty": 2, "Smarty": 2,
@ -432,6 +455,7 @@ var LanguagesType = map[string]int{
"Squirrel": 2, "Squirrel": 2,
"Stan": 2, "Stan": 2,
"Standard ML": 2, "Standard ML": 2,
"Starlark": 2,
"Stata": 2, "Stata": 2,
"Stylus": 3, "Stylus": 3,
"SubRip Text": 1, "SubRip Text": 1,
@ -451,6 +475,7 @@ var LanguagesType = map[string]int{
"TeX": 3, "TeX": 3,
"Tea": 3, "Tea": 3,
"Terra": 2, "Terra": 2,
"Texinfo": 4,
"Text": 4, "Text": 4,
"Textile": 4, "Textile": 4,
"Thrift": 2, "Thrift": 2,
@ -465,12 +490,16 @@ var LanguagesType = map[string]int{
"Uno": 2, "Uno": 2,
"UnrealScript": 2, "UnrealScript": 2,
"UrWeb": 2, "UrWeb": 2,
"V": 2,
"VBA": 2,
"VBScript": 2,
"VCL": 2, "VCL": 2,
"VHDL": 2, "VHDL": 2,
"Vala": 2, "Vala": 2,
"Verilog": 2, "Verilog": 2,
"Vim Snippet": 3,
"Vim script": 2, "Vim script": 2,
"Visual Basic": 2, "Visual Basic .NET": 2,
"Volt": 2, "Volt": 2,
"Vue": 3, "Vue": 3,
"Wavefront Material": 1, "Wavefront Material": 1,
@ -479,6 +508,7 @@ var LanguagesType = map[string]int{
"WebAssembly": 2, "WebAssembly": 2,
"WebIDL": 2, "WebIDL": 2,
"WebVTT": 1, "WebVTT": 1,
"Wget Config": 1,
"Windows Registry Entries": 1, "Windows Registry Entries": 1,
"Wollok": 2, "Wollok": 2,
"World of Warcraft Addon Data": 1, "World of Warcraft Addon Data": 1,
@ -489,6 +519,7 @@ var LanguagesType = map[string]int{
"XC": 2, "XC": 2,
"XCompose": 1, "XCompose": 1,
"XML": 1, "XML": 1,
"XML Property List": 1,
"XPages": 1, "XPages": 1,
"XProc": 2, "XProc": 2,
"XQuery": 2, "XQuery": 2,
@ -508,10 +539,13 @@ var LanguagesType = map[string]int{
"Zephir": 2, "Zephir": 2,
"Zig": 2, "Zig": 2,
"Zimpl": 2, "Zimpl": 2,
"cURL Config": 1,
"desktop": 1, "desktop": 1,
"dircolors": 1,
"eC": 2, "eC": 2,
"edn": 1, "edn": 1,
"fish": 2, "fish": 2,
"mIRC Script": 2,
"mcfunction": 2, "mcfunction": 2,
"mupad": 2, "mupad": 2,
"nanorc": 1, "nanorc": 1,

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -19,8 +19,11 @@ var VendorMatchers = substring.Or(
substring.Regexp(`(^|/)ltsugar.m4`), substring.Regexp(`(^|/)ltsugar.m4`),
substring.Regexp(`(^|/)ltversion.m4`), substring.Regexp(`(^|/)ltversion.m4`),
substring.Regexp(`(^|/)lt~obsolete.m4`), substring.Regexp(`(^|/)lt~obsolete.m4`),
substring.Regexp(`dotnet-install\.(ps1|sh)$`),
substring.Regexp(`cpplint.py`), substring.Regexp(`cpplint.py`),
substring.Regexp(`node_modules/`), substring.Regexp(`node_modules/`),
substring.Regexp(`(^|/)\.yarn/releases/`),
substring.Regexp(`(^|/)_esy$`),
substring.Regexp(`bower_components/`), substring.Regexp(`bower_components/`),
substring.Regexp(`^rebar$`), substring.Regexp(`^rebar$`),
substring.Regexp(`erlang.mk`), substring.Regexp(`erlang.mk`),

View File

@ -27,12 +27,12 @@ var ContentHeuristics = map[string]*Heuristics{
{{- else if eq .Op "Or" -}} {{- else if eq .Op "Or" -}}
rule.Or( rule.Or(
{{ template "Languages" .Langs -}} {{ template "Languages" .Langs -}}
regexp.MustCompile(`{{ .Pattern }}`), regexp.MustCompile({{ .Pattern | stringVal }}),
), ),
{{- else if eq .Op "Not" -}} {{- else if eq .Op "Not" -}}
rule.Not( rule.Not(
{{ template "Languages" .Langs -}} {{ template "Languages" .Langs -}}
regexp.MustCompile(`{{ .Pattern }}`), regexp.MustCompile({{ .Pattern | stringVal }}),
), ),
{{- else if eq .Op "Always" -}} {{- else if eq .Op "Always" -}}
rule.Always( rule.Always(

View File

@ -4,10 +4,12 @@ package generator
import ( import (
"bytes" "bytes"
"fmt"
"go/format" "go/format"
"io" "io"
"io/ioutil" "io/ioutil"
"path/filepath" "path/filepath"
"strings"
"text/template" "text/template"
) )
@ -32,12 +34,19 @@ func executeTemplate(w io.Writer, name, path, commit string, fmap template.FuncM
getCommit := func() string { getCommit := func() string {
return commit return commit
} }
// stringVal returns escaped string that can be directly placed into go code.
// for value test`s it would return `test`+"`"+`s`
stringVal := func(val string) string {
val = strings.ReplaceAll(val, "`", "`+\"`\"+`")
return fmt.Sprintf("`%s`", val)
}
const headerTmpl = "header.go.tmpl" const headerTmpl = "header.go.tmpl"
headerPath := filepath.Join(filepath.Dir(path), headerTmpl) headerPath := filepath.Join(filepath.Dir(path), headerTmpl)
h := template.Must(template.New(headerTmpl).Funcs(template.FuncMap{ h := template.Must(template.New(headerTmpl).Funcs(template.FuncMap{
"getCommit": getCommit, "getCommit": getCommit,
"stringVal": stringVal,
}).ParseFiles(headerPath)) }).ParseFiles(headerPath))
buf := bytes.NewBuffer(nil) buf := bytes.NewBuffer(nil)
@ -49,6 +58,7 @@ func executeTemplate(w io.Writer, name, path, commit string, fmap template.FuncM
fmap = make(template.FuncMap) fmap = make(template.FuncMap)
} }
fmap["getCommit"] = getCommit fmap["getCommit"] = getCommit
fmap["stringVal"] = stringVal
t := template.Must(template.New(name).Funcs(fmap).ParseFiles(path)) t := template.Must(template.New(name).Funcs(fmap).ParseFiles(path))
if err := t.Execute(buf, data); err != nil { if err := t.Execute(buf, data); err != nil {

View File

@ -19,7 +19,7 @@ import (
var ( var (
linguistURL = "https://github.com/github/linguist.git" linguistURL = "https://github.com/github/linguist.git"
linguistClonedEnvVar = "ENRY_TEST_REPO" linguistClonedEnvVar = "ENRY_TEST_REPO"
commit = "3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d" commit = "40992ba7f86889f80dfed3ba95e11e1082200bad"
samplesDir = "samples" samplesDir = "samples"
languagesFile = filepath.Join("lib", "linguist", "languages.yml") languagesFile = filepath.Join("lib", "linguist", "languages.yml")

View File

@ -163,9 +163,11 @@ func parseYaml(file string) (*Heuristics, error) {
// - lookbehind & lookahead // - lookbehind & lookahead
// - named & numbered capturing group/after text matching // - named & numbered capturing group/after text matching
// - backreference // - backreference
// - possessive quantifier
// For referece on supported syntax see https://github.com/google/re2/wiki/Syntax // For referece on supported syntax see https://github.com/google/re2/wiki/Syntax
func isUnsupportedRegexpSyntax(reg string) bool { func isUnsupportedRegexpSyntax(reg string) bool {
return strings.Contains(reg, `(?<`) || strings.Contains(reg, `(?=`) || strings.Contains(reg, `\1`) || return strings.Contains(reg, `(?<`) || strings.Contains(reg, `(?=`) ||
strings.Contains(reg, `\1`) || strings.Contains(reg, `*+`) ||
// See https://github.com/github/linguist/pull/4243#discussion_r246105067 // See https://github.com/github/linguist/pull/4243#discussion_r246105067
(strings.HasPrefix(reg, multilinePrefix+`/`) && strings.HasSuffix(reg, `/`)) (strings.HasPrefix(reg, multilinePrefix+`/`) && strings.HasSuffix(reg, `/`))
} }

View File

@ -106,7 +106,11 @@ func TestTemplateMatcherVars(t *testing.T) {
// render a tmpl // render a tmpl
const contentTmpl = "../assets/content.go.tmpl" const contentTmpl = "../assets/content.go.tmpl"
tmpl, err := template.ParseFiles(contentTmpl) tmpl, err := template.New("content.go.tmpl").Funcs(template.FuncMap{
"stringVal": func(val string) string {
return fmt.Sprintf("`%s`", val)
},
}).ParseFiles(contentTmpl)
require.NoError(t, err) require.NoError(t, err)
buf := bytes.NewBuffer(nil) buf := bytes.NewBuffer(nil)

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -9,6 +9,7 @@ import "strings"
// All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores. // All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
var LanguageByAliasMap = map[string]string{ var LanguageByAliasMap = map[string]string{
"1c_enterprise": "1C Enterprise", "1c_enterprise": "1C Enterprise",
"4d": "4D",
"abap": "ABAP", "abap": "ABAP",
"abl": "OpenEdge ABL", "abl": "OpenEdge ABL",
"abnf": "ABNF", "abnf": "ABNF",
@ -36,6 +37,7 @@ var LanguageByAliasMap = map[string]string{
"altium_designer": "Altium Designer", "altium_designer": "Altium Designer",
"amfm": "Adobe Font Metrics", "amfm": "Adobe Font Metrics",
"ampl": "AMPL", "ampl": "AMPL",
"amusewiki": "Muse",
"angelscript": "AngelScript", "angelscript": "AngelScript",
"ant_build_system": "Ant Build System", "ant_build_system": "Ant Build System",
"antlr": "ANTLR", "antlr": "ANTLR",
@ -76,7 +78,9 @@ var LanguageByAliasMap = map[string]string{
"bat": "Batchfile", "bat": "Batchfile",
"batch": "Batchfile", "batch": "Batchfile",
"batchfile": "Batchfile", "batchfile": "Batchfile",
"bazel": "Starlark",
"befunge": "Befunge", "befunge": "Befunge",
"bibtex": "BibTeX",
"bison": "Bison", "bison": "Bison",
"bitbake": "BitBake", "bitbake": "BitBake",
"blade": "Blade", "blade": "Blade",
@ -93,6 +97,7 @@ var LanguageByAliasMap = map[string]string{
"bro": "Zeek", "bro": "Zeek",
"bsdmake": "Makefile", "bsdmake": "Makefile",
"byond": "DM", "byond": "DM",
"bzl": "Starlark",
"c": "C", "c": "C",
"c#": "C#", "c#": "C#",
"c++": "C++", "c++": "C++",
@ -124,6 +129,8 @@ var LanguageByAliasMap = map[string]string{
"cloud_firestore_security_rules": "Cloud Firestore Security Rules", "cloud_firestore_security_rules": "Cloud Firestore Security Rules",
"cmake": "CMake", "cmake": "CMake",
"cobol": "COBOL", "cobol": "COBOL",
"coccinelle": "SmPL",
"codeql": "CodeQL",
"coffee": "CoffeeScript", "coffee": "CoffeeScript",
"coffee-script": "CoffeeScript", "coffee-script": "CoffeeScript",
"coffeescript": "CoffeeScript", "coffeescript": "CoffeeScript",
@ -157,6 +164,8 @@ var LanguageByAliasMap = map[string]string{
"csv": "CSV", "csv": "CSV",
"cucumber": "Gherkin", "cucumber": "Gherkin",
"cuda": "Cuda", "cuda": "Cuda",
"curl_config": "cURL Config",
"curlrc": "cURL Config",
"cweb": "CWeb", "cweb": "CWeb",
"cwl": "Common Workflow Language", "cwl": "Common Workflow Language",
"cycript": "Cycript", "cycript": "Cycript",
@ -172,6 +181,8 @@ var LanguageByAliasMap = map[string]string{
"dhall": "Dhall", "dhall": "Dhall",
"diff": "Diff", "diff": "Diff",
"digital_command_language": "DIGITAL Command Language", "digital_command_language": "DIGITAL Command Language",
"dircolors": "dircolors",
"directx_3d_file": "DirectX 3D File",
"django": "HTML+Django", "django": "HTML+Django",
"dm": "DM", "dm": "DM",
"dns_zone": "DNS Zone", "dns_zone": "DNS Zone",
@ -205,6 +216,7 @@ var LanguageByAliasMap = map[string]string{
"elm": "Elm", "elm": "Elm",
"emacs": "Emacs Lisp", "emacs": "Emacs Lisp",
"emacs_lisp": "Emacs Lisp", "emacs_lisp": "Emacs Lisp",
"emacs_muse": "Muse",
"emberscript": "EmberScript", "emberscript": "EmberScript",
"eml": "EML", "eml": "EML",
"eq": "EQ", "eq": "EQ",
@ -215,6 +227,7 @@ var LanguageByAliasMap = map[string]string{
"factor": "Factor", "factor": "Factor",
"fancy": "Fancy", "fancy": "Fancy",
"fantom": "Fantom", "fantom": "Fantom",
"faust": "Faust",
"figfont": "FIGlet Font", "figfont": "FIGlet Font",
"figlet_font": "FIGlet Font", "figlet_font": "FIGlet Font",
"filebench_wml": "Filebench WML", "filebench_wml": "Filebench WML",
@ -234,6 +247,7 @@ var LanguageByAliasMap = map[string]string{
"fundamental": "Text", "fundamental": "Text",
"g-code": "G-code", "g-code": "G-code",
"game_maker_language": "Game Maker Language", "game_maker_language": "Game Maker Language",
"gaml": "GAML",
"gams": "GAMS", "gams": "GAMS",
"gap": "GAP", "gap": "GAP",
"gcc_machine_description": "GCC Machine Description", "gcc_machine_description": "GCC Machine Description",
@ -315,6 +329,7 @@ var LanguageByAliasMap = map[string]string{
"inform_7": "Inform 7", "inform_7": "Inform 7",
"ini": "INI", "ini": "INI",
"inno_setup": "Inno Setup", "inno_setup": "Inno Setup",
"inputrc": "Readline Config",
"io": "Io", "io": "Io",
"ioke": "Ioke", "ioke": "Ioke",
"ipython_notebook": "Jupyter Notebook", "ipython_notebook": "Jupyter Notebook",
@ -390,6 +405,7 @@ var LanguageByAliasMap = map[string]string{
"m": "M", "m": "M",
"m4": "M4", "m4": "M4",
"m4sugar": "M4Sugar", "m4sugar": "M4Sugar",
"m68k": "Motorola 68K Assembly",
"macruby": "Ruby", "macruby": "Ruby",
"make": "Makefile", "make": "Makefile",
"makefile": "Makefile", "makefile": "Makefile",
@ -416,8 +432,11 @@ var LanguageByAliasMap = map[string]string{
"meson": "Meson", "meson": "Meson",
"metal": "Metal", "metal": "Metal",
"mf": "Makefile", "mf": "Makefile",
"microsoft_developer_studio_project": "Microsoft Developer Studio Project",
"minid": "MiniD", "minid": "MiniD",
"mirah": "Mirah", "mirah": "Mirah",
"mirc_script": "mIRC Script",
"mlir": "MLIR",
"mma": "Mathematica", "mma": "Mathematica",
"modelica": "Modelica", "modelica": "Modelica",
"modula-2": "Modula-2", "modula-2": "Modula-2",
@ -433,12 +452,15 @@ var LanguageByAliasMap = map[string]string{
"muf": "MUF", "muf": "MUF",
"mumps": "M", "mumps": "M",
"mupad": "mupad", "mupad": "mupad",
"muse": "Muse",
"myghty": "Myghty", "myghty": "Myghty",
"nanorc": "nanorc", "nanorc": "nanorc",
"nasl": "NASL",
"nasm": "Assembly", "nasm": "Assembly",
"ncl": "NCL", "ncl": "NCL",
"nearley": "Nearley", "nearley": "Nearley",
"nemerle": "Nemerle", "nemerle": "Nemerle",
"neosnippet": "Vim Snippet",
"nesc": "nesC", "nesc": "nesC",
"netlinx": "NetLinx", "netlinx": "NetLinx",
"netlinx+erb": "NetLinx+ERB", "netlinx+erb": "NetLinx+ERB",
@ -455,6 +477,8 @@ var LanguageByAliasMap = map[string]string{
"njk": "HTML+Django", "njk": "HTML+Django",
"nl": "NL", "nl": "NL",
"node": "JavaScript", "node": "JavaScript",
"npm_config": "NPM Config",
"npmrc": "NPM Config",
"nroff": "Roff", "nroff": "Roff",
"nsis": "NSIS", "nsis": "NSIS",
"nu": "Nu", "nu": "Nu",
@ -468,6 +492,7 @@ var LanguageByAliasMap = map[string]string{
"objc": "Objective-C", "objc": "Objective-C",
"objc++": "Objective-C++", "objc++": "Objective-C++",
"objdump": "ObjDump", "objdump": "ObjDump",
"object_data_instance_notation": "Object Data Instance Notation",
"objective-c": "Objective-C", "objective-c": "Objective-C",
"objective-c++": "Objective-C++", "objective-c++": "Objective-C++",
"objective-j": "Objective-J", "objective-j": "Objective-J",
@ -479,17 +504,23 @@ var LanguageByAliasMap = map[string]string{
"objj": "Objective-J", "objj": "Objective-J",
"ocaml": "OCaml", "ocaml": "OCaml",
"octave": "MATLAB", "octave": "MATLAB",
"odin": "Odin",
"odin-lang": "Odin",
"odinlang": "Odin",
"omgrofl": "Omgrofl", "omgrofl": "Omgrofl",
"oncrpc": "RPC", "oncrpc": "RPC",
"ooc": "ooc", "ooc": "ooc",
"opa": "Opa", "opa": "Opa",
"opal": "Opal", "opal": "Opal",
"open_policy_agent": "Open Policy Agent",
"opencl": "OpenCL", "opencl": "OpenCL",
"openedge": "OpenEdge ABL", "openedge": "OpenEdge ABL",
"openedge_abl": "OpenEdge ABL", "openedge_abl": "OpenEdge ABL",
"openqasm": "OpenQASM",
"openrc": "OpenRC runscript", "openrc": "OpenRC runscript",
"openrc_runscript": "OpenRC runscript", "openrc_runscript": "OpenRC runscript",
"openscad": "OpenSCAD", "openscad": "OpenSCAD",
"openstep_property_list": "OpenStep Property List",
"opentype_feature_file": "OpenType Feature File", "opentype_feature_file": "OpenType Feature File",
"org": "Org", "org": "Org",
"osascript": "AppleScript", "osascript": "AppleScript",
@ -509,8 +540,8 @@ var LanguageByAliasMap = map[string]string{
"pcbnew": "KiCad Layout", "pcbnew": "KiCad Layout",
"pep8": "Pep8", "pep8": "Pep8",
"perl": "Perl", "perl": "Perl",
"perl6": "Perl 6", "perl-6": "Raku",
"perl_6": "Perl 6", "perl6": "Raku",
"php": "PHP", "php": "PHP",
"pic": "Pic", "pic": "Pic",
"pickle": "Pickle", "pickle": "Pickle",
@ -518,6 +549,7 @@ var LanguageByAliasMap = map[string]string{
"piglatin": "PigLatin", "piglatin": "PigLatin",
"pike": "Pike", "pike": "Pike",
"pir": "Parrot Internal Representation", "pir": "Parrot Internal Representation",
"plantuml": "PlantUML",
"plpgsql": "PLpgSQL", "plpgsql": "PLpgSQL",
"plsql": "PLSQL", "plsql": "PLSQL",
"pod": "Pod", "pod": "Pod",
@ -534,8 +566,10 @@ var LanguageByAliasMap = map[string]string{
"povray": "POV-Ray SDL", "povray": "POV-Ray SDL",
"powerbuilder": "PowerBuilder", "powerbuilder": "PowerBuilder",
"powershell": "PowerShell", "powershell": "PowerShell",
"prisma": "Prisma",
"processing": "Processing", "processing": "Processing",
"progress": "OpenEdge ABL", "progress": "OpenEdge ABL",
"proguard": "Proguard",
"prolog": "Prolog", "prolog": "Prolog",
"propeller_spin": "Propeller Spin", "propeller_spin": "Propeller Spin",
"protobuf": "Protocol Buffer", "protobuf": "Protocol Buffer",
@ -555,6 +589,7 @@ var LanguageByAliasMap = map[string]string{
"python_console": "Python console", "python_console": "Python console",
"python_traceback": "Python traceback", "python_traceback": "Python traceback",
"q": "q", "q": "q",
"ql": "CodeQL",
"qmake": "QMake", "qmake": "QMake",
"qml": "QML", "qml": "QML",
"quake": "Quake", "quake": "Quake",
@ -564,6 +599,7 @@ var LanguageByAliasMap = map[string]string{
"ragel-rb": "Ragel", "ragel-rb": "Ragel",
"ragel-ruby": "Ragel", "ragel-ruby": "Ragel",
"rake": "Ruby", "rake": "Ruby",
"raku": "Raku",
"raml": "RAML", "raml": "RAML",
"rascal": "Rascal", "rascal": "Rascal",
"raw": "Raw token data", "raw": "Raw token data",
@ -572,6 +608,8 @@ var LanguageByAliasMap = map[string]string{
"rb": "Ruby", "rb": "Ruby",
"rbx": "Ruby", "rbx": "Ruby",
"rdoc": "RDoc", "rdoc": "RDoc",
"readline": "Readline Config",
"readline_config": "Readline Config",
"realbasic": "REALbasic", "realbasic": "REALbasic",
"reason": "Reason", "reason": "Reason",
"rebol": "Rebol", "rebol": "Rebol",
@ -589,6 +627,7 @@ var LanguageByAliasMap = map[string]string{
"rhtml": "RHTML", "rhtml": "RHTML",
"rich_text_format": "Rich Text Format", "rich_text_format": "Rich Text Format",
"ring": "Ring", "ring": "Ring",
"riot": "Riot",
"rmarkdown": "RMarkdown", "rmarkdown": "RMarkdown",
"robotframework": "RobotFramework", "robotframework": "RobotFramework",
"roff": "Roff", "roff": "Roff",
@ -631,7 +670,9 @@ var LanguageByAliasMap = map[string]string{
"smalltalk": "Smalltalk", "smalltalk": "Smalltalk",
"smarty": "Smarty", "smarty": "Smarty",
"sml": "Standard ML", "sml": "Standard ML",
"smpl": "SmPL",
"smt": "SMT", "smt": "SMT",
"snipmate": "Vim Snippet",
"snippet": "YASnippet", "snippet": "YASnippet",
"solidity": "Solidity", "solidity": "Solidity",
"sourcemod": "SourcePawn", "sourcemod": "SourcePawn",
@ -650,6 +691,7 @@ var LanguageByAliasMap = map[string]string{
"ssh_config": "SSH Config", "ssh_config": "SSH Config",
"stan": "Stan", "stan": "Stan",
"standard_ml": "Standard ML", "standard_ml": "Standard ML",
"starlark": "Starlark",
"stata": "Stata", "stata": "Stata",
"ston": "STON", "ston": "STON",
"stylus": "Stylus", "stylus": "Stylus",
@ -659,6 +701,7 @@ var LanguageByAliasMap = map[string]string{
"svelte": "Svelte", "svelte": "Svelte",
"svg": "SVG", "svg": "SVG",
"swift": "Swift", "swift": "Swift",
"swig": "SWIG",
"systemverilog": "SystemVerilog", "systemverilog": "SystemVerilog",
"tcl": "Tcl", "tcl": "Tcl",
"tcsh": "Tcsh", "tcsh": "Tcsh",
@ -666,6 +709,7 @@ var LanguageByAliasMap = map[string]string{
"terra": "Terra", "terra": "Terra",
"terraform": "HCL", "terraform": "HCL",
"tex": "TeX", "tex": "TeX",
"texinfo": "Texinfo",
"text": "Text", "text": "Text",
"textile": "Textile", "textile": "Textile",
"thrift": "Thrift", "thrift": "Thrift",
@ -684,6 +728,8 @@ var LanguageByAliasMap = map[string]string{
"type_language": "Type Language", "type_language": "Type Language",
"typescript": "TypeScript", "typescript": "TypeScript",
"udiff": "Diff", "udiff": "Diff",
"ultisnip": "Vim Snippet",
"ultisnips": "Vim Snippet",
"unified_parallel_c": "Unified Parallel C", "unified_parallel_c": "Unified Parallel C",
"unity3d_asset": "Unity3D Asset", "unity3d_asset": "Unity3D Asset",
"unix_assembly": "Unix Assembly", "unix_assembly": "Unix Assembly",
@ -692,16 +738,26 @@ var LanguageByAliasMap = map[string]string{
"ur": "UrWeb", "ur": "UrWeb",
"ur/web": "UrWeb", "ur/web": "UrWeb",
"urweb": "UrWeb", "urweb": "UrWeb",
"v": "V",
"vala": "Vala", "vala": "Vala",
"vb.net": "Visual Basic", "vb.net": "Visual Basic .NET",
"vbnet": "Visual Basic", "vb6": "VBA",
"vb_.net": "Visual Basic .NET",
"vba": "VBA",
"vbnet": "Visual Basic .NET",
"vbscript": "VBScript",
"vcl": "VCL", "vcl": "VCL",
"verilog": "Verilog", "verilog": "Verilog",
"vhdl": "VHDL", "vhdl": "VHDL",
"vim": "Vim script", "vim": "Vim script",
"vim_script": "Vim script", "vim_script": "Vim script",
"vim_snippet": "Vim Snippet",
"viml": "Vim script", "viml": "Vim script",
"visual_basic": "Visual Basic", "visual_basic": "Visual Basic .NET",
"visual_basic_.net": "Visual Basic .NET",
"visual_basic_6": "VBA",
"visual_basic_for_applications": "VBA",
"vlang": "V",
"volt": "Volt", "volt": "Volt",
"vue": "Vue", "vue": "Vue",
"wasm": "WebAssembly", "wasm": "WebAssembly",
@ -713,6 +769,8 @@ var LanguageByAliasMap = map[string]string{
"webassembly": "WebAssembly", "webassembly": "WebAssembly",
"webidl": "WebIDL", "webidl": "WebIDL",
"webvtt": "WebVTT", "webvtt": "WebVTT",
"wget_config": "Wget Config",
"wgetrc": "Wget Config",
"winbatch": "Batchfile", "winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries", "windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp", "wisp": "wisp",
@ -732,6 +790,7 @@ var LanguageByAliasMap = map[string]string{
"xml": "XML", "xml": "XML",
"xml+genshi": "Genshi", "xml+genshi": "Genshi",
"xml+kid": "Genshi", "xml+kid": "Genshi",
"xml_property_list": "XML Property List",
"xojo": "Xojo", "xojo": "Xojo",
"xpages": "XPages", "xpages": "XPages",
"xpm": "X PixMap", "xpm": "X PixMap",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -71,11 +71,13 @@ var LanguagesColor = map[string]string{
"Factor": "#636746", "Factor": "#636746",
"Fancy": "#7b9db4", "Fancy": "#7b9db4",
"Fantom": "#14253c", "Fantom": "#14253c",
"Faust": "#c37240",
"Forth": "#341708", "Forth": "#341708",
"Fortran": "#4d41b1", "Fortran": "#4d41b1",
"FreeMarker": "#0050b2", "FreeMarker": "#0050b2",
"Frege": "#00cafe", "Frege": "#00cafe",
"G-code": "#D08CF2", "G-code": "#D08CF2",
"GAML": "#FFC766",
"GDScript": "#355570", "GDScript": "#355570",
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Genie": "#fb855d", "Genie": "#fb855d",
@ -96,6 +98,7 @@ var LanguagesColor = map[string]string{
"HolyC": "#ffefaf", "HolyC": "#ffefaf",
"Hy": "#7790B2", "Hy": "#7790B2",
"IDL": "#a3522f", "IDL": "#a3522f",
"IGOR Pro": "#0000cc",
"Idris": "#b30000", "Idris": "#b30000",
"Io": "#a9188d", "Io": "#a9188d",
"Ioke": "#078193", "Ioke": "#078193",
@ -121,6 +124,7 @@ var LanguagesColor = map[string]string{
"Lua": "#000080", "Lua": "#000080",
"MATLAB": "#e16737", "MATLAB": "#e16737",
"MAXScript": "#00a6a6", "MAXScript": "#00a6a6",
"MLIR": "#5EC8DB",
"MQL4": "#62A8D6", "MQL4": "#62A8D6",
"MQL5": "#4A76B8", "MQL5": "#4A76B8",
"MTML": "#b7e1f4", "MTML": "#b7e1f4",
@ -149,8 +153,10 @@ var LanguagesColor = map[string]string{
"Objective-C": "#438eff", "Objective-C": "#438eff",
"Objective-C++": "#6866fb", "Objective-C++": "#6866fb",
"Objective-J": "#ff0c5a", "Objective-J": "#ff0c5a",
"Odin": "#60AFFE",
"Omgrofl": "#cabbff", "Omgrofl": "#cabbff",
"Opal": "#f7ede0", "Opal": "#f7ede0",
"OpenQASM": "#AA70FF",
"Oxygene": "#cdd0e3", "Oxygene": "#cdd0e3",
"Oz": "#fab738", "Oz": "#fab738",
"P4": "#7055b5", "P4": "#7055b5",
@ -163,7 +169,6 @@ var LanguagesColor = map[string]string{
"Pawn": "#dbb284", "Pawn": "#dbb284",
"Pep8": "#C76F5B", "Pep8": "#C76F5B",
"Perl": "#0298c3", "Perl": "#0298c3",
"Perl 6": "#0000fb",
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"PogoScript": "#d80074", "PogoScript": "#d80074",
@ -184,11 +189,14 @@ var LanguagesColor = map[string]string{
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#3c5caa", "Racket": "#3c5caa",
"Ragel": "#9d5200", "Ragel": "#9d5200",
"Raku": "#0000fb",
"Rascal": "#fffaa0", "Rascal": "#fffaa0",
"Reason": "#ff5847",
"Rebol": "#358a5b", "Rebol": "#358a5b",
"Red": "#f50000", "Red": "#f50000",
"Ren'Py": "#ff7f7f", "Ren'Py": "#ff7f7f",
"Ring": "#2D54CB", "Ring": "#2D54CB",
"Riot": "#A71E49",
"Roff": "#ecdebe", "Roff": "#ecdebe",
"Rouge": "#cc0088", "Rouge": "#cc0088",
"Ruby": "#701516", "Ruby": "#701516",
@ -204,12 +212,14 @@ var LanguagesColor = map[string]string{
"Shen": "#120F14", "Shen": "#120F14",
"Slash": "#007eff", "Slash": "#007eff",
"Slice": "#003fa2", "Slice": "#003fa2",
"SmPL": "#c94949",
"Smalltalk": "#596706", "Smalltalk": "#596706",
"Solidity": "#AA6746", "Solidity": "#AA6746",
"SourcePawn": "#5c7611", "SourcePawn": "#5c7611",
"Squirrel": "#800000", "Squirrel": "#800000",
"Stan": "#b2011d", "Stan": "#b2011d",
"Standard ML": "#dc566d", "Standard ML": "#dc566d",
"Starlark": "#76d275",
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Swift": "#ffac45", "Swift": "#ffac45",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
@ -220,12 +230,15 @@ var LanguagesColor = map[string]string{
"Turing": "#cf142b", "Turing": "#cf142b",
"TypeScript": "#2b7489", "TypeScript": "#2b7489",
"UnrealScript": "#a54c4d", "UnrealScript": "#a54c4d",
"V": "#5d87bd",
"VBA": "#867db1",
"VBScript": "#15dcdc",
"VCL": "#148AA8", "VCL": "#148AA8",
"VHDL": "#adb2cb", "VHDL": "#adb2cb",
"Vala": "#fbe5cd", "Vala": "#fbe5cd",
"Verilog": "#b2b7f8", "Verilog": "#b2b7f8",
"Vim script": "#199f4b", "Vim script": "#199f4b",
"Visual Basic": "#945db7", "Visual Basic .NET": "#945db7",
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#2c3e50", "Vue": "#2c3e50",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
@ -243,6 +256,7 @@ var LanguagesColor = map[string]string{
"Zephir": "#118f9e", "Zephir": "#118f9e",
"Zig": "#ec915c", "Zig": "#ec915c",
"eC": "#913960", "eC": "#913960",
"mIRC Script": "#926059",
"mcfunction": "#E22837", "mcfunction": "#E22837",
"nesC": "#94B0C7", "nesC": "#94B0C7",
"ooc": "#b0b77e", "ooc": "#b0b77e",

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d" var LinguistCommit = "40992ba7f86889f80dfed3ba95e11e1082200bad"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -591,6 +591,12 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^(\/\/.+|((import|export)\s+)?(function|int|float|char)\s+((room|repeatedly|on|game)_)?([A-Za-z]+[A-Za-z_0-9]+)\s*[;\(])`), regexp.MustCompile(`(?m)^(\/\/.+|((import|export)\s+)?(function|int|float|char)\s+((room|repeatedly|on|game)_)?([A-Za-z]+[A-Za-z_0-9]+)\s*[;\(])`),
), ),
}, },
".asm": &Heuristics{
rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"),
regexp.MustCompile(`(?m)(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b|(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+|(?im)^\s*move\.[bwl]\s+.*\b[ad]\d|(?im)^\s*movem\.[bwl]\b|(?im)^\s*move[mp](?:\.[wl])?\b|(?im)^\s*btst\b|(?im)^\s*dbra\b`),
),
},
".asy": &Heuristics{ ".asy": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("LTspice Symbol"), rule.MatchingLanguages("LTspice Symbol"),
@ -673,6 +679,16 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)([\/\\].*:\s+.*\s\\$|: \\$|^[ %]:|^[\w\s\/\\.]+\w+\.\w+\s*:\s+[\w\s\/\\.]+\w+\.\w+)`), regexp.MustCompile(`(?m)([\/\\].*:\s+.*\s\\$|: \\$|^[ %]:|^[\w\s\/\\.]+\w+\.\w+\s*:\s+[\w\s\/\\.]+\w+\.\w+)`),
), ),
}, },
".dsp": &Heuristics{
rule.Or(
rule.MatchingLanguages("Microsoft Developer Studio Project"),
regexp.MustCompile(`(?m)# Microsoft Developer Studio Generated Build File`),
),
rule.Or(
rule.MatchingLanguages("Faust"),
regexp.MustCompile(`(?m)\bprocess\s*[(=]|\b(library|import)\s*\(\s*"|\bdeclare\s+(name|version|author|copyright|license)\s+"`),
),
},
".ecl": &Heuristics{ ".ecl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("ECLiPSe"), rule.MatchingLanguages("ECLiPSe"),
@ -772,6 +788,10 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".gs": &Heuristics{ ".gs": &Heuristics{
rule.Or(
rule.MatchingLanguages("GLSL"),
regexp.MustCompile(`(?m)^#version\s+[0-9]+\b`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("Gosu"), rule.MatchingLanguages("Gosu"),
regexp.MustCompile(`(?m)^uses java\.`), regexp.MustCompile(`(?m)^uses java\.`),
@ -793,6 +813,16 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)<\?hh`), regexp.MustCompile(`(?m)<\?hh`),
), ),
}, },
".i": &Heuristics{
rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"),
regexp.MustCompile(`(?m)(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b|(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+|(?im)^\s*move\.[bwl]\s+.*\b[ad]\d|(?im)^\s*movem\.[bwl]\b|(?im)^\s*move[mp](?:\.[wl])?\b|(?im)^\s*btst\b|(?im)^\s*dbra\b`),
),
rule.Or(
rule.MatchingLanguages("SWIG"),
regexp.MustCompile(`(?m)^[ \t]*%[a-z_]+\b|^%[{}]$`),
),
},
".ice": &Heuristics{ ".ice": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("JSON"), rule.MatchingLanguages("JSON"),
@ -803,6 +833,10 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".inc": &Heuristics{ ".inc": &Heuristics{
rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"),
regexp.MustCompile(`(?m)(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b|(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+|(?im)^\s*move\.[bwl]\s+.*\b[ad]\d|(?im)^\s*movem\.[bwl]\b|(?im)^\s*move[mp](?:\.[wl])?\b|(?im)^\s*btst\b|(?im)^\s*dbra\b`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("PHP"), rule.MatchingLanguages("PHP"),
regexp.MustCompile(`(?m)^<\?(?:php)?`), regexp.MustCompile(`(?m)^<\?(?:php)?`),
@ -931,6 +965,12 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Roff"), rule.MatchingLanguages("Roff"),
), ),
}, },
".mask": &Heuristics{
rule.Or(
rule.MatchingLanguages("Unity3d Asset"),
regexp.MustCompile(`(?m)tag:unity3d.com`),
),
},
".md": &Heuristics{ ".md": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Markdown"), rule.MatchingLanguages("Markdown"),
@ -1047,6 +1087,25 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("NewLisp"), rule.MatchingLanguages("NewLisp"),
), ),
}, },
".odin": &Heuristics{
rule.Or(
rule.MatchingLanguages("Object Data Instance Notation"),
regexp.MustCompile(`(?m)(?:^|<)\s*[A-Za-z0-9_]+\s*=\s*<`),
),
rule.Or(
rule.MatchingLanguages("Odin"),
regexp.MustCompile(`(?m)package\s+\w+|\b(?:im|ex)port\s*"[\w:./]+"|\w+\s*::\s*(?:proc|struct)\s*\(|^\s*//\s`),
),
},
".p": &Heuristics{
rule.Or(
rule.MatchingLanguages("Gnuplot"),
regexp.MustCompile(`(?m)^s?plot\b|^set\s+(term|terminal|out|output|[xy]tics|[xy]label|[xy]range|style)\b`),
),
rule.Always(
rule.MatchingLanguages("OpenEdge ABL"),
),
},
".php": &Heuristics{ ".php": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Hack"), rule.MatchingLanguages("Hack"),
@ -1067,17 +1126,26 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`), regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Perl 6"), rule.MatchingLanguages("Raku"),
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`), regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
), ),
}, },
".plist": &Heuristics{
rule.Or(
rule.MatchingLanguages("XML Property List"),
regexp.MustCompile(`(?m)<!DOCTYPE\s+plist`),
),
rule.Always(
rule.MatchingLanguages("OpenStep Property List"),
),
},
".pm": &Heuristics{ ".pm": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`), regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Perl 6"), rule.MatchingLanguages("Raku"),
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`), regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
), ),
rule.Or( rule.Or(
@ -1105,6 +1173,10 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".pro": &Heuristics{ ".pro": &Heuristics{
rule.Or(
rule.MatchingLanguages("Proguard"),
regexp.MustCompile(`(?m)^-(include\b.*\.pro$|keep\b|keepclassmembers\b|keepattributes\b)`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("Prolog"), rule.MatchingLanguages("Prolog"),
regexp.MustCompile(`(?m)^[^\[#]+:-`), regexp.MustCompile(`(?m)^[^\[#]+:-`),
@ -1216,6 +1288,12 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`), regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`),
), ),
}, },
".s": &Heuristics{
rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"),
regexp.MustCompile(`(?m)(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b|(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+|(?im)^\s*move\.[bwl]\s+.*\b[ad]\d|(?im)^\s*movem\.[bwl]\b|(?im)^\s*move[mp](?:\.[wl])?\b|(?im)^\s*btst\b|(?im)^\s*dbra\b`),
),
},
".sc": &Heuristics{ ".sc": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("SuperCollider"), rule.MatchingLanguages("SuperCollider"),
@ -1267,7 +1345,7 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`), regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Perl 6"), rule.MatchingLanguages("Raku"),
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`), regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
), ),
rule.Or( rule.Or(
@ -1313,13 +1391,27 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`), regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`),
), ),
}, },
".v": &Heuristics{
rule.Or(
rule.MatchingLanguages("Coq"),
regexp.MustCompile(`(?m)\(\*.*?\*\)|(?:^|\s)(?:Proof|Qed)\.(?:$|\s)|(?:^|\s)Require[ \t]+Import\s`),
),
rule.Or(
rule.MatchingLanguages("Verilog"),
regexp.MustCompile(`(?m)^[ \t]*module\s+[^\s()]+\s+\#?\(|^[ \t]*`+"`"+`(?:ifdef|timescale)\s|^[ \t]*always[ \t]+@`),
),
rule.Or(
rule.MatchingLanguages("V"),
regexp.MustCompile(`(?m)\$(?:if|else)[ \t]|^[ \t]*fn\s+[^\s()]+\(.*?\).*?\{|^[ \t]*for\s*\{`),
),
},
".vba": &Heuristics{ ".vba": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Vim script"), rule.MatchingLanguages("Vim script"),
regexp.MustCompile(`(?m)^UseVimball`), regexp.MustCompile(`(?m)^UseVimball`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("Visual Basic"), rule.MatchingLanguages("VBA"),
), ),
}, },
".w": &Heuristics{ ".w": &Heuristics{
@ -1333,6 +1425,10 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".x": &Heuristics{ ".x": &Heuristics{
rule.Or(
rule.MatchingLanguages("DirectX 3D File"),
regexp.MustCompile(`(?m)^xof 030(2|3)(?:txt|bin|tzip|bzip)\b`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("RPC"), rule.MatchingLanguages("RPC"),
regexp.MustCompile(`(?m)\b(program|version)\s+\w+\s*{|\bunion\s+\w+\s+switch\s*\(`), regexp.MustCompile(`(?m)\b(program|version)\s+\w+\s*{|\bunion\s+\w+\s+switch\s*\(`),

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -17,11 +17,12 @@ var LanguagesByExtension = map[string][]string{
".3qt": {"Roff", "Roff Manpage"}, ".3qt": {"Roff", "Roff Manpage"},
".3x": {"Roff", "Roff Manpage"}, ".3x": {"Roff", "Roff Manpage"},
".4": {"Roff", "Roff Manpage"}, ".4": {"Roff", "Roff Manpage"},
".4dm": {"4D"},
".4th": {"Forth"}, ".4th": {"Forth"},
".5": {"Roff", "Roff Manpage"}, ".5": {"Roff", "Roff Manpage"},
".6": {"Roff", "Roff Manpage"}, ".6": {"Roff", "Roff Manpage"},
".6pl": {"Perl 6"}, ".6pl": {"Raku"},
".6pm": {"Perl 6"}, ".6pm": {"Raku"},
".7": {"Roff", "Roff Manpage"}, ".7": {"Roff", "Roff Manpage"},
".8": {"Roff", "Roff Manpage"}, ".8": {"Roff", "Roff Manpage"},
".8xk": {"TI Program"}, ".8xk": {"TI Program"},
@ -70,7 +71,7 @@ var LanguagesByExtension = map[string][]string{
".asd": {"Common Lisp"}, ".asd": {"Common Lisp"},
".ash": {"AGS Script"}, ".ash": {"AGS Script"},
".ashx": {"ASP"}, ".ashx": {"ASP"},
".asm": {"Assembly"}, ".asm": {"Assembly", "Motorola 68K Assembly"},
".asmx": {"ASP"}, ".asmx": {"ASP"},
".asn": {"ASN.1"}, ".asn": {"ASN.1"},
".asn1": {"ASN.1"}, ".asn1": {"ASN.1"},
@ -93,7 +94,7 @@ var LanguagesByExtension = map[string][]string{
".axs.erb": {"NetLinx+ERB"}, ".axs.erb": {"NetLinx+ERB"},
".b": {"Brainfuck", "Limbo"}, ".b": {"Brainfuck", "Limbo"},
".bal": {"Ballerina"}, ".bal": {"Ballerina"},
".bas": {"Visual Basic"}, ".bas": {"VBA"},
".bash": {"Shell"}, ".bash": {"Shell"},
".bat": {"Batchfile"}, ".bat": {"Batchfile"},
".bats": {"Shell"}, ".bats": {"Shell"},
@ -103,7 +104,8 @@ var LanguagesByExtension = map[string][]string{
".bdy": {"PLSQL"}, ".bdy": {"PLSQL"},
".befunge": {"Befunge"}, ".befunge": {"Befunge"},
".bf": {"Brainfuck", "HyPhy"}, ".bf": {"Brainfuck", "HyPhy"},
".bib": {"TeX"}, ".bib": {"BibTeX"},
".bibtex": {"BibTeX"},
".bison": {"Bison"}, ".bison": {"Bison"},
".blade": {"Blade"}, ".blade": {"Blade"},
".blade.php": {"Blade"}, ".blade.php": {"Blade"},
@ -118,7 +120,7 @@ var LanguagesByExtension = map[string][]string{
".bsv": {"Bluespec"}, ".bsv": {"Bluespec"},
".builder": {"Ruby"}, ".builder": {"Ruby"},
".builds": {"XML"}, ".builds": {"XML"},
".bzl": {"Python"}, ".bzl": {"Starlark"},
".c": {"C"}, ".c": {"C"},
".c++": {"C++"}, ".c++": {"C++"},
".c++-objdump": {"Cpp-ObjDump"}, ".c++-objdump": {"Cpp-ObjDump"},
@ -147,6 +149,7 @@ var LanguagesByExtension = map[string][]string{
".chpl": {"Chapel"}, ".chpl": {"Chapel"},
".chs": {"C2hs Haskell"}, ".chs": {"C2hs Haskell"},
".cirru": {"Cirru"}, ".cirru": {"Cirru"},
".cjs": {"JavaScript"},
".cjsx": {"CoffeeScript"}, ".cjsx": {"CoffeeScript"},
".ck": {"ChucK"}, ".ck": {"ChucK"},
".cl": {"Common Lisp", "Cool", "OpenCL"}, ".cl": {"Common Lisp", "Cool", "OpenCL"},
@ -160,7 +163,7 @@ var LanguagesByExtension = map[string][]string{
".cljscm": {"Clojure"}, ".cljscm": {"Clojure"},
".cljx": {"Clojure"}, ".cljx": {"Clojure"},
".clp": {"CLIPS"}, ".clp": {"CLIPS"},
".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "Visual Basic"}, ".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "VBA"},
".clw": {"Clarion"}, ".clw": {"Clarion"},
".cmake": {"CMake"}, ".cmake": {"CMake"},
".cmake.in": {"CMake"}, ".cmake.in": {"CMake"},
@ -168,6 +171,7 @@ var LanguagesByExtension = map[string][]string{
".cnc": {"G-code"}, ".cnc": {"G-code"},
".cob": {"COBOL"}, ".cob": {"COBOL"},
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".cocci": {"SmPL"},
".coffee": {"CoffeeScript"}, ".coffee": {"CoffeeScript"},
".com": {"DIGITAL Command Language"}, ".com": {"DIGITAL Command Language"},
".command": {"Shell"}, ".command": {"Shell"},
@ -222,6 +226,7 @@ var LanguagesByExtension = map[string][]string{
".dhall": {"Dhall"}, ".dhall": {"Dhall"},
".di": {"D"}, ".di": {"D"},
".diff": {"Diff"}, ".diff": {"Diff"},
".dircolors": {"dircolors"},
".dita": {"XML"}, ".dita": {"XML"},
".ditamap": {"XML"}, ".ditamap": {"XML"},
".ditaval": {"XML"}, ".ditaval": {"XML"},
@ -231,12 +236,14 @@ var LanguagesByExtension = map[string][]string{
".dm": {"DM"}, ".dm": {"DM"},
".do": {"Stata"}, ".do": {"Stata"},
".dockerfile": {"Dockerfile"}, ".dockerfile": {"Dockerfile"},
".dof": {"INI"},
".doh": {"Stata"}, ".doh": {"Stata"},
".dot": {"Graphviz (DOT)"}, ".dot": {"Graphviz (DOT)"},
".dotsettings": {"XML"}, ".dotsettings": {"XML"},
".dpatch": {"Darcs Patch"}, ".dpatch": {"Darcs Patch"},
".dpr": {"Pascal"}, ".dpr": {"Pascal"},
".druby": {"Mirah"}, ".druby": {"Mirah"},
".dsp": {"Faust", "Microsoft Developer Studio Project"},
".dtx": {"TeX"}, ".dtx": {"TeX"},
".duby": {"Mirah"}, ".duby": {"Mirah"},
".dwl": {"DataWeave"}, ".dwl": {"DataWeave"},
@ -269,6 +276,7 @@ var LanguagesByExtension = map[string][]string{
".eml": {"EML"}, ".eml": {"EML"},
".epj": {"Ecere Projects"}, ".epj": {"Ecere Projects"},
".eps": {"PostScript"}, ".eps": {"PostScript"},
".epsi": {"PostScript"},
".eq": {"EQ"}, ".eq": {"EQ"},
".erb": {"HTML+ERB"}, ".erb": {"HTML+ERB"},
".erb.deface": {"HTML+ERB"}, ".erb.deface": {"HTML+ERB"},
@ -304,9 +312,9 @@ var LanguagesByExtension = map[string][]string{
".fr": {"Forth", "Frege", "Text"}, ".fr": {"Forth", "Frege", "Text"},
".frag": {"GLSL", "JavaScript"}, ".frag": {"GLSL", "JavaScript"},
".frg": {"GLSL"}, ".frg": {"GLSL"},
".frm": {"Visual Basic"}, ".frm": {"VBA"},
".frt": {"Forth"}, ".frt": {"Forth"},
".frx": {"Visual Basic"}, ".frx": {"VBA"},
".fs": {"F#", "Filterscript", "Forth", "GLSL"}, ".fs": {"F#", "Filterscript", "Forth", "GLSL"},
".fsh": {"GLSL"}, ".fsh": {"GLSL"},
".fshader": {"GLSL"}, ".fshader": {"GLSL"},
@ -323,6 +331,7 @@ var LanguagesByExtension = map[string][]string{
".fy": {"Fancy"}, ".fy": {"Fancy"},
".g": {"G-code", "GAP"}, ".g": {"G-code", "GAP"},
".g4": {"ANTLR"}, ".g4": {"ANTLR"},
".gaml": {"GAML"},
".gap": {"GAP"}, ".gap": {"GAP"},
".gawk": {"Awk"}, ".gawk": {"Awk"},
".gbl": {"Gerber Image"}, ".gbl": {"Gerber Image"},
@ -347,6 +356,7 @@ var LanguagesByExtension = map[string][]string{
".glade": {"XML"}, ".glade": {"XML"},
".glf": {"Glyph"}, ".glf": {"Glyph"},
".glsl": {"GLSL"}, ".glsl": {"GLSL"},
".glslf": {"GLSL"},
".glslv": {"GLSL"}, ".glslv": {"GLSL"},
".gltf": {"JSON"}, ".gltf": {"JSON"},
".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"}, ".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"},
@ -370,7 +380,7 @@ var LanguagesByExtension = map[string][]string{
".groovy": {"Groovy"}, ".groovy": {"Groovy"},
".grt": {"Groovy"}, ".grt": {"Groovy"},
".grxml": {"XML"}, ".grxml": {"XML"},
".gs": {"Genie", "Gosu", "JavaScript"}, ".gs": {"GLSL", "Genie", "Gosu", "JavaScript"},
".gshader": {"GLSL"}, ".gshader": {"GLSL"},
".gsp": {"Groovy Server Pages"}, ".gsp": {"Groovy Server Pages"},
".gst": {"Gosu"}, ".gst": {"Gosu"},
@ -386,6 +396,7 @@ var LanguagesByExtension = map[string][]string{
".gypi": {"Python"}, ".gypi": {"Python"},
".h": {"C", "C++", "Objective-C"}, ".h": {"C", "C++", "Objective-C"},
".h++": {"C++"}, ".h++": {"C++"},
".hack": {"Hack"},
".haml": {"Haml"}, ".haml": {"Haml"},
".haml.deface": {"Haml"}, ".haml.deface": {"Haml"},
".handlebars": {"Handlebars"}, ".handlebars": {"Handlebars"},
@ -396,14 +407,17 @@ var LanguagesByExtension = map[string][]string{
".hc": {"HolyC"}, ".hc": {"HolyC"},
".hcl": {"HCL"}, ".hcl": {"HCL"},
".hh": {"C++", "Hack"}, ".hh": {"C++", "Hack"},
".hhi": {"Hack"},
".hic": {"Clojure"}, ".hic": {"Clojure"},
".hlean": {"Lean"}, ".hlean": {"Lean"},
".hlsl": {"HLSL"}, ".hlsl": {"HLSL"},
".hlsli": {"HLSL"}, ".hlsli": {"HLSL"},
".hpp": {"C++"}, ".hpp": {"C++"},
".hqf": {"SQF"}, ".hqf": {"SQF"},
".hql": {"HiveQL"},
".hrl": {"Erlang"}, ".hrl": {"Erlang"},
".hs": {"Haskell"}, ".hs": {"Haskell"},
".hs-boot": {"Haskell"},
".hsc": {"Haskell"}, ".hsc": {"Haskell"},
".htm": {"HTML"}, ".htm": {"HTML"},
".html": {"HTML"}, ".html": {"HTML"},
@ -414,6 +428,7 @@ var LanguagesByExtension = map[string][]string{
".hxsl": {"Haxe"}, ".hxsl": {"Haxe"},
".hxx": {"C++"}, ".hxx": {"C++"},
".hy": {"Hy"}, ".hy": {"Hy"},
".i": {"Assembly", "Motorola 68K Assembly", "SWIG"},
".i3": {"Modula-3"}, ".i3": {"Modula-3"},
".i7x": {"Inform 7"}, ".i7x": {"Inform 7"},
".ice": {"JSON", "Slice"}, ".ice": {"JSON", "Slice"},
@ -427,7 +442,7 @@ var LanguagesByExtension = map[string][]string{
".ik": {"Ioke"}, ".ik": {"Ioke"},
".ily": {"LilyPond"}, ".ily": {"LilyPond"},
".iml": {"XML"}, ".iml": {"XML"},
".inc": {"Assembly", "C++", "HTML", "PHP", "POV-Ray SDL", "Pascal", "Pawn", "SQL", "SourcePawn"}, ".inc": {"Assembly", "C++", "HTML", "Motorola 68K Assembly", "NASL", "PHP", "POV-Ray SDL", "Pascal", "Pawn", "SQL", "SourcePawn"},
".ini": {"INI"}, ".ini": {"INI"},
".inl": {"C++"}, ".inl": {"C++"},
".ino": {"C++"}, ".ino": {"C++"},
@ -440,6 +455,7 @@ var LanguagesByExtension = map[string][]string{
".ipynb": {"Jupyter Notebook"}, ".ipynb": {"Jupyter Notebook"},
".irclog": {"IRC log"}, ".irclog": {"IRC log"},
".iss": {"Inno Setup"}, ".iss": {"Inno Setup"},
".iuml": {"PlantUML"},
".ivy": {"XML"}, ".ivy": {"XML"},
".j": {"Jasmin", "Objective-J"}, ".j": {"Jasmin", "Objective-J"},
".jade": {"Pug"}, ".jade": {"Pug"},
@ -463,6 +479,7 @@ var LanguagesByExtension = map[string][]string{
".json": {"JSON"}, ".json": {"JSON"},
".json-tmlanguage": {"JSON"}, ".json-tmlanguage": {"JSON"},
".json5": {"JSON5"}, ".json5": {"JSON5"},
".jsonc": {"JSON with Comments"},
".jsonl": {"JSON"}, ".jsonl": {"JSON"},
".jsonld": {"JSONLD"}, ".jsonld": {"JSONLD"},
".jsonnet": {"Jsonnet"}, ".jsonnet": {"Jsonnet"},
@ -492,7 +509,6 @@ var LanguagesByExtension = map[string][]string{
".launch": {"XML"}, ".launch": {"XML"},
".lbx": {"TeX"}, ".lbx": {"TeX"},
".ld": {"Linker Script"}, ".ld": {"Linker Script"},
".ldml": {"Lasso"},
".lds": {"Linker Script"}, ".lds": {"Linker Script"},
".lean": {"Lean"}, ".lean": {"Lean"},
".lektorproject": {"INI"}, ".lektorproject": {"INI"},
@ -532,7 +548,7 @@ var LanguagesByExtension = map[string][]string{
".mao": {"Mako"}, ".mao": {"Mako"},
".markdown": {"Markdown"}, ".markdown": {"Markdown"},
".marko": {"Marko"}, ".marko": {"Marko"},
".mask": {"Mask"}, ".mask": {"Mask", "Unity3D Asset"},
".mat": {"Unity3D Asset"}, ".mat": {"Unity3D Asset"},
".mata": {"Stata"}, ".mata": {"Stata"},
".matah": {"Stata"}, ".matah": {"Stata"},
@ -573,6 +589,7 @@ var LanguagesByExtension = map[string][]string{
".ml": {"OCaml", "Standard ML"}, ".ml": {"OCaml", "Standard ML"},
".ml4": {"OCaml"}, ".ml4": {"OCaml"},
".mli": {"OCaml"}, ".mli": {"OCaml"},
".mlir": {"MLIR"},
".mll": {"OCaml"}, ".mll": {"OCaml"},
".mly": {"OCaml"}, ".mly": {"OCaml"},
".mm": {"Objective-C++", "XML"}, ".mm": {"Objective-C++", "XML"},
@ -588,6 +605,7 @@ var LanguagesByExtension = map[string][]string{
".mq4": {"MQL4"}, ".mq4": {"MQL4"},
".mq5": {"MQL5"}, ".mq5": {"MQL5"},
".mqh": {"MQL4", "MQL5"}, ".mqh": {"MQL4", "MQL5"},
".mrc": {"mIRC Script"},
".ms": {"MAXScript", "Roff", "Unix Assembly"}, ".ms": {"MAXScript", "Roff", "Unix Assembly"},
".mspec": {"Ruby"}, ".mspec": {"Ruby"},
".mss": {"CartoCSS"}, ".mss": {"CartoCSS"},
@ -598,6 +616,7 @@ var LanguagesByExtension = map[string][]string{
".mud": {"ZIL"}, ".mud": {"ZIL"},
".muf": {"MUF"}, ".muf": {"MUF"},
".mumps": {"M"}, ".mumps": {"M"},
".muse": {"Muse"},
".mustache": {"HTML+Django"}, ".mustache": {"HTML+Django"},
".mxml": {"XML"}, ".mxml": {"XML"},
".mxt": {"Max"}, ".mxt": {"Max"},
@ -605,6 +624,7 @@ var LanguagesByExtension = map[string][]string{
".myt": {"Myghty"}, ".myt": {"Myghty"},
".n": {"Nemerle", "Roff"}, ".n": {"Nemerle", "Roff"},
".nanorc": {"nanorc"}, ".nanorc": {"nanorc"},
".nasl": {"NASL"},
".nasm": {"Assembly"}, ".nasm": {"Assembly"},
".natvis": {"XML"}, ".natvis": {"XML"},
".nawk": {"Awk"}, ".nawk": {"Awk"},
@ -632,7 +652,7 @@ var LanguagesByExtension = map[string][]string{
".nlogo": {"NetLogo"}, ".nlogo": {"NetLogo"},
".no": {"Text"}, ".no": {"Text"},
".nproj": {"XML"}, ".nproj": {"XML"},
".nqp": {"Perl 6"}, ".nqp": {"Raku"},
".nr": {"Roff"}, ".nr": {"Roff"},
".nse": {"Lua"}, ".nse": {"Lua"},
".nsh": {"NSIS"}, ".nsh": {"NSIS"},
@ -647,6 +667,7 @@ var LanguagesByExtension = map[string][]string{
".obj": {"Wavefront Object"}, ".obj": {"Wavefront Object"},
".objdump": {"ObjDump"}, ".objdump": {"ObjDump"},
".odd": {"XML"}, ".odd": {"XML"},
".odin": {"Object Data Instance Notation", "Odin"},
".ol": {"Jolie"}, ".ol": {"Jolie"},
".omgrofl": {"Omgrofl"}, ".omgrofl": {"Omgrofl"},
".ooc": {"ooc"}, ".ooc": {"ooc"},
@ -664,11 +685,11 @@ var LanguagesByExtension = map[string][]string{
".oxo": {"Ox"}, ".oxo": {"Ox"},
".oxygene": {"Oxygene"}, ".oxygene": {"Oxygene"},
".oz": {"Oz"}, ".oz": {"Oz"},
".p": {"OpenEdge ABL"}, ".p": {"Gnuplot", "OpenEdge ABL"},
".p4": {"P4"}, ".p4": {"P4"},
".p6": {"Perl 6"}, ".p6": {"Raku"},
".p6l": {"Perl 6"}, ".p6l": {"Raku"},
".p6m": {"Perl 6"}, ".p6m": {"Raku"},
".p8": {"Lua"}, ".p8": {"Lua"},
".pac": {"JavaScript"}, ".pac": {"JavaScript"},
".pan": {"Pan"}, ".pan": {"Pan"},
@ -707,18 +728,19 @@ var LanguagesByExtension = map[string][]string{
".pkgproj": {"XML"}, ".pkgproj": {"XML"},
".pkl": {"Pickle"}, ".pkl": {"Pickle"},
".pks": {"PLSQL"}, ".pks": {"PLSQL"},
".pl": {"Perl", "Perl 6", "Prolog"}, ".pl": {"Perl", "Prolog", "Raku"},
".pl6": {"Perl 6"}, ".pl6": {"Raku"},
".plantuml": {"PlantUML"},
".plb": {"PLSQL"}, ".plb": {"PLSQL"},
".plist": {"XML"}, ".plist": {"OpenStep Property List", "XML Property List"},
".plot": {"Gnuplot"}, ".plot": {"Gnuplot"},
".pls": {"PLSQL"}, ".pls": {"PLSQL"},
".plsql": {"PLSQL"}, ".plsql": {"PLSQL"},
".plt": {"Gnuplot"}, ".plt": {"Gnuplot"},
".pluginspec": {"Ruby", "XML"}, ".pluginspec": {"Ruby", "XML"},
".plx": {"Perl"}, ".plx": {"Perl"},
".pm": {"Perl", "Perl 6", "X PixMap"}, ".pm": {"Perl", "Raku", "X PixMap"},
".pm6": {"Perl 6"}, ".pm6": {"Raku"},
".pmod": {"Pike"}, ".pmod": {"Pike"},
".po": {"Gettext Catalog"}, ".po": {"Gettext Catalog"},
".pod": {"Pod", "Pod 6"}, ".pod": {"Pod", "Pod 6"},
@ -727,6 +749,7 @@ var LanguagesByExtension = map[string][]string{
".podspec": {"Ruby"}, ".podspec": {"Ruby"},
".pogo": {"PogoScript"}, ".pogo": {"PogoScript"},
".pony": {"Pony"}, ".pony": {"Pony"},
".postcss": {"PostCSS"},
".pot": {"Gettext Catalog"}, ".pot": {"Gettext Catalog"},
".pov": {"POV-Ray SDL"}, ".pov": {"POV-Ray SDL"},
".pp": {"Pascal", "Puppet"}, ".pp": {"Pascal", "Puppet"},
@ -736,8 +759,9 @@ var LanguagesByExtension = map[string][]string{
".prefs": {"INI"}, ".prefs": {"INI"},
".prg": {"xBase"}, ".prg": {"xBase"},
".pri": {"QMake"}, ".pri": {"QMake"},
".prisma": {"Prisma"},
".prjpcb": {"Altium Designer"}, ".prjpcb": {"Altium Designer"},
".pro": {"IDL", "INI", "Prolog", "QMake"}, ".pro": {"IDL", "INI", "Proguard", "Prolog", "QMake"},
".proj": {"XML"}, ".proj": {"XML"},
".prolog": {"Prolog"}, ".prolog": {"Prolog"},
".properties": {"INI", "Java Properties"}, ".properties": {"INI", "Java Properties"},
@ -755,6 +779,7 @@ var LanguagesByExtension = map[string][]string{
".pt": {"XML"}, ".pt": {"XML"},
".pub": {"Public Key"}, ".pub": {"Public Key"},
".pug": {"Pug"}, ".pug": {"Pug"},
".puml": {"PlantUML"},
".purs": {"PureScript"}, ".purs": {"PureScript"},
".pwn": {"Pawn"}, ".pwn": {"Pawn"},
".pxd": {"Cython"}, ".pxd": {"Cython"},
@ -769,7 +794,10 @@ var LanguagesByExtension = map[string][]string{
".pyw": {"Python"}, ".pyw": {"Python"},
".pyx": {"Cython"}, ".pyx": {"Cython"},
".q": {"HiveQL", "q"}, ".q": {"HiveQL", "q"},
".qasm": {"OpenQASM"},
".qbs": {"QML"}, ".qbs": {"QML"},
".ql": {"CodeQL"},
".qll": {"CodeQL"},
".qml": {"QML"}, ".qml": {"QML"},
".r": {"R", "Rebol"}, ".r": {"R", "Rebol"},
".r2": {"Rebol"}, ".r2": {"Rebol"},
@ -782,6 +810,7 @@ var LanguagesByExtension = map[string][]string{
".rb": {"Ruby"}, ".rb": {"Ruby"},
".rbbas": {"REALbasic"}, ".rbbas": {"REALbasic"},
".rbfrm": {"REALbasic"}, ".rbfrm": {"REALbasic"},
".rbi": {"Ruby"},
".rbmnu": {"REALbasic"}, ".rbmnu": {"REALbasic"},
".rbres": {"REALbasic"}, ".rbres": {"REALbasic"},
".rbtbar": {"REALbasic"}, ".rbtbar": {"REALbasic"},
@ -802,6 +831,7 @@ var LanguagesByExtension = map[string][]string{
".reg": {"Windows Registry Entries"}, ".reg": {"Windows Registry Entries"},
".regex": {"Regular Expression"}, ".regex": {"Regular Expression"},
".regexp": {"Regular Expression"}, ".regexp": {"Regular Expression"},
".rego": {"Open Policy Agent"},
".rei": {"Reason"}, ".rei": {"Reason"},
".rest": {"reStructuredText"}, ".rest": {"reStructuredText"},
".rest.txt": {"reStructuredText"}, ".rest.txt": {"reStructuredText"},
@ -811,6 +841,7 @@ var LanguagesByExtension = map[string][]string{
".rg": {"Rouge"}, ".rg": {"Rouge"},
".rhtml": {"RHTML"}, ".rhtml": {"RHTML"},
".ring": {"Ring"}, ".ring": {"Ring"},
".riot": {"Riot"},
".rkt": {"Racket"}, ".rkt": {"Racket"},
".rktd": {"Racket"}, ".rktd": {"Racket"},
".rktl": {"Racket"}, ".rktl": {"Racket"},
@ -819,6 +850,7 @@ var LanguagesByExtension = map[string][]string{
".rnh": {"RUNOFF"}, ".rnh": {"RUNOFF"},
".rno": {"RUNOFF", "Roff"}, ".rno": {"RUNOFF", "Roff"},
".robot": {"RobotFramework"}, ".robot": {"RobotFramework"},
".rockspec": {"Lua"},
".roff": {"Roff"}, ".roff": {"Roff"},
".ronn": {"Markdown"}, ".ronn": {"Markdown"},
".rpy": {"Python", "Ren'Py"}, ".rpy": {"Python", "Ren'Py"},
@ -835,7 +867,7 @@ var LanguagesByExtension = map[string][]string{
".ru": {"Ruby"}, ".ru": {"Ruby"},
".ruby": {"Ruby"}, ".ruby": {"Ruby"},
".rviz": {"YAML"}, ".rviz": {"YAML"},
".s": {"Unix Assembly"}, ".s": {"Motorola 68K Assembly", "Unix Assembly"},
".sage": {"Sage"}, ".sage": {"Sage"},
".sagews": {"Sage"}, ".sagews": {"Sage"},
".sas": {"SAS"}, ".sas": {"SAS"},
@ -877,9 +909,13 @@ var LanguagesByExtension = map[string][]string{
".sls": {"SaltStack", "Scheme"}, ".sls": {"SaltStack", "Scheme"},
".sma": {"Pawn"}, ".sma": {"Pawn"},
".smali": {"Smali"}, ".smali": {"Smali"},
".smk": {"Python"},
".sml": {"Standard ML"}, ".sml": {"Standard ML"},
".smt": {"SMT"}, ".smt": {"SMT"},
".smt2": {"SMT"}, ".smt2": {"SMT"},
".snip": {"Vim Snippet"},
".snippet": {"Vim Snippet"},
".snippets": {"Vim Snippet"},
".soy": {"Closure Templates"}, ".soy": {"Closure Templates"},
".sp": {"SourcePawn"}, ".sp": {"SourcePawn"},
".sparql": {"SPARQL"}, ".sparql": {"SPARQL"},
@ -902,7 +938,7 @@ var LanguagesByExtension = map[string][]string{
".sthlp": {"Stata"}, ".sthlp": {"Stata"},
".ston": {"STON"}, ".ston": {"STON"},
".storyboard": {"XML"}, ".storyboard": {"XML"},
".sttheme": {"XML"}, ".sttheme": {"XML Property List"},
".sty": {"TeX"}, ".sty": {"TeX"},
".styl": {"Stylus"}, ".styl": {"Stylus"},
".sublime-build": {"JSON with Comments"}, ".sublime-build": {"JSON with Comments"},
@ -926,7 +962,7 @@ var LanguagesByExtension = map[string][]string{
".svh": {"SystemVerilog"}, ".svh": {"SystemVerilog"},
".swift": {"Swift"}, ".swift": {"Swift"},
".syntax": {"YAML"}, ".syntax": {"YAML"},
".t": {"Perl", "Perl 6", "Terra", "Turing"}, ".t": {"Perl", "Raku", "Terra", "Turing"},
".tab": {"SQL"}, ".tab": {"SQL"},
".tac": {"Python"}, ".tac": {"Python"},
".targets": {"XML"}, ".targets": {"XML"},
@ -937,6 +973,8 @@ var LanguagesByExtension = map[string][]string{
".tesc": {"GLSL"}, ".tesc": {"GLSL"},
".tese": {"GLSL"}, ".tese": {"GLSL"},
".tex": {"TeX"}, ".tex": {"TeX"},
".texi": {"Texinfo"},
".texinfo": {"Texinfo"},
".textile": {"Textile"}, ".textile": {"Textile"},
".tf": {"HCL"}, ".tf": {"HCL"},
".tfstate": {"JSON"}, ".tfstate": {"JSON"},
@ -949,12 +987,12 @@ var LanguagesByExtension = map[string][]string{
".tla": {"TLA"}, ".tla": {"TLA"},
".tm": {"Tcl"}, ".tm": {"Tcl"},
".tmac": {"Roff"}, ".tmac": {"Roff"},
".tmcommand": {"XML"}, ".tmcommand": {"XML Property List"},
".tml": {"XML"}, ".tml": {"XML"},
".tmlanguage": {"XML"}, ".tmlanguage": {"XML Property List"},
".tmpreferences": {"XML"}, ".tmpreferences": {"XML Property List"},
".tmsnippet": {"XML"}, ".tmsnippet": {"XML Property List"},
".tmtheme": {"XML"}, ".tmtheme": {"XML Property List"},
".tmux": {"Shell"}, ".tmux": {"Shell"},
".toc": {"TeX", "World of Warcraft Addon Data"}, ".toc": {"TeX", "World of Warcraft Addon Data"},
".toml": {"TOML"}, ".toml": {"TOML"},
@ -971,6 +1009,7 @@ var LanguagesByExtension = map[string][]string{
".ttl": {"Turtle"}, ".ttl": {"Turtle"},
".tu": {"Turing"}, ".tu": {"Turing"},
".twig": {"Twig"}, ".twig": {"Twig"},
".txi": {"Texinfo"},
".txl": {"TXL"}, ".txl": {"TXL"},
".txt": {"Text"}, ".txt": {"Text"},
".uc": {"UnrealScript"}, ".uc": {"UnrealScript"},
@ -984,15 +1023,15 @@ var LanguagesByExtension = map[string][]string{
".urdf": {"XML"}, ".urdf": {"XML"},
".urs": {"UrWeb"}, ".urs": {"UrWeb"},
".ux": {"XML"}, ".ux": {"XML"},
".v": {"Coq", "Verilog"}, ".v": {"Coq", "V", "Verilog"},
".vala": {"Vala"}, ".vala": {"Vala"},
".vapi": {"Vala"}, ".vapi": {"Vala"},
".vark": {"Gosu"}, ".vark": {"Gosu"},
".vb": {"Visual Basic"}, ".vb": {"Visual Basic .NET"},
".vba": {"Vim script", "Visual Basic"}, ".vba": {"VBA", "Vim script"},
".vbhtml": {"Visual Basic"}, ".vbhtml": {"Visual Basic .NET"},
".vbproj": {"XML"}, ".vbproj": {"XML"},
".vbs": {"Visual Basic"}, ".vbs": {"VBScript"},
".vcl": {"VCL"}, ".vcl": {"VCL"},
".vcxproj": {"XML"}, ".vcxproj": {"XML"},
".veo": {"Verilog"}, ".veo": {"Verilog"},
@ -1046,7 +1085,7 @@ var LanguagesByExtension = map[string][]string{
".wxi": {"XML"}, ".wxi": {"XML"},
".wxl": {"XML"}, ".wxl": {"XML"},
".wxs": {"XML"}, ".wxs": {"XML"},
".x": {"Linker Script", "Logos", "RPC"}, ".x": {"DirectX 3D File", "Linker Script", "Logos", "RPC"},
".x10": {"X10"}, ".x10": {"X10"},
".x3d": {"XML"}, ".x3d": {"XML"},
".x68": {"Motorola 68K Assembly"}, ".x68": {"Motorola 68K Assembly"},
@ -1097,6 +1136,7 @@ var LanguagesByExtension = map[string][]string{
".yacc": {"Yacc"}, ".yacc": {"Yacc"},
".yaml": {"YAML"}, ".yaml": {"YAML"},
".yaml-tmlanguage": {"YAML"}, ".yaml-tmlanguage": {"YAML"},
".yaml.sed": {"YAML"},
".yang": {"YANG"}, ".yang": {"YANG"},
".yap": {"Prolog"}, ".yap": {"Prolog"},
".yar": {"YARA"}, ".yar": {"YARA"},
@ -1123,6 +1163,7 @@ var LanguagesByExtension = map[string][]string{
var ExtensionsByLanguage = map[string][]string{ var ExtensionsByLanguage = map[string][]string{
"1C Enterprise": {".bsl", ".os"}, "1C Enterprise": {".bsl", ".os"},
"4D": {".4dm"},
"ABAP": {".abap"}, "ABAP": {".abap"},
"ABNF": {".abnf"}, "ABNF": {".abnf"},
"AGS Script": {".asc", ".ash"}, "AGS Script": {".asc", ".ash"},
@ -1147,7 +1188,7 @@ var ExtensionsByLanguage = map[string][]string{
"Arc": {".arc"}, "Arc": {".arc"},
"AsciiDoc": {".asciidoc", ".adoc", ".asc"}, "AsciiDoc": {".asciidoc", ".adoc", ".asc"},
"AspectJ": {".aj"}, "AspectJ": {".aj"},
"Assembly": {".asm", ".a51", ".inc", ".nasm"}, "Assembly": {".asm", ".a51", ".i", ".inc", ".nasm"},
"Asymptote": {".asy"}, "Asymptote": {".asy"},
"Augeas": {".aug"}, "Augeas": {".aug"},
"AutoHotkey": {".ahk", ".ahkl"}, "AutoHotkey": {".ahk", ".ahkl"},
@ -1156,6 +1197,7 @@ var ExtensionsByLanguage = map[string][]string{
"Ballerina": {".bal"}, "Ballerina": {".bal"},
"Batchfile": {".bat", ".cmd"}, "Batchfile": {".bat", ".cmd"},
"Befunge": {".befunge"}, "Befunge": {".befunge"},
"BibTeX": {".bib", ".bibtex"},
"Bison": {".bison"}, "Bison": {".bison"},
"BitBake": {".bb"}, "BitBake": {".bb"},
"Blade": {".blade", ".blade.php"}, "Blade": {".blade", ".blade.php"},
@ -1192,6 +1234,7 @@ var ExtensionsByLanguage = map[string][]string{
"Clojure": {".clj", ".boot", ".cl2", ".cljc", ".cljs", ".cljs.hl", ".cljscm", ".cljx", ".hic"}, "Clojure": {".clj", ".boot", ".cl2", ".cljc", ".cljs", ".cljs.hl", ".cljscm", ".cljx", ".hic"},
"Closure Templates": {".soy"}, "Closure Templates": {".soy"},
"CoNLL-U": {".conllu", ".conll"}, "CoNLL-U": {".conllu", ".conll"},
"CodeQL": {".ql", ".qll"},
"CoffeeScript": {".coffee", "._coffee", ".cake", ".cjsx", ".iced"}, "CoffeeScript": {".coffee", "._coffee", ".cake", ".cjsx", ".iced"},
"ColdFusion": {".cfm", ".cfml"}, "ColdFusion": {".cfm", ".cfml"},
"ColdFusion CFC": {".cfc"}, "ColdFusion CFC": {".cfc"},
@ -1220,6 +1263,7 @@ var ExtensionsByLanguage = map[string][]string{
"DataWeave": {".dwl"}, "DataWeave": {".dwl"},
"Dhall": {".dhall"}, "Dhall": {".dhall"},
"Diff": {".diff", ".patch"}, "Diff": {".diff", ".patch"},
"DirectX 3D File": {".x"},
"Dockerfile": {".dockerfile"}, "Dockerfile": {".dockerfile"},
"Dogescript": {".djs"}, "Dogescript": {".djs"},
"Dylan": {".dylan", ".dyl", ".intr", ".lid"}, "Dylan": {".dylan", ".dyl", ".intr", ".lid"},
@ -1247,6 +1291,7 @@ var ExtensionsByLanguage = map[string][]string{
"Factor": {".factor"}, "Factor": {".factor"},
"Fancy": {".fy", ".fancypack"}, "Fancy": {".fy", ".fancypack"},
"Fantom": {".fan"}, "Fantom": {".fan"},
"Faust": {".dsp"},
"Filebench WML": {".f"}, "Filebench WML": {".f"},
"Filterscript": {".fs"}, "Filterscript": {".fs"},
"Formatted": {".for", ".eam.fs"}, "Formatted": {".for", ".eam.fs"},
@ -1255,12 +1300,13 @@ var ExtensionsByLanguage = map[string][]string{
"FreeMarker": {".ftl"}, "FreeMarker": {".ftl"},
"Frege": {".fr"}, "Frege": {".fr"},
"G-code": {".g", ".cnc", ".gco", ".gcode"}, "G-code": {".g", ".cnc", ".gco", ".gcode"},
"GAML": {".gaml"},
"GAMS": {".gms"}, "GAMS": {".gms"},
"GAP": {".g", ".gap", ".gd", ".gi", ".tst"}, "GAP": {".g", ".gap", ".gd", ".gi", ".tst"},
"GCC Machine Description": {".md"}, "GCC Machine Description": {".md"},
"GDB": {".gdb", ".gdbinit"}, "GDB": {".gdb", ".gdbinit"},
"GDScript": {".gd"}, "GDScript": {".gd"},
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslv", ".gshader", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"}, "GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"},
"GN": {".gn", ".gni"}, "GN": {".gn", ".gni"},
"Game Maker Language": {".gml"}, "Game Maker Language": {".gml"},
"Genie": {".gs"}, "Genie": {".gs"},
@ -1273,7 +1319,7 @@ var ExtensionsByLanguage = map[string][]string{
"Git Config": {".gitconfig"}, "Git Config": {".gitconfig"},
"Glyph": {".glf"}, "Glyph": {".glf"},
"Glyph Bitmap Distribution Format": {".bdf"}, "Glyph Bitmap Distribution Format": {".bdf"},
"Gnuplot": {".gp", ".gnu", ".gnuplot", ".plot", ".plt"}, "Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"},
"Go": {".go"}, "Go": {".go"},
"Golo": {".golo"}, "Golo": {".golo"},
"Gosu": {".gs", ".gst", ".gsx", ".vark"}, "Gosu": {".gs", ".gst", ".gsx", ".vark"},
@ -1297,19 +1343,19 @@ var ExtensionsByLanguage = map[string][]string{
"HTML+Razor": {".cshtml", ".razor"}, "HTML+Razor": {".cshtml", ".razor"},
"HTTP": {".http"}, "HTTP": {".http"},
"HXML": {".hxml"}, "HXML": {".hxml"},
"Hack": {".hh", ".php"}, "Hack": {".hack", ".hh", ".hhi", ".php"},
"Haml": {".haml", ".haml.deface"}, "Haml": {".haml", ".haml.deface"},
"Handlebars": {".handlebars", ".hbs"}, "Handlebars": {".handlebars", ".hbs"},
"Harbour": {".hb"}, "Harbour": {".hb"},
"Haskell": {".hs", ".hsc"}, "Haskell": {".hs", ".hs-boot", ".hsc"},
"Haxe": {".hx", ".hxsl"}, "Haxe": {".hx", ".hxsl"},
"HiveQL": {".q"}, "HiveQL": {".q", ".hql"},
"HolyC": {".hc"}, "HolyC": {".hc"},
"Hy": {".hy"}, "Hy": {".hy"},
"HyPhy": {".bf"}, "HyPhy": {".bf"},
"IDL": {".pro", ".dlm"}, "IDL": {".pro", ".dlm"},
"IGOR Pro": {".ipf"}, "IGOR Pro": {".ipf"},
"INI": {".ini", ".cfg", ".lektorproject", ".prefs", ".pro", ".properties"}, "INI": {".ini", ".cfg", ".dof", ".lektorproject", ".prefs", ".pro", ".properties"},
"IRC log": {".irclog", ".weechatlog"}, "IRC log": {".irclog", ".weechatlog"},
"Idris": {".idr", ".lidr"}, "Idris": {".idr", ".lidr"},
"Ignore List": {".gitignore"}, "Ignore List": {".gitignore"},
@ -1321,7 +1367,7 @@ var ExtensionsByLanguage = map[string][]string{
"J": {".ijs"}, "J": {".ijs"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"}, "JSON with Comments": {".jsonc", ".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"},
"JSON5": {".json5"}, "JSON5": {".json5"},
"JSONLD": {".jsonld"}, "JSONLD": {".jsonld"},
"JSONiq": {".jq"}, "JSONiq": {".jq"},
@ -1330,7 +1376,7 @@ var ExtensionsByLanguage = map[string][]string{
"Java": {".java"}, "Java": {".java"},
"Java Properties": {".properties"}, "Java Properties": {".properties"},
"Java Server Pages": {".jsp"}, "Java Server Pages": {".jsp"},
"JavaScript": {".js", "._js", ".bones", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"}, "JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript+ERB": {".js.erb"}, "JavaScript+ERB": {".js.erb"},
"Jison": {".jison"}, "Jison": {".jison"},
"Jison Lex": {".jisonlex"}, "Jison Lex": {".jisonlex"},
@ -1350,7 +1396,7 @@ var ExtensionsByLanguage = map[string][]string{
"LSL": {".lsl", ".lslp"}, "LSL": {".lsl", ".lslp"},
"LTspice Symbol": {".asy"}, "LTspice Symbol": {".asy"},
"LabVIEW": {".lvproj"}, "LabVIEW": {".lvproj"},
"Lasso": {".lasso", ".las", ".lasso8", ".lasso9", ".ldml"}, "Lasso": {".lasso", ".las", ".lasso8", ".lasso9"},
"Latte": {".latte"}, "Latte": {".latte"},
"Lean": {".lean", ".hlean"}, "Lean": {".lean", ".hlean"},
"Less": {".less"}, "Less": {".less"},
@ -1368,12 +1414,13 @@ var ExtensionsByLanguage = map[string][]string{
"Logtalk": {".lgt", ".logtalk"}, "Logtalk": {".lgt", ".logtalk"},
"LookML": {".lookml", ".model.lkml", ".view.lkml"}, "LookML": {".lookml", ".model.lkml", ".view.lkml"},
"LoomScript": {".ls"}, "LoomScript": {".ls"},
"Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".wlua"}, "Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".rockspec", ".wlua"},
"M": {".mumps", ".m"}, "M": {".mumps", ".m"},
"M4": {".m4"}, "M4": {".m4"},
"M4Sugar": {".m4"}, "M4Sugar": {".m4"},
"MATLAB": {".matlab", ".m"}, "MATLAB": {".matlab", ".m"},
"MAXScript": {".ms", ".mcr"}, "MAXScript": {".ms", ".mcr"},
"MLIR": {".mlir"},
"MQL4": {".mq4", ".mqh"}, "MQL4": {".mq4", ".mqh"},
"MQL5": {".mq5", ".mqh"}, "MQL5": {".mq5", ".mqh"},
"MTML": {".mtml"}, "MTML": {".mtml"},
@ -1388,6 +1435,7 @@ var ExtensionsByLanguage = map[string][]string{
"MediaWiki": {".mediawiki", ".wiki"}, "MediaWiki": {".mediawiki", ".wiki"},
"Mercury": {".m", ".moo"}, "Mercury": {".m", ".moo"},
"Metal": {".metal"}, "Metal": {".metal"},
"Microsoft Developer Studio Project": {".dsp"},
"MiniD": {".minid"}, "MiniD": {".minid"},
"Mirah": {".druby", ".duby", ".mirah"}, "Mirah": {".druby", ".duby", ".mirah"},
"Modelica": {".mo"}, "Modelica": {".mo"},
@ -1397,8 +1445,10 @@ var ExtensionsByLanguage = map[string][]string{
"Monkey": {".monkey", ".monkey2"}, "Monkey": {".monkey", ".monkey2"},
"Moocode": {".moo"}, "Moocode": {".moo"},
"MoonScript": {".moon"}, "MoonScript": {".moon"},
"Motorola 68K Assembly": {".x68"}, "Motorola 68K Assembly": {".asm", ".i", ".inc", ".s", ".x68"},
"Muse": {".muse"},
"Myghty": {".myt"}, "Myghty": {".myt"},
"NASL": {".nasl", ".inc"},
"NCL": {".ncl"}, "NCL": {".ncl"},
"NL": {".nl"}, "NL": {".nl"},
"NSIS": {".nsi", ".nsh"}, "NSIS": {".nsi", ".nsh"},
@ -1418,16 +1468,21 @@ var ExtensionsByLanguage = map[string][]string{
"NumPy": {".numpy", ".numpyw", ".numsc"}, "NumPy": {".numpy", ".numpyw", ".numsc"},
"OCaml": {".ml", ".eliom", ".eliomi", ".ml4", ".mli", ".mll", ".mly"}, "OCaml": {".ml", ".eliom", ".eliomi", ".ml4", ".mli", ".mll", ".mly"},
"ObjDump": {".objdump"}, "ObjDump": {".objdump"},
"Object Data Instance Notation": {".odin"},
"ObjectScript": {".cls"}, "ObjectScript": {".cls"},
"Objective-C": {".m", ".h"}, "Objective-C": {".m", ".h"},
"Objective-C++": {".mm"}, "Objective-C++": {".mm"},
"Objective-J": {".j", ".sj"}, "Objective-J": {".j", ".sj"},
"Odin": {".odin"},
"Omgrofl": {".omgrofl"}, "Omgrofl": {".omgrofl"},
"Opa": {".opa"}, "Opa": {".opa"},
"Opal": {".opal"}, "Opal": {".opal"},
"Open Policy Agent": {".rego"},
"OpenCL": {".cl", ".opencl"}, "OpenCL": {".cl", ".opencl"},
"OpenEdge ABL": {".p", ".cls", ".w"}, "OpenEdge ABL": {".p", ".cls", ".w"},
"OpenQASM": {".qasm"},
"OpenSCAD": {".scad"}, "OpenSCAD": {".scad"},
"OpenStep Property List": {".plist"},
"OpenType Feature File": {".fea"}, "OpenType Feature File": {".fea"},
"Org": {".org"}, "Org": {".org"},
"Ox": {".ox", ".oxh", ".oxo"}, "Ox": {".ox", ".oxh", ".oxo"},
@ -1447,21 +1502,23 @@ var ExtensionsByLanguage = map[string][]string{
"Pawn": {".pwn", ".inc", ".sma"}, "Pawn": {".pwn", ".inc", ".sma"},
"Pep8": {".pep"}, "Pep8": {".pep"},
"Perl": {".pl", ".al", ".cgi", ".fcgi", ".perl", ".ph", ".plx", ".pm", ".psgi", ".t"}, "Perl": {".pl", ".al", ".cgi", ".fcgi", ".perl", ".ph", ".plx", ".pm", ".psgi", ".t"},
"Perl 6": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
"Pic": {".pic", ".chem"}, "Pic": {".pic", ".chem"},
"Pickle": {".pkl"}, "Pickle": {".pkl"},
"PicoLisp": {".l"}, "PicoLisp": {".l"},
"PigLatin": {".pig"}, "PigLatin": {".pig"},
"Pike": {".pike", ".pmod"}, "Pike": {".pike", ".pmod"},
"PlantUML": {".puml", ".iuml", ".plantuml"},
"Pod": {".pod"}, "Pod": {".pod"},
"Pod 6": {".pod", ".pod6"}, "Pod 6": {".pod", ".pod6"},
"PogoScript": {".pogo"}, "PogoScript": {".pogo"},
"Pony": {".pony"}, "Pony": {".pony"},
"PostCSS": {".pcss"}, "PostCSS": {".pcss", ".postcss"},
"PostScript": {".ps", ".eps", ".pfa"}, "PostScript": {".ps", ".eps", ".epsi", ".pfa"},
"PowerBuilder": {".pbt", ".sra", ".sru", ".srw"}, "PowerBuilder": {".pbt", ".sra", ".sru", ".srw"},
"PowerShell": {".ps1", ".psd1", ".psm1"}, "PowerShell": {".ps1", ".psd1", ".psm1"},
"Prisma": {".prisma"},
"Processing": {".pde"}, "Processing": {".pde"},
"Proguard": {".pro"},
"Prolog": {".pl", ".pro", ".prolog", ".yap"}, "Prolog": {".pl", ".pro", ".prolog", ".yap"},
"Propeller Spin": {".spin"}, "Propeller Spin": {".spin"},
"Protocol Buffer": {".proto"}, "Protocol Buffer": {".proto"},
@ -1471,7 +1528,7 @@ var ExtensionsByLanguage = map[string][]string{
"Pure Data": {".pd"}, "Pure Data": {".pd"},
"PureBasic": {".pb", ".pbi"}, "PureBasic": {".pb", ".pbi"},
"PureScript": {".purs"}, "PureScript": {".purs"},
"Python": {".py", ".bzl", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".spec", ".tac", ".wsgi", ".xpy"}, "Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".wsgi", ".xpy"},
"Python traceback": {".pytb"}, "Python traceback": {".pytb"},
"QML": {".qml", ".qbs"}, "QML": {".qml", ".qbs"},
"QMake": {".pro", ".pri"}, "QMake": {".pro", ".pri"},
@ -1487,6 +1544,7 @@ var ExtensionsByLanguage = map[string][]string{
"RUNOFF": {".rnh", ".rno"}, "RUNOFF": {".rnh", ".rno"},
"Racket": {".rkt", ".rktd", ".rktl", ".scrbl"}, "Racket": {".rkt", ".rktd", ".rktl", ".scrbl"},
"Ragel": {".rl"}, "Ragel": {".rl"},
"Raku": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
"Rascal": {".rsc"}, "Rascal": {".rsc"},
"Raw token data": {".raw"}, "Raw token data": {".raw"},
"Reason": {".re", ".rei"}, "Reason": {".re", ".rei"},
@ -1498,11 +1556,12 @@ var ExtensionsByLanguage = map[string][]string{
"RenderScript": {".rs", ".rsh"}, "RenderScript": {".rs", ".rsh"},
"Rich Text Format": {".rtf"}, "Rich Text Format": {".rtf"},
"Ring": {".ring"}, "Ring": {".ring"},
"Riot": {".riot"},
"RobotFramework": {".robot"}, "RobotFramework": {".robot"},
"Roff": {".roff", ".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".l", ".man", ".mdoc", ".me", ".ms", ".n", ".nr", ".rno", ".tmac"}, "Roff": {".roff", ".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".l", ".man", ".mdoc", ".me", ".ms", ".n", ".nr", ".rno", ".tmac"},
"Roff Manpage": {".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".man", ".mdoc"}, "Roff Manpage": {".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".man", ".mdoc"},
"Rouge": {".rg"}, "Rouge": {".rg"},
"Ruby": {".rb", ".builder", ".eye", ".fcgi", ".gemspec", ".god", ".jbuilder", ".mspec", ".pluginspec", ".podspec", ".rabl", ".rake", ".rbuild", ".rbw", ".rbx", ".ru", ".ruby", ".spec", ".thor", ".watchr"}, "Ruby": {".rb", ".builder", ".eye", ".fcgi", ".gemspec", ".god", ".jbuilder", ".mspec", ".pluginspec", ".podspec", ".rabl", ".rake", ".rbi", ".rbuild", ".rbw", ".rbx", ".ru", ".ruby", ".spec", ".thor", ".watchr"},
"Rust": {".rs", ".rs.in"}, "Rust": {".rs", ".rs.in"},
"SAS": {".sas"}, "SAS": {".sas"},
"SCSS": {".scss"}, "SCSS": {".scss"},
@ -1514,6 +1573,7 @@ var ExtensionsByLanguage = map[string][]string{
"SRecode Template": {".srt"}, "SRecode Template": {".srt"},
"STON": {".ston"}, "STON": {".ston"},
"SVG": {".svg"}, "SVG": {".svg"},
"SWIG": {".i"},
"Sage": {".sage", ".sagews"}, "Sage": {".sage", ".sagews"},
"SaltStack": {".sls"}, "SaltStack": {".sls"},
"Sass": {".sass"}, "Sass": {".sass"},
@ -1529,6 +1589,7 @@ var ExtensionsByLanguage = map[string][]string{
"Slash": {".sl"}, "Slash": {".sl"},
"Slice": {".ice"}, "Slice": {".ice"},
"Slim": {".slim"}, "Slim": {".slim"},
"SmPL": {".cocci"},
"Smali": {".smali"}, "Smali": {".smali"},
"Smalltalk": {".st", ".cs"}, "Smalltalk": {".st", ".cs"},
"Smarty": {".tpl"}, "Smarty": {".tpl"},
@ -1537,6 +1598,7 @@ var ExtensionsByLanguage = map[string][]string{
"Squirrel": {".nut"}, "Squirrel": {".nut"},
"Stan": {".stan"}, "Stan": {".stan"},
"Standard ML": {".ml", ".fun", ".sig", ".sml"}, "Standard ML": {".ml", ".fun", ".sig", ".sml"},
"Starlark": {".bzl"},
"Stata": {".do", ".ado", ".doh", ".ihlp", ".mata", ".matah", ".sthlp"}, "Stata": {".do", ".ado", ".doh", ".ihlp", ".mata", ".matah", ".sthlp"},
"Stylus": {".styl"}, "Stylus": {".styl"},
"SubRip Text": {".srt"}, "SubRip Text": {".srt"},
@ -1553,9 +1615,10 @@ var ExtensionsByLanguage = map[string][]string{
"TXL": {".txl"}, "TXL": {".txl"},
"Tcl": {".tcl", ".adp", ".tm"}, "Tcl": {".tcl", ".adp", ".tm"},
"Tcsh": {".tcsh", ".csh"}, "Tcsh": {".tcsh", ".csh"},
"TeX": {".tex", ".aux", ".bbx", ".bib", ".cbx", ".cls", ".dtx", ".ins", ".lbx", ".ltx", ".mkii", ".mkiv", ".mkvi", ".sty", ".toc"}, "TeX": {".tex", ".aux", ".bbx", ".cbx", ".cls", ".dtx", ".ins", ".lbx", ".ltx", ".mkii", ".mkiv", ".mkvi", ".sty", ".toc"},
"Tea": {".tea"}, "Tea": {".tea"},
"Terra": {".t"}, "Terra": {".t"},
"Texinfo": {".texinfo", ".texi", ".txi"},
"Text": {".txt", ".fr", ".nb", ".ncl", ".no"}, "Text": {".txt", ".fr", ".nb", ".ncl", ".no"},
"Textile": {".textile"}, "Textile": {".textile"},
"Thrift": {".thrift"}, "Thrift": {".thrift"},
@ -1565,17 +1628,21 @@ var ExtensionsByLanguage = map[string][]string{
"Type Language": {".tl"}, "Type Language": {".tl"},
"TypeScript": {".ts"}, "TypeScript": {".ts"},
"Unified Parallel C": {".upc"}, "Unified Parallel C": {".upc"},
"Unity3D Asset": {".anim", ".asset", ".mat", ".meta", ".prefab", ".unity"}, "Unity3D Asset": {".anim", ".asset", ".mask", ".mat", ".meta", ".prefab", ".unity"},
"Unix Assembly": {".s", ".ms"}, "Unix Assembly": {".s", ".ms"},
"Uno": {".uno"}, "Uno": {".uno"},
"UnrealScript": {".uc"}, "UnrealScript": {".uc"},
"UrWeb": {".ur", ".urs"}, "UrWeb": {".ur", ".urs"},
"V": {".v"},
"VBA": {".bas", ".cls", ".frm", ".frx", ".vba"},
"VBScript": {".vbs"},
"VCL": {".vcl"}, "VCL": {".vcl"},
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
"Vala": {".vala", ".vapi"}, "Vala": {".vala", ".vapi"},
"Verilog": {".v", ".veo"}, "Verilog": {".v", ".veo"},
"Vim Snippet": {".snip", ".snippet", ".snippets"},
"Vim script": {".vim", ".vba", ".vmb"}, "Vim script": {".vim", ".vba", ".vmb"},
"Visual Basic": {".vb", ".bas", ".cls", ".frm", ".frx", ".vba", ".vbhtml", ".vbs"}, "Visual Basic .NET": {".vb", ".vbhtml"},
"Volt": {".volt"}, "Volt": {".volt"},
"Vue": {".vue"}, "Vue": {".vue"},
"Wavefront Material": {".mtl"}, "Wavefront Material": {".mtl"},
@ -1591,7 +1658,8 @@ var ExtensionsByLanguage = map[string][]string{
"X PixMap": {".xpm", ".pm"}, "X PixMap": {".xpm", ".pm"},
"X10": {".x10"}, "X10": {".x10"},
"XC": {".xc"}, "XC": {".xc"},
"XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".plist", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".rdf", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sttheme", ".sublime-snippet", ".targets", ".tmcommand", ".tml", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"}, "XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".rdf", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".targets", ".tml", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
"XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"},
"XPages": {".xsp-config", ".xsp.metadata"}, "XPages": {".xsp-config", ".xsp.metadata"},
"XProc": {".xpl", ".xproc"}, "XProc": {".xpl", ".xproc"},
"XQuery": {".xquery", ".xq", ".xql", ".xqm", ".xqy"}, "XQuery": {".xquery", ".xq", ".xql", ".xqm", ".xqy"},
@ -1599,7 +1667,7 @@ var ExtensionsByLanguage = map[string][]string{
"XSLT": {".xslt", ".xsl"}, "XSLT": {".xslt", ".xsl"},
"Xojo": {".xojo_code", ".xojo_menu", ".xojo_report", ".xojo_script", ".xojo_toolbar", ".xojo_window"}, "Xojo": {".xojo_code", ".xojo_menu", ".xojo_report", ".xojo_script", ".xojo_toolbar", ".xojo_window"},
"Xtend": {".xtend"}, "Xtend": {".xtend"},
"YAML": {".yml", ".mir", ".reek", ".rviz", ".sublime-syntax", ".syntax", ".yaml", ".yaml-tmlanguage", ".yml.mysql"}, "YAML": {".yml", ".mir", ".reek", ".rviz", ".sublime-syntax", ".syntax", ".yaml", ".yaml-tmlanguage", ".yaml.sed", ".yml.mysql"},
"YANG": {".yang"}, "YANG": {".yang"},
"YARA": {".yar", ".yara"}, "YARA": {".yar", ".yara"},
"YASnippet": {".yasnippet"}, "YASnippet": {".yasnippet"},
@ -1612,9 +1680,11 @@ var ExtensionsByLanguage = map[string][]string{
"Zig": {".zig"}, "Zig": {".zig"},
"Zimpl": {".zimpl", ".zmpl", ".zpl"}, "Zimpl": {".zimpl", ".zmpl", ".zpl"},
"desktop": {".desktop", ".desktop.in"}, "desktop": {".desktop", ".desktop.in"},
"dircolors": {".dircolors"},
"eC": {".ec", ".eh"}, "eC": {".ec", ".eh"},
"edn": {".edn"}, "edn": {".edn"},
"fish": {".fish"}, "fish": {".fish"},
"mIRC Script": {".mrc"},
"mcfunction": {".mcfunction"}, "mcfunction": {".mcfunction"},
"mupad": {".mu"}, "mupad": {".mu"},
"nanorc": {".nanorc"}, "nanorc": {".nanorc"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -23,7 +23,10 @@ var LanguagesByFilename = map[string][]string{
".coffeelintignore": {"Ignore List"}, ".coffeelintignore": {"Ignore List"},
".cproject": {"XML"}, ".cproject": {"XML"},
".cshrc": {"Shell"}, ".cshrc": {"Shell"},
".curlrc": {"cURL Config"},
".cvsignore": {"Ignore List"}, ".cvsignore": {"Ignore List"},
".dir_colors": {"dircolors"},
".dircolors": {"dircolors"},
".dockerignore": {"Ignore List"}, ".dockerignore": {"Ignore List"},
".editorconfig": {"EditorConfig"}, ".editorconfig": {"EditorConfig"},
".emacs": {"Emacs Lisp"}, ".emacs": {"Emacs Lisp"},
@ -43,14 +46,17 @@ var LanguagesByFilename = map[string][]string{
".gvimrc": {"Vim script"}, ".gvimrc": {"Vim script"},
".htaccess": {"ApacheConf"}, ".htaccess": {"ApacheConf"},
".htmlhintrc": {"JSON"}, ".htmlhintrc": {"JSON"},
".inputrc": {"Readline Config"},
".irbrc": {"Ruby"}, ".irbrc": {"Ruby"},
".jscsrc": {"JSON with Comments"}, ".jscsrc": {"JSON with Comments"},
".jshintrc": {"JSON with Comments"}, ".jshintrc": {"JSON with Comments"},
".jslintrc": {"JSON with Comments"}, ".jslintrc": {"JSON with Comments"},
".login": {"Shell"}, ".login": {"Shell"},
".luacheckrc": {"Lua"},
".nanorc": {"nanorc"}, ".nanorc": {"nanorc"},
".nodemonignore": {"Ignore List"}, ".nodemonignore": {"Ignore List"},
".npmignore": {"Ignore List"}, ".npmignore": {"Ignore List"},
".npmrc": {"NPM Config"},
".nvimrc": {"Vim script"}, ".nvimrc": {"Vim script"},
".php": {"PHP"}, ".php": {"PHP"},
".php_cs": {"PHP"}, ".php_cs": {"PHP"},
@ -67,6 +73,7 @@ var LanguagesByFilename = map[string][]string{
".viper": {"Emacs Lisp"}, ".viper": {"Emacs Lisp"},
".vscodeignore": {"Ignore List"}, ".vscodeignore": {"Ignore List"},
".watchmanconfig": {"JSON"}, ".watchmanconfig": {"JSON"},
".wgetrc": {"Wget Config"},
".zlogin": {"Shell"}, ".zlogin": {"Shell"},
".zlogout": {"Shell"}, ".zlogout": {"Shell"},
".zprofile": {"Shell"}, ".zprofile": {"Shell"},
@ -77,9 +84,9 @@ var LanguagesByFilename = map[string][]string{
"App.config": {"XML"}, "App.config": {"XML"},
"Appraisals": {"Ruby"}, "Appraisals": {"Ruby"},
"BSDmakefile": {"Makefile"}, "BSDmakefile": {"Makefile"},
"BUCK": {"Python"}, "BUCK": {"Starlark"},
"BUILD": {"Python"}, "BUILD": {"Starlark"},
"BUILD.bazel": {"Python"}, "BUILD.bazel": {"Starlark"},
"Berksfile": {"Ruby"}, "Berksfile": {"Ruby"},
"Brewfile": {"Ruby"}, "Brewfile": {"Ruby"},
"Buildfile": {"Ruby"}, "Buildfile": {"Ruby"},
@ -91,6 +98,8 @@ var LanguagesByFilename = map[string][]string{
"Capfile": {"Ruby"}, "Capfile": {"Ruby"},
"Cargo.lock": {"TOML"}, "Cargo.lock": {"TOML"},
"Cask": {"Emacs Lisp"}, "Cask": {"Emacs Lisp"},
"DEPS": {"Python"},
"DIR_COLORS": {"dircolors"},
"Dangerfile": {"Ruby"}, "Dangerfile": {"Ruby"},
"Deliverfile": {"Ruby"}, "Deliverfile": {"Ruby"},
"Dockerfile": {"Dockerfile"}, "Dockerfile": {"Dockerfile"},
@ -144,11 +153,14 @@ var LanguagesByFilename = map[string][]string{
"Snapfile": {"Ruby"}, "Snapfile": {"Ruby"},
"Thorfile": {"Ruby"}, "Thorfile": {"Ruby"},
"Vagrantfile": {"Ruby"}, "Vagrantfile": {"Ruby"},
"WORKSPACE": {"Python"}, "WORKSPACE": {"Starlark"},
"Web.Debug.config": {"XML"}, "Web.Debug.config": {"XML"},
"Web.Release.config": {"XML"}, "Web.Release.config": {"XML"},
"Web.config": {"XML"}, "Web.config": {"XML"},
"XCompose": {"XCompose"}, "XCompose": {"XCompose"},
"_curlrc": {"cURL Config"},
"_dir_colors": {"dircolors"},
"_dircolors": {"dircolors"},
"_emacs": {"Emacs Lisp"}, "_emacs": {"Emacs Lisp"},
"_vimrc": {"Vim script"}, "_vimrc": {"Vim script"},
"abbrev_defs": {"Emacs Lisp"}, "abbrev_defs": {"Emacs Lisp"},
@ -173,7 +185,9 @@ var LanguagesByFilename = map[string][]string{
"delete.me": {"Text"}, "delete.me": {"Text"},
"descrip.mmk": {"Module Management System"}, "descrip.mmk": {"Module Management System"},
"descrip.mms": {"Module Management System"}, "descrip.mms": {"Module Management System"},
"dir_colors": {"dircolors"},
"encodings.dir": {"X Font Directory Index"}, "encodings.dir": {"X Font Directory Index"},
"eqnrc": {"Roff"},
"expr-dist": {"R"}, "expr-dist": {"R"},
"firestore.rules": {"Cloud Firestore Security Rules"}, "firestore.rules": {"Cloud Firestore Security Rules"},
"fonts.alias": {"X Font Directory Index"}, "fonts.alias": {"X Font Directory Index"},
@ -189,6 +203,7 @@ var LanguagesByFilename = map[string][]string{
"gvimrc": {"Vim script"}, "gvimrc": {"Vim script"},
"haproxy.cfg": {"HAProxy"}, "haproxy.cfg": {"HAProxy"},
"httpd.conf": {"ApacheConf"}, "httpd.conf": {"ApacheConf"},
"inputrc": {"Readline Config"},
"jsconfig.json": {"JSON with Comments"}, "jsconfig.json": {"JSON with Comments"},
"keep.me": {"Text"}, "keep.me": {"Text"},
"language-configuration.json": {"JSON with Comments"}, "language-configuration.json": {"JSON with Comments"},
@ -212,6 +227,9 @@ var LanguagesByFilename = map[string][]string{
"nim.cfg": {"Nim"}, "nim.cfg": {"Nim"},
"nvimrc": {"Vim script"}, "nvimrc": {"Vim script"},
"owh": {"Tcl"}, "owh": {"Tcl"},
"package.mask": {"Text"},
"package.use.mask": {"Text"},
"package.use.stable.mask": {"Text"},
"packages.config": {"XML"}, "packages.config": {"XML"},
"pom.xml": {"Maven POM"}, "pom.xml": {"Maven POM"},
"profile": {"Shell"}, "profile": {"Shell"},
@ -229,10 +247,15 @@ var LanguagesByFilename = map[string][]string{
"sshd_config": {"SSH Config"}, "sshd_config": {"SSH Config"},
"starfield": {"Tcl"}, "starfield": {"Tcl"},
"test.me": {"Text"}, "test.me": {"Text"},
"troffrc": {"Roff"},
"troffrc-end": {"Roff"},
"tsconfig.json": {"JSON with Comments"}, "tsconfig.json": {"JSON with Comments"},
"use.mask": {"Text"},
"use.stable.mask": {"Text"},
"vimrc": {"Vim script"}, "vimrc": {"Vim script"},
"wscript": {"Python"}, "wscript": {"Python"},
"xcompose": {"XCompose"}, "xcompose": {"XCompose"},
"yarn.lock": {"YAML"},
"zlogin": {"Shell"}, "zlogin": {"Shell"},
"zlogout": {"Shell"}, "zlogout": {"Shell"},
"zprofile": {"Shell"}, "zprofile": {"Shell"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -20,6 +20,7 @@ var LanguagesByInterpreter = map[string][]string{
"coffee": {"CoffeeScript"}, "coffee": {"CoffeeScript"},
"cperl": {"Perl"}, "cperl": {"Perl"},
"crystal": {"Crystal"}, "crystal": {"Crystal"},
"csh": {"Tcsh"},
"csi": {"Scheme"}, "csi": {"Scheme"},
"cvc4": {"SMT"}, "cvc4": {"SMT"},
"cwl-runner": {"Common Workflow Language"}, "cwl-runner": {"Common Workflow Language"},
@ -36,6 +37,7 @@ var LanguagesByInterpreter = map[string][]string{
"gawk": {"Awk"}, "gawk": {"Awk"},
"gerbv": {"Gerber Image"}, "gerbv": {"Gerber Image"},
"gerbview": {"Gerber Image"}, "gerbview": {"Gerber Image"},
"gjs": {"JavaScript"},
"gn": {"GN"}, "gn": {"GN"},
"gnuplot": {"Gnuplot"}, "gnuplot": {"Gnuplot"},
"gosh": {"Scheme"}, "gosh": {"Scheme"},
@ -57,6 +59,7 @@ var LanguagesByInterpreter = map[string][]string{
"lua": {"Lua", "Terra"}, "lua": {"Lua", "Terra"},
"macruby": {"Ruby"}, "macruby": {"Ruby"},
"make": {"Makefile"}, "make": {"Makefile"},
"makeinfo": {"Texinfo"},
"mathsat5": {"SMT"}, "mathsat5": {"SMT"},
"mawk": {"Awk"}, "mawk": {"Awk"},
"minised": {"sed"}, "minised": {"sed"},
@ -77,7 +80,7 @@ var LanguagesByInterpreter = map[string][]string{
"parrot": {"Parrot Assembly", "Parrot Internal Representation"}, "parrot": {"Parrot Assembly", "Parrot Internal Representation"},
"pdksh": {"Shell"}, "pdksh": {"Shell"},
"perl": {"Perl", "Pod"}, "perl": {"Perl", "Pod"},
"perl6": {"Perl 6", "Pod 6"}, "perl6": {"Pod 6", "Raku"},
"php": {"PHP"}, "php": {"PHP"},
"picolisp": {"PicoLisp"}, "picolisp": {"PicoLisp"},
"pike": {"Pike"}, "pike": {"Pike"},
@ -86,10 +89,13 @@ var LanguagesByInterpreter = map[string][]string{
"python": {"Python"}, "python": {"Python"},
"python2": {"Python"}, "python2": {"Python"},
"python3": {"Python"}, "python3": {"Python"},
"qjs": {"JavaScript"},
"qmake": {"QMake"}, "qmake": {"QMake"},
"r6rs": {"Scheme"}, "r6rs": {"Scheme"},
"racket": {"Racket"}, "racket": {"Racket"},
"rake": {"Ruby"}, "rake": {"Ruby"},
"raku": {"Raku"},
"rakudo": {"Raku"},
"rbx": {"Ruby"}, "rbx": {"Ruby"},
"rc": {"Shell"}, "rc": {"Shell"},
"regina": {"REXX"}, "regina": {"REXX"},
@ -112,6 +118,7 @@ var LanguagesByInterpreter = map[string][]string{
"swipl": {"Prolog"}, "swipl": {"Prolog"},
"tcc": {"C"}, "tcc": {"C"},
"tclsh": {"Tcl"}, "tclsh": {"Tcl"},
"tcsh": {"Tcsh"},
"ts-node": {"TypeScript"}, "ts-node": {"TypeScript"},
"v8": {"JavaScript"}, "v8": {"JavaScript"},
"v8-shell": {"JavaScript"}, "v8-shell": {"JavaScript"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -13,6 +13,7 @@ var LanguagesMime = map[string]string{
"Ant Build System": "application/xml", "Ant Build System": "application/xml",
"Apex": "text/x-java", "Apex": "text/x-java",
"Asymptote": "text/x-kotlin", "Asymptote": "text/x-kotlin",
"BibTeX": "text/x-stex",
"Brainfuck": "text/x-brainfuck", "Brainfuck": "text/x-brainfuck",
"C": "text/x-csrc", "C": "text/x-csrc",
"C#": "text/x-csharp", "C#": "text/x-csharp",
@ -50,7 +51,7 @@ var LanguagesMime = map[string]string{
"Easybuild": "text/x-python", "Easybuild": "text/x-python",
"Ecere Projects": "application/json", "Ecere Projects": "application/json",
"EditorConfig": "text/x-properties", "EditorConfig": "text/x-properties",
"Edje Data Collection": "application/json", "Edje Data Collection": "text/x-c++src",
"Eiffel": "text/x-eiffel", "Eiffel": "text/x-eiffel",
"Elm": "text/x-elm", "Elm": "text/x-elm",
"Emacs Lisp": "text/x-common-lisp", "Emacs Lisp": "text/x-common-lisp",
@ -146,7 +147,6 @@ var LanguagesMime = map[string]string{
"PLpgSQL": "text/x-sql", "PLpgSQL": "text/x-sql",
"Pascal": "text/x-pascal", "Pascal": "text/x-pascal",
"Perl": "text/x-perl", "Perl": "text/x-perl",
"Perl 6": "text/x-perl",
"Pic": "text/troff", "Pic": "text/troff",
"Pod": "text/x-perl", "Pod": "text/x-perl",
"PowerShell": "application/x-powershell", "PowerShell": "application/x-powershell",
@ -161,6 +161,7 @@ var LanguagesMime = map[string]string{
"RHTML": "application/x-erb", "RHTML": "application/x-erb",
"RMarkdown": "text/x-gfm", "RMarkdown": "text/x-gfm",
"RPM Spec": "text/x-rpm-spec", "RPM Spec": "text/x-rpm-spec",
"Raku": "text/x-perl",
"Reason": "text/x-rustsrc", "Reason": "text/x-rustsrc",
"Roff": "text/troff", "Roff": "text/troff",
"Roff Manpage": "text/troff", "Roff Manpage": "text/troff",
@ -174,6 +175,7 @@ var LanguagesMime = map[string]string{
"SQLPL": "text/x-sql", "SQLPL": "text/x-sql",
"SRecode Template": "text/x-common-lisp", "SRecode Template": "text/x-common-lisp",
"SVG": "text/xml", "SVG": "text/xml",
"SWIG": "text/x-c++src",
"Sage": "text/x-python", "Sage": "text/x-python",
"SaltStack": "text/x-yaml", "SaltStack": "text/x-yaml",
"Sass": "text/x-sass", "Sass": "text/x-sass",
@ -186,6 +188,7 @@ var LanguagesMime = map[string]string{
"Smarty": "text/x-smarty", "Smarty": "text/x-smarty",
"Squirrel": "text/x-c++src", "Squirrel": "text/x-c++src",
"Standard ML": "text/x-ocaml", "Standard ML": "text/x-ocaml",
"Starlark": "text/x-python",
"Svelte": "text/html", "Svelte": "text/html",
"Swift": "text/x-swift", "Swift": "text/x-swift",
"SystemVerilog": "text/x-systemverilog", "SystemVerilog": "text/x-systemverilog",
@ -203,9 +206,12 @@ var LanguagesMime = map[string]string{
"Unity3D Asset": "text/x-yaml", "Unity3D Asset": "text/x-yaml",
"Uno": "text/x-csharp", "Uno": "text/x-csharp",
"UnrealScript": "text/x-java", "UnrealScript": "text/x-java",
"V": "text/x-go",
"VBA": "text/x-vb",
"VBScript": "text/vbscript",
"VHDL": "text/x-vhdl", "VHDL": "text/x-vhdl",
"Verilog": "text/x-verilog", "Verilog": "text/x-verilog",
"Visual Basic": "text/x-vb", "Visual Basic .NET": "text/x-vb",
"Volt": "text/x-d", "Volt": "text/x-d",
"WebAssembly": "text/x-common-lisp", "WebAssembly": "text/x-common-lisp",
"WebIDL": "text/x-webidl", "WebIDL": "text/x-webidl",
@ -214,6 +220,7 @@ var LanguagesMime = map[string]string{
"X PixMap": "text/x-csrc", "X PixMap": "text/x-csrc",
"XC": "text/x-csrc", "XC": "text/x-csrc",
"XML": "text/xml", "XML": "text/xml",
"XML Property List": "text/xml",
"XPages": "text/xml", "XPages": "text/xml",
"XProc": "text/xml", "XProc": "text/xml",
"XQuery": "application/xquery", "XQuery": "application/xquery",

View File

@ -1,10 +1,11 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
var LanguagesType = map[string]int{ var LanguagesType = map[string]int{
"1C Enterprise": 2, "1C Enterprise": 2,
"4D": 2,
"ABAP": 2, "ABAP": 2,
"ABNF": 1, "ABNF": 1,
"AGS Script": 2, "AGS Script": 2,
@ -40,6 +41,7 @@ var LanguagesType = map[string]int{
"Ballerina": 2, "Ballerina": 2,
"Batchfile": 2, "Batchfile": 2,
"Befunge": 2, "Befunge": 2,
"BibTeX": 3,
"Bison": 2, "Bison": 2,
"BitBake": 2, "BitBake": 2,
"Blade": 3, "Blade": 3,
@ -77,6 +79,7 @@ var LanguagesType = map[string]int{
"Closure Templates": 3, "Closure Templates": 3,
"Cloud Firestore Security Rules": 1, "Cloud Firestore Security Rules": 1,
"CoNLL-U": 1, "CoNLL-U": 1,
"CodeQL": 2,
"CoffeeScript": 2, "CoffeeScript": 2,
"ColdFusion": 2, "ColdFusion": 2,
"ColdFusion CFC": 2, "ColdFusion CFC": 2,
@ -105,6 +108,7 @@ var LanguagesType = map[string]int{
"DataWeave": 2, "DataWeave": 2,
"Dhall": 2, "Dhall": 2,
"Diff": 1, "Diff": 1,
"DirectX 3D File": 1,
"Dockerfile": 2, "Dockerfile": 2,
"Dogescript": 2, "Dogescript": 2,
"Dylan": 2, "Dylan": 2,
@ -133,6 +137,7 @@ var LanguagesType = map[string]int{
"Factor": 2, "Factor": 2,
"Fancy": 2, "Fancy": 2,
"Fantom": 2, "Fantom": 2,
"Faust": 2,
"Filebench WML": 2, "Filebench WML": 2,
"Filterscript": 2, "Filterscript": 2,
"Formatted": 1, "Formatted": 1,
@ -141,6 +146,7 @@ var LanguagesType = map[string]int{
"FreeMarker": 2, "FreeMarker": 2,
"Frege": 2, "Frege": 2,
"G-code": 2, "G-code": 2,
"GAML": 2,
"GAMS": 2, "GAMS": 2,
"GAP": 2, "GAP": 2,
"GCC Machine Description": 2, "GCC Machine Description": 2,
@ -262,6 +268,7 @@ var LanguagesType = map[string]int{
"M4Sugar": 2, "M4Sugar": 2,
"MATLAB": 2, "MATLAB": 2,
"MAXScript": 2, "MAXScript": 2,
"MLIR": 2,
"MQL4": 2, "MQL4": 2,
"MQL5": 2, "MQL5": 2,
"MTML": 3, "MTML": 3,
@ -278,6 +285,7 @@ var LanguagesType = map[string]int{
"Mercury": 2, "Mercury": 2,
"Meson": 2, "Meson": 2,
"Metal": 2, "Metal": 2,
"Microsoft Developer Studio Project": 1,
"MiniD": 2, "MiniD": 2,
"Mirah": 2, "Mirah": 2,
"Modelica": 2, "Modelica": 2,
@ -288,9 +296,12 @@ var LanguagesType = map[string]int{
"Moocode": 2, "Moocode": 2,
"MoonScript": 2, "MoonScript": 2,
"Motorola 68K Assembly": 2, "Motorola 68K Assembly": 2,
"Muse": 4,
"Myghty": 2, "Myghty": 2,
"NASL": 2,
"NCL": 2, "NCL": 2,
"NL": 1, "NL": 1,
"NPM Config": 1,
"NSIS": 2, "NSIS": 2,
"Nearley": 2, "Nearley": 2,
"Nemerle": 2, "Nemerle": 2,
@ -308,17 +319,22 @@ var LanguagesType = map[string]int{
"NumPy": 2, "NumPy": 2,
"OCaml": 2, "OCaml": 2,
"ObjDump": 1, "ObjDump": 1,
"Object Data Instance Notation": 1,
"ObjectScript": 2, "ObjectScript": 2,
"Objective-C": 2, "Objective-C": 2,
"Objective-C++": 2, "Objective-C++": 2,
"Objective-J": 2, "Objective-J": 2,
"Odin": 2,
"Omgrofl": 2, "Omgrofl": 2,
"Opa": 2, "Opa": 2,
"Opal": 2, "Opal": 2,
"Open Policy Agent": 2,
"OpenCL": 2, "OpenCL": 2,
"OpenEdge ABL": 2, "OpenEdge ABL": 2,
"OpenQASM": 2,
"OpenRC runscript": 2, "OpenRC runscript": 2,
"OpenSCAD": 2, "OpenSCAD": 2,
"OpenStep Property List": 1,
"OpenType Feature File": 1, "OpenType Feature File": 1,
"Org": 4, "Org": 4,
"Ox": 2, "Ox": 2,
@ -338,12 +354,12 @@ var LanguagesType = map[string]int{
"Pawn": 2, "Pawn": 2,
"Pep8": 2, "Pep8": 2,
"Perl": 2, "Perl": 2,
"Perl 6": 2,
"Pic": 3, "Pic": 3,
"Pickle": 1, "Pickle": 1,
"PicoLisp": 2, "PicoLisp": 2,
"PigLatin": 2, "PigLatin": 2,
"Pike": 2, "Pike": 2,
"PlantUML": 1,
"Pod": 4, "Pod": 4,
"Pod 6": 4, "Pod 6": 4,
"PogoScript": 2, "PogoScript": 2,
@ -352,7 +368,9 @@ var LanguagesType = map[string]int{
"PostScript": 3, "PostScript": 3,
"PowerBuilder": 2, "PowerBuilder": 2,
"PowerShell": 2, "PowerShell": 2,
"Prisma": 1,
"Processing": 2, "Processing": 2,
"Proguard": 1,
"Prolog": 2, "Prolog": 2,
"Propeller Spin": 2, "Propeller Spin": 2,
"Protocol Buffer": 1, "Protocol Buffer": 1,
@ -380,8 +398,10 @@ var LanguagesType = map[string]int{
"RUNOFF": 3, "RUNOFF": 3,
"Racket": 2, "Racket": 2,
"Ragel": 2, "Ragel": 2,
"Raku": 2,
"Rascal": 2, "Rascal": 2,
"Raw token data": 1, "Raw token data": 1,
"Readline Config": 1,
"Reason": 2, "Reason": 2,
"Rebol": 2, "Rebol": 2,
"Red": 2, "Red": 2,
@ -391,6 +411,7 @@ var LanguagesType = map[string]int{
"RenderScript": 2, "RenderScript": 2,
"Rich Text Format": 3, "Rich Text Format": 3,
"Ring": 2, "Ring": 2,
"Riot": 3,
"RobotFramework": 2, "RobotFramework": 2,
"Roff": 3, "Roff": 3,
"Roff Manpage": 3, "Roff Manpage": 3,
@ -408,6 +429,7 @@ var LanguagesType = map[string]int{
"SSH Config": 1, "SSH Config": 1,
"STON": 1, "STON": 1,
"SVG": 1, "SVG": 1,
"SWIG": 2,
"Sage": 2, "Sage": 2,
"SaltStack": 2, "SaltStack": 2,
"Sass": 3, "Sass": 3,
@ -423,6 +445,7 @@ var LanguagesType = map[string]int{
"Slash": 2, "Slash": 2,
"Slice": 2, "Slice": 2,
"Slim": 3, "Slim": 3,
"SmPL": 2,
"Smali": 2, "Smali": 2,
"Smalltalk": 2, "Smalltalk": 2,
"Smarty": 2, "Smarty": 2,
@ -432,6 +455,7 @@ var LanguagesType = map[string]int{
"Squirrel": 2, "Squirrel": 2,
"Stan": 2, "Stan": 2,
"Standard ML": 2, "Standard ML": 2,
"Starlark": 2,
"Stata": 2, "Stata": 2,
"Stylus": 3, "Stylus": 3,
"SubRip Text": 1, "SubRip Text": 1,
@ -451,6 +475,7 @@ var LanguagesType = map[string]int{
"TeX": 3, "TeX": 3,
"Tea": 3, "Tea": 3,
"Terra": 2, "Terra": 2,
"Texinfo": 4,
"Text": 4, "Text": 4,
"Textile": 4, "Textile": 4,
"Thrift": 2, "Thrift": 2,
@ -465,12 +490,16 @@ var LanguagesType = map[string]int{
"Uno": 2, "Uno": 2,
"UnrealScript": 2, "UnrealScript": 2,
"UrWeb": 2, "UrWeb": 2,
"V": 2,
"VBA": 2,
"VBScript": 2,
"VCL": 2, "VCL": 2,
"VHDL": 2, "VHDL": 2,
"Vala": 2, "Vala": 2,
"Verilog": 2, "Verilog": 2,
"Vim Snippet": 3,
"Vim script": 2, "Vim script": 2,
"Visual Basic": 2, "Visual Basic .NET": 2,
"Volt": 2, "Volt": 2,
"Vue": 3, "Vue": 3,
"Wavefront Material": 1, "Wavefront Material": 1,
@ -479,6 +508,7 @@ var LanguagesType = map[string]int{
"WebAssembly": 2, "WebAssembly": 2,
"WebIDL": 2, "WebIDL": 2,
"WebVTT": 1, "WebVTT": 1,
"Wget Config": 1,
"Windows Registry Entries": 1, "Windows Registry Entries": 1,
"Wollok": 2, "Wollok": 2,
"World of Warcraft Addon Data": 1, "World of Warcraft Addon Data": 1,
@ -489,6 +519,7 @@ var LanguagesType = map[string]int{
"XC": 2, "XC": 2,
"XCompose": 1, "XCompose": 1,
"XML": 1, "XML": 1,
"XML Property List": 1,
"XPages": 1, "XPages": 1,
"XProc": 2, "XProc": 2,
"XQuery": 2, "XQuery": 2,
@ -508,10 +539,13 @@ var LanguagesType = map[string]int{
"Zephir": 2, "Zephir": 2,
"Zig": 2, "Zig": 2,
"Zimpl": 2, "Zimpl": 2,
"cURL Config": 1,
"desktop": 1, "desktop": 1,
"dircolors": 1,
"eC": 2, "eC": 2,
"edn": 1, "edn": 1,
"fish": 2, "fish": 2,
"mIRC Script": 2,
"mcfunction": 2, "mcfunction": 2,
"mupad": 2, "mupad": 2,
"nanorc": 1, "nanorc": 1,

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d // Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
package data package data
@ -19,8 +19,11 @@ var VendorMatchers = substring.Or(
substring.Regexp(`(^|/)ltsugar.m4`), substring.Regexp(`(^|/)ltsugar.m4`),
substring.Regexp(`(^|/)ltversion.m4`), substring.Regexp(`(^|/)ltversion.m4`),
substring.Regexp(`(^|/)lt~obsolete.m4`), substring.Regexp(`(^|/)lt~obsolete.m4`),
substring.Regexp(`dotnet-install\.(ps1|sh)$`),
substring.Regexp(`cpplint.py`), substring.Regexp(`cpplint.py`),
substring.Regexp(`node_modules/`), substring.Regexp(`node_modules/`),
substring.Regexp(`(^|/)\.yarn/releases/`),
substring.Regexp(`(^|/)_esy$`),
substring.Regexp(`bower_components/`), substring.Regexp(`bower_components/`),
substring.Regexp(`^rebar$`), substring.Regexp(`^rebar$`),
substring.Regexp(`erlang.mk`), substring.Regexp(`erlang.mk`),