Merge pull request #169 from go-enry/feature/sync-linguist-bf853f1c

Update Linguist to v7.26.0
This commit is contained in:
Alex 2023-09-22 15:10:58 +02:00 committed by GitHub
commit 6d9d5e9184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 77228 additions and 57532 deletions

View File

@ -156,10 +156,12 @@ Generated Rust bindings using a C static library are available at https://github
## Divergences from Linguist ## Divergences from Linguist
The `enry` library is based on the data from `github/linguist` version **v7.23.0**. The `enry` library is based on the data from `github/linguist` version **v7.26.0**.
Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist: Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist:
- [Heuristic for ".plist" extension](https://github.com/github-linguist/linguist/blob/b5432ebc7e78f25415b98d48c2fbacddbf8df317/lib/linguist/heuristics.yml#L524) in 'XML Property List', due to unsupported backreference in RE2 regexp engine.
- [Heuristics for ".txt" extension](https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L521) in Vim Help File could not be parsed, due to unsupported negative lookahead in RE2 regexp engine. - [Heuristics for ".txt" extension](https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L521) in Vim Help File could not be parsed, due to unsupported negative lookahead in RE2 regexp engine.
- [Heuristics for ".sol" extension](https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L464) in Solidity could not be parsed, due to unsupported negative lookahead in RE2 regexp engine. - [Heuristics for ".sol" extension](https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L464) in Solidity could not be parsed, due to unsupported negative lookahead in RE2 regexp engine.

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -17,6 +17,7 @@ var LanguageByAliasMap = map[string]string{
"abnf": "ABNF", "abnf": "ABNF",
"abuild": "Alpine Abuild", "abuild": "Alpine Abuild",
"acfm": "Adobe Font Metrics", "acfm": "Adobe Font Metrics",
"ackrc": "Option List",
"aconf": "ApacheConf", "aconf": "ApacheConf",
"actionscript": "ActionScript", "actionscript": "ActionScript",
"actionscript3": "ActionScript", "actionscript3": "ActionScript",
@ -152,10 +153,12 @@ var LanguageByAliasMap = map[string]string{
"chpl": "Chapel", "chpl": "Chapel",
"chuck": "ChucK", "chuck": "ChucK",
"cil": "CIL", "cil": "CIL",
"circom": "Circom",
"cirru": "Cirru", "cirru": "Cirru",
"clarion": "Clarion", "clarion": "Clarion",
"clarity": "Clarity", "clarity": "Clarity",
"classic_asp": "Classic ASP", "classic_asp": "Classic ASP",
"classic_visual_basic": "Visual Basic 6.0",
"clean": "Clean", "clean": "Clean",
"click": "Click", "click": "Click",
"clipper": "xBase", "clipper": "xBase",
@ -210,9 +213,12 @@ var LanguageByAliasMap = map[string]string{
"cweb": "CWeb", "cweb": "CWeb",
"cwl": "Common Workflow Language", "cwl": "Common Workflow Language",
"cycript": "Cycript", "cycript": "Cycript",
"cypher": "Cypher",
"cython": "Cython", "cython": "Cython",
"d": "D", "d": "D",
"d-objdump": "D-ObjDump", "d-objdump": "D-ObjDump",
"d2": "D2",
"d2lang": "D2",
"dafny": "Dafny", "dafny": "Dafny",
"darcs_patch": "Darcs Patch", "darcs_patch": "Darcs Patch",
"dart": "Dart", "dart": "Dart",
@ -235,6 +241,7 @@ var LanguageByAliasMap = map[string]string{
"dogescript": "Dogescript", "dogescript": "Dogescript",
"dosbatch": "Batchfile", "dosbatch": "Batchfile",
"dosini": "INI", "dosini": "INI",
"dotenv": "Dotenv",
"dpatch": "Darcs Patch", "dpatch": "Darcs Patch",
"dtrace": "DTrace", "dtrace": "DTrace",
"dtrace-script": "DTrace", "dtrace-script": "DTrace",
@ -250,6 +257,8 @@ var LanguageByAliasMap = map[string]string{
"ecere_projects": "Ecere Projects", "ecere_projects": "Ecere Projects",
"ecl": "ECL", "ecl": "ECL",
"eclipse": "ECLiPSe", "eclipse": "ECLiPSe",
"ecmarkdown": "Ecmarkup",
"ecmarkup": "Ecmarkup",
"ecr": "HTML+ECR", "ecr": "HTML+ECR",
"editor-config": "EditorConfig", "editor-config": "EditorConfig",
"editorconfig": "EditorConfig", "editorconfig": "EditorConfig",
@ -263,6 +272,7 @@ var LanguageByAliasMap = map[string]string{
"elixir": "Elixir", "elixir": "Elixir",
"elm": "Elm", "elm": "Elm",
"elvish": "Elvish", "elvish": "Elvish",
"elvish_transcript": "Elvish Transcript",
"emacs": "Emacs Lisp", "emacs": "Emacs Lisp",
"emacs_lisp": "Emacs Lisp", "emacs_lisp": "Emacs Lisp",
"emacs_muse": "Muse", "emacs_muse": "Muse",
@ -345,10 +355,16 @@ var LanguageByAliasMap = map[string]string{
"go": "Go", "go": "Go",
"go.mod": "Go Module", "go.mod": "Go Module",
"go.sum": "Go Checksums", "go.sum": "Go Checksums",
"go.work": "Go Workspace",
"go.work.sum": "Go Checksums",
"go_checksums": "Go Checksums", "go_checksums": "Go Checksums",
"go_mod": "Go Module", "go_mod": "Go Module",
"go_module": "Go Module", "go_module": "Go Module",
"go_sum": "Go Checksums", "go_sum": "Go Checksums",
"go_work": "Go Workspace",
"go_work_sum": "Go Checksums",
"go_workspace": "Go Workspace",
"godot_resource": "Godot Resource",
"golang": "Go", "golang": "Go",
"golo": "Golo", "golo": "Golo",
"gosu": "Gosu", "gosu": "Gosu",
@ -382,6 +398,7 @@ var LanguageByAliasMap = map[string]string{
"hocon": "HOCON", "hocon": "HOCON",
"holyc": "HolyC", "holyc": "HolyC",
"hoon": "hoon", "hoon": "hoon",
"hosts_file": "Hosts File",
"html": "HTML", "html": "HTML",
"html+django": "Jinja", "html+django": "Jinja",
"html+ecr": "HTML+ECR", "html+ecr": "HTML+ECR",
@ -409,10 +426,12 @@ var LanguageByAliasMap = map[string]string{
"ijm": "ImageJ Macro", "ijm": "ImageJ Macro",
"ile_rpg": "RPGLE", "ile_rpg": "RPGLE",
"imagej_macro": "ImageJ Macro", "imagej_macro": "ImageJ Macro",
"imba": "Imba",
"inc": "PHP", "inc": "PHP",
"inform7": "Inform 7", "inform7": "Inform 7",
"inform_7": "Inform 7", "inform_7": "Inform 7",
"ini": "INI", "ini": "INI",
"ink": "Ink",
"inno_setup": "Inno Setup", "inno_setup": "Inno Setup",
"inputrc": "Readline Config", "inputrc": "Readline Config",
"io": "Io", "io": "Io",
@ -433,6 +452,7 @@ var LanguageByAliasMap = map[string]string{
"java_server_pages": "Java Server Pages", "java_server_pages": "Java Server Pages",
"javascript": "JavaScript", "javascript": "JavaScript",
"javascript+erb": "JavaScript+ERB", "javascript+erb": "JavaScript+ERB",
"jcl": "JCL",
"jest_snapshot": "Jest Snapshot", "jest_snapshot": "Jest Snapshot",
"jetbrains_mps": "JetBrains MPS", "jetbrains_mps": "JetBrains MPS",
"jflex": "JFlex", "jflex": "JFlex",
@ -454,14 +474,18 @@ var LanguageByAliasMap = map[string]string{
"jsp": "Java Server Pages", "jsp": "Java Server Pages",
"julia": "Julia", "julia": "Julia",
"jupyter_notebook": "Jupyter Notebook", "jupyter_notebook": "Jupyter Notebook",
"just": "Just",
"justfile": "Just",
"kaitai_struct": "Kaitai Struct", "kaitai_struct": "Kaitai Struct",
"kak": "KakouneScript", "kak": "KakouneScript",
"kakounescript": "KakouneScript", "kakounescript": "KakouneScript",
"kakscript": "KakouneScript", "kakscript": "KakouneScript",
"kerboscript": "KerboScript",
"keyvalues": "Valve Data Format", "keyvalues": "Valve Data Format",
"kicad_layout": "KiCad Layout", "kicad_layout": "KiCad Layout",
"kicad_legacy_layout": "KiCad Legacy Layout", "kicad_legacy_layout": "KiCad Legacy Layout",
"kicad_schematic": "KiCad Schematic", "kicad_schematic": "KiCad Schematic",
"kickstart": "Kickstart",
"kit": "Kit", "kit": "Kit",
"kotlin": "Kotlin", "kotlin": "Kotlin",
"krl": "KRL", "krl": "KRL",
@ -533,9 +557,13 @@ var LanguageByAliasMap = map[string]string{
"maxscript": "MAXScript", "maxscript": "MAXScript",
"mbox": "E-mail", "mbox": "E-mail",
"mcfunction": "mcfunction", "mcfunction": "mcfunction",
"md": "Markdown",
"mdoc": "Roff", "mdoc": "Roff",
"mdx": "MDX",
"mediawiki": "Wikitext", "mediawiki": "Wikitext",
"mercury": "Mercury", "mercury": "Mercury",
"mermaid": "Mermaid",
"mermaid_example": "Mermaid",
"meson": "Meson", "meson": "Meson",
"metal": "Metal", "metal": "Metal",
"mf": "Makefile", "mf": "Makefile",
@ -601,11 +629,20 @@ var LanguageByAliasMap = map[string]string{
"nroff": "Roff", "nroff": "Roff",
"nsis": "NSIS", "nsis": "NSIS",
"nu": "Nu", "nu": "Nu",
"nu-script": "Nushell",
"numpy": "NumPy", "numpy": "NumPy",
"nunjucks": "Nunjucks", "nunjucks": "Nunjucks",
"nush": "Nu", "nush": "Nu",
"nushell": "Nushell",
"nushell-script": "Nushell",
"nvim": "Vim Script", "nvim": "Vim Script",
"nwscript": "NWScript", "nwscript": "NWScript",
"oasv2": "OpenAPI Specification v2",
"oasv2-json": "OASv2-json",
"oasv2-yaml": "OASv2-yaml",
"oasv3": "OpenAPI Specification v3",
"oasv3-json": "OASv3-json",
"oasv3-yaml": "OASv3-yaml",
"obj-c": "Objective-C", "obj-c": "Objective-C",
"obj-c++": "Objective-C++", "obj-c++": "Objective-C++",
"obj-j": "Objective-J", "obj-j": "Objective-J",
@ -633,6 +670,8 @@ var LanguageByAliasMap = map[string]string{
"opa": "Opa", "opa": "Opa",
"opal": "Opal", "opal": "Opal",
"open_policy_agent": "Open Policy Agent", "open_policy_agent": "Open Policy Agent",
"openapi_specification_v2": "OpenAPI Specification v2",
"openapi_specification_v3": "OpenAPI Specification v3",
"opencl": "OpenCL", "opencl": "OpenCL",
"openedge": "OpenEdge ABL", "openedge": "OpenEdge ABL",
"openedge_abl": "OpenEdge ABL", "openedge_abl": "OpenEdge ABL",
@ -642,12 +681,15 @@ var LanguageByAliasMap = map[string]string{
"openscad": "OpenSCAD", "openscad": "OpenSCAD",
"openstep_property_list": "OpenStep Property List", "openstep_property_list": "OpenStep Property List",
"opentype_feature_file": "OpenType Feature File", "opentype_feature_file": "OpenType Feature File",
"option_list": "Option List",
"opts": "Option List",
"org": "Org", "org": "Org",
"osascript": "AppleScript", "osascript": "AppleScript",
"ox": "Ox", "ox": "Ox",
"oxygene": "Oxygene", "oxygene": "Oxygene",
"oz": "Oz", "oz": "Oz",
"p4": "P4", "p4": "P4",
"pact": "Pact",
"pan": "Pan", "pan": "Pan",
"pandoc": "Markdown", "pandoc": "Markdown",
"papyrus": "Papyrus", "papyrus": "Papyrus",
@ -658,6 +700,7 @@ var LanguageByAliasMap = map[string]string{
"pasm": "Parrot Assembly", "pasm": "Parrot Assembly",
"pawn": "Pawn", "pawn": "Pawn",
"pcbnew": "KiCad Layout", "pcbnew": "KiCad Layout",
"pddl": "PDDL",
"peg.js": "PEG.js", "peg.js": "PEG.js",
"pep8": "Pep8", "pep8": "Pep8",
"perl": "Perl", "perl": "Perl",
@ -677,6 +720,7 @@ var LanguageByAliasMap = map[string]string{
"pod": "Pod", "pod": "Pod",
"pod_6": "Pod 6", "pod_6": "Pod 6",
"pogoscript": "PogoScript", "pogoscript": "PogoScript",
"polar": "Polar",
"pony": "Pony", "pony": "Pony",
"portugol": "Portugol", "portugol": "Portugol",
"posh": "PowerShell", "posh": "PowerShell",
@ -697,6 +741,7 @@ var LanguageByAliasMap = map[string]string{
"prolog": "Prolog", "prolog": "Prolog",
"promela": "Promela", "promela": "Promela",
"propeller_spin": "Propeller Spin", "propeller_spin": "Propeller Spin",
"proto": "Protocol Buffer",
"protobuf": "Protocol Buffer", "protobuf": "Protocol Buffer",
"protobuf_text_format": "Protocol Buffer Text Format", "protobuf_text_format": "Protocol Buffer Text Format",
"protocol_buffer": "Protocol Buffer", "protocol_buffer": "Protocol Buffer",
@ -710,6 +755,7 @@ var LanguageByAliasMap = map[string]string{
"purescript": "PureScript", "purescript": "PureScript",
"pwsh": "PowerShell", "pwsh": "PowerShell",
"pycon": "Python console", "pycon": "Python console",
"pyret": "Pyret",
"pyrex": "Cython", "pyrex": "Cython",
"python": "Python", "python": "Python",
"python3": "Python", "python3": "Python",
@ -736,6 +782,7 @@ var LanguageByAliasMap = map[string]string{
"raw_token_data": "Raw token data", "raw_token_data": "Raw token data",
"razor": "HTML+Razor", "razor": "HTML+Razor",
"rb": "Ruby", "rb": "Ruby",
"rbs": "RBS",
"rbx": "Ruby", "rbx": "Ruby",
"rdoc": "RDoc", "rdoc": "RDoc",
"readline": "Readline Config", "readline": "Readline Config",
@ -793,14 +840,17 @@ var LanguageByAliasMap = map[string]string{
"sass": "Sass", "sass": "Sass",
"scala": "Scala", "scala": "Scala",
"scaml": "Scaml", "scaml": "Scaml",
"scenic": "Scenic",
"scheme": "Scheme", "scheme": "Scheme",
"scilab": "Scilab", "scilab": "Scilab",
"scss": "SCSS", "scss": "SCSS",
"sdc": "Tcl",
"sed": "sed", "sed": "sed",
"self": "Self", "self": "Self",
"selinux_kernel_policy_language": "SELinux Policy", "selinux_kernel_policy_language": "SELinux Policy",
"selinux_policy": "SELinux Policy", "selinux_policy": "SELinux Policy",
"sepolicy": "SELinux Policy", "sepolicy": "SELinux Policy",
"sfv": "Simple File Verification",
"sh": "Shell", "sh": "Shell",
"shaderlab": "ShaderLab", "shaderlab": "ShaderLab",
"shell": "Shell", "shell": "Shell",
@ -810,6 +860,7 @@ var LanguageByAliasMap = map[string]string{
"shellsession": "ShellSession", "shellsession": "ShellSession",
"shen": "Shen", "shen": "Shen",
"sieve": "Sieve", "sieve": "Sieve",
"simple_file_verification": "Simple File Verification",
"singularity": "Singularity", "singularity": "Singularity",
"slash": "Slash", "slash": "Slash",
"slice": "Slice", "slice": "Slice",
@ -817,9 +868,12 @@ var LanguageByAliasMap = map[string]string{
"smali": "Smali", "smali": "Smali",
"smalltalk": "Smalltalk", "smalltalk": "Smalltalk",
"smarty": "Smarty", "smarty": "Smarty",
"smithy": "Smithy",
"sml": "Standard ML", "sml": "Standard ML",
"smpl": "SmPL", "smpl": "SmPL",
"smt": "SMT", "smt": "SMT",
"snakefile": "Snakemake",
"snakemake": "Snakemake",
"snipmate": "Vim Snippet", "snipmate": "Vim Snippet",
"snippet": "YASnippet", "snippet": "YASnippet",
"solidity": "Solidity", "solidity": "Solidity",
@ -856,6 +910,7 @@ var LanguageByAliasMap = map[string]string{
"supercollider": "SuperCollider", "supercollider": "SuperCollider",
"svelte": "Svelte", "svelte": "Svelte",
"svg": "SVG", "svg": "SVG",
"sway": "Sway",
"swift": "Swift", "swift": "Swift",
"swig": "SWIG", "swig": "SWIG",
"systemverilog": "SystemVerilog", "systemverilog": "SystemVerilog",
@ -874,6 +929,7 @@ var LanguageByAliasMap = map[string]string{
"thrift": "Thrift", "thrift": "Thrift",
"ti_program": "TI Program", "ti_program": "TI Program",
"tl": "Type Language", "tl": "Type Language",
"tl-verilog": "TL-Verilog",
"tla": "TLA", "tla": "TLA",
"tm-properties": "TextMate Properties", "tm-properties": "TextMate Properties",
"toml": "TOML", "toml": "TOML",
@ -905,8 +961,9 @@ var LanguageByAliasMap = map[string]string{
"vala": "Vala", "vala": "Vala",
"valve_data_format": "Valve Data Format", "valve_data_format": "Valve Data Format",
"vb.net": "Visual Basic .NET", "vb.net": "Visual Basic .NET",
"vb6": "VBA", "vb6": "Visual Basic 6.0",
"vb_.net": "Visual Basic .NET", "vb_.net": "Visual Basic .NET",
"vb_6": "Visual Basic 6.0",
"vba": "VBA", "vba": "VBA",
"vbnet": "Visual Basic .NET", "vbnet": "Visual Basic .NET",
"vbscript": "VBScript", "vbscript": "VBScript",
@ -924,7 +981,9 @@ var LanguageByAliasMap = map[string]string{
"viml": "Vim Script", "viml": "Vim Script",
"visual_basic": "Visual Basic .NET", "visual_basic": "Visual Basic .NET",
"visual_basic_.net": "Visual Basic .NET", "visual_basic_.net": "Visual Basic .NET",
"visual_basic_6": "VBA", "visual_basic_6": "Visual Basic 6.0",
"visual_basic_6.0": "Visual Basic 6.0",
"visual_basic_classic": "Visual Basic 6.0",
"visual_basic_for_applications": "VBA", "visual_basic_for_applications": "VBA",
"vlang": "V", "vlang": "V",
"volt": "Volt", "volt": "Volt",
@ -936,13 +995,15 @@ var LanguageByAliasMap = map[string]string{
"wast": "WebAssembly", "wast": "WebAssembly",
"wavefront_material": "Wavefront Material", "wavefront_material": "Wavefront Material",
"wavefront_object": "Wavefront Object", "wavefront_object": "Wavefront Object",
"wdl": "wdl", "wdl": "WDL",
"web_ontology_language": "Web Ontology Language", "web_ontology_language": "Web Ontology Language",
"webassembly": "WebAssembly", "webassembly": "WebAssembly",
"webassembly_interface_type": "WebAssembly Interface Type",
"webidl": "WebIDL", "webidl": "WebIDL",
"webvtt": "WebVTT", "webvtt": "WebVTT",
"wget_config": "Wget Config", "wget_config": "Wget Config",
"wgetrc": "Wget Config", "wgetrc": "Wget Config",
"wgsl": "WGSL",
"whiley": "Whiley", "whiley": "Whiley",
"wiki": "Wikitext", "wiki": "Wikitext",
"wikitext": "Wikitext", "wikitext": "Wikitext",
@ -950,12 +1011,14 @@ var LanguageByAliasMap = map[string]string{
"winbatch": "Batchfile", "winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries", "windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp", "wisp": "wisp",
"wit": "WebAssembly Interface Type",
"witcher_script": "Witcher Script", "witcher_script": "Witcher Script",
"wl": "Mathematica", "wl": "Mathematica",
"wolfram": "Mathematica", "wolfram": "Mathematica",
"wolfram_lang": "Mathematica", "wolfram_lang": "Mathematica",
"wolfram_language": "Mathematica", "wolfram_language": "Mathematica",
"wollok": "Wollok", "wollok": "Wollok",
"workflow_description_language": "WDL",
"world_of_warcraft_addon_data": "World of Warcraft Addon Data", "world_of_warcraft_addon_data": "World of Warcraft Addon Data",
"wren": "Wren", "wren": "Wren",
"wrenlang": "Wren", "wrenlang": "Wren",
@ -968,6 +1031,7 @@ var LanguageByAliasMap = map[string]string{
"xbm": "X BitMap", "xbm": "X BitMap",
"xc": "XC", "xc": "XC",
"xcompose": "XCompose", "xcompose": "XCompose",
"xdc": "Tcl",
"xdr": "RPC", "xdr": "RPC",
"xhtml": "HTML", "xhtml": "HTML",
"xml": "XML", "xml": "XML",

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -84,6 +84,7 @@ var LanguagesColor = map[string]string{
"Ceylon": "#dfa535", "Ceylon": "#dfa535",
"Chapel": "#8dc63f", "Chapel": "#8dc63f",
"ChucK": "#3f8000", "ChucK": "#3f8000",
"Circom": "#707575",
"Cirru": "#ccccff", "Cirru": "#ccccff",
"Clarion": "#db901e", "Clarion": "#db901e",
"Clarity": "#5546ff", "Clarity": "#5546ff",
@ -107,8 +108,10 @@ var LanguagesColor = map[string]string{
"Csound Score": "#1a1a1a", "Csound Score": "#1a1a1a",
"Cuda": "#3A4E3A", "Cuda": "#3A4E3A",
"Curry": "#531242", "Curry": "#531242",
"Cypher": "#34c0eb",
"Cython": "#fedf5b", "Cython": "#fedf5b",
"D": "#ba595e", "D": "#ba595e",
"D2": "#526ee8",
"DM": "#447265", "DM": "#447265",
"Dafny": "#FFEC25", "Dafny": "#FFEC25",
"Darcs Patch": "#8eff23", "Darcs Patch": "#8eff23",
@ -120,6 +123,7 @@ var LanguagesColor = map[string]string{
"DirectX 3D File": "#aace60", "DirectX 3D File": "#aace60",
"Dockerfile": "#384d54", "Dockerfile": "#384d54",
"Dogescript": "#cca760", "Dogescript": "#cca760",
"Dotenv": "#e5d559",
"Dylan": "#6c616e", "Dylan": "#6c616e",
"E": "#ccce35", "E": "#ccce35",
"ECL": "#8a1267", "ECL": "#8a1267",
@ -129,11 +133,13 @@ var LanguagesColor = map[string]string{
"Earthly": "#2af0ff", "Earthly": "#2af0ff",
"Easybuild": "#069406", "Easybuild": "#069406",
"Ecere Projects": "#913960", "Ecere Projects": "#913960",
"Ecmarkup": "#eb8131",
"EditorConfig": "#fff1f2", "EditorConfig": "#fff1f2",
"Eiffel": "#4d6977", "Eiffel": "#4d6977",
"Elixir": "#6e4a7e", "Elixir": "#6e4a7e",
"Elm": "#60B5CC", "Elm": "#60B5CC",
"Elvish": "#55BB55", "Elvish": "#55BB55",
"Elvish Transcript": "#55BB55",
"Emacs Lisp": "#c065db", "Emacs Lisp": "#c065db",
"EmberScript": "#FFF4F3", "EmberScript": "#FFF4F3",
"Erlang": "#B83998", "Erlang": "#B83998",
@ -152,7 +158,7 @@ var LanguagesColor = map[string]string{
"Forth": "#341708", "Forth": "#341708",
"Fortran": "#4d41b1", "Fortran": "#4d41b1",
"Fortran Free Form": "#4d41b1", "Fortran Free Form": "#4d41b1",
"FreeBasic": "#867db1", "FreeBasic": "#141AC9",
"FreeMarker": "#0050b2", "FreeMarker": "#0050b2",
"Frege": "#00cafe", "Frege": "#00cafe",
"Futhark": "#5f021f", "Futhark": "#5f021f",
@ -185,6 +191,8 @@ var LanguagesColor = map[string]string{
"Go": "#00ADD8", "Go": "#00ADD8",
"Go Checksums": "#00ADD8", "Go Checksums": "#00ADD8",
"Go Module": "#00ADD8", "Go Module": "#00ADD8",
"Go Workspace": "#00ADD8",
"Godot Resource": "#355570",
"Golo": "#88562A", "Golo": "#88562A",
"Gosu": "#82937f", "Gosu": "#82937f",
"Grace": "#615f8b", "Grace": "#615f8b",
@ -195,6 +203,7 @@ var LanguagesColor = map[string]string{
"Groovy": "#4298b8", "Groovy": "#4298b8",
"Groovy Server Pages": "#4298b8", "Groovy Server Pages": "#4298b8",
"HAProxy": "#106da9", "HAProxy": "#106da9",
"HCL": "#844FBA",
"HLSL": "#aace60", "HLSL": "#aace60",
"HOCON": "#9ff8ee", "HOCON": "#9ff8ee",
"HTML": "#e34c26", "HTML": "#e34c26",
@ -213,6 +222,7 @@ var LanguagesColor = map[string]string{
"Haxe": "#df7900", "Haxe": "#df7900",
"HiveQL": "#dce200", "HiveQL": "#dce200",
"HolyC": "#ffefaf", "HolyC": "#ffefaf",
"Hosts File": "#308888",
"Hy": "#7790B2", "Hy": "#7790B2",
"IDL": "#a3522f", "IDL": "#a3522f",
"IGOR Pro": "#0000cc", "IGOR Pro": "#0000cc",
@ -220,6 +230,7 @@ var LanguagesColor = map[string]string{
"Idris": "#b30000", "Idris": "#b30000",
"Ignore List": "#000000", "Ignore List": "#000000",
"ImageJ Macro": "#99AAFF", "ImageJ Macro": "#99AAFF",
"Imba": "#16cec6",
"Inno Setup": "#264b99", "Inno Setup": "#264b99",
"Io": "#a9188d", "Io": "#a9188d",
"Ioke": "#078193", "Ioke": "#078193",
@ -227,6 +238,7 @@ var LanguagesColor = map[string]string{
"Isabelle ROOT": "#FEFE00", "Isabelle ROOT": "#FEFE00",
"J": "#9EEDFF", "J": "#9EEDFF",
"JAR Manifest": "#b07219", "JAR Manifest": "#b07219",
"JCL": "#d90e09",
"JFlex": "#DBCA00", "JFlex": "#DBCA00",
"JSON": "#292929", "JSON": "#292929",
"JSON with Comments": "#292929", "JSON with Comments": "#292929",
@ -249,9 +261,11 @@ var LanguagesColor = map[string]string{
"Jsonnet": "#0064bd", "Jsonnet": "#0064bd",
"Julia": "#a270ba", "Julia": "#a270ba",
"Jupyter Notebook": "#DA5B0B", "Jupyter Notebook": "#DA5B0B",
"Just": "#384d54",
"KRL": "#28430A", "KRL": "#28430A",
"Kaitai Struct": "#773b37", "Kaitai Struct": "#773b37",
"KakouneScript": "#6f8042", "KakouneScript": "#6f8042",
"KerboScript": "#41adf0",
"KiCad Layout": "#2f4aab", "KiCad Layout": "#2f4aab",
"KiCad Legacy Layout": "#2f4aab", "KiCad Legacy Layout": "#2f4aab",
"KiCad Schematic": "#2f4aab", "KiCad Schematic": "#2f4aab",
@ -278,6 +292,7 @@ var LanguagesColor = map[string]string{
"Lua": "#000080", "Lua": "#000080",
"MATLAB": "#e16737", "MATLAB": "#e16737",
"MAXScript": "#00a6a6", "MAXScript": "#00a6a6",
"MDX": "#fcb32c",
"MLIR": "#5EC8DB", "MLIR": "#5EC8DB",
"MQL4": "#62A8D6", "MQL4": "#62A8D6",
"MQL5": "#4A76B8", "MQL5": "#4A76B8",
@ -291,6 +306,7 @@ var LanguagesColor = map[string]string{
"Mathematica": "#dd1100", "Mathematica": "#dd1100",
"Max": "#c4a79c", "Max": "#c4a79c",
"Mercury": "#ff2b2b", "Mercury": "#ff2b2b",
"Mermaid": "#ff3670",
"Meson": "#007800", "Meson": "#007800",
"Metal": "#8f14e9", "Metal": "#8f14e9",
"MiniYAML": "#ff1111", "MiniYAML": "#ff1111",
@ -323,7 +339,12 @@ var LanguagesColor = map[string]string{
"Nu": "#c9df40", "Nu": "#c9df40",
"NumPy": "#9C8AF9", "NumPy": "#9C8AF9",
"Nunjucks": "#3d8137", "Nunjucks": "#3d8137",
"OCaml": "#3be133", "Nushell": "#4E9906",
"OASv2-json": "#85ea2d",
"OASv2-yaml": "#85ea2d",
"OASv3-json": "#85ea2d",
"OASv3-yaml": "#85ea2d",
"OCaml": "#ef7a08",
"ObjectScript": "#424893", "ObjectScript": "#424893",
"Objective-C": "#438eff", "Objective-C": "#438eff",
"Objective-C++": "#6866fb", "Objective-C++": "#6866fb",
@ -332,19 +353,24 @@ var LanguagesColor = map[string]string{
"Omgrofl": "#cabbff", "Omgrofl": "#cabbff",
"Opal": "#f7ede0", "Opal": "#f7ede0",
"Open Policy Agent": "#7d9199", "Open Policy Agent": "#7d9199",
"OpenAPI Specification v2": "#85ea2d",
"OpenAPI Specification v3": "#85ea2d",
"OpenCL": "#ed2e2d", "OpenCL": "#ed2e2d",
"OpenEdge ABL": "#5ce600", "OpenEdge ABL": "#5ce600",
"OpenQASM": "#AA70FF", "OpenQASM": "#AA70FF",
"OpenSCAD": "#e5cd45", "OpenSCAD": "#e5cd45",
"Option List": "#476732",
"Org": "#77aa99", "Org": "#77aa99",
"Oxygene": "#cdd0e3", "Oxygene": "#cdd0e3",
"Oz": "#fab738", "Oz": "#fab738",
"P4": "#7055b5", "P4": "#7055b5",
"PDDL": "#0d00ff",
"PEG.js": "#234d6b", "PEG.js": "#234d6b",
"PHP": "#4F5D95", "PHP": "#4F5D95",
"PLSQL": "#dad8d8", "PLSQL": "#dad8d8",
"PLpgSQL": "#336790", "PLpgSQL": "#336790",
"POV-Ray SDL": "#6bac65", "POV-Ray SDL": "#6bac65",
"Pact": "#F7A8B8",
"Pan": "#cc0000", "Pan": "#cc0000",
"Papyrus": "#6600cc", "Papyrus": "#6600cc",
"Parrot": "#f3ca0a", "Parrot": "#f3ca0a",
@ -355,7 +381,9 @@ var LanguagesColor = map[string]string{
"PicoLisp": "#6067af", "PicoLisp": "#6067af",
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"PlantUML": "#fbbd16",
"PogoScript": "#d80074", "PogoScript": "#d80074",
"Polar": "#ae81ff",
"Portugol": "#f8bd00", "Portugol": "#f8bd00",
"PostCSS": "#dc3a0c", "PostCSS": "#dc3a0c",
"PostScript": "#da291c", "PostScript": "#da291c",
@ -371,6 +399,7 @@ var LanguagesColor = map[string]string{
"Puppet": "#302B6D", "Puppet": "#302B6D",
"PureBasic": "#5a6986", "PureBasic": "#5a6986",
"PureScript": "#1D222D", "PureScript": "#1D222D",
"Pyret": "#ee1e10",
"Python": "#3572A5", "Python": "#3572A5",
"Python console": "#3572A5", "Python console": "#3572A5",
"Python traceback": "#3572A5", "Python traceback": "#3572A5",
@ -380,6 +409,7 @@ var LanguagesColor = map[string]string{
"Quake": "#882233", "Quake": "#882233",
"R": "#198CE7", "R": "#198CE7",
"RAML": "#77d9fb", "RAML": "#77d9fb",
"RBS": "#701516",
"RDoc": "#701516", "RDoc": "#701516",
"REXX": "#d90e09", "REXX": "#d90e09",
"RMarkdown": "#198ce7", "RMarkdown": "#198ce7",
@ -419,6 +449,7 @@ var LanguagesColor = map[string]string{
"Sass": "#a53b70", "Sass": "#a53b70",
"Scala": "#c22d40", "Scala": "#c22d40",
"Scaml": "#bd181a", "Scaml": "#bd181a",
"Scenic": "#fdc700",
"Scheme": "#1e4aec", "Scheme": "#1e4aec",
"Scilab": "#ca0f21", "Scilab": "#ca0f21",
"Self": "#0579aa", "Self": "#0579aa",
@ -426,6 +457,7 @@ var LanguagesColor = map[string]string{
"Shell": "#89e051", "Shell": "#89e051",
"ShellCheck Config": "#cecfcb", "ShellCheck Config": "#cecfcb",
"Shen": "#120F14", "Shen": "#120F14",
"Simple File Verification": "#C9BFED",
"Singularity": "#64E6AD", "Singularity": "#64E6AD",
"Slash": "#007eff", "Slash": "#007eff",
"Slice": "#003fa2", "Slice": "#003fa2",
@ -433,6 +465,8 @@ var LanguagesColor = map[string]string{
"SmPL": "#c94949", "SmPL": "#c94949",
"Smalltalk": "#596706", "Smalltalk": "#596706",
"Smarty": "#f0c040", "Smarty": "#f0c040",
"Smithy": "#c44536",
"Snakemake": "#419179",
"Solidity": "#AA6746", "Solidity": "#AA6746",
"SourcePawn": "#f69e1d", "SourcePawn": "#f69e1d",
"Squirrel": "#800000", "Squirrel": "#800000",
@ -446,9 +480,11 @@ var LanguagesColor = map[string]string{
"SugarSS": "#2fcc9f", "SugarSS": "#2fcc9f",
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Svelte": "#ff3e00", "Svelte": "#ff3e00",
"Sway": "#dea584",
"Swift": "#F05138", "Swift": "#F05138",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
"TI Program": "#A0AA87", "TI Program": "#A0AA87",
"TL-Verilog": "#C40023",
"TLA": "#4b0079", "TLA": "#4b0079",
"TOML": "#9c4221", "TOML": "#9c4221",
"TSQL": "#e38c00", "TSQL": "#e38c00",
@ -483,11 +519,15 @@ var LanguagesColor = map[string]string{
"Vim Script": "#199f4b", "Vim Script": "#199f4b",
"Vim Snippet": "#199f4b", "Vim Snippet": "#199f4b",
"Visual Basic .NET": "#945db7", "Visual Basic .NET": "#945db7",
"Visual Basic 6.0": "#2c6353",
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#41b883", "Vue": "#41b883",
"Vyper": "#2980b9", "Vyper": "#2980b9",
"WDL": "#42f1f4",
"WGSL": "#1a5e9a",
"Web Ontology Language": "#5b70bd", "Web Ontology Language": "#5b70bd",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
"WebAssembly Interface Type": "#6250e7",
"Whiley": "#d5c397", "Whiley": "#d5c397",
"Wikitext": "#fc5757", "Wikitext": "#fc5757",
"Windows Registry Entries": "#52d5ff", "Windows Registry Entries": "#52d5ff",
@ -529,7 +569,6 @@ var LanguagesColor = map[string]string{
"q": "#0040cd", "q": "#0040cd",
"reStructuredText": "#141414", "reStructuredText": "#141414",
"sed": "#64b970", "sed": "#64b970",
"wdl": "#42f1f4",
"wisp": "#7582D1", "wisp": "#7582D1",
"xBase": "#403a40", "xBase": "#403a40",
} }

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "bf853f1c663903e3ee35935189760191f1c45e1c" var LinguistCommit = "b5432ebc7e78f25415b98d48c2fbacddbf8df317"

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -581,17 +581,23 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("AL"), rule.MatchingLanguages("AL"),
rule.Or( rule.Or(
rule.MatchingLanguages(""), rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\b(?i:(CODEUNIT|PAGE|PAGEEXTENSION|PAGECUSTOMIZATION|DOTNET|ENUM|ENUMEXTENSION|VALUE|QUERY|REPORT|TABLE|TABLEEXTENSION|XMLPORT|PROFILE|CONTROLADDIN))\b`), regex.MustCompileMultiline(`\b(?i:(CODEUNIT|PAGE|PAGEEXTENSION|PAGECUSTOMIZATION|DOTNET|ENUM|ENUMEXTENSION|VALUE|QUERY|REPORT|TABLE|TABLEEXTENSION|XMLPORT|PROFILE|CONTROLADDIN|REPORTEXTENSION|INTERFACE|PERMISSIONSET|PERMISSIONSETEXTENSION|ENTITLEMENT))\b`),
), ),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
), ),
}, },
".app": &Heuristics{
rule.Or(
rule.MatchingLanguages("Erlang"),
regex.MustCompileMultiline(`^\{\s*(?:application|'application')\s*,\s*(?:[a-z]+[\w@]*|'[^']+')\s*,\s*\[(?:.|[\r\n])*\]\s*\}\.[ \t]*$`),
),
},
".as": &Heuristics{ ".as": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("ActionScript"), rule.MatchingLanguages("ActionScript"),
regex.MustCompileRuby(`^\s*(?:package(?:\s+[\w.]+)?\s+(?:{|$)|import\s+[\w.*]+\s*;|(?=.*?(?:intrinsic|extends))(intrinsic\s+)?class\s+[\w<>.]+(?:\s+extends\s+[\w<>.]+)?|(?:(?:public|protected|private|static)\s+)*(?:(?:var|const|local)\s+\w+\s*:\s*[\w<>.]+(?:\s*=.*)?\s*;|function\s+\w+\s*\((?:\s*\w+\s*:\s*[\w<>.]+\s*(,\s*\w+\s*:\s*[\w<>.]+\s*)*)?\)))`), regex.MustCompileRuby(`^\s*(?:package(?:\s+[\w.]+)?\s+(?:\{|$)|import\s+[\w.*]+\s*;|(?=.*?(?:intrinsic|extends))(intrinsic\s+)?class\s+[\w<>.]+(?:\s+extends\s+[\w<>.]+)?|(?:(?:public|protected|private|static)\s+)*(?:(?:var|const|local)\s+\w+\s*:\s*[\w<>.]+(?:\s*=.*)?\s*;|function\s+\w+\s*\((?:\s*\w+\s*:\s*[\w<>.]+\s*(,\s*\w+\s*:\s*[\w<>.]+\s*)*)?\)))`),
), ),
}, },
".asc": &Heuristics{ ".asc": &Heuristics{
@ -601,7 +607,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("AsciiDoc"), rule.MatchingLanguages("AsciiDoc"),
regex.MustCompileMultiline(`^[=-]+(\s|\n)|{{[A-Za-z]`), regex.MustCompileMultiline(`^[=-]+(\s|\n)|\{\{[A-Za-z]`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("AGS Script"), rule.MatchingLanguages("AGS Script"),
@ -626,11 +632,26 @@ var ContentHeuristics = map[string]*Heuristics{
".bas": &Heuristics{ ".bas": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("FreeBasic"), rule.MatchingLanguages("FreeBasic"),
regex.MustCompileMultiline(`^[ \t]*#(?:define|endif|endmacro|ifn?def|if|include|lang|macro)\s`), regex.MustCompileMultiline(`^[ \t]*#(?i)(?:define|endif|endmacro|ifn?def|include|lang|macro)(?:$|\s)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("BASIC"), rule.MatchingLanguages("BASIC"),
regex.MustCompileMultiline(`^\s*\d+`), regex.MustCompileMultiline(`\A\s*\d`),
),
rule.And(
rule.MatchingLanguages("VBA"),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^[ ]*Attribute VB_Name = `),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\b(?:VBA|[vV]ba)(?:\b|[0-9A-Z_])|^[ ]*(?:Public|Private)? Declare PtrSafe (?:Sub|Function)\b|^[ ]*#If Win64\b|^[ ]*(?:Dim|Const) [0-9a-zA-Z_]*[ ]*As Long(?:Ptr|Long)\b|^[ ]*Option (?:Private Module|Compare Database)\b|(?: |\()(?:Access|Excel|Outlook|PowerPoint|Visio|Word|VBIDE)\.\w|\b(?:(?:Active)?VBProjects?|VBComponents?|Application\.(?:VBE|ScreenUpdating))\b|\b(?:ThisDrawing|AcadObject|Active(?:Explorer|Inspector|Window\.Presentation|Presentation|Document)|Selection\.(?:Find|Paragraphs))\b|\b(?:(?:This|Active)?Workbooks?|Worksheets?|Active(?:Sheet|Chart|Cell)|WorksheetFunction)\b|\b(?:Range\(".*|Cells\([0-9a-zA-Z_]*, (?:[0-9a-zA-Z_]*|"[a-zA-Z]{1,3}"))\)`),
),
),
rule.Or(
rule.MatchingLanguages("Visual Basic 6.0"),
regex.MustCompileMultiline(`^[ ]*Attribute VB_Name = `),
), ),
}, },
".bb": &Heuristics{ ".bb": &Heuristics{
@ -664,7 +685,7 @@ var ContentHeuristics = map[string]*Heuristics{
".bi": &Heuristics{ ".bi": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("FreeBasic"), rule.MatchingLanguages("FreeBasic"),
regex.MustCompileMultiline(`^[ \t]*#(?:define|endif|endmacro|ifn?def|if|include|lang|macro)\s`), regex.MustCompileMultiline(`^[ \t]*#(?i)(?:define|endif|endmacro|ifn?def|if|include|lang|macro)(?:$|\s)`),
), ),
}, },
".bs": &Heuristics{ ".bs": &Heuristics{
@ -704,9 +725,24 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".cls": &Heuristics{ ".cls": &Heuristics{
rule.And(
rule.MatchingLanguages("Visual Basic 6.0"),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^[ ]*VERSION [0-9]\.[0-9] CLASS`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*BEGIN(?:\r?\n|\r)\s*MultiUse\s*=.*(?:\r?\n|\r)\s*Persistable\s*=`),
),
),
rule.Or(
rule.MatchingLanguages("VBA"),
regex.MustCompileMultiline(`^[ ]*VERSION [0-9]\.[0-9] CLASS`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("TeX"), rule.MatchingLanguages("TeX"),
regex.MustCompileMultiline(`^\s*\\(?:NeedsTeXFormat|ProvidesClass){`), regex.MustCompileMultiline(`^\s*\\(?:NeedsTeXFormat|ProvidesClass)\{`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("ObjectScript"), rule.MatchingLanguages("ObjectScript"),
@ -726,7 +762,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("C#"), rule.MatchingLanguages("C#"),
regex.MustCompileMultiline(`^\s*(using\s+[A-Z][\s\w.]+;|namespace\s*[\w\.]+\s*({|;)|\/\/)`), regex.MustCompileMultiline(`^\s*(using\s+[A-Z][\s\w.]+;|namespace\s*[\w\.]+\s*(\{|;)|\/\/)`),
), ),
}, },
".csc": &Heuristics{ ".csc": &Heuristics{
@ -738,7 +774,7 @@ var ContentHeuristics = map[string]*Heuristics{
".csl": &Heuristics{ ".csl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
regex.MustCompileMultiline(`(?i:^\s*(\<\?xml|xmlns))`), regex.MustCompileMultiline(`(?i:^\s*(<\?xml|xmlns))`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Kusto"), rule.MatchingLanguages("Kusto"),
@ -748,11 +784,11 @@ var ContentHeuristics = map[string]*Heuristics{
".d": &Heuristics{ ".d": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("D"), rule.MatchingLanguages("D"),
regex.MustCompileMultiline(`^module\s+[\w.]*\s*;|import\s+[\w\s,.:]*;|\w+\s+\w+\s*\(.*\)(?:\(.*\))?\s*{[^}]*}|unittest\s*(?:\(.*\))?\s*{[^}]*}`), regex.MustCompileMultiline(`^module\s+[\w.]*\s*;|import\s+[\w\s,.:]*;|\w+\s+\w+\s*\(.*\)(?:\(.*\))?\s*\{[^}]*\}|unittest\s*(?:\(.*\))?\s*\{[^}]*\}`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("DTrace"), rule.MatchingLanguages("DTrace"),
regex.MustCompileMultiline(`^(\w+:\w*:\w*:\w*|BEGIN|END|provider\s+|(tick|profile)-\w+\s+{[^}]*}|#pragma\s+D\s+(option|attributes|depends_on)\s|#pragma\s+ident\s)`), regex.MustCompileMultiline(`^(\w+:\w*:\w*:\w*|BEGIN|END|provider\s+|(tick|profile)-\w+\s+\{[^}]*\}|#pragma\s+D\s+(option|attributes|depends_on)\s|#pragma\s+ident\s)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Makefile"), rule.MatchingLanguages("Makefile"),
@ -772,7 +808,7 @@ var ContentHeuristics = map[string]*Heuristics{
".e": &Heuristics{ ".e": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("E"), rule.MatchingLanguages("E"),
regex.MustCompileMultiline(`^\s*(def|var)\s+(.+):=|^\s*(def|to)\s+(\w+)(\(.+\))?\s+{|^\s*(when)\s+(\(.+\))\s+->\s+{`), regex.MustCompileMultiline(`^\s*(def|var)\s+(.+):=|^\s*(def|to)\s+(\w+)(\(.+\))?\s+\{|^\s*(when)\s+(\(.+\))\s+->\s+\{`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Eiffel"), rule.MatchingLanguages("Eiffel"),
@ -800,7 +836,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("JavaScript"), rule.MatchingLanguages("JavaScript"),
regex.MustCompileRuby(`(?m:\/\/|("|')use strict\1|export\s+default\s|\/\*.*?\*\/)`), regex.MustCompileRuby(`\/\/|("|')use strict\1|export\s+default\s|\/\*(?:.|[\r\n])*?\*\/`),
), ),
}, },
".ex": &Heuristics{ ".ex": &Heuristics{
@ -850,6 +886,30 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Text"), rule.MatchingLanguages("Text"),
), ),
}, },
".frm": &Heuristics{
rule.And(
rule.MatchingLanguages("VBA"),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^[ ]*VERSION [0-9]\.[0-9]{2}`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*Begin\s+\{[0-9A-Z\-]*\}\s?`),
),
),
rule.And(
rule.MatchingLanguages("Visual Basic 6.0"),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^[ ]*VERSION [0-9]\.[0-9]{2}`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*Begin\s+VB\.Form\s+`),
),
),
},
".fs": &Heuristics{ ".fs": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Forth"), rule.MatchingLanguages("Forth"),
@ -871,7 +931,7 @@ var ContentHeuristics = map[string]*Heuristics{
".ftl": &Heuristics{ ".ftl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("FreeMarker"), rule.MatchingLanguages("FreeMarker"),
regex.MustCompileRuby(`^(?:<|[a-zA-Z-][a-zA-Z0-9_-]+[ \t]+\w)|\${\w+[^\n]*?}|^[ \t]*(?:<#--.*?-->|<#([a-z]+)(?=\s|>)[^>]*>.*?</#\1>|\[#--.*?--\]|\[#([a-z]+)(?=\s|\])[^\]]*\].*?\[#\2\])`), regex.MustCompileRuby(`^(?:<|[a-zA-Z-][a-zA-Z0-9_-]+[ \t]+\w)|\$\{\w+[^\n]*?\}|^[ \t]*(?:<#--.*?-->|<#([a-z]+)(?=\s|>)[^>]*>.*?</#\1>|\[#--.*?--\]|\[#([a-z]+)(?=\s|\])[^\]]*\].*?\[#\2\])`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Fluent"), rule.MatchingLanguages("Fluent"),
@ -901,7 +961,7 @@ var ContentHeuristics = map[string]*Heuristics{
".gml": &Heuristics{ ".gml": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
regex.MustCompileMultiline(`(?i:^\s*(\<\?xml|xmlns))`), regex.MustCompileMultiline(`(?i:^\s*(<\?xml|xmlns))`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Graph Modeling Language"), rule.MatchingLanguages("Graph Modeling Language"),
@ -960,6 +1020,15 @@ var ContentHeuristics = map[string]*Heuristics{
regex.MustCompileMultiline(`<\?hh`), regex.MustCompileMultiline(`<\?hh`),
), ),
}, },
".html": &Heuristics{
rule.Or(
rule.MatchingLanguages("Ecmarkup"),
regex.MustCompileMultiline(`<emu-(?:alg|annex|biblio|clause|eqn|example|figure|gann|gmod|gprose|grammar|intro|not-ref|note|nt|prodref|production|rhs|table|t|xref)(?:$|\s|>)`),
),
rule.Always(
rule.MatchingLanguages("HTML"),
),
},
".i": &Heuristics{ ".i": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"), rule.MatchingLanguages("Motorola 68K Assembly"),
@ -990,11 +1059,11 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("SourcePawn"), rule.MatchingLanguages("SourcePawn"),
regex.MustCompileMultiline(`^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*{)?)|^methodmap\s+\w+\s+<\s+\w+|^\s*MarkNativeAsOptional\s*\(`), regex.MustCompileMultiline(`^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*\{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*\{)?)|^methodmap\s+\w+\s+<\s+\w+|^\s*MarkNativeAsOptional\s*\(`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("NASL"), rule.MatchingLanguages("NASL"),
regex.MustCompileRuby(`^\s*include\s*\(\s*(?:"|')[\\/\w\-\.:\s]+\.(?:nasl|inc)\s*(?:"|')\s*\)\s*;|^\s*(?:global|local)_var\s+(?:\w+(?:\s*=\s*[\w\-"']+)?\s*)(?:,\s*\w+(?:\s*=\s*[\w\-"']+)?\s*)*+\s*;|^\s*namespace\s+\w+\s*{|^\s*object\s+\w+\s*(?:extends\s+\w+(?:::\w+)?)?\s*{|^\s*(?:public\s+|private\s+|\s*)function\s+\w+\s*\([\w\s,]*\)\s*{`), regex.MustCompileRuby(`^\s*include\s*\(\s*(?:"|')[\\/\w\-\.:\s]+\.(?:nasl|inc)\s*(?:"|')\s*\)\s*;|^\s*(?:global|local)_var\s+(?:\w+(?:\s*=\s*[\w\-"']+)?\s*)(?:,\s*\w+(?:\s*=\s*[\w\-"']+)?\s*)*+\s*;|^\s*namespace\s+\w+\s*\{|^\s*object\s+\w+\s*(?:extends\s+\w+(?:::\w+)?)?\s*\{|^\s*(?:public\s+|private\s+|\s*)function\s+\w+\s*\([\w\s,]*\)\s*\{`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("POV-Ray SDL"), rule.MatchingLanguages("POV-Ray SDL"),
@ -1002,7 +1071,20 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Pascal"), rule.MatchingLanguages("Pascal"),
regex.MustCompileMultiline(`(?i:^\s*{\$(?:mode|ifdef|undef|define)[ ]+[a-z0-9_]+})|^\s*end[.;]\s*$`), regex.MustCompileMultiline(`(?i:^\s*\{\$(?:mode|ifdef|undef|define)[ ]+[a-z0-9_]+\})|^\s*end[.;]\s*$`),
),
},
".json": &Heuristics{
rule.Or(
rule.MatchingLanguages("OASv2-json"),
regex.MustCompileMultiline(`"swagger":\s?"2.[0-9.]+"`),
),
rule.Or(
rule.MatchingLanguages("OASv3-json"),
regex.MustCompileMultiline(`"openapi":\s?"3.[0-9.]+"`),
),
rule.Always(
rule.MatchingLanguages("JSON"),
), ),
}, },
".l": &Heuristics{ ".l": &Heuristics{
@ -1036,7 +1118,7 @@ var ContentHeuristics = map[string]*Heuristics{
".ls": &Heuristics{ ".ls": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("LoomScript"), rule.MatchingLanguages("LoomScript"),
regex.MustCompileMultiline(`^\s*package\s*[\w\.\/\*\s]*\s*{`), regex.MustCompileMultiline(`^\s*package\s*[\w\.\/\*\s]*\s*\{`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("LiveScript"), rule.MatchingLanguages("LiveScript"),
@ -1086,7 +1168,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Limbo"), rule.MatchingLanguages("Limbo"),
regex.MustCompileMultiline(`^\w+\s*:\s*module\s*{`), regex.MustCompileMultiline(`^\w+\s*:\s*module\s*\{`),
), ),
}, },
".m4": &Heuristics{ ".m4": &Heuristics{
@ -1269,6 +1351,15 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("NewLisp"), rule.MatchingLanguages("NewLisp"),
), ),
}, },
".nu": &Heuristics{
rule.Or(
rule.MatchingLanguages("Nushell"),
regex.MustCompileMultiline(`^\s*(import|export|module|def|let|let-env) `),
),
rule.Always(
rule.MatchingLanguages("Nu"),
),
},
".odin": &Heuristics{ ".odin": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Object Data Instance Notation"), rule.MatchingLanguages("Object Data Instance Notation"),
@ -1303,9 +1394,16 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Prolog"), rule.MatchingLanguages("Prolog"),
regex.MustCompileMultiline(`^[^#]*:-`), regex.MustCompileMultiline(`^[^#]*:-`),
), ),
rule.Or( rule.And(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\.)`), rule.Not(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*use\s+v6\b`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\b)|^\s*use\s+(?:constant|overload)\b|^\s*(?:\*|(?:our\s*)?@)EXPORT\s*=|^\s*package\s+[^\W\d]\w*(?:::\w+)*\s*(?:[;{]|\sv?\d)|[\s$][^\W\d]\w*(?::\w+)*->[a-zA-Z_\[({]`),
),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Raku"), rule.MatchingLanguages("Raku"),
@ -1315,16 +1413,29 @@ var ContentHeuristics = map[string]*Heuristics{
".plist": &Heuristics{ ".plist": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML Property List"), rule.MatchingLanguages("XML Property List"),
regex.MustCompileMultiline(`<!DOCTYPE\s+plist`), regex.MustCompileRuby(`^\s*(?:<\?xml\s|<!DOCTYPE\s+plist|<plist(?:\s+version\s*=\s*(["'])\d+(?:\.\d+)?\1)?\s*>\s*$)`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("OpenStep Property List"), rule.MatchingLanguages("OpenStep Property List"),
), ),
}, },
".pm": &Heuristics{ ".plt": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Prolog"),
regex.MustCompileMultiline(`^\s*:-`),
),
},
".pm": &Heuristics{
rule.And(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\.)`), rule.Not(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*use\s+v6\b`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\b)|^\s*use\s+(?:constant|overload)\b|^\s*(?:\*|(?:our\s*)?@)EXPORT\s*=|^\s*package\s+[^\W\d]\w*(?:::\w+)*\s*(?:[;{]|\sv?\d)|[\s$][^\W\d]\w*(?::\w+)*->[a-zA-Z_\[({]`),
),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Raku"), rule.MatchingLanguages("Raku"),
@ -1418,7 +1529,7 @@ var ContentHeuristics = map[string]*Heuristics{
".q": &Heuristics{ ".q": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("q"), rule.MatchingLanguages("q"),
regex.MustCompileMultiline(`((?i:[A-Z.][\w.]*:{)|(^|\n)\\(cd?|d|l|p|ts?) )`), regex.MustCompileMultiline(`((?i:[A-Z.][\w.]*:\{)|(^|\n)\\(cd?|d|l|p|ts?) )`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("HiveQL"), rule.MatchingLanguages("HiveQL"),
@ -1448,7 +1559,7 @@ var ContentHeuristics = map[string]*Heuristics{
".re": &Heuristics{ ".re": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Reason"), rule.MatchingLanguages("Reason"),
regex.MustCompileMultiline(`^\s*module\s+type\s|^\s*(?:include|open)\s+\w+\s*;\s*$|^\s*let\s+(?:module\s\w+\s*=\s*{|\w+:\s+.*=.*;\s*$)`), regex.MustCompileMultiline(`^\s*module\s+type\s|^\s*(?:include|open)\s+\w+\s*;\s*$|^\s*let\s+(?:module\s\w+\s*=\s*\{|\w+:\s+.*=.*;\s*$)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("C++"), rule.MatchingLanguages("C++"),
@ -1474,7 +1585,7 @@ var ContentHeuristics = map[string]*Heuristics{
".rpy": &Heuristics{ ".rpy": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Python"), rule.MatchingLanguages("Python"),
regex.MustCompileMultiline(`(?m:^(import|from|class|def)\s)`), regex.MustCompileMultiline(`^(import|from|class|def)\s`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("Ren'Py"), rule.MatchingLanguages("Ren'Py"),
@ -1564,7 +1675,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Smalltalk"), rule.MatchingLanguages("Smalltalk"),
regex.MustCompileMultiline(`\A\s*[\[{(^"'\w#]|[a-zA-Z_]\w*\s*:=\s*[a-zA-Z_]\w*|class\s*>>\s*[a-zA-Z_]\w*|^[a-zA-Z_]\w*\s+[a-zA-Z_]\w*:|^Class\s*{|if(?:True|False):\s*\[`), regex.MustCompileMultiline(`\A\s*[\[{(^"'\w#]|[a-zA-Z_]\w*\s*:=\s*[a-zA-Z_]\w*|class\s*>>\s*[a-zA-Z_]\w*|^[a-zA-Z_]\w*\s+[a-zA-Z_]\w*:|^Class\s*\{|if(?:True|False):\s*\[`),
), ),
}, },
".star": &Heuristics{ ".star": &Heuristics{
@ -1579,13 +1690,30 @@ var ContentHeuristics = map[string]*Heuristics{
".stl": &Heuristics{ ".stl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("STL"), rule.MatchingLanguages("STL"),
regex.MustCompileRuby(`\A\s*solid(?=$|\s)(?m:.*?)\Rendsolid(?:$|\s)`), regex.MustCompileRuby(`\A\s*solid(?=$|\s)(?:.|[\r\n])*?^endsolid(?:$|\s)`),
),
},
".sw": &Heuristics{
rule.Or(
rule.MatchingLanguages("Sway"),
regex.MustCompileMultiline(`^\s*(?:(?:abi|dep|fn|impl|mod|pub|trait)\s|#\[)`),
),
rule.Or(
rule.MatchingLanguages("XML"),
regex.MustCompileMultiline(`^\s*<\?xml\s+version`),
), ),
}, },
".t": &Heuristics{ ".t": &Heuristics{
rule.Or( rule.And(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\.)`), rule.Not(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*use\s+v6\b`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\b)|^\s*use\s+(?:constant|overload)\b|^\s*(?:\*|(?:our\s*)?@)EXPORT\s*=|^\s*package\s+[^\W\d]\w*(?:::\w+)*\s*(?:[;{]|\sv?\d)|[\s$][^\W\d]\w*(?::\w+)*->[a-zA-Z_\[({]`),
),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Raku"), rule.MatchingLanguages("Raku"),
@ -1602,6 +1730,12 @@ var ContentHeuristics = map[string]*Heuristics{
regex.MustCompileMultiline(`<%[@!=\s]?\s*(taglib|tag|include|attribute|variable)\s`), regex.MustCompileMultiline(`<%[@!=\s]?\s*(taglib|tag|include|attribute|variable)\s`),
), ),
}, },
".tlv": &Heuristics{
rule.Or(
rule.MatchingLanguages("TL-Verilog"),
regex.MustCompileMultiline(`^\\.{0,10}TLV_version`),
),
},
".toc": &Heuristics{ ".toc": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("World of Warcraft Addon Data"), rule.MatchingLanguages("World of Warcraft Addon Data"),
@ -1674,7 +1808,7 @@ var ContentHeuristics = map[string]*Heuristics{
".url": &Heuristics{ ".url": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("INI"), rule.MatchingLanguages("INI"),
regex.MustCompileRuby(`^\[InternetShortcut\]\R(?>[^\s\[][^\n]*\R)*URL=`), regex.MustCompileRuby(`^\[InternetShortcut\](?:\r?\n|\r)(?>[^\s\[][^\n]*(?:\r?\n|\r))*URL=`),
), ),
}, },
".v": &Heuristics{ ".v": &Heuristics{
@ -1717,7 +1851,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("RPC"), rule.MatchingLanguages("RPC"),
regex.MustCompileMultiline(`\b(program|version)\s+\w+\s*{|\bunion\s+\w+\s+switch\s*\(`), regex.MustCompileMultiline(`\b(program|version)\s+\w+\s*\{|\bunion\s+\w+\s+switch\s*\(`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Logos"), rule.MatchingLanguages("Logos"),
@ -1733,6 +1867,31 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("MiniYAML"), rule.MatchingLanguages("MiniYAML"),
regex.MustCompileMultiline(`^\t+.*?[^\s:].*?:`), regex.MustCompileMultiline(`^\t+.*?[^\s:].*?:`),
), ),
rule.Or(
rule.MatchingLanguages("OASv2-yaml"),
regex.MustCompileMultiline(`swagger:\s?'?"?2.[0-9.]+'?"?`),
),
rule.Or(
rule.MatchingLanguages("OASv3-yaml"),
regex.MustCompileMultiline(`openapi:\s?'?"?3.[0-9.]+'?"?`),
),
rule.Always(
rule.MatchingLanguages("YAML"),
),
},
".yml": &Heuristics{
rule.Or(
rule.MatchingLanguages("MiniYAML"),
regex.MustCompileMultiline(`^\t+.*?[^\s:].*?:`),
),
rule.Or(
rule.MatchingLanguages("OASv2-yaml"),
regex.MustCompileMultiline(`swagger:\s?'?"?2.[0-9.]+'?"?`),
),
rule.Or(
rule.MatchingLanguages("OASv3-yaml"),
regex.MustCompileMultiline(`openapi:\s?'?"?3.[0-9.]+'?"?`),
),
rule.Always( rule.Always(
rule.MatchingLanguages("YAML"), rule.MatchingLanguages("YAML"),
), ),

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -67,10 +67,12 @@ var LanguagesByExtension = map[string][]string{
".apacheconf": {"ApacheConf"}, ".apacheconf": {"ApacheConf"},
".apib": {"API Blueprint"}, ".apib": {"API Blueprint"},
".apl": {"APL"}, ".apl": {"APL"},
".app": {"Erlang"},
".app.src": {"Erlang"}, ".app.src": {"Erlang"},
".applescript": {"AppleScript"}, ".applescript": {"AppleScript"},
".arc": {"Arc"}, ".arc": {"Arc"},
".arpa": {"DNS Zone"}, ".arpa": {"DNS Zone"},
".arr": {"Pyret"},
".as": {"ActionScript", "AngelScript"}, ".as": {"ActionScript", "AngelScript"},
".asax": {"ASP.NET"}, ".asax": {"ASP.NET"},
".asc": {"AGS Script", "AsciiDoc", "Public Key"}, ".asc": {"AGS Script", "AsciiDoc", "Public Key"},
@ -107,7 +109,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": {"BASIC", "FreeBasic", "VBA"}, ".bas": {"BASIC", "FreeBasic", "VBA", "Visual Basic 6.0"},
".bash": {"Shell"}, ".bash": {"Shell"},
".bat": {"Batchfile"}, ".bat": {"Batchfile"},
".bats": {"Shell"}, ".bats": {"Shell"},
@ -170,6 +172,7 @@ var LanguagesByExtension = map[string][]string{
".chpl": {"Chapel"}, ".chpl": {"Chapel"},
".chs": {"C2hs Haskell"}, ".chs": {"C2hs Haskell"},
".cil": {"CIL"}, ".cil": {"CIL"},
".circom": {"Circom"},
".cirru": {"Cirru"}, ".cirru": {"Cirru"},
".cjs": {"JavaScript"}, ".cjs": {"JavaScript"},
".cjsx": {"CoffeeScript"}, ".cjsx": {"CoffeeScript"},
@ -186,13 +189,14 @@ var LanguagesByExtension = map[string][]string{
".cljscm": {"Clojure"}, ".cljscm": {"Clojure"},
".cljx": {"Clojure"}, ".cljx": {"Clojure"},
".clp": {"CLIPS"}, ".clp": {"CLIPS"},
".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "VBA"}, ".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "VBA", "Visual Basic 6.0"},
".clw": {"Clarion"}, ".clw": {"Clarion"},
".cmake": {"CMake"}, ".cmake": {"CMake"},
".cmake.in": {"CMake"}, ".cmake.in": {"CMake"},
".cmd": {"Batchfile"}, ".cmd": {"Batchfile"},
".cmp": {"Gerber Image"}, ".cmp": {"Gerber Image"},
".cnc": {"G-code"}, ".cnc": {"G-code"},
".cnf": {"INI"},
".cob": {"COBOL"}, ".cob": {"COBOL"},
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".cocci": {"SmPL"}, ".cocci": {"SmPL"},
@ -207,6 +211,7 @@ var LanguagesByExtension = map[string][]string{
".cp": {"C++", "Component Pascal"}, ".cp": {"C++", "Component Pascal"},
".cpp": {"C++"}, ".cpp": {"C++"},
".cpp-objdump": {"Cpp-ObjDump"}, ".cpp-objdump": {"Cpp-ObjDump"},
".cppm": {"C++"},
".cppobjdump": {"Cpp-ObjDump"}, ".cppobjdump": {"Cpp-ObjDump"},
".cproject": {"XML"}, ".cproject": {"XML"},
".cps": {"Component Pascal"}, ".cps": {"Component Pascal"},
@ -229,6 +234,7 @@ var LanguagesByExtension = map[string][]string{
".csv": {"CSV"}, ".csv": {"CSV"},
".csx": {"C#"}, ".csx": {"C#"},
".ct": {"XML"}, ".ct": {"XML"},
".ctl": {"Visual Basic 6.0"},
".ctp": {"PHP"}, ".ctp": {"PHP"},
".cts": {"TypeScript"}, ".cts": {"TypeScript"},
".cu": {"Cuda"}, ".cu": {"Cuda"},
@ -240,8 +246,11 @@ var LanguagesByExtension = map[string][]string{
".cxx": {"C++"}, ".cxx": {"C++"},
".cxx-objdump": {"Cpp-ObjDump"}, ".cxx-objdump": {"Cpp-ObjDump"},
".cy": {"Cycript"}, ".cy": {"Cycript"},
".cyp": {"Cypher"},
".cypher": {"Cypher"},
".d": {"D", "DTrace", "Makefile"}, ".d": {"D", "DTrace", "Makefile"},
".d-objdump": {"D-ObjDump"}, ".d-objdump": {"D-ObjDump"},
".d2": {"D2"},
".dae": {"COLLADA"}, ".dae": {"COLLADA"},
".darcspatch": {"Darcs Patch"}, ".darcspatch": {"Darcs Patch"},
".dart": {"Dart"}, ".dart": {"Dart"},
@ -278,6 +287,7 @@ var LanguagesByExtension = map[string][]string{
".dsc": {"Debian Package Control File", "DenizenScript"}, ".dsc": {"Debian Package Control File", "DenizenScript"},
".dsl": {"ASL"}, ".dsl": {"ASL"},
".dsp": {"Faust", "Microsoft Developer Studio Project"}, ".dsp": {"Faust", "Microsoft Developer Studio Project"},
".dsr": {"Visual Basic 6.0"},
".dtx": {"TeX"}, ".dtx": {"TeX"},
".duby": {"Mirah"}, ".duby": {"Mirah"},
".dwl": {"DataWeave"}, ".dwl": {"DataWeave"},
@ -296,6 +306,7 @@ var LanguagesByExtension = map[string][]string{
".ecr": {"HTML+ECR"}, ".ecr": {"HTML+ECR"},
".ect": {"EJS"}, ".ect": {"EJS"},
".edc": {"Edje Data Collection"}, ".edc": {"Edje Data Collection"},
".editorconfig": {"EditorConfig"},
".edn": {"edn"}, ".edn": {"edn"},
".eex": {"HTML+EEX"}, ".eex": {"HTML+EEX"},
".eh": {"eC"}, ".eh": {"eC"},
@ -311,7 +322,7 @@ var LanguagesByExtension = map[string][]string{
".emacs.desktop": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"},
".emberscript": {"EmberScript"}, ".emberscript": {"EmberScript"},
".eml": {"E-mail"}, ".eml": {"E-mail"},
".env": {"Shell"}, ".env": {"Dotenv"},
".epj": {"Ecere Projects"}, ".epj": {"Ecere Projects"},
".eps": {"PostScript"}, ".eps": {"PostScript"},
".epsi": {"PostScript"}, ".epsi": {"PostScript"},
@ -351,9 +362,8 @@ var LanguagesByExtension = map[string][]string{
".fr": {"Forth", "Frege", "Text"}, ".fr": {"Forth", "Frege", "Text"},
".frag": {"GLSL", "JavaScript"}, ".frag": {"GLSL", "JavaScript"},
".frg": {"GLSL"}, ".frg": {"GLSL"},
".frm": {"VBA"}, ".frm": {"VBA", "Visual Basic 6.0"},
".frt": {"Forth"}, ".frt": {"Forth"},
".frx": {"VBA"},
".fs": {"F#", "Filterscript", "Forth", "GLSL"}, ".fs": {"F#", "Filterscript", "Forth", "GLSL"},
".fsh": {"GLSL"}, ".fsh": {"GLSL"},
".fshader": {"GLSL"}, ".fshader": {"GLSL"},
@ -385,6 +395,8 @@ var LanguagesByExtension = map[string][]string{
".gd": {"GAP", "GDScript"}, ".gd": {"GAP", "GDScript"},
".gdb": {"GDB"}, ".gdb": {"GDB"},
".gdbinit": {"GDB"}, ".gdbinit": {"GDB"},
".gdnlib": {"Godot Resource"},
".gdns": {"Godot Resource"},
".ged": {"GEDCOM"}, ".ged": {"GEDCOM"},
".gemspec": {"Ruby"}, ".gemspec": {"Ruby"},
".geo": {"GLSL"}, ".geo": {"GLSL"},
@ -470,7 +482,7 @@ var LanguagesByExtension = map[string][]string{
".hsc": {"Haskell"}, ".hsc": {"Haskell"},
".hta": {"HTML"}, ".hta": {"HTML"},
".htm": {"HTML"}, ".htm": {"HTML"},
".html": {"HTML"}, ".html": {"Ecmarkup", "HTML"},
".html.heex": {"HTML+EEX"}, ".html.heex": {"HTML+EEX"},
".html.hl": {"HTML"}, ".html.hl": {"HTML"},
".html.leex": {"HTML+EEX"}, ".html.leex": {"HTML+EEX"},
@ -495,9 +507,11 @@ var LanguagesByExtension = map[string][]string{
".ijs": {"J"}, ".ijs": {"J"},
".ik": {"Ioke"}, ".ik": {"Ioke"},
".ily": {"LilyPond"}, ".ily": {"LilyPond"},
".imba": {"Imba"},
".iml": {"XML"}, ".iml": {"XML"},
".inc": {"Assembly", "C++", "HTML", "Motorola 68K Assembly", "NASL", "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"},
".ink": {"Ink"},
".inl": {"C++"}, ".inl": {"C++"},
".ino": {"C++"}, ".ino": {"C++"},
".ins": {"TeX"}, ".ins": {"TeX"},
@ -522,6 +536,7 @@ var LanguagesByExtension = map[string][]string{
".java": {"Java"}, ".java": {"Java"},
".javascript": {"JavaScript"}, ".javascript": {"JavaScript"},
".jbuilder": {"Ruby"}, ".jbuilder": {"Ruby"},
".jcl": {"JCL"},
".jelly": {"XML"}, ".jelly": {"XML"},
".jflex": {"JFlex"}, ".jflex": {"JFlex"},
".jinja": {"Jinja"}, ".jinja": {"Jinja"},
@ -535,9 +550,10 @@ var LanguagesByExtension = map[string][]string{
".jsb": {"JavaScript"}, ".jsb": {"JavaScript"},
".jscad": {"JavaScript"}, ".jscad": {"JavaScript"},
".jsfl": {"JavaScript"}, ".jsfl": {"JavaScript"},
".jsh": {"Java"},
".jslib": {"JavaScript"}, ".jslib": {"JavaScript"},
".jsm": {"JavaScript"}, ".jsm": {"JavaScript"},
".json": {"JSON"}, ".json": {"JSON", "OASv2-json", "OASv3-json"},
".json-tmlanguage": {"JSON"}, ".json-tmlanguage": {"JSON"},
".json5": {"JSON5"}, ".json5": {"JSON5"},
".jsonc": {"JSON with Comments"}, ".jsonc": {"JSON with Comments"},
@ -561,6 +577,7 @@ var LanguagesByExtension = map[string][]string{
".kojo": {"Scala"}, ".kojo": {"Scala"},
".kql": {"Kusto"}, ".kql": {"Kusto"},
".krl": {"KRL"}, ".krl": {"KRL"},
".ks": {"KerboScript", "Kickstart"},
".ksh": {"Shell"}, ".ksh": {"Shell"},
".ksy": {"Kaitai Struct"}, ".ksy": {"Kaitai Struct"},
".kt": {"Kotlin"}, ".kt": {"Kotlin"},
@ -595,6 +612,7 @@ var LanguagesByExtension = map[string][]string{
".lisp": {"Common Lisp", "NewLisp"}, ".lisp": {"Common Lisp", "NewLisp"},
".litcoffee": {"Literate CoffeeScript"}, ".litcoffee": {"Literate CoffeeScript"},
".livemd": {"Markdown"}, ".livemd": {"Markdown"},
".lkml": {"LookML"},
".ll": {"LLVM"}, ".ll": {"LLVM"},
".lmi": {"Python"}, ".lmi": {"Python"},
".logtalk": {"Logtalk"}, ".logtalk": {"Logtalk"},
@ -647,9 +665,10 @@ var LanguagesByExtension = map[string][]string{
".mdown": {"Markdown"}, ".mdown": {"Markdown"},
".mdpolicy": {"XML"}, ".mdpolicy": {"XML"},
".mdwn": {"Markdown"}, ".mdwn": {"Markdown"},
".mdx": {"Markdown"}, ".mdx": {"MDX"},
".me": {"Roff"}, ".me": {"Roff"},
".mediawiki": {"Wikitext"}, ".mediawiki": {"Wikitext"},
".mermaid": {"Mermaid"},
".meta": {"Unity3D Asset"}, ".meta": {"Unity3D Asset"},
".metal": {"Metal"}, ".metal": {"Metal"},
".mg": {"Modula-3"}, ".mg": {"Modula-3"},
@ -675,11 +694,11 @@ var LanguagesByExtension = map[string][]string{
".mll": {"OCaml"}, ".mll": {"OCaml"},
".mly": {"OCaml"}, ".mly": {"OCaml"},
".mm": {"Objective-C++", "XML"}, ".mm": {"Objective-C++", "XML"},
".mmd": {"Mermaid"},
".mmk": {"Module Management System"}, ".mmk": {"Module Management System"},
".mms": {"Module Management System"}, ".mms": {"Module Management System"},
".mo": {"Modelica", "Motoko"}, ".mo": {"Modelica", "Motoko"},
".mod": {"AMPL", "Linux Kernel Module", "Modula-2", "XML"}, ".mod": {"AMPL", "Linux Kernel Module", "Modula-2", "XML"},
".model.lkml": {"LookML"},
".monkey": {"Monkey"}, ".monkey": {"Monkey"},
".monkey2": {"Monkey"}, ".monkey2": {"Monkey"},
".moo": {"Mercury", "Moocode"}, ".moo": {"Mercury", "Moocode"},
@ -749,7 +768,7 @@ var LanguagesByExtension = map[string][]string{
".nsh": {"NSIS"}, ".nsh": {"NSIS"},
".nsi": {"NSIS"}, ".nsi": {"NSIS"},
".nss": {"NWScript"}, ".nss": {"NWScript"},
".nu": {"Nu"}, ".nu": {"Nu", "Nushell"},
".numpy": {"NumPy"}, ".numpy": {"NumPy"},
".numpyw": {"NumPy"}, ".numpyw": {"NumPy"},
".numsc": {"NumPy"}, ".numsc": {"NumPy"},
@ -784,6 +803,7 @@ var LanguagesByExtension = map[string][]string{
".p6m": {"Raku"}, ".p6m": {"Raku"},
".p8": {"Lua"}, ".p8": {"Lua"},
".pac": {"JavaScript"}, ".pac": {"JavaScript"},
".pact": {"Pact"},
".pan": {"Pan"}, ".pan": {"Pan"},
".parrot": {"Parrot"}, ".parrot": {"Parrot"},
".pas": {"Pascal"}, ".pas": {"Pascal"},
@ -800,6 +820,7 @@ var LanguagesByExtension = map[string][]string{
".pcss": {"PostCSS"}, ".pcss": {"PostCSS"},
".pd": {"Pure Data"}, ".pd": {"Pure Data"},
".pd_lua": {"Lua"}, ".pd_lua": {"Lua"},
".pddl": {"PDDL"},
".pde": {"Processing"}, ".pde": {"Processing"},
".pegjs": {"PEG.js"}, ".pegjs": {"PEG.js"},
".pep": {"Pep8"}, ".pep": {"Pep8"},
@ -831,7 +852,7 @@ var LanguagesByExtension = map[string][]string{
".plot": {"Gnuplot"}, ".plot": {"Gnuplot"},
".pls": {"PLSQL"}, ".pls": {"PLSQL"},
".plsql": {"PLSQL"}, ".plsql": {"PLSQL"},
".plt": {"Gnuplot"}, ".plt": {"Gnuplot", "Prolog"},
".pluginspec": {"Ruby", "XML"}, ".pluginspec": {"Ruby", "XML"},
".plx": {"Perl"}, ".plx": {"Perl"},
".pm": {"Perl", "Raku", "X PixMap"}, ".pm": {"Perl", "Raku", "X PixMap"},
@ -844,6 +865,7 @@ var LanguagesByExtension = map[string][]string{
".podsl": {"Common Lisp"}, ".podsl": {"Common Lisp"},
".podspec": {"Ruby"}, ".podspec": {"Ruby"},
".pogo": {"PogoScript"}, ".pogo": {"PogoScript"},
".polar": {"Polar"},
".pony": {"Pony"}, ".pony": {"Pony"},
".por": {"Portugol"}, ".por": {"Portugol"},
".postcss": {"PostCSS"}, ".postcss": {"PostCSS"},
@ -916,6 +938,7 @@ var LanguagesByExtension = map[string][]string{
".rbi": {"Ruby"}, ".rbi": {"Ruby"},
".rbmnu": {"REALbasic"}, ".rbmnu": {"REALbasic"},
".rbres": {"REALbasic"}, ".rbres": {"REALbasic"},
".rbs": {"RBS"},
".rbtbar": {"REALbasic"}, ".rbtbar": {"REALbasic"},
".rbuild": {"Ruby"}, ".rbuild": {"Ruby"},
".rbuistate": {"REALbasic"}, ".rbuistate": {"REALbasic"},
@ -988,6 +1011,7 @@ var LanguagesByExtension = map[string][]string{
".scaml": {"Scaml"}, ".scaml": {"Scaml"},
".scd": {"Markdown", "SuperCollider"}, ".scd": {"Markdown", "SuperCollider"},
".sce": {"Scilab"}, ".sce": {"Scilab"},
".scenic": {"Scenic"},
".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"}, ".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"},
".schdoc": {"Altium Designer"}, ".schdoc": {"Altium Designer"},
".sci": {"Scilab"}, ".sci": {"Scilab"},
@ -997,12 +1021,14 @@ var LanguagesByExtension = map[string][]string{
".scrbl": {"Racket"}, ".scrbl": {"Racket"},
".scss": {"SCSS"}, ".scss": {"SCSS"},
".scxml": {"XML"}, ".scxml": {"XML"},
".sdc": {"Tcl"},
".sed": {"sed"}, ".sed": {"sed"},
".self": {"Self"}, ".self": {"Self"},
".service": {"desktop"}, ".service": {"desktop"},
".sexp": {"Common Lisp"}, ".sexp": {"Common Lisp"},
".sfd": {"Spline Font Database"}, ".sfd": {"Spline Font Database"},
".sfproj": {"XML"}, ".sfproj": {"XML"},
".sfv": {"Simple File Verification"},
".sh": {"Shell"}, ".sh": {"Shell"},
".sh-session": {"ShellSession"}, ".sh-session": {"ShellSession"},
".sh.in": {"Shell"}, ".sh.in": {"Shell"},
@ -1028,10 +1054,12 @@ var LanguagesByExtension = map[string][]string{
".sls": {"SaltStack", "Scheme"}, ".sls": {"SaltStack", "Scheme"},
".sma": {"Pawn"}, ".sma": {"Pawn"},
".smali": {"Smali"}, ".smali": {"Smali"},
".smk": {"Python"}, ".smithy": {"Smithy"},
".smk": {"Snakemake"},
".sml": {"Standard ML"}, ".sml": {"Standard ML"},
".smt": {"SMT"}, ".smt": {"SMT"},
".smt2": {"SMT"}, ".smt2": {"SMT"},
".snakefile": {"Snakemake"},
".snap": {"Jest Snapshot"}, ".snap": {"Jest Snapshot"},
".snip": {"Vim Snippet"}, ".snip": {"Vim Snippet"},
".snippet": {"Vim Snippet"}, ".snippet": {"Vim Snippet"},
@ -1085,6 +1113,7 @@ var LanguagesByExtension = map[string][]string{
".svelte": {"Svelte"}, ".svelte": {"Svelte"},
".svg": {"SVG"}, ".svg": {"SVG"},
".svh": {"SystemVerilog"}, ".svh": {"SystemVerilog"},
".sw": {"Sway", "XML"},
".swift": {"Swift"}, ".swift": {"Swift"},
".syntax": {"YAML"}, ".syntax": {"YAML"},
".t": {"Perl", "Raku", "Terra", "Turing"}, ".t": {"Perl", "Raku", "Terra", "Turing"},
@ -1115,6 +1144,7 @@ var LanguagesByExtension = map[string][]string{
".thy": {"Isabelle"}, ".thy": {"Isabelle"},
".tl": {"Type Language"}, ".tl": {"Type Language"},
".tla": {"TLA"}, ".tla": {"TLA"},
".tlv": {"TL-Verilog"},
".tm": {"Tcl"}, ".tm": {"Tcl"},
".tmac": {"Roff"}, ".tmac": {"Roff"},
".tmcommand": {"XML Property List"}, ".tmcommand": {"XML Property List"},
@ -1132,8 +1162,11 @@ var LanguagesByExtension = map[string][]string{
".tpl": {"Smarty"}, ".tpl": {"Smarty"},
".tpp": {"C++"}, ".tpp": {"C++"},
".tps": {"PLSQL"}, ".tps": {"PLSQL"},
".tres": {"Godot Resource"},
".trg": {"PLSQL"}, ".trg": {"PLSQL"},
".trigger": {"Apex", "Shell"},
".ts": {"TypeScript", "XML"}, ".ts": {"TypeScript", "XML"},
".tscn": {"Godot Resource"},
".tst": {"GAP", "Scilab"}, ".tst": {"GAP", "Scilab"},
".tsv": {"TSV"}, ".tsv": {"TSV"},
".tsx": {"TSX", "XML"}, ".tsx": {"TSX", "XML"},
@ -1143,6 +1176,7 @@ var LanguagesByExtension = map[string][]string{
".txi": {"Texinfo"}, ".txi": {"Texinfo"},
".txl": {"TXL"}, ".txl": {"TXL"},
".txt": {"Adblock Filter List", "Text", "Vim Help File"}, ".txt": {"Adblock Filter List", "Text", "Vim Help File"},
".txx": {"C++"},
".uc": {"UnrealScript"}, ".uc": {"UnrealScript"},
".udf": {"SQL"}, ".udf": {"SQL"},
".udo": {"Csound"}, ".udo": {"Csound"},
@ -1179,7 +1213,6 @@ var LanguagesByExtension = map[string][]string{
".vhs": {"VHDL"}, ".vhs": {"VHDL"},
".vht": {"VHDL"}, ".vht": {"VHDL"},
".vhw": {"VHDL"}, ".vhw": {"VHDL"},
".view.lkml": {"LookML"},
".vim": {"Vim Script"}, ".vim": {"Vim Script"},
".vimrc": {"Vim Script"}, ".vimrc": {"Vim Script"},
".viw": {"SQL"}, ".viw": {"SQL"},
@ -1201,15 +1234,17 @@ var LanguagesByExtension = map[string][]string{
".wast": {"WebAssembly"}, ".wast": {"WebAssembly"},
".wat": {"WebAssembly"}, ".wat": {"WebAssembly"},
".watchr": {"Ruby"}, ".watchr": {"Ruby"},
".wdl": {"wdl"}, ".wdl": {"WDL"},
".webapp": {"JSON"}, ".webapp": {"JSON"},
".webidl": {"WebIDL"}, ".webidl": {"WebIDL"},
".webmanifest": {"JSON"}, ".webmanifest": {"JSON"},
".weechatlog": {"IRC log"}, ".weechatlog": {"IRC log"},
".wgsl": {"WGSL"},
".whiley": {"Whiley"}, ".whiley": {"Whiley"},
".wiki": {"Wikitext"}, ".wiki": {"Wikitext"},
".wikitext": {"Wikitext"}, ".wikitext": {"Wikitext"},
".wisp": {"wisp"}, ".wisp": {"wisp"},
".wit": {"WebAssembly Interface Type"},
".wixproj": {"XML"}, ".wixproj": {"XML"},
".wl": {"Mathematica"}, ".wl": {"Mathematica"},
".wlk": {"Wollok"}, ".wlk": {"Wollok"},
@ -1233,6 +1268,7 @@ var LanguagesByExtension = map[string][]string{
".xaml": {"XML"}, ".xaml": {"XML"},
".xbm": {"X BitMap"}, ".xbm": {"X BitMap"},
".xc": {"XC"}, ".xc": {"XC"},
".xdc": {"Tcl"},
".xht": {"HTML"}, ".xht": {"HTML"},
".xhtml": {"HTML"}, ".xhtml": {"HTML"},
".xi": {"Logos"}, ".xi": {"Logos"},
@ -1276,7 +1312,7 @@ var LanguagesByExtension = map[string][]string{
".xzap": {"ZAP"}, ".xzap": {"ZAP"},
".y": {"Yacc"}, ".y": {"Yacc"},
".yacc": {"Yacc"}, ".yacc": {"Yacc"},
".yaml": {"MiniYAML", "YAML"}, ".yaml": {"MiniYAML", "OASv2-yaml", "OASv3-yaml", "YAML"},
".yaml-tmlanguage": {"YAML"}, ".yaml-tmlanguage": {"YAML"},
".yaml.sed": {"YAML"}, ".yaml.sed": {"YAML"},
".yang": {"YANG"}, ".yang": {"YANG"},
@ -1284,7 +1320,7 @@ var LanguagesByExtension = map[string][]string{
".yar": {"YARA"}, ".yar": {"YARA"},
".yara": {"YARA"}, ".yara": {"YARA"},
".yasnippet": {"YASnippet"}, ".yasnippet": {"YASnippet"},
".yml": {"YAML"}, ".yml": {"MiniYAML", "OASv2-yaml", "OASv3-yaml", "YAML"},
".yml.mysql": {"YAML"}, ".yml.mysql": {"YAML"},
".yrl": {"Erlang"}, ".yrl": {"Erlang"},
".yul": {"Yul"}, ".yul": {"Yul"},
@ -1333,7 +1369,7 @@ var ExtensionsByLanguage = map[string][]string{
"AngelScript": {".as", ".angelscript"}, "AngelScript": {".as", ".angelscript"},
"Antlers": {".antlers.html", ".antlers.php", ".antlers.xml"}, "Antlers": {".antlers.html", ".antlers.php", ".antlers.xml"},
"ApacheConf": {".apacheconf", ".vhost"}, "ApacheConf": {".apacheconf", ".vhost"},
"Apex": {".cls"}, "Apex": {".cls", ".trigger"},
"Apollo Guidance Computer": {".agc"}, "Apollo Guidance Computer": {".agc"},
"AppleScript": {".applescript", ".scpt"}, "AppleScript": {".applescript", ".scpt"},
"Arc": {".arc"}, "Arc": {".arc"},
@ -1369,7 +1405,7 @@ var ExtensionsByLanguage = map[string][]string{
"Brightscript": {".brs"}, "Brightscript": {".brs"},
"C": {".c", ".cats", ".h", ".idc"}, "C": {".c", ".cats", ".h", ".idc"},
"C#": {".cs", ".cake", ".csx", ".linq"}, "C#": {".cs", ".cake", ".csx", ".linq"},
"C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".ixx", ".re", ".tcc", ".tpp"}, "C++": {".cpp", ".c++", ".cc", ".cp", ".cppm", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".ixx", ".re", ".tcc", ".tpp", ".txx"},
"C-ObjDump": {".c-objdump"}, "C-ObjDump": {".c-objdump"},
"C2hs Haskell": {".chs"}, "C2hs Haskell": {".chs"},
"CAP CDS": {".cds"}, "CAP CDS": {".cds"},
@ -1394,6 +1430,7 @@ var ExtensionsByLanguage = map[string][]string{
"Charity": {".ch"}, "Charity": {".ch"},
"Checksums": {".crc32", ".md2", ".md4", ".md5", ".sha1", ".sha2", ".sha224", ".sha256", ".sha256sum", ".sha3", ".sha384", ".sha512"}, "Checksums": {".crc32", ".md2", ".md4", ".md5", ".sha1", ".sha2", ".sha224", ".sha256", ".sha256sum", ".sha3", ".sha384", ".sha512"},
"ChucK": {".ck"}, "ChucK": {".ck"},
"Circom": {".circom"},
"Cirru": {".cirru"}, "Cirru": {".cirru"},
"Clarion": {".clw"}, "Clarion": {".clw"},
"Clarity": {".clar"}, "Clarity": {".clar"},
@ -1422,9 +1459,11 @@ var ExtensionsByLanguage = map[string][]string{
"Cue Sheet": {".cue"}, "Cue Sheet": {".cue"},
"Curry": {".curry"}, "Curry": {".curry"},
"Cycript": {".cy"}, "Cycript": {".cy"},
"Cypher": {".cyp", ".cypher"},
"Cython": {".pyx", ".pxd", ".pxi"}, "Cython": {".pyx", ".pxd", ".pxi"},
"D": {".d", ".di"}, "D": {".d", ".di"},
"D-ObjDump": {".d-objdump"}, "D-ObjDump": {".d-objdump"},
"D2": {".d2"},
"DIGITAL Command Language": {".com"}, "DIGITAL Command Language": {".com"},
"DM": {".dm"}, "DM": {".dm"},
"DNS Zone": {".zone", ".arpa"}, "DNS Zone": {".zone", ".arpa"},
@ -1440,6 +1479,7 @@ var ExtensionsByLanguage = map[string][]string{
"DirectX 3D File": {".x"}, "DirectX 3D File": {".x"},
"Dockerfile": {".dockerfile"}, "Dockerfile": {".dockerfile"},
"Dogescript": {".djs"}, "Dogescript": {".djs"},
"Dotenv": {".env"},
"Dylan": {".dylan", ".dyl", ".intr", ".lid"}, "Dylan": {".dylan", ".dyl", ".intr", ".lid"},
"E": {".e"}, "E": {".e"},
"E-mail": {".eml", ".mbox"}, "E-mail": {".eml", ".mbox"},
@ -1451,6 +1491,8 @@ var ExtensionsByLanguage = map[string][]string{
"Eagle": {".sch", ".brd"}, "Eagle": {".sch", ".brd"},
"Easybuild": {".eb"}, "Easybuild": {".eb"},
"Ecere Projects": {".epj"}, "Ecere Projects": {".epj"},
"Ecmarkup": {".html"},
"EditorConfig": {".editorconfig"},
"Edje Data Collection": {".edc"}, "Edje Data Collection": {".edc"},
"Eiffel": {".e"}, "Eiffel": {".e"},
"Elixir": {".ex", ".exs"}, "Elixir": {".ex", ".exs"},
@ -1458,7 +1500,7 @@ var ExtensionsByLanguage = map[string][]string{
"Elvish": {".elv"}, "Elvish": {".elv"},
"Emacs Lisp": {".el", ".emacs", ".emacs.desktop"}, "Emacs Lisp": {".el", ".emacs", ".emacs.desktop"},
"EmberScript": {".em", ".emberscript"}, "EmberScript": {".em", ".emberscript"},
"Erlang": {".erl", ".app.src", ".es", ".escript", ".hrl", ".xrl", ".yrl"}, "Erlang": {".erl", ".app", ".app.src", ".es", ".escript", ".hrl", ".xrl", ".yrl"},
"Euphoria": {".e", ".ex"}, "Euphoria": {".e", ".ex"},
"F#": {".fs", ".fsi", ".fsx"}, "F#": {".fs", ".fsi", ".fsx"},
"F*": {".fst", ".fsti"}, "F*": {".fst", ".fsti"},
@ -1508,6 +1550,7 @@ var ExtensionsByLanguage = map[string][]string{
"Glyph Bitmap Distribution Format": {".bdf"}, "Glyph Bitmap Distribution Format": {".bdf"},
"Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"}, "Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"},
"Go": {".go"}, "Go": {".go"},
"Godot Resource": {".gdnlib", ".gdns", ".tres", ".tscn"},
"Golo": {".golo"}, "Golo": {".golo"},
"Gosu": {".gs", ".gst", ".gsx", ".vark"}, "Gosu": {".gs", ".gst", ".gsx", ".vark"},
"Grace": {".grace"}, "Grace": {".grace"},
@ -1542,17 +1585,20 @@ var ExtensionsByLanguage = map[string][]string{
"HyPhy": {".bf"}, "HyPhy": {".bf"},
"IDL": {".pro", ".dlm"}, "IDL": {".pro", ".dlm"},
"IGOR Pro": {".ipf"}, "IGOR Pro": {".ipf"},
"INI": {".ini", ".cfg", ".dof", ".lektorproject", ".prefs", ".pro", ".properties", ".url"}, "INI": {".ini", ".cfg", ".cnf", ".dof", ".lektorproject", ".prefs", ".pro", ".properties", ".url"},
"IRC log": {".irclog", ".weechatlog"}, "IRC log": {".irclog", ".weechatlog"},
"Idris": {".idr", ".lidr"}, "Idris": {".idr", ".lidr"},
"Ignore List": {".gitignore"}, "Ignore List": {".gitignore"},
"ImageJ Macro": {".ijm"}, "ImageJ Macro": {".ijm"},
"Imba": {".imba"},
"Inform 7": {".ni", ".i7x"}, "Inform 7": {".ni", ".i7x"},
"Ink": {".ink"},
"Inno Setup": {".iss", ".isl"}, "Inno Setup": {".iss", ".isl"},
"Io": {".io"}, "Io": {".io"},
"Ioke": {".ik"}, "Ioke": {".ik"},
"Isabelle": {".thy"}, "Isabelle": {".thy"},
"J": {".ijs"}, "J": {".ijs"},
"JCL": {".jcl"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".4dform", ".4dproject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".4dform", ".4dproject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".jsonc", ".code-snippets", ".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", ".code-snippets", ".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"},
@ -1561,7 +1607,7 @@ var ExtensionsByLanguage = map[string][]string{
"JSONiq": {".jq"}, "JSONiq": {".jq"},
"Janet": {".janet"}, "Janet": {".janet"},
"Jasmin": {".j"}, "Jasmin": {".j"},
"Java": {".java", ".jav"}, "Java": {".java", ".jav", ".jsh"},
"Java Properties": {".properties"}, "Java Properties": {".properties"},
"Java Server Pages": {".jsp", ".tag"}, "Java Server Pages": {".jsp", ".tag"},
"JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"}, "JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
@ -1578,9 +1624,11 @@ var ExtensionsByLanguage = map[string][]string{
"KRL": {".krl"}, "KRL": {".krl"},
"Kaitai Struct": {".ksy"}, "Kaitai Struct": {".ksy"},
"KakouneScript": {".kak"}, "KakouneScript": {".kak"},
"KerboScript": {".ks"},
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"}, "KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
"KiCad Legacy Layout": {".brd"}, "KiCad Legacy Layout": {".brd"},
"KiCad Schematic": {".kicad_sch", ".sch"}, "KiCad Schematic": {".kicad_sch", ".sch"},
"Kickstart": {".ks"},
"Kit": {".kit"}, "Kit": {".kit"},
"Kotlin": {".kt", ".ktm", ".kts"}, "Kotlin": {".kt", ".ktm", ".kts"},
"Kusto": {".csl", ".kql"}, "Kusto": {".csl", ".kql"},
@ -1608,7 +1656,7 @@ var ExtensionsByLanguage = map[string][]string{
"LiveScript": {".ls", "._ls"}, "LiveScript": {".ls", "._ls"},
"Logos": {".xm", ".x", ".xi"}, "Logos": {".xm", ".x", ".xi"},
"Logtalk": {".lgt", ".logtalk"}, "Logtalk": {".lgt", ".logtalk"},
"LookML": {".lookml", ".model.lkml", ".view.lkml"}, "LookML": {".lkml", ".lookml"},
"LoomScript": {".ls"}, "LoomScript": {".ls"},
"Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".rockspec", ".wlua"}, "Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".rockspec", ".wlua"},
"M": {".mumps", ".m"}, "M": {".mumps", ".m"},
@ -1616,6 +1664,7 @@ var ExtensionsByLanguage = map[string][]string{
"M4Sugar": {".m4"}, "M4Sugar": {".m4"},
"MATLAB": {".matlab", ".m"}, "MATLAB": {".matlab", ".m"},
"MAXScript": {".ms", ".mcr"}, "MAXScript": {".ms", ".mcr"},
"MDX": {".mdx"},
"MLIR": {".mlir"}, "MLIR": {".mlir"},
"MQL4": {".mq4", ".mqh"}, "MQL4": {".mq4", ".mqh"},
"MQL5": {".mq5", ".mqh"}, "MQL5": {".mq5", ".mqh"},
@ -1624,17 +1673,18 @@ var ExtensionsByLanguage = map[string][]string{
"Macaulay2": {".m2"}, "Macaulay2": {".m2"},
"Makefile": {".mak", ".d", ".make", ".makefile", ".mk", ".mkfile"}, "Makefile": {".mak", ".d", ".make", ".makefile", ".mk", ".mkfile"},
"Mako": {".mako", ".mao"}, "Mako": {".mako", ".mao"},
"Markdown": {".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"}, "Markdown": {".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"},
"Marko": {".marko"}, "Marko": {".marko"},
"Mask": {".mask"}, "Mask": {".mask"},
"Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"}, "Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"},
"Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"}, "Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"},
"Mercury": {".m", ".moo"}, "Mercury": {".m", ".moo"},
"Mermaid": {".mmd", ".mermaid"},
"Metal": {".metal"}, "Metal": {".metal"},
"Microsoft Developer Studio Project": {".dsp"}, "Microsoft Developer Studio Project": {".dsp"},
"Microsoft Visual Studio Solution": {".sln"}, "Microsoft Visual Studio Solution": {".sln"},
"MiniD": {".minid"}, "MiniD": {".minid"},
"MiniYAML": {".yaml"}, "MiniYAML": {".yaml", ".yml"},
"Mint": {".mint"}, "Mint": {".mint"},
"Mirah": {".druby", ".duby", ".mirah"}, "Mirah": {".druby", ".duby", ".mirah"},
"Modelica": {".mo"}, "Modelica": {".mo"},
@ -1673,6 +1723,11 @@ var ExtensionsByLanguage = map[string][]string{
"Nu": {".nu"}, "Nu": {".nu"},
"NumPy": {".numpy", ".numpyw", ".numsc"}, "NumPy": {".numpy", ".numpyw", ".numsc"},
"Nunjucks": {".njk"}, "Nunjucks": {".njk"},
"Nushell": {".nu"},
"OASv2-json": {".json"},
"OASv2-yaml": {".yaml", ".yml"},
"OASv3-json": {".json"},
"OASv3-yaml": {".yaml", ".yml"},
"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"}, "Object Data Instance Notation": {".odin"},
@ -1696,11 +1751,13 @@ var ExtensionsByLanguage = map[string][]string{
"Oxygene": {".oxygene"}, "Oxygene": {".oxygene"},
"Oz": {".oz"}, "Oz": {".oz"},
"P4": {".p4"}, "P4": {".p4"},
"PDDL": {".pddl"},
"PEG.js": {".pegjs"}, "PEG.js": {".pegjs"},
"PHP": {".php", ".aw", ".ctp", ".fcgi", ".inc", ".php3", ".php4", ".php5", ".phps", ".phpt"}, "PHP": {".php", ".aw", ".ctp", ".fcgi", ".inc", ".php3", ".php4", ".php5", ".phps", ".phpt"},
"PLSQL": {".pls", ".bdy", ".ddl", ".fnc", ".pck", ".pkb", ".pks", ".plb", ".plsql", ".prc", ".spc", ".sql", ".tpb", ".tps", ".trg", ".vw"}, "PLSQL": {".pls", ".bdy", ".ddl", ".fnc", ".pck", ".pkb", ".pks", ".plb", ".plsql", ".prc", ".spc", ".sql", ".tpb", ".tps", ".trg", ".vw"},
"PLpgSQL": {".pgsql", ".sql"}, "PLpgSQL": {".pgsql", ".sql"},
"POV-Ray SDL": {".pov", ".inc"}, "POV-Ray SDL": {".pov", ".inc"},
"Pact": {".pact"},
"Pan": {".pan"}, "Pan": {".pan"},
"Papyrus": {".psc"}, "Papyrus": {".psc"},
"Parrot": {".parrot"}, "Parrot": {".parrot"},
@ -1719,6 +1776,7 @@ var ExtensionsByLanguage = map[string][]string{
"Pod": {".pod"}, "Pod": {".pod"},
"Pod 6": {".pod", ".pod6"}, "Pod 6": {".pod", ".pod6"},
"PogoScript": {".pogo"}, "PogoScript": {".pogo"},
"Polar": {".polar"},
"Pony": {".pony"}, "Pony": {".pony"},
"Portugol": {".por"}, "Portugol": {".por"},
"PostCSS": {".pcss", ".postcss"}, "PostCSS": {".pcss", ".postcss"},
@ -1728,7 +1786,7 @@ var ExtensionsByLanguage = map[string][]string{
"Prisma": {".prisma"}, "Prisma": {".prisma"},
"Processing": {".pde"}, "Processing": {".pde"},
"Proguard": {".pro"}, "Proguard": {".pro"},
"Prolog": {".pl", ".pro", ".prolog", ".yap"}, "Prolog": {".pl", ".plt", ".pro", ".prolog", ".yap"},
"Promela": {".pml"}, "Promela": {".pml"},
"Propeller Spin": {".spin"}, "Propeller Spin": {".spin"},
"Protocol Buffer": {".proto"}, "Protocol Buffer": {".proto"},
@ -1739,7 +1797,8 @@ var ExtensionsByLanguage = map[string][]string{
"Pure Data": {".pd"}, "Pure Data": {".pd"},
"PureBasic": {".pb", ".pbi"}, "PureBasic": {".pb", ".pbi"},
"PureScript": {".purs"}, "PureScript": {".purs"},
"Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".wsgi", ".xpy"}, "Pyret": {".arr"},
"Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".spec", ".tac", ".wsgi", ".xpy"},
"Python traceback": {".pytb"}, "Python traceback": {".pytb"},
"Q#": {".qs"}, "Q#": {".qs"},
"QML": {".qml", ".qbs"}, "QML": {".qml", ".qbs"},
@ -1747,6 +1806,7 @@ var ExtensionsByLanguage = map[string][]string{
"Qt Script": {".qs"}, "Qt Script": {".qs"},
"R": {".r", ".rd", ".rsx"}, "R": {".r", ".rd", ".rsx"},
"RAML": {".raml"}, "RAML": {".raml"},
"RBS": {".rbs"},
"RDoc": {".rdoc"}, "RDoc": {".rdoc"},
"REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"}, "REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"},
"REXX": {".rexx", ".pprx", ".rex"}, "REXX": {".rexx", ".pprx", ".rex"},
@ -1798,14 +1858,16 @@ var ExtensionsByLanguage = map[string][]string{
"Sass": {".sass"}, "Sass": {".sass"},
"Scala": {".scala", ".kojo", ".sbt", ".sc"}, "Scala": {".scala", ".kojo", ".sbt", ".sc"},
"Scaml": {".scaml"}, "Scaml": {".scaml"},
"Scenic": {".scenic"},
"Scheme": {".scm", ".sch", ".sld", ".sls", ".sps", ".ss"}, "Scheme": {".scm", ".sch", ".sld", ".sls", ".sps", ".ss"},
"Scilab": {".sci", ".sce", ".tst"}, "Scilab": {".sci", ".sce", ".tst"},
"Self": {".self"}, "Self": {".self"},
"ShaderLab": {".shader"}, "ShaderLab": {".shader"},
"Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".env", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".zsh", ".zsh-theme"}, "Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".trigger", ".zsh", ".zsh-theme"},
"ShellSession": {".sh-session"}, "ShellSession": {".sh-session"},
"Shen": {".shen"}, "Shen": {".shen"},
"Sieve": {".sieve"}, "Sieve": {".sieve"},
"Simple File Verification": {".sfv"},
"Slash": {".sl"}, "Slash": {".sl"},
"Slice": {".ice"}, "Slice": {".ice"},
"Slim": {".slim"}, "Slim": {".slim"},
@ -1813,6 +1875,8 @@ var ExtensionsByLanguage = map[string][]string{
"Smali": {".smali"}, "Smali": {".smali"},
"Smalltalk": {".st", ".cs"}, "Smalltalk": {".st", ".cs"},
"Smarty": {".tpl"}, "Smarty": {".tpl"},
"Smithy": {".smithy"},
"Snakemake": {".smk", ".snakefile"},
"Solidity": {".sol"}, "Solidity": {".sol"},
"SourcePawn": {".sp", ".inc"}, "SourcePawn": {".sp", ".inc"},
"Spline Font Database": {".sfd"}, "Spline Font Database": {".sfd"},
@ -1827,9 +1891,11 @@ var ExtensionsByLanguage = map[string][]string{
"SugarSS": {".sss"}, "SugarSS": {".sss"},
"SuperCollider": {".sc", ".scd"}, "SuperCollider": {".sc", ".scd"},
"Svelte": {".svelte"}, "Svelte": {".svelte"},
"Sway": {".sw"},
"Swift": {".swift"}, "Swift": {".swift"},
"SystemVerilog": {".sv", ".svh", ".vh"}, "SystemVerilog": {".sv", ".svh", ".vh"},
"TI Program": {".8xp", ".8xk", ".8xk.txt", ".8xp.txt"}, "TI Program": {".8xp", ".8xk", ".8xk.txt", ".8xp.txt"},
"TL-Verilog": {".tlv"},
"TLA": {".tla"}, "TLA": {".tla"},
"TOML": {".toml"}, "TOML": {".toml"},
"TSQL": {".sql"}, "TSQL": {".sql"},
@ -1837,7 +1903,7 @@ var ExtensionsByLanguage = map[string][]string{
"TSX": {".tsx"}, "TSX": {".tsx"},
"TXL": {".txl"}, "TXL": {".txl"},
"Talon": {".talon"}, "Talon": {".talon"},
"Tcl": {".tcl", ".adp", ".tcl.in", ".tm"}, "Tcl": {".tcl", ".adp", ".sdc", ".tcl.in", ".tm", ".xdc"},
"Tcsh": {".tcsh", ".csh"}, "Tcsh": {".tcsh", ".csh"},
"TeX": {".tex", ".aux", ".bbx", ".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"},
@ -1858,7 +1924,7 @@ var ExtensionsByLanguage = map[string][]string{
"UnrealScript": {".uc"}, "UnrealScript": {".uc"},
"UrWeb": {".ur", ".urs"}, "UrWeb": {".ur", ".urs"},
"V": {".v"}, "V": {".v"},
"VBA": {".bas", ".cls", ".frm", ".frx", ".vba"}, "VBA": {".bas", ".cls", ".frm", ".vba"},
"VBScript": {".vbs"}, "VBScript": {".vbs"},
"VCL": {".vcl"}, "VCL": {".vcl"},
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
@ -1870,13 +1936,17 @@ var ExtensionsByLanguage = map[string][]string{
"Vim Script": {".vim", ".vba", ".vimrc", ".vmb"}, "Vim Script": {".vim", ".vba", ".vimrc", ".vmb"},
"Vim Snippet": {".snip", ".snippet", ".snippets"}, "Vim Snippet": {".snip", ".snippet", ".snippets"},
"Visual Basic .NET": {".vb", ".vbhtml"}, "Visual Basic .NET": {".vb", ".vbhtml"},
"Visual Basic 6.0": {".bas", ".cls", ".ctl", ".dsr", ".frm"},
"Volt": {".volt"}, "Volt": {".volt"},
"Vue": {".vue"}, "Vue": {".vue"},
"Vyper": {".vy"}, "Vyper": {".vy"},
"WDL": {".wdl"},
"WGSL": {".wgsl"},
"Wavefront Material": {".mtl"}, "Wavefront Material": {".mtl"},
"Wavefront Object": {".obj"}, "Wavefront Object": {".obj"},
"Web Ontology Language": {".owl"}, "Web Ontology Language": {".owl"},
"WebAssembly": {".wast", ".wat"}, "WebAssembly": {".wast", ".wat"},
"WebAssembly Interface Type": {".wit"},
"WebIDL": {".webidl"}, "WebIDL": {".webidl"},
"WebVTT": {".vtt"}, "WebVTT": {".vtt"},
"Whiley": {".whiley"}, "Whiley": {".whiley"},
@ -1891,7 +1961,7 @@ 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", ".axaml", ".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", ".gst", ".hzp", ".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", ".qhelp", ".rdf", ".res", ".resx", ".rs", ".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", ".xmp", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"}, "XML": {".xml", ".adml", ".admx", ".ant", ".axaml", ".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", ".gst", ".hzp", ".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", ".qhelp", ".rdf", ".res", ".resx", ".rs", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".sw", ".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", ".xmp", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
"XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"}, "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"},
@ -1931,7 +2001,6 @@ var ExtensionsByLanguage = map[string][]string{
"q": {".q"}, "q": {".q"},
"reStructuredText": {".rst", ".rest", ".rest.txt", ".rst.txt"}, "reStructuredText": {".rst", ".rest", ".rest.txt", ".rst.txt"},
"sed": {".sed"}, "sed": {".sed"},
"wdl": {".wdl"},
"wisp": {".wisp"}, "wisp": {".wisp"},
"xBase": {".prg", ".ch", ".prw"}, "xBase": {".prg", ".ch", ".prw"},
} }

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -7,12 +7,15 @@ var LanguagesByFilename = map[string][]string{
".Rprofile": {"R"}, ".Rprofile": {"R"},
".XCompose": {"XCompose"}, ".XCompose": {"XCompose"},
".abbrev_defs": {"Emacs Lisp"}, ".abbrev_defs": {"Emacs Lisp"},
".ackrc": {"Option List"},
".all-contributorsrc": {"JSON"},
".arcconfig": {"JSON"}, ".arcconfig": {"JSON"},
".atomignore": {"Ignore List"}, ".atomignore": {"Ignore List"},
".auto-changelog": {"JSON"}, ".auto-changelog": {"JSON"},
".babelignore": {"Ignore List"}, ".babelignore": {"Ignore List"},
".babelrc": {"JSON with Comments"}, ".babelrc": {"JSON with Comments"},
".bash_aliases": {"Shell"}, ".bash_aliases": {"Shell"},
".bash_functions": {"Shell"},
".bash_history": {"Shell"}, ".bash_history": {"Shell"},
".bash_logout": {"Shell"}, ".bash_logout": {"Shell"},
".bash_profile": {"Shell"}, ".bash_profile": {"Shell"},
@ -37,8 +40,18 @@ var LanguagesByFilename = map[string][]string{
".eleventyignore": {"Ignore List"}, ".eleventyignore": {"Ignore List"},
".emacs": {"Emacs Lisp"}, ".emacs": {"Emacs Lisp"},
".emacs.desktop": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"},
".env": {"Shell"}, ".env": {"Dotenv"},
".env.example": {"Shell"}, ".env.ci": {"Dotenv"},
".env.dev": {"Dotenv"},
".env.development": {"Dotenv"},
".env.development.local": {"Dotenv"},
".env.example": {"Dotenv"},
".env.local": {"Dotenv"},
".env.prod": {"Dotenv"},
".env.production": {"Dotenv"},
".env.staging": {"Dotenv"},
".env.test": {"Dotenv"},
".env.testing": {"Dotenv"},
".eslintignore": {"Ignore List"}, ".eslintignore": {"Ignore List"},
".eslintrc.json": {"JSON with Comments"}, ".eslintrc.json": {"JSON with Comments"},
".exrc": {"Vim Script"}, ".exrc": {"Vim Script"},
@ -65,6 +78,7 @@ var LanguagesByFilename = map[string][]string{
".jshintrc": {"JSON with Comments"}, ".jshintrc": {"JSON with Comments"},
".jslintrc": {"JSON with Comments"}, ".jslintrc": {"JSON with Comments"},
".kshrc": {"Shell"}, ".kshrc": {"Shell"},
".latexmkrc": {"Perl"},
".login": {"Shell"}, ".login": {"Shell"},
".luacheckrc": {"Lua"}, ".luacheckrc": {"Lua"},
".markdownlintignore": {"Ignore List"}, ".markdownlintignore": {"Ignore List"},
@ -82,10 +96,13 @@ var LanguagesByFilename = map[string][]string{
".project": {"XML"}, ".project": {"XML"},
".pryrc": {"Ruby"}, ".pryrc": {"Ruby"},
".pylintrc": {"INI"}, ".pylintrc": {"INI"},
".scalafix.conf": {"HOCON"},
".scalafmt.conf": {"HOCON"},
".shellcheckrc": {"ShellCheck Config"}, ".shellcheckrc": {"ShellCheck Config"},
".simplecov": {"Ruby"}, ".simplecov": {"Ruby"},
".spacemacs": {"Emacs Lisp"}, ".spacemacs": {"Emacs Lisp"},
".stylelintignore": {"Ignore List"}, ".stylelintignore": {"Ignore List"},
".swcrc": {"JSON with Comments"},
".tern-config": {"JSON"}, ".tern-config": {"JSON"},
".tern-project": {"JSON"}, ".tern-project": {"JSON"},
".tm_properties": {"TextMate Properties"}, ".tm_properties": {"TextMate Properties"},
@ -140,17 +157,21 @@ var LanguagesByFilename = map[string][]string{
"Gemfile.lock": {"Gemfile.lock"}, "Gemfile.lock": {"Gemfile.lock"},
"Gopkg.lock": {"TOML"}, "Gopkg.lock": {"TOML"},
"Guardfile": {"Ruby"}, "Guardfile": {"Ruby"},
"HOSTS": {"Hosts File", "INI"},
"INSTALL": {"Text"}, "INSTALL": {"Text"},
"INSTALL.mysql": {"Text"}, "INSTALL.mysql": {"Text"},
"JUSTFILE": {"Just"},
"Jakefile": {"JavaScript"}, "Jakefile": {"JavaScript"},
"Jarfile": {"Ruby"}, "Jarfile": {"Ruby"},
"Jenkinsfile": {"Groovy"}, "Jenkinsfile": {"Groovy"},
"Justfile": {"Just"},
"Kbuild": {"Makefile"}, "Kbuild": {"Makefile"},
"LICENSE": {"Text"}, "LICENSE": {"Text"},
"LICENSE.mysql": {"Text"}, "LICENSE.mysql": {"Text"},
"Lexer.x": {"Lex"}, "Lexer.x": {"Lex"},
"MANIFEST.MF": {"JAR Manifest"}, "MANIFEST.MF": {"JAR Manifest"},
"MD5SUMS": {"Checksums"}, "MD5SUMS": {"Checksums"},
"MODULE.bazel": {"Starlark"},
"Makefile": {"Makefile"}, "Makefile": {"Makefile"},
"Makefile.PL": {"Perl"}, "Makefile.PL": {"Perl"},
"Makefile.am": {"Makefile"}, "Makefile.am": {"Makefile"},
@ -188,13 +209,14 @@ var LanguagesByFilename = map[string][]string{
"Settings.StyleCop": {"XML"}, "Settings.StyleCop": {"XML"},
"Singularity": {"Singularity"}, "Singularity": {"Singularity"},
"Slakefile": {"LiveScript"}, "Slakefile": {"LiveScript"},
"Snakefile": {"Python"}, "Snakefile": {"Snakemake"},
"Snapfile": {"Ruby"}, "Snapfile": {"Ruby"},
"Steepfile": {"Ruby"}, "Steepfile": {"Ruby"},
"Thorfile": {"Ruby"}, "Thorfile": {"Ruby"},
"Tiltfile": {"Starlark"}, "Tiltfile": {"Starlark"},
"Vagrantfile": {"Ruby"}, "Vagrantfile": {"Ruby"},
"WORKSPACE": {"Starlark"}, "WORKSPACE": {"Starlark"},
"WORKSPACE.bazel": {"Starlark"},
"Web.Debug.config": {"XML"}, "Web.Debug.config": {"XML"},
"Web.Release.config": {"XML"}, "Web.Release.config": {"XML"},
"Web.config": {"XML"}, "Web.config": {"XML"},
@ -207,6 +229,7 @@ var LanguagesByFilename = map[string][]string{
"_vimrc": {"Vim Script"}, "_vimrc": {"Vim Script"},
"abbrev_defs": {"Emacs Lisp"}, "abbrev_defs": {"Emacs Lisp"},
"ack": {"Perl"}, "ack": {"Perl"},
"ackrc": {"Option List"},
"ant.xml": {"Ant Build System"}, "ant.xml": {"Ant Build System"},
"apache2.conf": {"ApacheConf"}, "apache2.conf": {"ApacheConf"},
"api-extractor.json": {"JSON with Comments"}, "api-extractor.json": {"JSON with Comments"},
@ -238,6 +261,7 @@ var LanguagesByFilename = map[string][]string{
"expr-dist": {"R"}, "expr-dist": {"R"},
"file_contexts": {"SELinux Policy"}, "file_contexts": {"SELinux Policy"},
"firestore.rules": {"Cloud Firestore Security Rules"}, "firestore.rules": {"Cloud Firestore Security Rules"},
"flake.lock": {"JSON"},
"fonts.alias": {"X Font Directory Index"}, "fonts.alias": {"X Font Directory Index"},
"fonts.dir": {"X Font Directory Index"}, "fonts.dir": {"X Font Directory Index"},
"fonts.scale": {"X Font Directory Index"}, "fonts.scale": {"X Font Directory Index"},
@ -248,19 +272,24 @@ var LanguagesByFilename = map[string][]string{
"glide.lock": {"YAML"}, "glide.lock": {"YAML"},
"go.mod": {"Go Module"}, "go.mod": {"Go Module"},
"go.sum": {"Go Checksums"}, "go.sum": {"Go Checksums"},
"go.work": {"Go Workspace"},
"go.work.sum": {"Go Checksums"},
"gradlew": {"Shell"}, "gradlew": {"Shell"},
"gvimrc": {"Vim Script"}, "gvimrc": {"Vim Script"},
"haproxy.cfg": {"HAProxy"}, "haproxy.cfg": {"HAProxy"},
"hosts": {"Hosts File", "INI"},
"httpd.conf": {"ApacheConf"}, "httpd.conf": {"ApacheConf"},
"initial_sids": {"SELinux Policy"}, "initial_sids": {"SELinux Policy"},
"inputrc": {"Readline Config"}, "inputrc": {"Readline Config"},
"installscript.qs": {"Qt Script"}, "installscript.qs": {"Qt Script"},
"jsconfig.json": {"JSON with Comments"}, "jsconfig.json": {"JSON with Comments"},
"justfile": {"Just"},
"kakrc": {"KakouneScript"}, "kakrc": {"KakouneScript"},
"keep.me": {"Text"}, "keep.me": {"Text"},
"kshrc": {"Shell"}, "kshrc": {"Shell"},
"language-configuration.json": {"JSON with Comments"}, "language-configuration.json": {"JSON with Comments"},
"language-subtag-registry.txt": {"Record Jar"}, "language-subtag-registry.txt": {"Record Jar"},
"latexmkrc": {"Perl"},
"ld.script": {"Linker Script"}, "ld.script": {"Linker Script"},
"lexer.x": {"Lex"}, "lexer.x": {"Lex"},
"login": {"Shell"}, "login": {"Shell"},
@ -277,6 +306,7 @@ var LanguagesByFilename = map[string][]string{
"mkfile": {"Makefile"}, "mkfile": {"Makefile"},
"mmn": {"Roff"}, "mmn": {"Roff"},
"mmt": {"Roff"}, "mmt": {"Roff"},
"mocha.opts": {"Option List"},
"nanorc": {"nanorc"}, "nanorc": {"nanorc"},
"nextflow.config": {"Nextflow"}, "nextflow.config": {"Nextflow"},
"nginx.conf": {"Nginx"}, "nginx.conf": {"Nginx"},
@ -287,10 +317,12 @@ var LanguagesByFilename = map[string][]string{
"package.use.mask": {"Text"}, "package.use.mask": {"Text"},
"package.use.stable.mask": {"Text"}, "package.use.stable.mask": {"Text"},
"packages.config": {"XML"}, "packages.config": {"XML"},
"pdm.lock": {"TOML"},
"poetry.lock": {"TOML"}, "poetry.lock": {"TOML"},
"pom.xml": {"Maven POM"}, "pom.xml": {"Maven POM"},
"port_contexts": {"SELinux Policy"}, "port_contexts": {"SELinux Policy"},
"profile": {"Shell"}, "profile": {"Shell"},
"project.godot": {"Godot Resource"},
"pylintrc": {"INI"}, "pylintrc": {"INI"},
"read.me": {"Text"}, "read.me": {"Text"},
"readme.1st": {"Text"}, "readme.1st": {"Text"},
@ -316,6 +348,7 @@ var LanguagesByFilename = map[string][]string{
"use.mask": {"Text"}, "use.mask": {"Text"},
"use.stable.mask": {"Text"}, "use.stable.mask": {"Text"},
"vimrc": {"Vim Script"}, "vimrc": {"Vim Script"},
"vlcrc": {"INI"},
"wscript": {"Python"}, "wscript": {"Python"},
"xcompose": {"XCompose"}, "xcompose": {"XCompose"},
"yarn.lock": {"YAML"}, "yarn.lock": {"YAML"},

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -14,7 +14,9 @@ var LanguagesGroup = map[string]string{
"ECLiPSe": "prolog", "ECLiPSe": "prolog",
"Easybuild": "Python", "Easybuild": "Python",
"Ecere Projects": "JavaScript", "Ecere Projects": "JavaScript",
"Ecmarkup": "HTML",
"EditorConfig": "INI", "EditorConfig": "INI",
"Elvish Transcript": "Elvish",
"Filterscript": "RenderScript", "Filterscript": "RenderScript",
"Fortran": "Fortran", "Fortran": "Fortran",
"Fortran Free Form": "Fortran", "Fortran Free Form": "Fortran",
@ -46,6 +48,10 @@ var LanguagesGroup = map[string]string{
"Motorola 68K Assembly": "Assembly", "Motorola 68K Assembly": "Assembly",
"NPM Config": "INI", "NPM Config": "INI",
"NumPy": "Python", "NumPy": "Python",
"OASv2-json": "OpenAPI Specification v2",
"OASv2-yaml": "OpenAPI Specification v2",
"OASv3-json": "OpenAPI Specification v3",
"OASv3-yaml": "OpenAPI Specification v3",
"OpenCL": "C", "OpenCL": "C",
"OpenRC runscript": "Shell", "OpenRC runscript": "Shell",
"Parrot Assembly": "Parrot", "Parrot Assembly": "Parrot",
@ -54,11 +60,14 @@ var LanguagesGroup = map[string]string{
"PostCSS": "CSS", "PostCSS": "CSS",
"Python console": "Python", "Python console": "Python",
"Python traceback": "Python", "Python traceback": "Python",
"RBS": "Ruby",
"Readline Config": "INI", "Readline Config": "INI",
"ReasonLIGO": "LigoLANG", "ReasonLIGO": "LigoLANG",
"Roff Manpage": "Roff", "Roff Manpage": "Roff",
"SSH Config": "INI", "SSH Config": "INI",
"STON": "Smalltalk", "STON": "Smalltalk",
"Simple File Verification": "Checksums",
"Snakemake": "Python",
"TSX": "TypeScript", "TSX": "TypeScript",
"Tcsh": "Shell", "Tcsh": "Shell",
"Unified Parallel C": "C", "Unified Parallel C": "C",

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -96,6 +96,7 @@ var IDByLanguage = map[string]int{
"Charity": 56, "Charity": 56,
"Checksums": 372063053, "Checksums": 372063053,
"ChucK": 57, "ChucK": 57,
"Circom": 1042332086,
"Cirru": 58, "Cirru": 58,
"Clarion": 59, "Clarion": 59,
"Clarity": 91493841, "Clarity": 91493841,
@ -125,9 +126,11 @@ var IDByLanguage = map[string]int{
"Cue Sheet": 942714150, "Cue Sheet": 942714150,
"Curry": 439829048, "Curry": 439829048,
"Cycript": 78, "Cycript": 78,
"Cypher": 850806976,
"Cython": 79, "Cython": 79,
"D": 80, "D": 80,
"D-ObjDump": 81, "D-ObjDump": 81,
"D2": 37531557,
"DIGITAL Command Language": 82, "DIGITAL Command Language": 82,
"DM": 83, "DM": 83,
"DNS Zone": 84, "DNS Zone": 84,
@ -143,6 +146,7 @@ var IDByLanguage = map[string]int{
"DirectX 3D File": 201049282, "DirectX 3D File": 201049282,
"Dockerfile": 89, "Dockerfile": 89,
"Dogescript": 90, "Dogescript": 90,
"Dotenv": 111148035,
"Dylan": 91, "Dylan": 91,
"E": 92, "E": 92,
"E-mail": 529653389, "E-mail": 529653389,
@ -155,12 +159,14 @@ var IDByLanguage = map[string]int{
"Earthly": 963512632, "Earthly": 963512632,
"Easybuild": 342840477, "Easybuild": 342840477,
"Ecere Projects": 98, "Ecere Projects": 98,
"Ecmarkup": 844766630,
"EditorConfig": 96139566, "EditorConfig": 96139566,
"Edje Data Collection": 342840478, "Edje Data Collection": 342840478,
"Eiffel": 99, "Eiffel": 99,
"Elixir": 100, "Elixir": 100,
"Elm": 101, "Elm": 101,
"Elvish": 570996448, "Elvish": 570996448,
"Elvish Transcript": 452025714,
"Emacs Lisp": 102, "Emacs Lisp": 102,
"EmberScript": 103, "EmberScript": 103,
"Erlang": 104, "Erlang": 104,
@ -218,6 +224,8 @@ var IDByLanguage = map[string]int{
"Go": 132, "Go": 132,
"Go Checksums": 1054391671, "Go Checksums": 1054391671,
"Go Module": 947461016, "Go Module": 947461016,
"Go Workspace": 934546256,
"Godot Resource": 738107771,
"Golo": 133, "Golo": 133,
"Gosu": 134, "Gosu": 134,
"Grace": 135, "Grace": 135,
@ -248,6 +256,7 @@ var IDByLanguage = map[string]int{
"Haxe": 158, "Haxe": 158,
"HiveQL": 931814087, "HiveQL": 931814087,
"HolyC": 928121743, "HolyC": 928121743,
"Hosts File": 231021894,
"Hy": 159, "Hy": 159,
"HyPhy": 160, "HyPhy": 160,
"IDL": 161, "IDL": 161,
@ -257,7 +266,9 @@ var IDByLanguage = map[string]int{
"Idris": 165, "Idris": 165,
"Ignore List": 74444240, "Ignore List": 74444240,
"ImageJ Macro": 575143428, "ImageJ Macro": 575143428,
"Imba": 1057618448,
"Inform 7": 166, "Inform 7": 166,
"Ink": 838252715,
"Inno Setup": 167, "Inno Setup": 167,
"Io": 168, "Io": 168,
"Ioke": 169, "Ioke": 169,
@ -265,6 +276,7 @@ var IDByLanguage = map[string]int{
"Isabelle ROOT": 171, "Isabelle ROOT": 171,
"J": 172, "J": 172,
"JAR Manifest": 447261135, "JAR Manifest": 447261135,
"JCL": 316620079,
"JFlex": 173, "JFlex": 173,
"JSON": 174, "JSON": 174,
"JSON with Comments": 423, "JSON with Comments": 423,
@ -287,12 +299,15 @@ var IDByLanguage = map[string]int{
"Jsonnet": 664885656, "Jsonnet": 664885656,
"Julia": 184, "Julia": 184,
"Jupyter Notebook": 185, "Jupyter Notebook": 185,
"Just": 128447695,
"KRL": 186, "KRL": 186,
"Kaitai Struct": 818804755, "Kaitai Struct": 818804755,
"KakouneScript": 603336474, "KakouneScript": 603336474,
"KerboScript": 59716426,
"KiCad Layout": 187, "KiCad Layout": 187,
"KiCad Legacy Layout": 140848857, "KiCad Legacy Layout": 140848857,
"KiCad Schematic": 622447435, "KiCad Schematic": 622447435,
"Kickstart": 692635484,
"Kit": 188, "Kit": 188,
"Kotlin": 189, "Kotlin": 189,
"Kusto": 225697190, "Kusto": 225697190,
@ -328,6 +343,7 @@ var IDByLanguage = map[string]int{
"M4Sugar": 216, "M4Sugar": 216,
"MATLAB": 225, "MATLAB": 225,
"MAXScript": 217, "MAXScript": 217,
"MDX": 512838272,
"MLIR": 448253929, "MLIR": 448253929,
"MQL4": 426, "MQL4": 426,
"MQL5": 427, "MQL5": 427,
@ -343,6 +359,7 @@ var IDByLanguage = map[string]int{
"Maven POM": 226, "Maven POM": 226,
"Max": 227, "Max": 227,
"Mercury": 229, "Mercury": 229,
"Mermaid": 385992043,
"Meson": 799141244, "Meson": 799141244,
"Metal": 230, "Metal": 230,
"Microsoft Developer Studio Project": 800983837, "Microsoft Developer Studio Project": 800983837,
@ -388,6 +405,11 @@ var IDByLanguage = map[string]int{
"Nu": 253, "Nu": 253,
"NumPy": 254, "NumPy": 254,
"Nunjucks": 461856962, "Nunjucks": 461856962,
"Nushell": 446573572,
"OASv2-json": 834374816,
"OASv2-yaml": 105187618,
"OASv3-json": 980062566,
"OASv3-yaml": 51239111,
"OCaml": 255, "OCaml": 255,
"ObjDump": 256, "ObjDump": 256,
"Object Data Instance Notation": 985227236, "Object Data Instance Notation": 985227236,
@ -400,6 +422,8 @@ var IDByLanguage = map[string]int{
"Opa": 261, "Opa": 261,
"Opal": 262, "Opal": 262,
"Open Policy Agent": 840483232, "Open Policy Agent": 840483232,
"OpenAPI Specification v2": 848295328,
"OpenAPI Specification v3": 557959099,
"OpenCL": 263, "OpenCL": 263,
"OpenEdge ABL": 264, "OpenEdge ABL": 264,
"OpenQASM": 153739399, "OpenQASM": 153739399,
@ -407,16 +431,19 @@ var IDByLanguage = map[string]int{
"OpenSCAD": 266, "OpenSCAD": 266,
"OpenStep Property List": 598917541, "OpenStep Property List": 598917541,
"OpenType Feature File": 374317347, "OpenType Feature File": 374317347,
"Option List": 723589315,
"Org": 267, "Org": 267,
"Ox": 268, "Ox": 268,
"Oxygene": 269, "Oxygene": 269,
"Oz": 270, "Oz": 270,
"P4": 348895984, "P4": 348895984,
"PDDL": 736235603,
"PEG.js": 81442128, "PEG.js": 81442128,
"PHP": 272, "PHP": 272,
"PLSQL": 273, "PLSQL": 273,
"PLpgSQL": 274, "PLpgSQL": 274,
"POV-Ray SDL": 275, "POV-Ray SDL": 275,
"Pact": 756774415,
"Pan": 276, "Pan": 276,
"Papyrus": 277, "Papyrus": 277,
"Parrot": 278, "Parrot": 278,
@ -435,6 +462,7 @@ var IDByLanguage = map[string]int{
"Pod": 288, "Pod": 288,
"Pod 6": 155357471, "Pod 6": 155357471,
"PogoScript": 289, "PogoScript": 289,
"Polar": 839112914,
"Pony": 290, "Pony": 290,
"Portugol": 832391833, "Portugol": 832391833,
"PostCSS": 262764437, "PostCSS": 262764437,
@ -456,6 +484,7 @@ var IDByLanguage = map[string]int{
"Pure Data": 300, "Pure Data": 300,
"PureBasic": 301, "PureBasic": 301,
"PureScript": 302, "PureScript": 302,
"Pyret": 252961827,
"Python": 303, "Python": 303,
"Python console": 428, "Python console": 428,
"Python traceback": 304, "Python traceback": 304,
@ -466,6 +495,7 @@ var IDByLanguage = map[string]int{
"Quake": 375265331, "Quake": 375265331,
"R": 307, "R": 307,
"RAML": 308, "RAML": 308,
"RBS": 899227493,
"RDoc": 309, "RDoc": 309,
"REALbasic": 310, "REALbasic": 310,
"REXX": 311, "REXX": 311,
@ -521,6 +551,7 @@ var IDByLanguage = map[string]int{
"Sass": 340, "Sass": 340,
"Scala": 341, "Scala": 341,
"Scaml": 342, "Scaml": 342,
"Scenic": 619814037,
"Scheme": 343, "Scheme": 343,
"Scilab": 344, "Scilab": 344,
"Self": 345, "Self": 345,
@ -530,6 +561,7 @@ var IDByLanguage = map[string]int{
"ShellSession": 347, "ShellSession": 347,
"Shen": 348, "Shen": 348,
"Sieve": 208976687, "Sieve": 208976687,
"Simple File Verification": 735623761,
"Singularity": 987024632, "Singularity": 987024632,
"Slash": 349, "Slash": 349,
"Slice": 894641667, "Slice": 894641667,
@ -538,6 +570,8 @@ var IDByLanguage = map[string]int{
"Smali": 351, "Smali": 351,
"Smalltalk": 352, "Smalltalk": 352,
"Smarty": 353, "Smarty": 353,
"Smithy": 1027892786,
"Snakemake": 151241392,
"Solidity": 237469032, "Solidity": 237469032,
"Soong": 222900098, "Soong": 222900098,
"SourcePawn": 354, "SourcePawn": 354,
@ -553,9 +587,11 @@ var IDByLanguage = map[string]int{
"SugarSS": 826404698, "SugarSS": 826404698,
"SuperCollider": 361, "SuperCollider": 361,
"Svelte": 928734530, "Svelte": 928734530,
"Sway": 271471144,
"Swift": 362, "Swift": 362,
"SystemVerilog": 363, "SystemVerilog": 363,
"TI Program": 422, "TI Program": 422,
"TL-Verilog": 118656070,
"TLA": 364, "TLA": 364,
"TOML": 365, "TOML": 365,
"TSQL": 918334941, "TSQL": 918334941,
@ -597,13 +633,17 @@ var IDByLanguage = map[string]int{
"Vim Script": 388, "Vim Script": 388,
"Vim Snippet": 81265970, "Vim Snippet": 81265970,
"Visual Basic .NET": 389, "Visual Basic .NET": 389,
"Visual Basic 6.0": 679594952,
"Volt": 390, "Volt": 390,
"Vue": 391, "Vue": 391,
"Vyper": 1055641948, "Vyper": 1055641948,
"WDL": 374521672,
"WGSL": 836605993,
"Wavefront Material": 392, "Wavefront Material": 392,
"Wavefront Object": 393, "Wavefront Object": 393,
"Web Ontology Language": 394, "Web Ontology Language": 394,
"WebAssembly": 956556503, "WebAssembly": 956556503,
"WebAssembly Interface Type": 134534086,
"WebIDL": 395, "WebIDL": 395,
"WebVTT": 658679714, "WebVTT": 658679714,
"Wget Config": 668457123, "Wget Config": 668457123,
@ -663,7 +703,6 @@ var IDByLanguage = map[string]int{
"reStructuredText": 419, "reStructuredText": 419,
"robots.txt": 674736065, "robots.txt": 674736065,
"sed": 847830017, "sed": 847830017,
"wdl": 374521672,
"wisp": 420, "wisp": 420,
"xBase": 421, "xBase": 421,
} }

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -82,6 +82,7 @@ var LanguagesByInterpreter = map[string][]string{
"nextflow": {"Nextflow"}, "nextflow": {"Nextflow"},
"node": {"JavaScript"}, "node": {"JavaScript"},
"nodejs": {"JavaScript"}, "nodejs": {"JavaScript"},
"nu": {"Nushell"},
"nush": {"Nu"}, "nush": {"Nu"},
"ocaml": {"OCaml", "ReScript"}, "ocaml": {"OCaml", "ReScript"},
"ocamlrun": {"OCaml"}, "ocamlrun": {"OCaml"},
@ -98,6 +99,9 @@ var LanguagesByInterpreter = map[string][]string{
"pike": {"Pike"}, "pike": {"Pike"},
"pil": {"PicoLisp"}, "pil": {"PicoLisp"},
"pwsh": {"PowerShell"}, "pwsh": {"PowerShell"},
"py": {"Python"},
"pypy": {"Python"},
"pypy3": {"Python"},
"python": {"Python"}, "python": {"Python"},
"python2": {"Python"}, "python2": {"Python"},
"python3": {"Python"}, "python3": {"Python"},
@ -118,8 +122,10 @@ var LanguagesByInterpreter = map[string][]string{
"runghc": {"Haskell"}, "runghc": {"Haskell"},
"runhaskell": {"Haskell"}, "runhaskell": {"Haskell"},
"runhugs": {"Haskell"}, "runhugs": {"Haskell"},
"rust-script": {"Rust"},
"sbcl": {"Common Lisp"}, "sbcl": {"Common Lisp"},
"scala": {"Scala"}, "scala": {"Scala"},
"scenic": {"Scenic"},
"scheme": {"Scheme"}, "scheme": {"Scheme"},
"sclang": {"SuperCollider"}, "sclang": {"SuperCollider"},
"scsynth": {"SuperCollider"}, "scsynth": {"SuperCollider"},

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -56,6 +56,7 @@ var LanguagesMime = map[string]string{
"Eagle": "text/xml", "Eagle": "text/xml",
"Easybuild": "text/x-python", "Easybuild": "text/x-python",
"Ecere Projects": "application/json", "Ecere Projects": "application/json",
"Ecmarkup": "text/html",
"EditorConfig": "text/x-properties", "EditorConfig": "text/x-properties",
"Edje Data Collection": "text/x-c++src", "Edje Data Collection": "text/x-c++src",
"Eiffel": "text/x-eiffel", "Eiffel": "text/x-eiffel",
@ -133,6 +134,7 @@ var LanguagesMime = map[string]string{
"Lua": "text/x-lua", "Lua": "text/x-lua",
"M": "text/x-mumps", "M": "text/x-mumps",
"MATLAB": "text/x-octave", "MATLAB": "text/x-octave",
"MDX": "text/x-gfm",
"MTML": "text/html", "MTML": "text/html",
"MUF": "text/x-forth", "MUF": "text/x-forth",
"Makefile": "text/x-cmake", "Makefile": "text/x-cmake",
@ -154,11 +156,17 @@ var LanguagesMime = map[string]string{
"Nginx": "text/x-nginx-conf", "Nginx": "text/x-nginx-conf",
"Nu": "text/x-scheme", "Nu": "text/x-scheme",
"NumPy": "text/x-python", "NumPy": "text/x-python",
"Nushell": "text/x-sh",
"OASv2-json": "application/json",
"OASv2-yaml": "text/x-yaml",
"OASv3-json": "application/json",
"OASv3-yaml": "text/x-yaml",
"OCaml": "text/x-ocaml", "OCaml": "text/x-ocaml",
"Objective-C": "text/x-objectivec", "Objective-C": "text/x-objectivec",
"Objective-C++": "text/x-objectivec", "Objective-C++": "text/x-objectivec",
"OpenCL": "text/x-csrc", "OpenCL": "text/x-csrc",
"OpenRC runscript": "text/x-sh", "OpenRC runscript": "text/x-sh",
"Option List": "text/x-sh",
"Oz": "text/x-oz", "Oz": "text/x-oz",
"PEG.js": "text/javascript", "PEG.js": "text/javascript",
"PHP": "application/x-httpd-php", "PHP": "application/x-httpd-php",
@ -178,6 +186,7 @@ var LanguagesMime = map[string]string{
"Qt Script": "text/javascript", "Qt Script": "text/javascript",
"R": "text/x-rsrc", "R": "text/x-rsrc",
"RAML": "text/x-yaml", "RAML": "text/x-yaml",
"RBS": "text/x-ruby",
"RMarkdown": "text/x-gfm", "RMarkdown": "text/x-gfm",
"RPM Spec": "text/x-rpm-spec", "RPM Spec": "text/x-rpm-spec",
"Raku": "text/x-perl", "Raku": "text/x-perl",
@ -207,14 +216,18 @@ var LanguagesMime = map[string]string{
"ShellCheck Config": "text/x-properties", "ShellCheck Config": "text/x-properties",
"ShellSession": "text/x-sh", "ShellSession": "text/x-sh",
"Sieve": "application/sieve", "Sieve": "application/sieve",
"Simple File Verification": "text/x-properties",
"Slim": "text/x-slim", "Slim": "text/x-slim",
"Smalltalk": "text/x-stsrc", "Smalltalk": "text/x-stsrc",
"Smarty": "text/x-smarty", "Smarty": "text/x-smarty",
"Smithy": "text/x-csrc",
"Snakemake": "text/x-python",
"Squirrel": "text/x-c++src", "Squirrel": "text/x-c++src",
"Standard ML": "text/x-ocaml", "Standard ML": "text/x-ocaml",
"Starlark": "text/x-python", "Starlark": "text/x-python",
"StringTemplate": "text/html", "StringTemplate": "text/html",
"Svelte": "text/html", "Svelte": "text/html",
"Sway": "text/x-rustsrc",
"Swift": "text/x-swift", "Swift": "text/x-swift",
"SystemVerilog": "text/x-systemverilog", "SystemVerilog": "text/x-systemverilog",
"TOML": "text/x-toml", "TOML": "text/x-toml",
@ -239,8 +252,10 @@ var LanguagesMime = map[string]string{
"Velocity Template Language": "text/velocity", "Velocity Template Language": "text/velocity",
"Verilog": "text/x-verilog", "Verilog": "text/x-verilog",
"Visual Basic .NET": "text/x-vb", "Visual Basic .NET": "text/x-vb",
"Visual Basic 6.0": "text/x-vb",
"Volt": "text/x-d", "Volt": "text/x-d",
"WebAssembly": "text/x-common-lisp", "WebAssembly": "text/x-common-lisp",
"WebAssembly Interface Type": "text/x-webidl",
"WebIDL": "text/x-webidl", "WebIDL": "text/x-webidl",
"Win32 Message File": "text/x-properties", "Win32 Message File": "text/x-properties",
"Windows Registry Entries": "text/x-properties", "Windows Registry Entries": "text/x-properties",

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -138,6 +138,7 @@ var LanguagesType = map[string]int{
"Charity": 2, "Charity": 2,
"Checksums": 1, "Checksums": 1,
"ChucK": 2, "ChucK": 2,
"Circom": 2,
"Cirru": 2, "Cirru": 2,
"Clarion": 2, "Clarion": 2,
"Clarity": 2, "Clarity": 2,
@ -167,9 +168,11 @@ var LanguagesType = map[string]int{
"Cue Sheet": 1, "Cue Sheet": 1,
"Curry": 2, "Curry": 2,
"Cycript": 2, "Cycript": 2,
"Cypher": 2,
"Cython": 2, "Cython": 2,
"D": 2, "D": 2,
"D-ObjDump": 1, "D-ObjDump": 1,
"D2": 3,
"DIGITAL Command Language": 2, "DIGITAL Command Language": 2,
"DM": 2, "DM": 2,
"DNS Zone": 1, "DNS Zone": 1,
@ -185,6 +188,7 @@ var LanguagesType = map[string]int{
"DirectX 3D File": 1, "DirectX 3D File": 1,
"Dockerfile": 2, "Dockerfile": 2,
"Dogescript": 2, "Dogescript": 2,
"Dotenv": 1,
"Dylan": 2, "Dylan": 2,
"E": 2, "E": 2,
"E-mail": 1, "E-mail": 1,
@ -197,12 +201,14 @@ var LanguagesType = map[string]int{
"Earthly": 2, "Earthly": 2,
"Easybuild": 1, "Easybuild": 1,
"Ecere Projects": 1, "Ecere Projects": 1,
"Ecmarkup": 3,
"EditorConfig": 1, "EditorConfig": 1,
"Edje Data Collection": 1, "Edje Data Collection": 1,
"Eiffel": 2, "Eiffel": 2,
"Elixir": 2, "Elixir": 2,
"Elm": 2, "Elm": 2,
"Elvish": 2, "Elvish": 2,
"Elvish Transcript": 2,
"Emacs Lisp": 2, "Emacs Lisp": 2,
"EmberScript": 2, "EmberScript": 2,
"Erlang": 2, "Erlang": 2,
@ -260,6 +266,8 @@ var LanguagesType = map[string]int{
"Go": 2, "Go": 2,
"Go Checksums": 1, "Go Checksums": 1,
"Go Module": 1, "Go Module": 1,
"Go Workspace": 1,
"Godot Resource": 1,
"Golo": 2, "Golo": 2,
"Gosu": 2, "Gosu": 2,
"Grace": 2, "Grace": 2,
@ -290,6 +298,7 @@ var LanguagesType = map[string]int{
"Haxe": 2, "Haxe": 2,
"HiveQL": 2, "HiveQL": 2,
"HolyC": 2, "HolyC": 2,
"Hosts File": 1,
"Hy": 2, "Hy": 2,
"HyPhy": 2, "HyPhy": 2,
"IDL": 2, "IDL": 2,
@ -299,7 +308,9 @@ var LanguagesType = map[string]int{
"Idris": 2, "Idris": 2,
"Ignore List": 1, "Ignore List": 1,
"ImageJ Macro": 2, "ImageJ Macro": 2,
"Imba": 2,
"Inform 7": 2, "Inform 7": 2,
"Ink": 2,
"Inno Setup": 2, "Inno Setup": 2,
"Io": 2, "Io": 2,
"Ioke": 2, "Ioke": 2,
@ -307,6 +318,7 @@ var LanguagesType = map[string]int{
"Isabelle ROOT": 2, "Isabelle ROOT": 2,
"J": 2, "J": 2,
"JAR Manifest": 1, "JAR Manifest": 1,
"JCL": 2,
"JFlex": 2, "JFlex": 2,
"JSON": 1, "JSON": 1,
"JSON with Comments": 1, "JSON with Comments": 1,
@ -329,12 +341,15 @@ var LanguagesType = map[string]int{
"Jsonnet": 2, "Jsonnet": 2,
"Julia": 2, "Julia": 2,
"Jupyter Notebook": 3, "Jupyter Notebook": 3,
"Just": 2,
"KRL": 2, "KRL": 2,
"Kaitai Struct": 2, "Kaitai Struct": 2,
"KakouneScript": 2, "KakouneScript": 2,
"KerboScript": 2,
"KiCad Layout": 1, "KiCad Layout": 1,
"KiCad Legacy Layout": 1, "KiCad Legacy Layout": 1,
"KiCad Schematic": 1, "KiCad Schematic": 1,
"Kickstart": 1,
"Kit": 3, "Kit": 3,
"Kotlin": 2, "Kotlin": 2,
"Kusto": 1, "Kusto": 1,
@ -370,6 +385,7 @@ var LanguagesType = map[string]int{
"M4Sugar": 2, "M4Sugar": 2,
"MATLAB": 2, "MATLAB": 2,
"MAXScript": 2, "MAXScript": 2,
"MDX": 3,
"MLIR": 2, "MLIR": 2,
"MQL4": 2, "MQL4": 2,
"MQL5": 2, "MQL5": 2,
@ -385,6 +401,7 @@ var LanguagesType = map[string]int{
"Maven POM": 1, "Maven POM": 1,
"Max": 2, "Max": 2,
"Mercury": 2, "Mercury": 2,
"Mermaid": 3,
"Meson": 2, "Meson": 2,
"Metal": 2, "Metal": 2,
"Microsoft Developer Studio Project": 1, "Microsoft Developer Studio Project": 1,
@ -430,6 +447,11 @@ var LanguagesType = map[string]int{
"Nu": 2, "Nu": 2,
"NumPy": 2, "NumPy": 2,
"Nunjucks": 3, "Nunjucks": 3,
"Nushell": 2,
"OASv2-json": 1,
"OASv2-yaml": 1,
"OASv3-json": 1,
"OASv3-yaml": 1,
"OCaml": 2, "OCaml": 2,
"ObjDump": 1, "ObjDump": 1,
"Object Data Instance Notation": 1, "Object Data Instance Notation": 1,
@ -442,6 +464,8 @@ var LanguagesType = map[string]int{
"Opa": 2, "Opa": 2,
"Opal": 2, "Opal": 2,
"Open Policy Agent": 2, "Open Policy Agent": 2,
"OpenAPI Specification v2": 1,
"OpenAPI Specification v3": 1,
"OpenCL": 2, "OpenCL": 2,
"OpenEdge ABL": 2, "OpenEdge ABL": 2,
"OpenQASM": 2, "OpenQASM": 2,
@ -449,16 +473,19 @@ var LanguagesType = map[string]int{
"OpenSCAD": 2, "OpenSCAD": 2,
"OpenStep Property List": 1, "OpenStep Property List": 1,
"OpenType Feature File": 1, "OpenType Feature File": 1,
"Option List": 1,
"Org": 4, "Org": 4,
"Ox": 2, "Ox": 2,
"Oxygene": 2, "Oxygene": 2,
"Oz": 2, "Oz": 2,
"P4": 2, "P4": 2,
"PDDL": 2,
"PEG.js": 2, "PEG.js": 2,
"PHP": 2, "PHP": 2,
"PLSQL": 2, "PLSQL": 2,
"PLpgSQL": 2, "PLpgSQL": 2,
"POV-Ray SDL": 2, "POV-Ray SDL": 2,
"Pact": 2,
"Pan": 2, "Pan": 2,
"Papyrus": 2, "Papyrus": 2,
"Parrot": 2, "Parrot": 2,
@ -477,6 +504,7 @@ var LanguagesType = map[string]int{
"Pod": 4, "Pod": 4,
"Pod 6": 4, "Pod 6": 4,
"PogoScript": 2, "PogoScript": 2,
"Polar": 2,
"Pony": 2, "Pony": 2,
"Portugol": 2, "Portugol": 2,
"PostCSS": 3, "PostCSS": 3,
@ -498,6 +526,7 @@ var LanguagesType = map[string]int{
"Pure Data": 1, "Pure Data": 1,
"PureBasic": 2, "PureBasic": 2,
"PureScript": 2, "PureScript": 2,
"Pyret": 2,
"Python": 2, "Python": 2,
"Python console": 2, "Python console": 2,
"Python traceback": 1, "Python traceback": 1,
@ -508,6 +537,7 @@ var LanguagesType = map[string]int{
"Quake": 2, "Quake": 2,
"R": 2, "R": 2,
"RAML": 3, "RAML": 3,
"RBS": 1,
"RDoc": 4, "RDoc": 4,
"REALbasic": 2, "REALbasic": 2,
"REXX": 2, "REXX": 2,
@ -563,6 +593,7 @@ var LanguagesType = map[string]int{
"Sass": 3, "Sass": 3,
"Scala": 2, "Scala": 2,
"Scaml": 3, "Scaml": 3,
"Scenic": 2,
"Scheme": 2, "Scheme": 2,
"Scilab": 2, "Scilab": 2,
"Self": 2, "Self": 2,
@ -572,6 +603,7 @@ var LanguagesType = map[string]int{
"ShellSession": 2, "ShellSession": 2,
"Shen": 2, "Shen": 2,
"Sieve": 2, "Sieve": 2,
"Simple File Verification": 1,
"Singularity": 2, "Singularity": 2,
"Slash": 2, "Slash": 2,
"Slice": 2, "Slice": 2,
@ -580,6 +612,8 @@ var LanguagesType = map[string]int{
"Smali": 2, "Smali": 2,
"Smalltalk": 2, "Smalltalk": 2,
"Smarty": 2, "Smarty": 2,
"Smithy": 2,
"Snakemake": 2,
"Solidity": 2, "Solidity": 2,
"Soong": 1, "Soong": 1,
"SourcePawn": 2, "SourcePawn": 2,
@ -595,9 +629,11 @@ var LanguagesType = map[string]int{
"SugarSS": 3, "SugarSS": 3,
"SuperCollider": 2, "SuperCollider": 2,
"Svelte": 3, "Svelte": 3,
"Sway": 2,
"Swift": 2, "Swift": 2,
"SystemVerilog": 2, "SystemVerilog": 2,
"TI Program": 2, "TI Program": 2,
"TL-Verilog": 2,
"TLA": 2, "TLA": 2,
"TOML": 1, "TOML": 1,
"TSQL": 2, "TSQL": 2,
@ -639,13 +675,17 @@ var LanguagesType = map[string]int{
"Vim Script": 2, "Vim Script": 2,
"Vim Snippet": 3, "Vim Snippet": 3,
"Visual Basic .NET": 2, "Visual Basic .NET": 2,
"Visual Basic 6.0": 2,
"Volt": 2, "Volt": 2,
"Vue": 3, "Vue": 3,
"Vyper": 2, "Vyper": 2,
"WDL": 2,
"WGSL": 2,
"Wavefront Material": 1, "Wavefront Material": 1,
"Wavefront Object": 1, "Wavefront Object": 1,
"Web Ontology Language": 1, "Web Ontology Language": 1,
"WebAssembly": 2, "WebAssembly": 2,
"WebAssembly Interface Type": 1,
"WebIDL": 2, "WebIDL": 2,
"WebVTT": 1, "WebVTT": 1,
"Wget Config": 1, "Wget Config": 1,
@ -705,7 +745,6 @@ var LanguagesType = map[string]int{
"reStructuredText": 4, "reStructuredText": 4,
"robots.txt": 1, "robots.txt": 1,
"sed": 2, "sed": 2,
"wdl": 2,
"wisp": 2, "wisp": 2,
"xBase": 2, "xBase": 2,
} }

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -36,7 +36,7 @@ var VendorMatchers = []regex.EnryRegexp{
regex.MustCompile(`(^|/)\.indent\.pro`), regex.MustCompile(`(^|/)\.indent\.pro`),
regex.MustCompile(`(\.|-)min\.(js|css)$`), regex.MustCompile(`(\.|-)min\.(js|css)$`),
regex.MustCompile(`([^\s]*)import\.(css|less|scss|styl)$`), regex.MustCompile(`([^\s]*)import\.(css|less|scss|styl)$`),
regex.MustCompileRuby(`(^|/)bootstrap([^/.]*)(?=\.).*\.(js|css|less|scss|styl)$`), regex.MustCompile(`(^|/)bootstrap([^/.]*)(\..*)?\.(js|css|less|scss|styl)$`),
regex.MustCompile(`(^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$`), regex.MustCompile(`(^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$`),
regex.MustCompile(`(^|/)font-?awesome\.(css|less|scss|styl)$`), regex.MustCompile(`(^|/)font-?awesome\.(css|less|scss|styl)$`),
regex.MustCompile(`(^|/)font-?awesome/.*\.(css|less|scss|styl)$`), regex.MustCompile(`(^|/)font-?awesome/.*\.(css|less|scss|styl)$`),
@ -159,7 +159,6 @@ var VendorMatchers = []regex.EnryRegexp{
regex.MustCompile(`(^|/)foundation(\..*)?\.js$`), regex.MustCompile(`(^|/)foundation(\..*)?\.js$`),
regex.MustCompile(`(^|/)Vagrantfile$`), regex.MustCompile(`(^|/)Vagrantfile$`),
regex.MustCompile(`(^|/)\.[Dd][Ss]_[Ss]tore$`), regex.MustCompile(`(^|/)\.[Dd][Ss]_[Ss]tore$`),
regex.MustCompile(`(^|/)vignettes/`),
regex.MustCompile(`(^|/)inst/extdata/`), regex.MustCompile(`(^|/)inst/extdata/`),
regex.MustCompile(`(^|/)octicons\.css`), regex.MustCompile(`(^|/)octicons\.css`),
regex.MustCompile(`(^|/)sprockets-octicons\.scss`), regex.MustCompile(`(^|/)sprockets-octicons\.scss`),
@ -172,7 +171,9 @@ var VendorMatchers = []regex.EnryRegexp{
regex.MustCompile(`(^|/)Jenkinsfile$`), regex.MustCompile(`(^|/)Jenkinsfile$`),
regex.MustCompile(`(^|/)\.gitpod\.Dockerfile$`), regex.MustCompile(`(^|/)\.gitpod\.Dockerfile$`),
regex.MustCompile(`(^|/)\.github/`), regex.MustCompile(`(^|/)\.github/`),
regex.MustCompile(`(^|/)\.obsidian/`),
regex.MustCompile(`(^|/)\.teamcity/`),
} }
// FastVendorMatcher is equivalent to matching any of the VendorMatchers. // FastVendorMatcher is equivalent to matching any of the VendorMatchers.
var FastVendorMatcher = regex.MustCompileRuby(`(?:^(?:(?:[Dd]ependencies/)|(?:debian/)|(?:deps/)|(?:rebar$)))|(?:(?:^|/)(?:(?:BuddyBuildSDK\.framework/)|(?:Carthage/)|(?:Chart\.js$)|(?:Control\.FullScreen\.css)|(?:Control\.FullScreen\.js)|(?:Crashlytics\.framework/)|(?:Fabric\.framework/)|(?:Godeps/_workspace/)|(?:Jenkinsfile$)|(?:Leaflet\.Coordinates-\d+\.\d+\.\d+\.src\.js$)|(?:MathJax/)|(?:MochiKit\.js$)|(?:RealmSwift\.framework)|(?:Realm\.framework)|(?:Sparkle/)|(?:Vagrantfile$)|(?:[Bb]ourbon/.*\.(css|less|scss|styl)$)|(?:[Cc]ode[Mm]irror/(\d+\.\d+/)?(lib|mode|theme|addon|keymap|demo))|(?:[Ee]xtern(als?)?/)|(?:[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$)|(?:[Pp]ackages\/.+\.\d+\/)|(?:[Ss]pecs?/fixtures/)|(?:[Tt]ests?/fixtures/)|(?:[Vv]+endor/)|(?:\.[Dd][Ss]_[Ss]tore$)|(?:\.gitattributes$)|(?:\.github/)|(?:\.gitignore$)|(?:\.gitmodules$)|(?:\.gitpod\.Dockerfile$)|(?:\.google_apis/)|(?:\.indent\.pro)|(?:\.mvn/wrapper/)|(?:\.osx$)|(?:\.sublime-project)|(?:\.sublime-workspace)|(?:\.vscode/)|(?:\.yarn/plugins/)|(?:\.yarn/releases/)|(?:\.yarn/sdks/)|(?:\.yarn/unplugged/)|(?:\.yarn/versions/)|(?:_esy$)|(?:ace-builds/)|(?:aclocal\.m4)|(?:activator$)|(?:activator\.bat$)|(?:admin_media/)|(?:angular([^.]*)\.js$)|(?:animate\.(css|less|scss|styl)$)|(?:bootbox\.js)|(?:bootstrap([^/.]*)(?=\.).*\.(js|css|less|scss|styl)$)|(?:bootstrap-datepicker/)|(?:bower_components/)|(?:bulma\.(css|sass|scss)$)|(?:cache/)|(?:ckeditor\.js$)|(?:config\.guess$)|(?:config\.sub$)|(?:configure$)|(?:controls\.js$)|(?:cordova([^.]*)\.js$)|(?:cordova\-\d\.\d(\.\d)?\.js$)|(?:cpplint\.py)|(?:custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$)|(?:dist/)|(?:docs?/_?(build|themes?|templates?|static)/)|(?:dojo\.js$)|(?:dotnet-install\.(ps1|sh)$)|(?:dragdrop\.js$)|(?:effects\.js$)|(?:env/)|(?:erlang\.mk)|(?:extjs/.*?\.html$)|(?:extjs/.*?\.js$)|(?:extjs/.*?\.properties$)|(?:extjs/.*?\.txt$)|(?:extjs/.*?\.xml$)|(?:extjs/\.sencha/)|(?:extjs/builds/)|(?:extjs/cmd/)|(?:extjs/docs/)|(?:extjs/examples/)|(?:extjs/locale/)|(?:extjs/packages/)|(?:extjs/plugins/)|(?:extjs/resources/)|(?:extjs/src/)|(?:extjs/welcome/)|(?:fabfile\.py$)|(?:flow-typed/.*\.js$)|(?:font-?awesome/.*\.(css|less|scss|styl)$)|(?:font-?awesome\.(css|less|scss|styl)$)|(?:fontello(.*?)\.css$)|(?:foundation(\..*)?\.js$)|(?:foundation\.(css|less|scss|styl)$)|(?:fuelux\.js)|(?:gradle/wrapper/)|(?:gradlew$)|(?:gradlew\.bat$)|(?:html5shiv\.js$)|(?:inst/extdata/)|(?:jquery([^.]*)\.js$)|(?:jquery([^.]*)\.unobtrusive\-ajax\.js$)|(?:jquery([^.]*)\.validate(\.unobtrusive)?\.js$)|(?:jquery\-\d\.\d+(\.\d+)?\.js$)|(?:jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$)|(?:jquery\.(ui|effects)\.([^.]*)\.(js|css)$)|(?:jquery\.dataTables\.js)|(?:jquery\.fancybox\.(js|css))|(?:jquery\.fileupload(-\w+)?\.js$)|(?:jquery\.fn\.gantt\.js)|(?:knockout-(\d+\.){3}(debug\.)?js$)|(?:leaflet\.draw-src\.js)|(?:leaflet\.draw\.css)|(?:leaflet\.spin\.js)|(?:libtool\.m4)|(?:ltoptions\.m4)|(?:ltsugar\.m4)|(?:ltversion\.m4)|(?:lt~obsolete\.m4)|(?:materialize\.(css|less|scss|styl|js)$)|(?:modernizr\-\d\.\d+(\.\d+)?\.js$)|(?:modernizr\.custom\.\d+\.js$)|(?:mootools([^.]*)\d+\.\d+.\d+([^.]*)\.js$)|(?:mvnw$)|(?:mvnw\.cmd$)|(?:node_modules/)|(?:normalize\.(css|less|scss|styl)$)|(?:octicons\.css)|(?:pdf\.worker\.js)|(?:proguard-rules\.pro$)|(?:proguard\.pro$)|(?:prototype(.*)\.js$)|(?:puphpet/)|(?:react(-[^.]*)?\.js$)|(?:run\.n$)|(?:select2/.*\.(css|scss|js)$)|(?:shBrush([^.]*)\.js$)|(?:shCore\.js$)|(?:shLegacy\.js$)|(?:skeleton\.(css|less|scss|styl)$)|(?:slick\.\w+.js$)|(?:sprockets-octicons\.scss)|(?:testdata/)|(?:tiny_mce([^.]*)\.js$)|(?:tiny_mce/(langs|plugins|themes|utils))|(?:vendors?/)|(?:vignettes/)|(?:waf$)|(?:wicket-leaflet\.js)|(?:yahoo-([^.]*)\.js$)|(?:yui([^.]*)\.js$)))|(?:(.*?)\.d\.ts$)|(?:(3rd|[Tt]hird)[-_]?[Pp]arty/)|(?:([^\s]*)import\.(css|less|scss|styl)$)|(?:(\.|-)min\.(js|css)$)|(?:(^|\/)d3(\.v\d+)?([^.]*)\.js$)|(?:-vsdoc\.js$)|(?:\.imageset/)|(?:\.intellisense\.js$)|(?:\.xctemplate/)`) var FastVendorMatcher = regex.MustCompile(`(?:^(?:(?:[Dd]ependencies/)|(?:debian/)|(?:deps/)|(?:rebar$)))|(?:(?:^|/)(?:(?:BuddyBuildSDK\.framework/)|(?:Carthage/)|(?:Chart\.js$)|(?:Control\.FullScreen\.css)|(?:Control\.FullScreen\.js)|(?:Crashlytics\.framework/)|(?:Fabric\.framework/)|(?:Godeps/_workspace/)|(?:Jenkinsfile$)|(?:Leaflet\.Coordinates-\d+\.\d+\.\d+\.src\.js$)|(?:MathJax/)|(?:MochiKit\.js$)|(?:RealmSwift\.framework)|(?:Realm\.framework)|(?:Sparkle/)|(?:Vagrantfile$)|(?:[Bb]ourbon/.*\.(css|less|scss|styl)$)|(?:[Cc]ode[Mm]irror/(\d+\.\d+/)?(lib|mode|theme|addon|keymap|demo))|(?:[Ee]xtern(als?)?/)|(?:[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$)|(?:[Pp]ackages\/.+\.\d+\/)|(?:[Ss]pecs?/fixtures/)|(?:[Tt]ests?/fixtures/)|(?:[Vv]+endor/)|(?:\.[Dd][Ss]_[Ss]tore$)|(?:\.gitattributes$)|(?:\.github/)|(?:\.gitignore$)|(?:\.gitmodules$)|(?:\.gitpod\.Dockerfile$)|(?:\.google_apis/)|(?:\.indent\.pro)|(?:\.mvn/wrapper/)|(?:\.obsidian/)|(?:\.osx$)|(?:\.sublime-project)|(?:\.sublime-workspace)|(?:\.teamcity/)|(?:\.vscode/)|(?:\.yarn/plugins/)|(?:\.yarn/releases/)|(?:\.yarn/sdks/)|(?:\.yarn/unplugged/)|(?:\.yarn/versions/)|(?:_esy$)|(?:ace-builds/)|(?:aclocal\.m4)|(?:activator$)|(?:activator\.bat$)|(?:admin_media/)|(?:angular([^.]*)\.js$)|(?:animate\.(css|less|scss|styl)$)|(?:bootbox\.js)|(?:bootstrap([^/.]*)(\..*)?\.(js|css|less|scss|styl)$)|(?:bootstrap-datepicker/)|(?:bower_components/)|(?:bulma\.(css|sass|scss)$)|(?:cache/)|(?:ckeditor\.js$)|(?:config\.guess$)|(?:config\.sub$)|(?:configure$)|(?:controls\.js$)|(?:cordova([^.]*)\.js$)|(?:cordova\-\d\.\d(\.\d)?\.js$)|(?:cpplint\.py)|(?:custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$)|(?:dist/)|(?:docs?/_?(build|themes?|templates?|static)/)|(?:dojo\.js$)|(?:dotnet-install\.(ps1|sh)$)|(?:dragdrop\.js$)|(?:effects\.js$)|(?:env/)|(?:erlang\.mk)|(?:extjs/.*?\.html$)|(?:extjs/.*?\.js$)|(?:extjs/.*?\.properties$)|(?:extjs/.*?\.txt$)|(?:extjs/.*?\.xml$)|(?:extjs/\.sencha/)|(?:extjs/builds/)|(?:extjs/cmd/)|(?:extjs/docs/)|(?:extjs/examples/)|(?:extjs/locale/)|(?:extjs/packages/)|(?:extjs/plugins/)|(?:extjs/resources/)|(?:extjs/src/)|(?:extjs/welcome/)|(?:fabfile\.py$)|(?:flow-typed/.*\.js$)|(?:font-?awesome/.*\.(css|less|scss|styl)$)|(?:font-?awesome\.(css|less|scss|styl)$)|(?:fontello(.*?)\.css$)|(?:foundation(\..*)?\.js$)|(?:foundation\.(css|less|scss|styl)$)|(?:fuelux\.js)|(?:gradle/wrapper/)|(?:gradlew$)|(?:gradlew\.bat$)|(?:html5shiv\.js$)|(?:inst/extdata/)|(?:jquery([^.]*)\.js$)|(?:jquery([^.]*)\.unobtrusive\-ajax\.js$)|(?:jquery([^.]*)\.validate(\.unobtrusive)?\.js$)|(?:jquery\-\d\.\d+(\.\d+)?\.js$)|(?:jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$)|(?:jquery\.(ui|effects)\.([^.]*)\.(js|css)$)|(?:jquery\.dataTables\.js)|(?:jquery\.fancybox\.(js|css))|(?:jquery\.fileupload(-\w+)?\.js$)|(?:jquery\.fn\.gantt\.js)|(?:knockout-(\d+\.){3}(debug\.)?js$)|(?:leaflet\.draw-src\.js)|(?:leaflet\.draw\.css)|(?:leaflet\.spin\.js)|(?:libtool\.m4)|(?:ltoptions\.m4)|(?:ltsugar\.m4)|(?:ltversion\.m4)|(?:lt~obsolete\.m4)|(?:materialize\.(css|less|scss|styl|js)$)|(?:modernizr\-\d\.\d+(\.\d+)?\.js$)|(?:modernizr\.custom\.\d+\.js$)|(?:mootools([^.]*)\d+\.\d+.\d+([^.]*)\.js$)|(?:mvnw$)|(?:mvnw\.cmd$)|(?:node_modules/)|(?:normalize\.(css|less|scss|styl)$)|(?:octicons\.css)|(?:pdf\.worker\.js)|(?:proguard-rules\.pro$)|(?:proguard\.pro$)|(?:prototype(.*)\.js$)|(?:puphpet/)|(?:react(-[^.]*)?\.js$)|(?:run\.n$)|(?:select2/.*\.(css|scss|js)$)|(?:shBrush([^.]*)\.js$)|(?:shCore\.js$)|(?:shLegacy\.js$)|(?:skeleton\.(css|less|scss|styl)$)|(?:slick\.\w+.js$)|(?:sprockets-octicons\.scss)|(?:testdata/)|(?:tiny_mce([^.]*)\.js$)|(?:tiny_mce/(langs|plugins|themes|utils))|(?:vendors?/)|(?:waf$)|(?:wicket-leaflet\.js)|(?:yahoo-([^.]*)\.js$)|(?:yui([^.]*)\.js$)))|(?:(.*?)\.d\.ts$)|(?:(3rd|[Tt]hird)[-_]?[Pp]arty/)|(?:([^\s]*)import\.(css|less|scss|styl)$)|(?:(\.|-)min\.(js|css)$)|(?:(^|\/)d3(\.v\d+)?([^.]*)\.js$)|(?:-vsdoc\.js$)|(?:\.imageset/)|(?:\.intellisense\.js$)|(?:\.xctemplate/)`)

View File

@ -6,6 +6,7 @@ import (
"io/ioutil" "io/ioutil"
"os" "os"
"path/filepath" "path/filepath"
"sort"
"strings" "strings"
"text/template" "text/template"
@ -91,7 +92,10 @@ func buildFilenameLanguageMap(languages map[string]*languageInfo) map[string][]s
func executeFilenamesTemplate(out io.Writer, languagesByFilename map[string][]string, tmplPath, tmplName, commit string) error { func executeFilenamesTemplate(out io.Writer, languagesByFilename map[string][]string, tmplPath, tmplName, commit string) error {
fmap := template.FuncMap{ fmap := template.FuncMap{
"formatStringSlice": func(slice []string) string { return `"` + strings.Join(slice, `","`) + `"` }, "formatStringSlice": func(slice []string) string {
sort.Strings(slice)
return `"` + strings.Join(slice, `","`) + `"`
},
} }
return executeTemplate(out, tmplName, tmplPath, commit, fmap, languagesByFilename) return executeTemplate(out, tmplName, tmplPath, commit, fmap, languagesByFilename)
} }

View File

@ -21,7 +21,7 @@ import (
var ( var (
linguistClonedEnvVar = "ENRY_TEST_REPO" linguistClonedEnvVar = "ENRY_TEST_REPO"
linguistURL = "https://github.com/github/linguist.git" linguistURL = "https://github.com/github/linguist.git"
commit = "bf853f1c663903e3ee35935189760191f1c45e1c" commit = "b5432ebc7e78f25415b98d48c2fbacddbf8df317"
samplesDir = "samples" samplesDir = "samples"
languagesFile = filepath.Join("lib", "linguist", "languages.yml") languagesFile = filepath.Join("lib", "linguist", "languages.yml")

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -17,6 +17,7 @@ var LanguageByAliasMap = map[string]string{
"abnf": "ABNF", "abnf": "ABNF",
"abuild": "Alpine Abuild", "abuild": "Alpine Abuild",
"acfm": "Adobe Font Metrics", "acfm": "Adobe Font Metrics",
"ackrc": "Option List",
"aconf": "ApacheConf", "aconf": "ApacheConf",
"actionscript": "ActionScript", "actionscript": "ActionScript",
"actionscript3": "ActionScript", "actionscript3": "ActionScript",
@ -152,10 +153,12 @@ var LanguageByAliasMap = map[string]string{
"chpl": "Chapel", "chpl": "Chapel",
"chuck": "ChucK", "chuck": "ChucK",
"cil": "CIL", "cil": "CIL",
"circom": "Circom",
"cirru": "Cirru", "cirru": "Cirru",
"clarion": "Clarion", "clarion": "Clarion",
"clarity": "Clarity", "clarity": "Clarity",
"classic_asp": "Classic ASP", "classic_asp": "Classic ASP",
"classic_visual_basic": "Visual Basic 6.0",
"clean": "Clean", "clean": "Clean",
"click": "Click", "click": "Click",
"clipper": "xBase", "clipper": "xBase",
@ -210,9 +213,12 @@ var LanguageByAliasMap = map[string]string{
"cweb": "CWeb", "cweb": "CWeb",
"cwl": "Common Workflow Language", "cwl": "Common Workflow Language",
"cycript": "Cycript", "cycript": "Cycript",
"cypher": "Cypher",
"cython": "Cython", "cython": "Cython",
"d": "D", "d": "D",
"d-objdump": "D-ObjDump", "d-objdump": "D-ObjDump",
"d2": "D2",
"d2lang": "D2",
"dafny": "Dafny", "dafny": "Dafny",
"darcs_patch": "Darcs Patch", "darcs_patch": "Darcs Patch",
"dart": "Dart", "dart": "Dart",
@ -235,6 +241,7 @@ var LanguageByAliasMap = map[string]string{
"dogescript": "Dogescript", "dogescript": "Dogescript",
"dosbatch": "Batchfile", "dosbatch": "Batchfile",
"dosini": "INI", "dosini": "INI",
"dotenv": "Dotenv",
"dpatch": "Darcs Patch", "dpatch": "Darcs Patch",
"dtrace": "DTrace", "dtrace": "DTrace",
"dtrace-script": "DTrace", "dtrace-script": "DTrace",
@ -250,6 +257,8 @@ var LanguageByAliasMap = map[string]string{
"ecere_projects": "Ecere Projects", "ecere_projects": "Ecere Projects",
"ecl": "ECL", "ecl": "ECL",
"eclipse": "ECLiPSe", "eclipse": "ECLiPSe",
"ecmarkdown": "Ecmarkup",
"ecmarkup": "Ecmarkup",
"ecr": "HTML+ECR", "ecr": "HTML+ECR",
"editor-config": "EditorConfig", "editor-config": "EditorConfig",
"editorconfig": "EditorConfig", "editorconfig": "EditorConfig",
@ -263,6 +272,7 @@ var LanguageByAliasMap = map[string]string{
"elixir": "Elixir", "elixir": "Elixir",
"elm": "Elm", "elm": "Elm",
"elvish": "Elvish", "elvish": "Elvish",
"elvish_transcript": "Elvish Transcript",
"emacs": "Emacs Lisp", "emacs": "Emacs Lisp",
"emacs_lisp": "Emacs Lisp", "emacs_lisp": "Emacs Lisp",
"emacs_muse": "Muse", "emacs_muse": "Muse",
@ -345,10 +355,16 @@ var LanguageByAliasMap = map[string]string{
"go": "Go", "go": "Go",
"go.mod": "Go Module", "go.mod": "Go Module",
"go.sum": "Go Checksums", "go.sum": "Go Checksums",
"go.work": "Go Workspace",
"go.work.sum": "Go Checksums",
"go_checksums": "Go Checksums", "go_checksums": "Go Checksums",
"go_mod": "Go Module", "go_mod": "Go Module",
"go_module": "Go Module", "go_module": "Go Module",
"go_sum": "Go Checksums", "go_sum": "Go Checksums",
"go_work": "Go Workspace",
"go_work_sum": "Go Checksums",
"go_workspace": "Go Workspace",
"godot_resource": "Godot Resource",
"golang": "Go", "golang": "Go",
"golo": "Golo", "golo": "Golo",
"gosu": "Gosu", "gosu": "Gosu",
@ -382,6 +398,7 @@ var LanguageByAliasMap = map[string]string{
"hocon": "HOCON", "hocon": "HOCON",
"holyc": "HolyC", "holyc": "HolyC",
"hoon": "hoon", "hoon": "hoon",
"hosts_file": "Hosts File",
"html": "HTML", "html": "HTML",
"html+django": "Jinja", "html+django": "Jinja",
"html+ecr": "HTML+ECR", "html+ecr": "HTML+ECR",
@ -409,10 +426,12 @@ var LanguageByAliasMap = map[string]string{
"ijm": "ImageJ Macro", "ijm": "ImageJ Macro",
"ile_rpg": "RPGLE", "ile_rpg": "RPGLE",
"imagej_macro": "ImageJ Macro", "imagej_macro": "ImageJ Macro",
"imba": "Imba",
"inc": "PHP", "inc": "PHP",
"inform7": "Inform 7", "inform7": "Inform 7",
"inform_7": "Inform 7", "inform_7": "Inform 7",
"ini": "INI", "ini": "INI",
"ink": "Ink",
"inno_setup": "Inno Setup", "inno_setup": "Inno Setup",
"inputrc": "Readline Config", "inputrc": "Readline Config",
"io": "Io", "io": "Io",
@ -433,6 +452,7 @@ var LanguageByAliasMap = map[string]string{
"java_server_pages": "Java Server Pages", "java_server_pages": "Java Server Pages",
"javascript": "JavaScript", "javascript": "JavaScript",
"javascript+erb": "JavaScript+ERB", "javascript+erb": "JavaScript+ERB",
"jcl": "JCL",
"jest_snapshot": "Jest Snapshot", "jest_snapshot": "Jest Snapshot",
"jetbrains_mps": "JetBrains MPS", "jetbrains_mps": "JetBrains MPS",
"jflex": "JFlex", "jflex": "JFlex",
@ -454,14 +474,18 @@ var LanguageByAliasMap = map[string]string{
"jsp": "Java Server Pages", "jsp": "Java Server Pages",
"julia": "Julia", "julia": "Julia",
"jupyter_notebook": "Jupyter Notebook", "jupyter_notebook": "Jupyter Notebook",
"just": "Just",
"justfile": "Just",
"kaitai_struct": "Kaitai Struct", "kaitai_struct": "Kaitai Struct",
"kak": "KakouneScript", "kak": "KakouneScript",
"kakounescript": "KakouneScript", "kakounescript": "KakouneScript",
"kakscript": "KakouneScript", "kakscript": "KakouneScript",
"kerboscript": "KerboScript",
"keyvalues": "Valve Data Format", "keyvalues": "Valve Data Format",
"kicad_layout": "KiCad Layout", "kicad_layout": "KiCad Layout",
"kicad_legacy_layout": "KiCad Legacy Layout", "kicad_legacy_layout": "KiCad Legacy Layout",
"kicad_schematic": "KiCad Schematic", "kicad_schematic": "KiCad Schematic",
"kickstart": "Kickstart",
"kit": "Kit", "kit": "Kit",
"kotlin": "Kotlin", "kotlin": "Kotlin",
"krl": "KRL", "krl": "KRL",
@ -533,9 +557,13 @@ var LanguageByAliasMap = map[string]string{
"maxscript": "MAXScript", "maxscript": "MAXScript",
"mbox": "E-mail", "mbox": "E-mail",
"mcfunction": "mcfunction", "mcfunction": "mcfunction",
"md": "Markdown",
"mdoc": "Roff", "mdoc": "Roff",
"mdx": "MDX",
"mediawiki": "Wikitext", "mediawiki": "Wikitext",
"mercury": "Mercury", "mercury": "Mercury",
"mermaid": "Mermaid",
"mermaid_example": "Mermaid",
"meson": "Meson", "meson": "Meson",
"metal": "Metal", "metal": "Metal",
"mf": "Makefile", "mf": "Makefile",
@ -601,11 +629,20 @@ var LanguageByAliasMap = map[string]string{
"nroff": "Roff", "nroff": "Roff",
"nsis": "NSIS", "nsis": "NSIS",
"nu": "Nu", "nu": "Nu",
"nu-script": "Nushell",
"numpy": "NumPy", "numpy": "NumPy",
"nunjucks": "Nunjucks", "nunjucks": "Nunjucks",
"nush": "Nu", "nush": "Nu",
"nushell": "Nushell",
"nushell-script": "Nushell",
"nvim": "Vim Script", "nvim": "Vim Script",
"nwscript": "NWScript", "nwscript": "NWScript",
"oasv2": "OpenAPI Specification v2",
"oasv2-json": "OASv2-json",
"oasv2-yaml": "OASv2-yaml",
"oasv3": "OpenAPI Specification v3",
"oasv3-json": "OASv3-json",
"oasv3-yaml": "OASv3-yaml",
"obj-c": "Objective-C", "obj-c": "Objective-C",
"obj-c++": "Objective-C++", "obj-c++": "Objective-C++",
"obj-j": "Objective-J", "obj-j": "Objective-J",
@ -633,6 +670,8 @@ var LanguageByAliasMap = map[string]string{
"opa": "Opa", "opa": "Opa",
"opal": "Opal", "opal": "Opal",
"open_policy_agent": "Open Policy Agent", "open_policy_agent": "Open Policy Agent",
"openapi_specification_v2": "OpenAPI Specification v2",
"openapi_specification_v3": "OpenAPI Specification v3",
"opencl": "OpenCL", "opencl": "OpenCL",
"openedge": "OpenEdge ABL", "openedge": "OpenEdge ABL",
"openedge_abl": "OpenEdge ABL", "openedge_abl": "OpenEdge ABL",
@ -642,12 +681,15 @@ var LanguageByAliasMap = map[string]string{
"openscad": "OpenSCAD", "openscad": "OpenSCAD",
"openstep_property_list": "OpenStep Property List", "openstep_property_list": "OpenStep Property List",
"opentype_feature_file": "OpenType Feature File", "opentype_feature_file": "OpenType Feature File",
"option_list": "Option List",
"opts": "Option List",
"org": "Org", "org": "Org",
"osascript": "AppleScript", "osascript": "AppleScript",
"ox": "Ox", "ox": "Ox",
"oxygene": "Oxygene", "oxygene": "Oxygene",
"oz": "Oz", "oz": "Oz",
"p4": "P4", "p4": "P4",
"pact": "Pact",
"pan": "Pan", "pan": "Pan",
"pandoc": "Markdown", "pandoc": "Markdown",
"papyrus": "Papyrus", "papyrus": "Papyrus",
@ -658,6 +700,7 @@ var LanguageByAliasMap = map[string]string{
"pasm": "Parrot Assembly", "pasm": "Parrot Assembly",
"pawn": "Pawn", "pawn": "Pawn",
"pcbnew": "KiCad Layout", "pcbnew": "KiCad Layout",
"pddl": "PDDL",
"peg.js": "PEG.js", "peg.js": "PEG.js",
"pep8": "Pep8", "pep8": "Pep8",
"perl": "Perl", "perl": "Perl",
@ -677,6 +720,7 @@ var LanguageByAliasMap = map[string]string{
"pod": "Pod", "pod": "Pod",
"pod_6": "Pod 6", "pod_6": "Pod 6",
"pogoscript": "PogoScript", "pogoscript": "PogoScript",
"polar": "Polar",
"pony": "Pony", "pony": "Pony",
"portugol": "Portugol", "portugol": "Portugol",
"posh": "PowerShell", "posh": "PowerShell",
@ -697,6 +741,7 @@ var LanguageByAliasMap = map[string]string{
"prolog": "Prolog", "prolog": "Prolog",
"promela": "Promela", "promela": "Promela",
"propeller_spin": "Propeller Spin", "propeller_spin": "Propeller Spin",
"proto": "Protocol Buffer",
"protobuf": "Protocol Buffer", "protobuf": "Protocol Buffer",
"protobuf_text_format": "Protocol Buffer Text Format", "protobuf_text_format": "Protocol Buffer Text Format",
"protocol_buffer": "Protocol Buffer", "protocol_buffer": "Protocol Buffer",
@ -710,6 +755,7 @@ var LanguageByAliasMap = map[string]string{
"purescript": "PureScript", "purescript": "PureScript",
"pwsh": "PowerShell", "pwsh": "PowerShell",
"pycon": "Python console", "pycon": "Python console",
"pyret": "Pyret",
"pyrex": "Cython", "pyrex": "Cython",
"python": "Python", "python": "Python",
"python3": "Python", "python3": "Python",
@ -736,6 +782,7 @@ var LanguageByAliasMap = map[string]string{
"raw_token_data": "Raw token data", "raw_token_data": "Raw token data",
"razor": "HTML+Razor", "razor": "HTML+Razor",
"rb": "Ruby", "rb": "Ruby",
"rbs": "RBS",
"rbx": "Ruby", "rbx": "Ruby",
"rdoc": "RDoc", "rdoc": "RDoc",
"readline": "Readline Config", "readline": "Readline Config",
@ -793,14 +840,17 @@ var LanguageByAliasMap = map[string]string{
"sass": "Sass", "sass": "Sass",
"scala": "Scala", "scala": "Scala",
"scaml": "Scaml", "scaml": "Scaml",
"scenic": "Scenic",
"scheme": "Scheme", "scheme": "Scheme",
"scilab": "Scilab", "scilab": "Scilab",
"scss": "SCSS", "scss": "SCSS",
"sdc": "Tcl",
"sed": "sed", "sed": "sed",
"self": "Self", "self": "Self",
"selinux_kernel_policy_language": "SELinux Policy", "selinux_kernel_policy_language": "SELinux Policy",
"selinux_policy": "SELinux Policy", "selinux_policy": "SELinux Policy",
"sepolicy": "SELinux Policy", "sepolicy": "SELinux Policy",
"sfv": "Simple File Verification",
"sh": "Shell", "sh": "Shell",
"shaderlab": "ShaderLab", "shaderlab": "ShaderLab",
"shell": "Shell", "shell": "Shell",
@ -810,6 +860,7 @@ var LanguageByAliasMap = map[string]string{
"shellsession": "ShellSession", "shellsession": "ShellSession",
"shen": "Shen", "shen": "Shen",
"sieve": "Sieve", "sieve": "Sieve",
"simple_file_verification": "Simple File Verification",
"singularity": "Singularity", "singularity": "Singularity",
"slash": "Slash", "slash": "Slash",
"slice": "Slice", "slice": "Slice",
@ -817,9 +868,12 @@ var LanguageByAliasMap = map[string]string{
"smali": "Smali", "smali": "Smali",
"smalltalk": "Smalltalk", "smalltalk": "Smalltalk",
"smarty": "Smarty", "smarty": "Smarty",
"smithy": "Smithy",
"sml": "Standard ML", "sml": "Standard ML",
"smpl": "SmPL", "smpl": "SmPL",
"smt": "SMT", "smt": "SMT",
"snakefile": "Snakemake",
"snakemake": "Snakemake",
"snipmate": "Vim Snippet", "snipmate": "Vim Snippet",
"snippet": "YASnippet", "snippet": "YASnippet",
"solidity": "Solidity", "solidity": "Solidity",
@ -856,6 +910,7 @@ var LanguageByAliasMap = map[string]string{
"supercollider": "SuperCollider", "supercollider": "SuperCollider",
"svelte": "Svelte", "svelte": "Svelte",
"svg": "SVG", "svg": "SVG",
"sway": "Sway",
"swift": "Swift", "swift": "Swift",
"swig": "SWIG", "swig": "SWIG",
"systemverilog": "SystemVerilog", "systemverilog": "SystemVerilog",
@ -874,6 +929,7 @@ var LanguageByAliasMap = map[string]string{
"thrift": "Thrift", "thrift": "Thrift",
"ti_program": "TI Program", "ti_program": "TI Program",
"tl": "Type Language", "tl": "Type Language",
"tl-verilog": "TL-Verilog",
"tla": "TLA", "tla": "TLA",
"tm-properties": "TextMate Properties", "tm-properties": "TextMate Properties",
"toml": "TOML", "toml": "TOML",
@ -905,8 +961,9 @@ var LanguageByAliasMap = map[string]string{
"vala": "Vala", "vala": "Vala",
"valve_data_format": "Valve Data Format", "valve_data_format": "Valve Data Format",
"vb.net": "Visual Basic .NET", "vb.net": "Visual Basic .NET",
"vb6": "VBA", "vb6": "Visual Basic 6.0",
"vb_.net": "Visual Basic .NET", "vb_.net": "Visual Basic .NET",
"vb_6": "Visual Basic 6.0",
"vba": "VBA", "vba": "VBA",
"vbnet": "Visual Basic .NET", "vbnet": "Visual Basic .NET",
"vbscript": "VBScript", "vbscript": "VBScript",
@ -924,7 +981,9 @@ var LanguageByAliasMap = map[string]string{
"viml": "Vim Script", "viml": "Vim Script",
"visual_basic": "Visual Basic .NET", "visual_basic": "Visual Basic .NET",
"visual_basic_.net": "Visual Basic .NET", "visual_basic_.net": "Visual Basic .NET",
"visual_basic_6": "VBA", "visual_basic_6": "Visual Basic 6.0",
"visual_basic_6.0": "Visual Basic 6.0",
"visual_basic_classic": "Visual Basic 6.0",
"visual_basic_for_applications": "VBA", "visual_basic_for_applications": "VBA",
"vlang": "V", "vlang": "V",
"volt": "Volt", "volt": "Volt",
@ -936,13 +995,15 @@ var LanguageByAliasMap = map[string]string{
"wast": "WebAssembly", "wast": "WebAssembly",
"wavefront_material": "Wavefront Material", "wavefront_material": "Wavefront Material",
"wavefront_object": "Wavefront Object", "wavefront_object": "Wavefront Object",
"wdl": "wdl", "wdl": "WDL",
"web_ontology_language": "Web Ontology Language", "web_ontology_language": "Web Ontology Language",
"webassembly": "WebAssembly", "webassembly": "WebAssembly",
"webassembly_interface_type": "WebAssembly Interface Type",
"webidl": "WebIDL", "webidl": "WebIDL",
"webvtt": "WebVTT", "webvtt": "WebVTT",
"wget_config": "Wget Config", "wget_config": "Wget Config",
"wgetrc": "Wget Config", "wgetrc": "Wget Config",
"wgsl": "WGSL",
"whiley": "Whiley", "whiley": "Whiley",
"wiki": "Wikitext", "wiki": "Wikitext",
"wikitext": "Wikitext", "wikitext": "Wikitext",
@ -950,12 +1011,14 @@ var LanguageByAliasMap = map[string]string{
"winbatch": "Batchfile", "winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries", "windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp", "wisp": "wisp",
"wit": "WebAssembly Interface Type",
"witcher_script": "Witcher Script", "witcher_script": "Witcher Script",
"wl": "Mathematica", "wl": "Mathematica",
"wolfram": "Mathematica", "wolfram": "Mathematica",
"wolfram_lang": "Mathematica", "wolfram_lang": "Mathematica",
"wolfram_language": "Mathematica", "wolfram_language": "Mathematica",
"wollok": "Wollok", "wollok": "Wollok",
"workflow_description_language": "WDL",
"world_of_warcraft_addon_data": "World of Warcraft Addon Data", "world_of_warcraft_addon_data": "World of Warcraft Addon Data",
"wren": "Wren", "wren": "Wren",
"wrenlang": "Wren", "wrenlang": "Wren",
@ -968,6 +1031,7 @@ var LanguageByAliasMap = map[string]string{
"xbm": "X BitMap", "xbm": "X BitMap",
"xc": "XC", "xc": "XC",
"xcompose": "XCompose", "xcompose": "XCompose",
"xdc": "Tcl",
"xdr": "RPC", "xdr": "RPC",
"xhtml": "HTML", "xhtml": "HTML",
"xml": "XML", "xml": "XML",

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -84,6 +84,7 @@ var LanguagesColor = map[string]string{
"Ceylon": "#dfa535", "Ceylon": "#dfa535",
"Chapel": "#8dc63f", "Chapel": "#8dc63f",
"ChucK": "#3f8000", "ChucK": "#3f8000",
"Circom": "#707575",
"Cirru": "#ccccff", "Cirru": "#ccccff",
"Clarion": "#db901e", "Clarion": "#db901e",
"Clarity": "#5546ff", "Clarity": "#5546ff",
@ -107,8 +108,10 @@ var LanguagesColor = map[string]string{
"Csound Score": "#1a1a1a", "Csound Score": "#1a1a1a",
"Cuda": "#3A4E3A", "Cuda": "#3A4E3A",
"Curry": "#531242", "Curry": "#531242",
"Cypher": "#34c0eb",
"Cython": "#fedf5b", "Cython": "#fedf5b",
"D": "#ba595e", "D": "#ba595e",
"D2": "#526ee8",
"DM": "#447265", "DM": "#447265",
"Dafny": "#FFEC25", "Dafny": "#FFEC25",
"Darcs Patch": "#8eff23", "Darcs Patch": "#8eff23",
@ -120,6 +123,7 @@ var LanguagesColor = map[string]string{
"DirectX 3D File": "#aace60", "DirectX 3D File": "#aace60",
"Dockerfile": "#384d54", "Dockerfile": "#384d54",
"Dogescript": "#cca760", "Dogescript": "#cca760",
"Dotenv": "#e5d559",
"Dylan": "#6c616e", "Dylan": "#6c616e",
"E": "#ccce35", "E": "#ccce35",
"ECL": "#8a1267", "ECL": "#8a1267",
@ -129,11 +133,13 @@ var LanguagesColor = map[string]string{
"Earthly": "#2af0ff", "Earthly": "#2af0ff",
"Easybuild": "#069406", "Easybuild": "#069406",
"Ecere Projects": "#913960", "Ecere Projects": "#913960",
"Ecmarkup": "#eb8131",
"EditorConfig": "#fff1f2", "EditorConfig": "#fff1f2",
"Eiffel": "#4d6977", "Eiffel": "#4d6977",
"Elixir": "#6e4a7e", "Elixir": "#6e4a7e",
"Elm": "#60B5CC", "Elm": "#60B5CC",
"Elvish": "#55BB55", "Elvish": "#55BB55",
"Elvish Transcript": "#55BB55",
"Emacs Lisp": "#c065db", "Emacs Lisp": "#c065db",
"EmberScript": "#FFF4F3", "EmberScript": "#FFF4F3",
"Erlang": "#B83998", "Erlang": "#B83998",
@ -152,7 +158,7 @@ var LanguagesColor = map[string]string{
"Forth": "#341708", "Forth": "#341708",
"Fortran": "#4d41b1", "Fortran": "#4d41b1",
"Fortran Free Form": "#4d41b1", "Fortran Free Form": "#4d41b1",
"FreeBasic": "#867db1", "FreeBasic": "#141AC9",
"FreeMarker": "#0050b2", "FreeMarker": "#0050b2",
"Frege": "#00cafe", "Frege": "#00cafe",
"Futhark": "#5f021f", "Futhark": "#5f021f",
@ -185,6 +191,8 @@ var LanguagesColor = map[string]string{
"Go": "#00ADD8", "Go": "#00ADD8",
"Go Checksums": "#00ADD8", "Go Checksums": "#00ADD8",
"Go Module": "#00ADD8", "Go Module": "#00ADD8",
"Go Workspace": "#00ADD8",
"Godot Resource": "#355570",
"Golo": "#88562A", "Golo": "#88562A",
"Gosu": "#82937f", "Gosu": "#82937f",
"Grace": "#615f8b", "Grace": "#615f8b",
@ -195,6 +203,7 @@ var LanguagesColor = map[string]string{
"Groovy": "#4298b8", "Groovy": "#4298b8",
"Groovy Server Pages": "#4298b8", "Groovy Server Pages": "#4298b8",
"HAProxy": "#106da9", "HAProxy": "#106da9",
"HCL": "#844FBA",
"HLSL": "#aace60", "HLSL": "#aace60",
"HOCON": "#9ff8ee", "HOCON": "#9ff8ee",
"HTML": "#e34c26", "HTML": "#e34c26",
@ -213,6 +222,7 @@ var LanguagesColor = map[string]string{
"Haxe": "#df7900", "Haxe": "#df7900",
"HiveQL": "#dce200", "HiveQL": "#dce200",
"HolyC": "#ffefaf", "HolyC": "#ffefaf",
"Hosts File": "#308888",
"Hy": "#7790B2", "Hy": "#7790B2",
"IDL": "#a3522f", "IDL": "#a3522f",
"IGOR Pro": "#0000cc", "IGOR Pro": "#0000cc",
@ -220,6 +230,7 @@ var LanguagesColor = map[string]string{
"Idris": "#b30000", "Idris": "#b30000",
"Ignore List": "#000000", "Ignore List": "#000000",
"ImageJ Macro": "#99AAFF", "ImageJ Macro": "#99AAFF",
"Imba": "#16cec6",
"Inno Setup": "#264b99", "Inno Setup": "#264b99",
"Io": "#a9188d", "Io": "#a9188d",
"Ioke": "#078193", "Ioke": "#078193",
@ -227,6 +238,7 @@ var LanguagesColor = map[string]string{
"Isabelle ROOT": "#FEFE00", "Isabelle ROOT": "#FEFE00",
"J": "#9EEDFF", "J": "#9EEDFF",
"JAR Manifest": "#b07219", "JAR Manifest": "#b07219",
"JCL": "#d90e09",
"JFlex": "#DBCA00", "JFlex": "#DBCA00",
"JSON": "#292929", "JSON": "#292929",
"JSON with Comments": "#292929", "JSON with Comments": "#292929",
@ -249,9 +261,11 @@ var LanguagesColor = map[string]string{
"Jsonnet": "#0064bd", "Jsonnet": "#0064bd",
"Julia": "#a270ba", "Julia": "#a270ba",
"Jupyter Notebook": "#DA5B0B", "Jupyter Notebook": "#DA5B0B",
"Just": "#384d54",
"KRL": "#28430A", "KRL": "#28430A",
"Kaitai Struct": "#773b37", "Kaitai Struct": "#773b37",
"KakouneScript": "#6f8042", "KakouneScript": "#6f8042",
"KerboScript": "#41adf0",
"KiCad Layout": "#2f4aab", "KiCad Layout": "#2f4aab",
"KiCad Legacy Layout": "#2f4aab", "KiCad Legacy Layout": "#2f4aab",
"KiCad Schematic": "#2f4aab", "KiCad Schematic": "#2f4aab",
@ -278,6 +292,7 @@ var LanguagesColor = map[string]string{
"Lua": "#000080", "Lua": "#000080",
"MATLAB": "#e16737", "MATLAB": "#e16737",
"MAXScript": "#00a6a6", "MAXScript": "#00a6a6",
"MDX": "#fcb32c",
"MLIR": "#5EC8DB", "MLIR": "#5EC8DB",
"MQL4": "#62A8D6", "MQL4": "#62A8D6",
"MQL5": "#4A76B8", "MQL5": "#4A76B8",
@ -291,6 +306,7 @@ var LanguagesColor = map[string]string{
"Mathematica": "#dd1100", "Mathematica": "#dd1100",
"Max": "#c4a79c", "Max": "#c4a79c",
"Mercury": "#ff2b2b", "Mercury": "#ff2b2b",
"Mermaid": "#ff3670",
"Meson": "#007800", "Meson": "#007800",
"Metal": "#8f14e9", "Metal": "#8f14e9",
"MiniYAML": "#ff1111", "MiniYAML": "#ff1111",
@ -323,7 +339,12 @@ var LanguagesColor = map[string]string{
"Nu": "#c9df40", "Nu": "#c9df40",
"NumPy": "#9C8AF9", "NumPy": "#9C8AF9",
"Nunjucks": "#3d8137", "Nunjucks": "#3d8137",
"OCaml": "#3be133", "Nushell": "#4E9906",
"OASv2-json": "#85ea2d",
"OASv2-yaml": "#85ea2d",
"OASv3-json": "#85ea2d",
"OASv3-yaml": "#85ea2d",
"OCaml": "#ef7a08",
"ObjectScript": "#424893", "ObjectScript": "#424893",
"Objective-C": "#438eff", "Objective-C": "#438eff",
"Objective-C++": "#6866fb", "Objective-C++": "#6866fb",
@ -332,19 +353,24 @@ var LanguagesColor = map[string]string{
"Omgrofl": "#cabbff", "Omgrofl": "#cabbff",
"Opal": "#f7ede0", "Opal": "#f7ede0",
"Open Policy Agent": "#7d9199", "Open Policy Agent": "#7d9199",
"OpenAPI Specification v2": "#85ea2d",
"OpenAPI Specification v3": "#85ea2d",
"OpenCL": "#ed2e2d", "OpenCL": "#ed2e2d",
"OpenEdge ABL": "#5ce600", "OpenEdge ABL": "#5ce600",
"OpenQASM": "#AA70FF", "OpenQASM": "#AA70FF",
"OpenSCAD": "#e5cd45", "OpenSCAD": "#e5cd45",
"Option List": "#476732",
"Org": "#77aa99", "Org": "#77aa99",
"Oxygene": "#cdd0e3", "Oxygene": "#cdd0e3",
"Oz": "#fab738", "Oz": "#fab738",
"P4": "#7055b5", "P4": "#7055b5",
"PDDL": "#0d00ff",
"PEG.js": "#234d6b", "PEG.js": "#234d6b",
"PHP": "#4F5D95", "PHP": "#4F5D95",
"PLSQL": "#dad8d8", "PLSQL": "#dad8d8",
"PLpgSQL": "#336790", "PLpgSQL": "#336790",
"POV-Ray SDL": "#6bac65", "POV-Ray SDL": "#6bac65",
"Pact": "#F7A8B8",
"Pan": "#cc0000", "Pan": "#cc0000",
"Papyrus": "#6600cc", "Papyrus": "#6600cc",
"Parrot": "#f3ca0a", "Parrot": "#f3ca0a",
@ -355,7 +381,9 @@ var LanguagesColor = map[string]string{
"PicoLisp": "#6067af", "PicoLisp": "#6067af",
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"PlantUML": "#fbbd16",
"PogoScript": "#d80074", "PogoScript": "#d80074",
"Polar": "#ae81ff",
"Portugol": "#f8bd00", "Portugol": "#f8bd00",
"PostCSS": "#dc3a0c", "PostCSS": "#dc3a0c",
"PostScript": "#da291c", "PostScript": "#da291c",
@ -371,6 +399,7 @@ var LanguagesColor = map[string]string{
"Puppet": "#302B6D", "Puppet": "#302B6D",
"PureBasic": "#5a6986", "PureBasic": "#5a6986",
"PureScript": "#1D222D", "PureScript": "#1D222D",
"Pyret": "#ee1e10",
"Python": "#3572A5", "Python": "#3572A5",
"Python console": "#3572A5", "Python console": "#3572A5",
"Python traceback": "#3572A5", "Python traceback": "#3572A5",
@ -380,6 +409,7 @@ var LanguagesColor = map[string]string{
"Quake": "#882233", "Quake": "#882233",
"R": "#198CE7", "R": "#198CE7",
"RAML": "#77d9fb", "RAML": "#77d9fb",
"RBS": "#701516",
"RDoc": "#701516", "RDoc": "#701516",
"REXX": "#d90e09", "REXX": "#d90e09",
"RMarkdown": "#198ce7", "RMarkdown": "#198ce7",
@ -419,6 +449,7 @@ var LanguagesColor = map[string]string{
"Sass": "#a53b70", "Sass": "#a53b70",
"Scala": "#c22d40", "Scala": "#c22d40",
"Scaml": "#bd181a", "Scaml": "#bd181a",
"Scenic": "#fdc700",
"Scheme": "#1e4aec", "Scheme": "#1e4aec",
"Scilab": "#ca0f21", "Scilab": "#ca0f21",
"Self": "#0579aa", "Self": "#0579aa",
@ -426,6 +457,7 @@ var LanguagesColor = map[string]string{
"Shell": "#89e051", "Shell": "#89e051",
"ShellCheck Config": "#cecfcb", "ShellCheck Config": "#cecfcb",
"Shen": "#120F14", "Shen": "#120F14",
"Simple File Verification": "#C9BFED",
"Singularity": "#64E6AD", "Singularity": "#64E6AD",
"Slash": "#007eff", "Slash": "#007eff",
"Slice": "#003fa2", "Slice": "#003fa2",
@ -433,6 +465,8 @@ var LanguagesColor = map[string]string{
"SmPL": "#c94949", "SmPL": "#c94949",
"Smalltalk": "#596706", "Smalltalk": "#596706",
"Smarty": "#f0c040", "Smarty": "#f0c040",
"Smithy": "#c44536",
"Snakemake": "#419179",
"Solidity": "#AA6746", "Solidity": "#AA6746",
"SourcePawn": "#f69e1d", "SourcePawn": "#f69e1d",
"Squirrel": "#800000", "Squirrel": "#800000",
@ -446,9 +480,11 @@ var LanguagesColor = map[string]string{
"SugarSS": "#2fcc9f", "SugarSS": "#2fcc9f",
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Svelte": "#ff3e00", "Svelte": "#ff3e00",
"Sway": "#dea584",
"Swift": "#F05138", "Swift": "#F05138",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
"TI Program": "#A0AA87", "TI Program": "#A0AA87",
"TL-Verilog": "#C40023",
"TLA": "#4b0079", "TLA": "#4b0079",
"TOML": "#9c4221", "TOML": "#9c4221",
"TSQL": "#e38c00", "TSQL": "#e38c00",
@ -483,11 +519,15 @@ var LanguagesColor = map[string]string{
"Vim Script": "#199f4b", "Vim Script": "#199f4b",
"Vim Snippet": "#199f4b", "Vim Snippet": "#199f4b",
"Visual Basic .NET": "#945db7", "Visual Basic .NET": "#945db7",
"Visual Basic 6.0": "#2c6353",
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#41b883", "Vue": "#41b883",
"Vyper": "#2980b9", "Vyper": "#2980b9",
"WDL": "#42f1f4",
"WGSL": "#1a5e9a",
"Web Ontology Language": "#5b70bd", "Web Ontology Language": "#5b70bd",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
"WebAssembly Interface Type": "#6250e7",
"Whiley": "#d5c397", "Whiley": "#d5c397",
"Wikitext": "#fc5757", "Wikitext": "#fc5757",
"Windows Registry Entries": "#52d5ff", "Windows Registry Entries": "#52d5ff",
@ -529,7 +569,6 @@ var LanguagesColor = map[string]string{
"q": "#0040cd", "q": "#0040cd",
"reStructuredText": "#141414", "reStructuredText": "#141414",
"sed": "#64b970", "sed": "#64b970",
"wdl": "#42f1f4",
"wisp": "#7582D1", "wisp": "#7582D1",
"xBase": "#403a40", "xBase": "#403a40",
} }

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "bf853f1c663903e3ee35935189760191f1c45e1c" var LinguistCommit = "b5432ebc7e78f25415b98d48c2fbacddbf8df317"

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -581,17 +581,23 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("AL"), rule.MatchingLanguages("AL"),
rule.Or( rule.Or(
rule.MatchingLanguages(""), rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\b(?i:(CODEUNIT|PAGE|PAGEEXTENSION|PAGECUSTOMIZATION|DOTNET|ENUM|ENUMEXTENSION|VALUE|QUERY|REPORT|TABLE|TABLEEXTENSION|XMLPORT|PROFILE|CONTROLADDIN))\b`), regex.MustCompileMultiline(`\b(?i:(CODEUNIT|PAGE|PAGEEXTENSION|PAGECUSTOMIZATION|DOTNET|ENUM|ENUMEXTENSION|VALUE|QUERY|REPORT|TABLE|TABLEEXTENSION|XMLPORT|PROFILE|CONTROLADDIN|REPORTEXTENSION|INTERFACE|PERMISSIONSET|PERMISSIONSETEXTENSION|ENTITLEMENT))\b`),
), ),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
), ),
}, },
".app": &Heuristics{
rule.Or(
rule.MatchingLanguages("Erlang"),
regex.MustCompileMultiline(`^\{\s*(?:application|'application')\s*,\s*(?:[a-z]+[\w@]*|'[^']+')\s*,\s*\[(?:.|[\r\n])*\]\s*\}\.[ \t]*$`),
),
},
".as": &Heuristics{ ".as": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("ActionScript"), rule.MatchingLanguages("ActionScript"),
regex.MustCompileRuby(`^\s*(?:package(?:\s+[\w.]+)?\s+(?:{|$)|import\s+[\w.*]+\s*;|(?=.*?(?:intrinsic|extends))(intrinsic\s+)?class\s+[\w<>.]+(?:\s+extends\s+[\w<>.]+)?|(?:(?:public|protected|private|static)\s+)*(?:(?:var|const|local)\s+\w+\s*:\s*[\w<>.]+(?:\s*=.*)?\s*;|function\s+\w+\s*\((?:\s*\w+\s*:\s*[\w<>.]+\s*(,\s*\w+\s*:\s*[\w<>.]+\s*)*)?\)))`), regex.MustCompileRuby(`^\s*(?:package(?:\s+[\w.]+)?\s+(?:\{|$)|import\s+[\w.*]+\s*;|(?=.*?(?:intrinsic|extends))(intrinsic\s+)?class\s+[\w<>.]+(?:\s+extends\s+[\w<>.]+)?|(?:(?:public|protected|private|static)\s+)*(?:(?:var|const|local)\s+\w+\s*:\s*[\w<>.]+(?:\s*=.*)?\s*;|function\s+\w+\s*\((?:\s*\w+\s*:\s*[\w<>.]+\s*(,\s*\w+\s*:\s*[\w<>.]+\s*)*)?\)))`),
), ),
}, },
".asc": &Heuristics{ ".asc": &Heuristics{
@ -601,7 +607,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("AsciiDoc"), rule.MatchingLanguages("AsciiDoc"),
regex.MustCompileMultiline(`^[=-]+(\s|\n)|{{[A-Za-z]`), regex.MustCompileMultiline(`^[=-]+(\s|\n)|\{\{[A-Za-z]`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("AGS Script"), rule.MatchingLanguages("AGS Script"),
@ -626,11 +632,26 @@ var ContentHeuristics = map[string]*Heuristics{
".bas": &Heuristics{ ".bas": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("FreeBasic"), rule.MatchingLanguages("FreeBasic"),
regex.MustCompileMultiline(`^[ \t]*#(?:define|endif|endmacro|ifn?def|if|include|lang|macro)\s`), regex.MustCompileMultiline(`^[ \t]*#(?i)(?:define|endif|endmacro|ifn?def|include|lang|macro)(?:$|\s)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("BASIC"), rule.MatchingLanguages("BASIC"),
regex.MustCompileMultiline(`^\s*\d+`), regex.MustCompileMultiline(`\A\s*\d`),
),
rule.And(
rule.MatchingLanguages("VBA"),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^[ ]*Attribute VB_Name = `),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\b(?:VBA|[vV]ba)(?:\b|[0-9A-Z_])|^[ ]*(?:Public|Private)? Declare PtrSafe (?:Sub|Function)\b|^[ ]*#If Win64\b|^[ ]*(?:Dim|Const) [0-9a-zA-Z_]*[ ]*As Long(?:Ptr|Long)\b|^[ ]*Option (?:Private Module|Compare Database)\b|(?: |\()(?:Access|Excel|Outlook|PowerPoint|Visio|Word|VBIDE)\.\w|\b(?:(?:Active)?VBProjects?|VBComponents?|Application\.(?:VBE|ScreenUpdating))\b|\b(?:ThisDrawing|AcadObject|Active(?:Explorer|Inspector|Window\.Presentation|Presentation|Document)|Selection\.(?:Find|Paragraphs))\b|\b(?:(?:This|Active)?Workbooks?|Worksheets?|Active(?:Sheet|Chart|Cell)|WorksheetFunction)\b|\b(?:Range\(".*|Cells\([0-9a-zA-Z_]*, (?:[0-9a-zA-Z_]*|"[a-zA-Z]{1,3}"))\)`),
),
),
rule.Or(
rule.MatchingLanguages("Visual Basic 6.0"),
regex.MustCompileMultiline(`^[ ]*Attribute VB_Name = `),
), ),
}, },
".bb": &Heuristics{ ".bb": &Heuristics{
@ -664,7 +685,7 @@ var ContentHeuristics = map[string]*Heuristics{
".bi": &Heuristics{ ".bi": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("FreeBasic"), rule.MatchingLanguages("FreeBasic"),
regex.MustCompileMultiline(`^[ \t]*#(?:define|endif|endmacro|ifn?def|if|include|lang|macro)\s`), regex.MustCompileMultiline(`^[ \t]*#(?i)(?:define|endif|endmacro|ifn?def|if|include|lang|macro)(?:$|\s)`),
), ),
}, },
".bs": &Heuristics{ ".bs": &Heuristics{
@ -704,9 +725,24 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".cls": &Heuristics{ ".cls": &Heuristics{
rule.And(
rule.MatchingLanguages("Visual Basic 6.0"),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^[ ]*VERSION [0-9]\.[0-9] CLASS`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*BEGIN(?:\r?\n|\r)\s*MultiUse\s*=.*(?:\r?\n|\r)\s*Persistable\s*=`),
),
),
rule.Or(
rule.MatchingLanguages("VBA"),
regex.MustCompileMultiline(`^[ ]*VERSION [0-9]\.[0-9] CLASS`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("TeX"), rule.MatchingLanguages("TeX"),
regex.MustCompileMultiline(`^\s*\\(?:NeedsTeXFormat|ProvidesClass){`), regex.MustCompileMultiline(`^\s*\\(?:NeedsTeXFormat|ProvidesClass)\{`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("ObjectScript"), rule.MatchingLanguages("ObjectScript"),
@ -726,7 +762,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("C#"), rule.MatchingLanguages("C#"),
regex.MustCompileMultiline(`^\s*(using\s+[A-Z][\s\w.]+;|namespace\s*[\w\.]+\s*({|;)|\/\/)`), regex.MustCompileMultiline(`^\s*(using\s+[A-Z][\s\w.]+;|namespace\s*[\w\.]+\s*(\{|;)|\/\/)`),
), ),
}, },
".csc": &Heuristics{ ".csc": &Heuristics{
@ -738,7 +774,7 @@ var ContentHeuristics = map[string]*Heuristics{
".csl": &Heuristics{ ".csl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
regex.MustCompileMultiline(`(?i:^\s*(\<\?xml|xmlns))`), regex.MustCompileMultiline(`(?i:^\s*(<\?xml|xmlns))`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Kusto"), rule.MatchingLanguages("Kusto"),
@ -748,11 +784,11 @@ var ContentHeuristics = map[string]*Heuristics{
".d": &Heuristics{ ".d": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("D"), rule.MatchingLanguages("D"),
regex.MustCompileMultiline(`^module\s+[\w.]*\s*;|import\s+[\w\s,.:]*;|\w+\s+\w+\s*\(.*\)(?:\(.*\))?\s*{[^}]*}|unittest\s*(?:\(.*\))?\s*{[^}]*}`), regex.MustCompileMultiline(`^module\s+[\w.]*\s*;|import\s+[\w\s,.:]*;|\w+\s+\w+\s*\(.*\)(?:\(.*\))?\s*\{[^}]*\}|unittest\s*(?:\(.*\))?\s*\{[^}]*\}`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("DTrace"), rule.MatchingLanguages("DTrace"),
regex.MustCompileMultiline(`^(\w+:\w*:\w*:\w*|BEGIN|END|provider\s+|(tick|profile)-\w+\s+{[^}]*}|#pragma\s+D\s+(option|attributes|depends_on)\s|#pragma\s+ident\s)`), regex.MustCompileMultiline(`^(\w+:\w*:\w*:\w*|BEGIN|END|provider\s+|(tick|profile)-\w+\s+\{[^}]*\}|#pragma\s+D\s+(option|attributes|depends_on)\s|#pragma\s+ident\s)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Makefile"), rule.MatchingLanguages("Makefile"),
@ -772,7 +808,7 @@ var ContentHeuristics = map[string]*Heuristics{
".e": &Heuristics{ ".e": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("E"), rule.MatchingLanguages("E"),
regex.MustCompileMultiline(`^\s*(def|var)\s+(.+):=|^\s*(def|to)\s+(\w+)(\(.+\))?\s+{|^\s*(when)\s+(\(.+\))\s+->\s+{`), regex.MustCompileMultiline(`^\s*(def|var)\s+(.+):=|^\s*(def|to)\s+(\w+)(\(.+\))?\s+\{|^\s*(when)\s+(\(.+\))\s+->\s+\{`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Eiffel"), rule.MatchingLanguages("Eiffel"),
@ -800,7 +836,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("JavaScript"), rule.MatchingLanguages("JavaScript"),
regex.MustCompileRuby(`(?m:\/\/|("|')use strict\1|export\s+default\s|\/\*.*?\*\/)`), regex.MustCompileRuby(`\/\/|("|')use strict\1|export\s+default\s|\/\*(?:.|[\r\n])*?\*\/`),
), ),
}, },
".ex": &Heuristics{ ".ex": &Heuristics{
@ -850,6 +886,30 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Text"), rule.MatchingLanguages("Text"),
), ),
}, },
".frm": &Heuristics{
rule.And(
rule.MatchingLanguages("VBA"),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^[ ]*VERSION [0-9]\.[0-9]{2}`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*Begin\s+\{[0-9A-Z\-]*\}\s?`),
),
),
rule.And(
rule.MatchingLanguages("Visual Basic 6.0"),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^[ ]*VERSION [0-9]\.[0-9]{2}`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*Begin\s+VB\.Form\s+`),
),
),
},
".fs": &Heuristics{ ".fs": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Forth"), rule.MatchingLanguages("Forth"),
@ -871,7 +931,7 @@ var ContentHeuristics = map[string]*Heuristics{
".ftl": &Heuristics{ ".ftl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("FreeMarker"), rule.MatchingLanguages("FreeMarker"),
regex.MustCompileRuby(`^(?:<|[a-zA-Z-][a-zA-Z0-9_-]+[ \t]+\w)|\${\w+[^\n]*?}|^[ \t]*(?:<#--.*?-->|<#([a-z]+)(?=\s|>)[^>]*>.*?</#\1>|\[#--.*?--\]|\[#([a-z]+)(?=\s|\])[^\]]*\].*?\[#\2\])`), regex.MustCompileRuby(`^(?:<|[a-zA-Z-][a-zA-Z0-9_-]+[ \t]+\w)|\$\{\w+[^\n]*?\}|^[ \t]*(?:<#--.*?-->|<#([a-z]+)(?=\s|>)[^>]*>.*?</#\1>|\[#--.*?--\]|\[#([a-z]+)(?=\s|\])[^\]]*\].*?\[#\2\])`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Fluent"), rule.MatchingLanguages("Fluent"),
@ -901,7 +961,7 @@ var ContentHeuristics = map[string]*Heuristics{
".gml": &Heuristics{ ".gml": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
regex.MustCompileMultiline(`(?i:^\s*(\<\?xml|xmlns))`), regex.MustCompileMultiline(`(?i:^\s*(<\?xml|xmlns))`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Graph Modeling Language"), rule.MatchingLanguages("Graph Modeling Language"),
@ -960,6 +1020,15 @@ var ContentHeuristics = map[string]*Heuristics{
regex.MustCompileMultiline(`<\?hh`), regex.MustCompileMultiline(`<\?hh`),
), ),
}, },
".html": &Heuristics{
rule.Or(
rule.MatchingLanguages("Ecmarkup"),
regex.MustCompileMultiline(`<emu-(?:alg|annex|biblio|clause|eqn|example|figure|gann|gmod|gprose|grammar|intro|not-ref|note|nt|prodref|production|rhs|table|t|xref)(?:$|\s|>)`),
),
rule.Always(
rule.MatchingLanguages("HTML"),
),
},
".i": &Heuristics{ ".i": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Motorola 68K Assembly"), rule.MatchingLanguages("Motorola 68K Assembly"),
@ -990,11 +1059,11 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("SourcePawn"), rule.MatchingLanguages("SourcePawn"),
regex.MustCompileMultiline(`^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*{)?)|^methodmap\s+\w+\s+<\s+\w+|^\s*MarkNativeAsOptional\s*\(`), regex.MustCompileMultiline(`^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*\{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*\{)?)|^methodmap\s+\w+\s+<\s+\w+|^\s*MarkNativeAsOptional\s*\(`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("NASL"), rule.MatchingLanguages("NASL"),
regex.MustCompileRuby(`^\s*include\s*\(\s*(?:"|')[\\/\w\-\.:\s]+\.(?:nasl|inc)\s*(?:"|')\s*\)\s*;|^\s*(?:global|local)_var\s+(?:\w+(?:\s*=\s*[\w\-"']+)?\s*)(?:,\s*\w+(?:\s*=\s*[\w\-"']+)?\s*)*+\s*;|^\s*namespace\s+\w+\s*{|^\s*object\s+\w+\s*(?:extends\s+\w+(?:::\w+)?)?\s*{|^\s*(?:public\s+|private\s+|\s*)function\s+\w+\s*\([\w\s,]*\)\s*{`), regex.MustCompileRuby(`^\s*include\s*\(\s*(?:"|')[\\/\w\-\.:\s]+\.(?:nasl|inc)\s*(?:"|')\s*\)\s*;|^\s*(?:global|local)_var\s+(?:\w+(?:\s*=\s*[\w\-"']+)?\s*)(?:,\s*\w+(?:\s*=\s*[\w\-"']+)?\s*)*+\s*;|^\s*namespace\s+\w+\s*\{|^\s*object\s+\w+\s*(?:extends\s+\w+(?:::\w+)?)?\s*\{|^\s*(?:public\s+|private\s+|\s*)function\s+\w+\s*\([\w\s,]*\)\s*\{`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("POV-Ray SDL"), rule.MatchingLanguages("POV-Ray SDL"),
@ -1002,7 +1071,20 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Pascal"), rule.MatchingLanguages("Pascal"),
regex.MustCompileMultiline(`(?i:^\s*{\$(?:mode|ifdef|undef|define)[ ]+[a-z0-9_]+})|^\s*end[.;]\s*$`), regex.MustCompileMultiline(`(?i:^\s*\{\$(?:mode|ifdef|undef|define)[ ]+[a-z0-9_]+\})|^\s*end[.;]\s*$`),
),
},
".json": &Heuristics{
rule.Or(
rule.MatchingLanguages("OASv2-json"),
regex.MustCompileMultiline(`"swagger":\s?"2.[0-9.]+"`),
),
rule.Or(
rule.MatchingLanguages("OASv3-json"),
regex.MustCompileMultiline(`"openapi":\s?"3.[0-9.]+"`),
),
rule.Always(
rule.MatchingLanguages("JSON"),
), ),
}, },
".l": &Heuristics{ ".l": &Heuristics{
@ -1036,7 +1118,7 @@ var ContentHeuristics = map[string]*Heuristics{
".ls": &Heuristics{ ".ls": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("LoomScript"), rule.MatchingLanguages("LoomScript"),
regex.MustCompileMultiline(`^\s*package\s*[\w\.\/\*\s]*\s*{`), regex.MustCompileMultiline(`^\s*package\s*[\w\.\/\*\s]*\s*\{`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("LiveScript"), rule.MatchingLanguages("LiveScript"),
@ -1086,7 +1168,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Limbo"), rule.MatchingLanguages("Limbo"),
regex.MustCompileMultiline(`^\w+\s*:\s*module\s*{`), regex.MustCompileMultiline(`^\w+\s*:\s*module\s*\{`),
), ),
}, },
".m4": &Heuristics{ ".m4": &Heuristics{
@ -1269,6 +1351,15 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("NewLisp"), rule.MatchingLanguages("NewLisp"),
), ),
}, },
".nu": &Heuristics{
rule.Or(
rule.MatchingLanguages("Nushell"),
regex.MustCompileMultiline(`^\s*(import|export|module|def|let|let-env) `),
),
rule.Always(
rule.MatchingLanguages("Nu"),
),
},
".odin": &Heuristics{ ".odin": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Object Data Instance Notation"), rule.MatchingLanguages("Object Data Instance Notation"),
@ -1303,9 +1394,16 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Prolog"), rule.MatchingLanguages("Prolog"),
regex.MustCompileMultiline(`^[^#]*:-`), regex.MustCompileMultiline(`^[^#]*:-`),
), ),
rule.Or( rule.And(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\.)`), rule.Not(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*use\s+v6\b`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\b)|^\s*use\s+(?:constant|overload)\b|^\s*(?:\*|(?:our\s*)?@)EXPORT\s*=|^\s*package\s+[^\W\d]\w*(?:::\w+)*\s*(?:[;{]|\sv?\d)|[\s$][^\W\d]\w*(?::\w+)*->[a-zA-Z_\[({]`),
),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Raku"), rule.MatchingLanguages("Raku"),
@ -1315,16 +1413,29 @@ var ContentHeuristics = map[string]*Heuristics{
".plist": &Heuristics{ ".plist": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML Property List"), rule.MatchingLanguages("XML Property List"),
regex.MustCompileMultiline(`<!DOCTYPE\s+plist`), regex.MustCompileRuby(`^\s*(?:<\?xml\s|<!DOCTYPE\s+plist|<plist(?:\s+version\s*=\s*(["'])\d+(?:\.\d+)?\1)?\s*>\s*$)`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("OpenStep Property List"), rule.MatchingLanguages("OpenStep Property List"),
), ),
}, },
".pm": &Heuristics{ ".plt": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Prolog"),
regex.MustCompileMultiline(`^\s*:-`),
),
},
".pm": &Heuristics{
rule.And(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\.)`), rule.Not(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*use\s+v6\b`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\b)|^\s*use\s+(?:constant|overload)\b|^\s*(?:\*|(?:our\s*)?@)EXPORT\s*=|^\s*package\s+[^\W\d]\w*(?:::\w+)*\s*(?:[;{]|\sv?\d)|[\s$][^\W\d]\w*(?::\w+)*->[a-zA-Z_\[({]`),
),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Raku"), rule.MatchingLanguages("Raku"),
@ -1418,7 +1529,7 @@ var ContentHeuristics = map[string]*Heuristics{
".q": &Heuristics{ ".q": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("q"), rule.MatchingLanguages("q"),
regex.MustCompileMultiline(`((?i:[A-Z.][\w.]*:{)|(^|\n)\\(cd?|d|l|p|ts?) )`), regex.MustCompileMultiline(`((?i:[A-Z.][\w.]*:\{)|(^|\n)\\(cd?|d|l|p|ts?) )`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("HiveQL"), rule.MatchingLanguages("HiveQL"),
@ -1448,7 +1559,7 @@ var ContentHeuristics = map[string]*Heuristics{
".re": &Heuristics{ ".re": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Reason"), rule.MatchingLanguages("Reason"),
regex.MustCompileMultiline(`^\s*module\s+type\s|^\s*(?:include|open)\s+\w+\s*;\s*$|^\s*let\s+(?:module\s\w+\s*=\s*{|\w+:\s+.*=.*;\s*$)`), regex.MustCompileMultiline(`^\s*module\s+type\s|^\s*(?:include|open)\s+\w+\s*;\s*$|^\s*let\s+(?:module\s\w+\s*=\s*\{|\w+:\s+.*=.*;\s*$)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("C++"), rule.MatchingLanguages("C++"),
@ -1474,7 +1585,7 @@ var ContentHeuristics = map[string]*Heuristics{
".rpy": &Heuristics{ ".rpy": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Python"), rule.MatchingLanguages("Python"),
regex.MustCompileMultiline(`(?m:^(import|from|class|def)\s)`), regex.MustCompileMultiline(`^(import|from|class|def)\s`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("Ren'Py"), rule.MatchingLanguages("Ren'Py"),
@ -1564,7 +1675,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Smalltalk"), rule.MatchingLanguages("Smalltalk"),
regex.MustCompileMultiline(`\A\s*[\[{(^"'\w#]|[a-zA-Z_]\w*\s*:=\s*[a-zA-Z_]\w*|class\s*>>\s*[a-zA-Z_]\w*|^[a-zA-Z_]\w*\s+[a-zA-Z_]\w*:|^Class\s*{|if(?:True|False):\s*\[`), regex.MustCompileMultiline(`\A\s*[\[{(^"'\w#]|[a-zA-Z_]\w*\s*:=\s*[a-zA-Z_]\w*|class\s*>>\s*[a-zA-Z_]\w*|^[a-zA-Z_]\w*\s+[a-zA-Z_]\w*:|^Class\s*\{|if(?:True|False):\s*\[`),
), ),
}, },
".star": &Heuristics{ ".star": &Heuristics{
@ -1579,13 +1690,30 @@ var ContentHeuristics = map[string]*Heuristics{
".stl": &Heuristics{ ".stl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("STL"), rule.MatchingLanguages("STL"),
regex.MustCompileRuby(`\A\s*solid(?=$|\s)(?m:.*?)\Rendsolid(?:$|\s)`), regex.MustCompileRuby(`\A\s*solid(?=$|\s)(?:.|[\r\n])*?^endsolid(?:$|\s)`),
),
},
".sw": &Heuristics{
rule.Or(
rule.MatchingLanguages("Sway"),
regex.MustCompileMultiline(`^\s*(?:(?:abi|dep|fn|impl|mod|pub|trait)\s|#\[)`),
),
rule.Or(
rule.MatchingLanguages("XML"),
regex.MustCompileMultiline(`^\s*<\?xml\s+version`),
), ),
}, },
".t": &Heuristics{ ".t": &Heuristics{
rule.Or( rule.And(
rule.MatchingLanguages("Perl"), rule.MatchingLanguages("Perl"),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\.)`), rule.Not(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`^\s*use\s+v6\b`),
),
rule.Or(
rule.MatchingLanguages(""),
regex.MustCompileMultiline(`\buse\s+(?:strict\b|v?5\b)|^\s*use\s+(?:constant|overload)\b|^\s*(?:\*|(?:our\s*)?@)EXPORT\s*=|^\s*package\s+[^\W\d]\w*(?:::\w+)*\s*(?:[;{]|\sv?\d)|[\s$][^\W\d]\w*(?::\w+)*->[a-zA-Z_\[({]`),
),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Raku"), rule.MatchingLanguages("Raku"),
@ -1602,6 +1730,12 @@ var ContentHeuristics = map[string]*Heuristics{
regex.MustCompileMultiline(`<%[@!=\s]?\s*(taglib|tag|include|attribute|variable)\s`), regex.MustCompileMultiline(`<%[@!=\s]?\s*(taglib|tag|include|attribute|variable)\s`),
), ),
}, },
".tlv": &Heuristics{
rule.Or(
rule.MatchingLanguages("TL-Verilog"),
regex.MustCompileMultiline(`^\\.{0,10}TLV_version`),
),
},
".toc": &Heuristics{ ".toc": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("World of Warcraft Addon Data"), rule.MatchingLanguages("World of Warcraft Addon Data"),
@ -1674,7 +1808,7 @@ var ContentHeuristics = map[string]*Heuristics{
".url": &Heuristics{ ".url": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("INI"), rule.MatchingLanguages("INI"),
regex.MustCompileRuby(`^\[InternetShortcut\]\R(?>[^\s\[][^\n]*\R)*URL=`), regex.MustCompileRuby(`^\[InternetShortcut\](?:\r?\n|\r)(?>[^\s\[][^\n]*(?:\r?\n|\r))*URL=`),
), ),
}, },
".v": &Heuristics{ ".v": &Heuristics{
@ -1717,7 +1851,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("RPC"), rule.MatchingLanguages("RPC"),
regex.MustCompileMultiline(`\b(program|version)\s+\w+\s*{|\bunion\s+\w+\s+switch\s*\(`), regex.MustCompileMultiline(`\b(program|version)\s+\w+\s*\{|\bunion\s+\w+\s+switch\s*\(`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Logos"), rule.MatchingLanguages("Logos"),
@ -1733,6 +1867,31 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("MiniYAML"), rule.MatchingLanguages("MiniYAML"),
regex.MustCompileMultiline(`^\t+.*?[^\s:].*?:`), regex.MustCompileMultiline(`^\t+.*?[^\s:].*?:`),
), ),
rule.Or(
rule.MatchingLanguages("OASv2-yaml"),
regex.MustCompileMultiline(`swagger:\s?'?"?2.[0-9.]+'?"?`),
),
rule.Or(
rule.MatchingLanguages("OASv3-yaml"),
regex.MustCompileMultiline(`openapi:\s?'?"?3.[0-9.]+'?"?`),
),
rule.Always(
rule.MatchingLanguages("YAML"),
),
},
".yml": &Heuristics{
rule.Or(
rule.MatchingLanguages("MiniYAML"),
regex.MustCompileMultiline(`^\t+.*?[^\s:].*?:`),
),
rule.Or(
rule.MatchingLanguages("OASv2-yaml"),
regex.MustCompileMultiline(`swagger:\s?'?"?2.[0-9.]+'?"?`),
),
rule.Or(
rule.MatchingLanguages("OASv3-yaml"),
regex.MustCompileMultiline(`openapi:\s?'?"?3.[0-9.]+'?"?`),
),
rule.Always( rule.Always(
rule.MatchingLanguages("YAML"), rule.MatchingLanguages("YAML"),
), ),

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -67,10 +67,12 @@ var LanguagesByExtension = map[string][]string{
".apacheconf": {"ApacheConf"}, ".apacheconf": {"ApacheConf"},
".apib": {"API Blueprint"}, ".apib": {"API Blueprint"},
".apl": {"APL"}, ".apl": {"APL"},
".app": {"Erlang"},
".app.src": {"Erlang"}, ".app.src": {"Erlang"},
".applescript": {"AppleScript"}, ".applescript": {"AppleScript"},
".arc": {"Arc"}, ".arc": {"Arc"},
".arpa": {"DNS Zone"}, ".arpa": {"DNS Zone"},
".arr": {"Pyret"},
".as": {"ActionScript", "AngelScript"}, ".as": {"ActionScript", "AngelScript"},
".asax": {"ASP.NET"}, ".asax": {"ASP.NET"},
".asc": {"AGS Script", "AsciiDoc", "Public Key"}, ".asc": {"AGS Script", "AsciiDoc", "Public Key"},
@ -107,7 +109,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": {"BASIC", "FreeBasic", "VBA"}, ".bas": {"BASIC", "FreeBasic", "VBA", "Visual Basic 6.0"},
".bash": {"Shell"}, ".bash": {"Shell"},
".bat": {"Batchfile"}, ".bat": {"Batchfile"},
".bats": {"Shell"}, ".bats": {"Shell"},
@ -170,6 +172,7 @@ var LanguagesByExtension = map[string][]string{
".chpl": {"Chapel"}, ".chpl": {"Chapel"},
".chs": {"C2hs Haskell"}, ".chs": {"C2hs Haskell"},
".cil": {"CIL"}, ".cil": {"CIL"},
".circom": {"Circom"},
".cirru": {"Cirru"}, ".cirru": {"Cirru"},
".cjs": {"JavaScript"}, ".cjs": {"JavaScript"},
".cjsx": {"CoffeeScript"}, ".cjsx": {"CoffeeScript"},
@ -186,13 +189,14 @@ var LanguagesByExtension = map[string][]string{
".cljscm": {"Clojure"}, ".cljscm": {"Clojure"},
".cljx": {"Clojure"}, ".cljx": {"Clojure"},
".clp": {"CLIPS"}, ".clp": {"CLIPS"},
".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "VBA"}, ".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "VBA", "Visual Basic 6.0"},
".clw": {"Clarion"}, ".clw": {"Clarion"},
".cmake": {"CMake"}, ".cmake": {"CMake"},
".cmake.in": {"CMake"}, ".cmake.in": {"CMake"},
".cmd": {"Batchfile"}, ".cmd": {"Batchfile"},
".cmp": {"Gerber Image"}, ".cmp": {"Gerber Image"},
".cnc": {"G-code"}, ".cnc": {"G-code"},
".cnf": {"INI"},
".cob": {"COBOL"}, ".cob": {"COBOL"},
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".cocci": {"SmPL"}, ".cocci": {"SmPL"},
@ -207,6 +211,7 @@ var LanguagesByExtension = map[string][]string{
".cp": {"C++", "Component Pascal"}, ".cp": {"C++", "Component Pascal"},
".cpp": {"C++"}, ".cpp": {"C++"},
".cpp-objdump": {"Cpp-ObjDump"}, ".cpp-objdump": {"Cpp-ObjDump"},
".cppm": {"C++"},
".cppobjdump": {"Cpp-ObjDump"}, ".cppobjdump": {"Cpp-ObjDump"},
".cproject": {"XML"}, ".cproject": {"XML"},
".cps": {"Component Pascal"}, ".cps": {"Component Pascal"},
@ -229,6 +234,7 @@ var LanguagesByExtension = map[string][]string{
".csv": {"CSV"}, ".csv": {"CSV"},
".csx": {"C#"}, ".csx": {"C#"},
".ct": {"XML"}, ".ct": {"XML"},
".ctl": {"Visual Basic 6.0"},
".ctp": {"PHP"}, ".ctp": {"PHP"},
".cts": {"TypeScript"}, ".cts": {"TypeScript"},
".cu": {"Cuda"}, ".cu": {"Cuda"},
@ -240,8 +246,11 @@ var LanguagesByExtension = map[string][]string{
".cxx": {"C++"}, ".cxx": {"C++"},
".cxx-objdump": {"Cpp-ObjDump"}, ".cxx-objdump": {"Cpp-ObjDump"},
".cy": {"Cycript"}, ".cy": {"Cycript"},
".cyp": {"Cypher"},
".cypher": {"Cypher"},
".d": {"D", "DTrace", "Makefile"}, ".d": {"D", "DTrace", "Makefile"},
".d-objdump": {"D-ObjDump"}, ".d-objdump": {"D-ObjDump"},
".d2": {"D2"},
".dae": {"COLLADA"}, ".dae": {"COLLADA"},
".darcspatch": {"Darcs Patch"}, ".darcspatch": {"Darcs Patch"},
".dart": {"Dart"}, ".dart": {"Dart"},
@ -278,6 +287,7 @@ var LanguagesByExtension = map[string][]string{
".dsc": {"Debian Package Control File", "DenizenScript"}, ".dsc": {"Debian Package Control File", "DenizenScript"},
".dsl": {"ASL"}, ".dsl": {"ASL"},
".dsp": {"Faust", "Microsoft Developer Studio Project"}, ".dsp": {"Faust", "Microsoft Developer Studio Project"},
".dsr": {"Visual Basic 6.0"},
".dtx": {"TeX"}, ".dtx": {"TeX"},
".duby": {"Mirah"}, ".duby": {"Mirah"},
".dwl": {"DataWeave"}, ".dwl": {"DataWeave"},
@ -296,6 +306,7 @@ var LanguagesByExtension = map[string][]string{
".ecr": {"HTML+ECR"}, ".ecr": {"HTML+ECR"},
".ect": {"EJS"}, ".ect": {"EJS"},
".edc": {"Edje Data Collection"}, ".edc": {"Edje Data Collection"},
".editorconfig": {"EditorConfig"},
".edn": {"edn"}, ".edn": {"edn"},
".eex": {"HTML+EEX"}, ".eex": {"HTML+EEX"},
".eh": {"eC"}, ".eh": {"eC"},
@ -311,7 +322,7 @@ var LanguagesByExtension = map[string][]string{
".emacs.desktop": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"},
".emberscript": {"EmberScript"}, ".emberscript": {"EmberScript"},
".eml": {"E-mail"}, ".eml": {"E-mail"},
".env": {"Shell"}, ".env": {"Dotenv"},
".epj": {"Ecere Projects"}, ".epj": {"Ecere Projects"},
".eps": {"PostScript"}, ".eps": {"PostScript"},
".epsi": {"PostScript"}, ".epsi": {"PostScript"},
@ -351,9 +362,8 @@ var LanguagesByExtension = map[string][]string{
".fr": {"Forth", "Frege", "Text"}, ".fr": {"Forth", "Frege", "Text"},
".frag": {"GLSL", "JavaScript"}, ".frag": {"GLSL", "JavaScript"},
".frg": {"GLSL"}, ".frg": {"GLSL"},
".frm": {"VBA"}, ".frm": {"VBA", "Visual Basic 6.0"},
".frt": {"Forth"}, ".frt": {"Forth"},
".frx": {"VBA"},
".fs": {"F#", "Filterscript", "Forth", "GLSL"}, ".fs": {"F#", "Filterscript", "Forth", "GLSL"},
".fsh": {"GLSL"}, ".fsh": {"GLSL"},
".fshader": {"GLSL"}, ".fshader": {"GLSL"},
@ -385,6 +395,8 @@ var LanguagesByExtension = map[string][]string{
".gd": {"GAP", "GDScript"}, ".gd": {"GAP", "GDScript"},
".gdb": {"GDB"}, ".gdb": {"GDB"},
".gdbinit": {"GDB"}, ".gdbinit": {"GDB"},
".gdnlib": {"Godot Resource"},
".gdns": {"Godot Resource"},
".ged": {"GEDCOM"}, ".ged": {"GEDCOM"},
".gemspec": {"Ruby"}, ".gemspec": {"Ruby"},
".geo": {"GLSL"}, ".geo": {"GLSL"},
@ -470,7 +482,7 @@ var LanguagesByExtension = map[string][]string{
".hsc": {"Haskell"}, ".hsc": {"Haskell"},
".hta": {"HTML"}, ".hta": {"HTML"},
".htm": {"HTML"}, ".htm": {"HTML"},
".html": {"HTML"}, ".html": {"Ecmarkup", "HTML"},
".html.heex": {"HTML+EEX"}, ".html.heex": {"HTML+EEX"},
".html.hl": {"HTML"}, ".html.hl": {"HTML"},
".html.leex": {"HTML+EEX"}, ".html.leex": {"HTML+EEX"},
@ -495,9 +507,11 @@ var LanguagesByExtension = map[string][]string{
".ijs": {"J"}, ".ijs": {"J"},
".ik": {"Ioke"}, ".ik": {"Ioke"},
".ily": {"LilyPond"}, ".ily": {"LilyPond"},
".imba": {"Imba"},
".iml": {"XML"}, ".iml": {"XML"},
".inc": {"Assembly", "C++", "HTML", "Motorola 68K Assembly", "NASL", "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"},
".ink": {"Ink"},
".inl": {"C++"}, ".inl": {"C++"},
".ino": {"C++"}, ".ino": {"C++"},
".ins": {"TeX"}, ".ins": {"TeX"},
@ -522,6 +536,7 @@ var LanguagesByExtension = map[string][]string{
".java": {"Java"}, ".java": {"Java"},
".javascript": {"JavaScript"}, ".javascript": {"JavaScript"},
".jbuilder": {"Ruby"}, ".jbuilder": {"Ruby"},
".jcl": {"JCL"},
".jelly": {"XML"}, ".jelly": {"XML"},
".jflex": {"JFlex"}, ".jflex": {"JFlex"},
".jinja": {"Jinja"}, ".jinja": {"Jinja"},
@ -535,9 +550,10 @@ var LanguagesByExtension = map[string][]string{
".jsb": {"JavaScript"}, ".jsb": {"JavaScript"},
".jscad": {"JavaScript"}, ".jscad": {"JavaScript"},
".jsfl": {"JavaScript"}, ".jsfl": {"JavaScript"},
".jsh": {"Java"},
".jslib": {"JavaScript"}, ".jslib": {"JavaScript"},
".jsm": {"JavaScript"}, ".jsm": {"JavaScript"},
".json": {"JSON"}, ".json": {"JSON", "OASv2-json", "OASv3-json"},
".json-tmlanguage": {"JSON"}, ".json-tmlanguage": {"JSON"},
".json5": {"JSON5"}, ".json5": {"JSON5"},
".jsonc": {"JSON with Comments"}, ".jsonc": {"JSON with Comments"},
@ -561,6 +577,7 @@ var LanguagesByExtension = map[string][]string{
".kojo": {"Scala"}, ".kojo": {"Scala"},
".kql": {"Kusto"}, ".kql": {"Kusto"},
".krl": {"KRL"}, ".krl": {"KRL"},
".ks": {"KerboScript", "Kickstart"},
".ksh": {"Shell"}, ".ksh": {"Shell"},
".ksy": {"Kaitai Struct"}, ".ksy": {"Kaitai Struct"},
".kt": {"Kotlin"}, ".kt": {"Kotlin"},
@ -595,6 +612,7 @@ var LanguagesByExtension = map[string][]string{
".lisp": {"Common Lisp", "NewLisp"}, ".lisp": {"Common Lisp", "NewLisp"},
".litcoffee": {"Literate CoffeeScript"}, ".litcoffee": {"Literate CoffeeScript"},
".livemd": {"Markdown"}, ".livemd": {"Markdown"},
".lkml": {"LookML"},
".ll": {"LLVM"}, ".ll": {"LLVM"},
".lmi": {"Python"}, ".lmi": {"Python"},
".logtalk": {"Logtalk"}, ".logtalk": {"Logtalk"},
@ -647,9 +665,10 @@ var LanguagesByExtension = map[string][]string{
".mdown": {"Markdown"}, ".mdown": {"Markdown"},
".mdpolicy": {"XML"}, ".mdpolicy": {"XML"},
".mdwn": {"Markdown"}, ".mdwn": {"Markdown"},
".mdx": {"Markdown"}, ".mdx": {"MDX"},
".me": {"Roff"}, ".me": {"Roff"},
".mediawiki": {"Wikitext"}, ".mediawiki": {"Wikitext"},
".mermaid": {"Mermaid"},
".meta": {"Unity3D Asset"}, ".meta": {"Unity3D Asset"},
".metal": {"Metal"}, ".metal": {"Metal"},
".mg": {"Modula-3"}, ".mg": {"Modula-3"},
@ -675,11 +694,11 @@ var LanguagesByExtension = map[string][]string{
".mll": {"OCaml"}, ".mll": {"OCaml"},
".mly": {"OCaml"}, ".mly": {"OCaml"},
".mm": {"Objective-C++", "XML"}, ".mm": {"Objective-C++", "XML"},
".mmd": {"Mermaid"},
".mmk": {"Module Management System"}, ".mmk": {"Module Management System"},
".mms": {"Module Management System"}, ".mms": {"Module Management System"},
".mo": {"Modelica", "Motoko"}, ".mo": {"Modelica", "Motoko"},
".mod": {"AMPL", "Linux Kernel Module", "Modula-2", "XML"}, ".mod": {"AMPL", "Linux Kernel Module", "Modula-2", "XML"},
".model.lkml": {"LookML"},
".monkey": {"Monkey"}, ".monkey": {"Monkey"},
".monkey2": {"Monkey"}, ".monkey2": {"Monkey"},
".moo": {"Mercury", "Moocode"}, ".moo": {"Mercury", "Moocode"},
@ -749,7 +768,7 @@ var LanguagesByExtension = map[string][]string{
".nsh": {"NSIS"}, ".nsh": {"NSIS"},
".nsi": {"NSIS"}, ".nsi": {"NSIS"},
".nss": {"NWScript"}, ".nss": {"NWScript"},
".nu": {"Nu"}, ".nu": {"Nu", "Nushell"},
".numpy": {"NumPy"}, ".numpy": {"NumPy"},
".numpyw": {"NumPy"}, ".numpyw": {"NumPy"},
".numsc": {"NumPy"}, ".numsc": {"NumPy"},
@ -784,6 +803,7 @@ var LanguagesByExtension = map[string][]string{
".p6m": {"Raku"}, ".p6m": {"Raku"},
".p8": {"Lua"}, ".p8": {"Lua"},
".pac": {"JavaScript"}, ".pac": {"JavaScript"},
".pact": {"Pact"},
".pan": {"Pan"}, ".pan": {"Pan"},
".parrot": {"Parrot"}, ".parrot": {"Parrot"},
".pas": {"Pascal"}, ".pas": {"Pascal"},
@ -800,6 +820,7 @@ var LanguagesByExtension = map[string][]string{
".pcss": {"PostCSS"}, ".pcss": {"PostCSS"},
".pd": {"Pure Data"}, ".pd": {"Pure Data"},
".pd_lua": {"Lua"}, ".pd_lua": {"Lua"},
".pddl": {"PDDL"},
".pde": {"Processing"}, ".pde": {"Processing"},
".pegjs": {"PEG.js"}, ".pegjs": {"PEG.js"},
".pep": {"Pep8"}, ".pep": {"Pep8"},
@ -831,7 +852,7 @@ var LanguagesByExtension = map[string][]string{
".plot": {"Gnuplot"}, ".plot": {"Gnuplot"},
".pls": {"PLSQL"}, ".pls": {"PLSQL"},
".plsql": {"PLSQL"}, ".plsql": {"PLSQL"},
".plt": {"Gnuplot"}, ".plt": {"Gnuplot", "Prolog"},
".pluginspec": {"Ruby", "XML"}, ".pluginspec": {"Ruby", "XML"},
".plx": {"Perl"}, ".plx": {"Perl"},
".pm": {"Perl", "Raku", "X PixMap"}, ".pm": {"Perl", "Raku", "X PixMap"},
@ -844,6 +865,7 @@ var LanguagesByExtension = map[string][]string{
".podsl": {"Common Lisp"}, ".podsl": {"Common Lisp"},
".podspec": {"Ruby"}, ".podspec": {"Ruby"},
".pogo": {"PogoScript"}, ".pogo": {"PogoScript"},
".polar": {"Polar"},
".pony": {"Pony"}, ".pony": {"Pony"},
".por": {"Portugol"}, ".por": {"Portugol"},
".postcss": {"PostCSS"}, ".postcss": {"PostCSS"},
@ -916,6 +938,7 @@ var LanguagesByExtension = map[string][]string{
".rbi": {"Ruby"}, ".rbi": {"Ruby"},
".rbmnu": {"REALbasic"}, ".rbmnu": {"REALbasic"},
".rbres": {"REALbasic"}, ".rbres": {"REALbasic"},
".rbs": {"RBS"},
".rbtbar": {"REALbasic"}, ".rbtbar": {"REALbasic"},
".rbuild": {"Ruby"}, ".rbuild": {"Ruby"},
".rbuistate": {"REALbasic"}, ".rbuistate": {"REALbasic"},
@ -988,6 +1011,7 @@ var LanguagesByExtension = map[string][]string{
".scaml": {"Scaml"}, ".scaml": {"Scaml"},
".scd": {"Markdown", "SuperCollider"}, ".scd": {"Markdown", "SuperCollider"},
".sce": {"Scilab"}, ".sce": {"Scilab"},
".scenic": {"Scenic"},
".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"}, ".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"},
".schdoc": {"Altium Designer"}, ".schdoc": {"Altium Designer"},
".sci": {"Scilab"}, ".sci": {"Scilab"},
@ -997,12 +1021,14 @@ var LanguagesByExtension = map[string][]string{
".scrbl": {"Racket"}, ".scrbl": {"Racket"},
".scss": {"SCSS"}, ".scss": {"SCSS"},
".scxml": {"XML"}, ".scxml": {"XML"},
".sdc": {"Tcl"},
".sed": {"sed"}, ".sed": {"sed"},
".self": {"Self"}, ".self": {"Self"},
".service": {"desktop"}, ".service": {"desktop"},
".sexp": {"Common Lisp"}, ".sexp": {"Common Lisp"},
".sfd": {"Spline Font Database"}, ".sfd": {"Spline Font Database"},
".sfproj": {"XML"}, ".sfproj": {"XML"},
".sfv": {"Simple File Verification"},
".sh": {"Shell"}, ".sh": {"Shell"},
".sh-session": {"ShellSession"}, ".sh-session": {"ShellSession"},
".sh.in": {"Shell"}, ".sh.in": {"Shell"},
@ -1028,10 +1054,12 @@ var LanguagesByExtension = map[string][]string{
".sls": {"SaltStack", "Scheme"}, ".sls": {"SaltStack", "Scheme"},
".sma": {"Pawn"}, ".sma": {"Pawn"},
".smali": {"Smali"}, ".smali": {"Smali"},
".smk": {"Python"}, ".smithy": {"Smithy"},
".smk": {"Snakemake"},
".sml": {"Standard ML"}, ".sml": {"Standard ML"},
".smt": {"SMT"}, ".smt": {"SMT"},
".smt2": {"SMT"}, ".smt2": {"SMT"},
".snakefile": {"Snakemake"},
".snap": {"Jest Snapshot"}, ".snap": {"Jest Snapshot"},
".snip": {"Vim Snippet"}, ".snip": {"Vim Snippet"},
".snippet": {"Vim Snippet"}, ".snippet": {"Vim Snippet"},
@ -1085,6 +1113,7 @@ var LanguagesByExtension = map[string][]string{
".svelte": {"Svelte"}, ".svelte": {"Svelte"},
".svg": {"SVG"}, ".svg": {"SVG"},
".svh": {"SystemVerilog"}, ".svh": {"SystemVerilog"},
".sw": {"Sway", "XML"},
".swift": {"Swift"}, ".swift": {"Swift"},
".syntax": {"YAML"}, ".syntax": {"YAML"},
".t": {"Perl", "Raku", "Terra", "Turing"}, ".t": {"Perl", "Raku", "Terra", "Turing"},
@ -1115,6 +1144,7 @@ var LanguagesByExtension = map[string][]string{
".thy": {"Isabelle"}, ".thy": {"Isabelle"},
".tl": {"Type Language"}, ".tl": {"Type Language"},
".tla": {"TLA"}, ".tla": {"TLA"},
".tlv": {"TL-Verilog"},
".tm": {"Tcl"}, ".tm": {"Tcl"},
".tmac": {"Roff"}, ".tmac": {"Roff"},
".tmcommand": {"XML Property List"}, ".tmcommand": {"XML Property List"},
@ -1132,8 +1162,11 @@ var LanguagesByExtension = map[string][]string{
".tpl": {"Smarty"}, ".tpl": {"Smarty"},
".tpp": {"C++"}, ".tpp": {"C++"},
".tps": {"PLSQL"}, ".tps": {"PLSQL"},
".tres": {"Godot Resource"},
".trg": {"PLSQL"}, ".trg": {"PLSQL"},
".trigger": {"Apex", "Shell"},
".ts": {"TypeScript", "XML"}, ".ts": {"TypeScript", "XML"},
".tscn": {"Godot Resource"},
".tst": {"GAP", "Scilab"}, ".tst": {"GAP", "Scilab"},
".tsv": {"TSV"}, ".tsv": {"TSV"},
".tsx": {"TSX", "XML"}, ".tsx": {"TSX", "XML"},
@ -1143,6 +1176,7 @@ var LanguagesByExtension = map[string][]string{
".txi": {"Texinfo"}, ".txi": {"Texinfo"},
".txl": {"TXL"}, ".txl": {"TXL"},
".txt": {"Adblock Filter List", "Text", "Vim Help File"}, ".txt": {"Adblock Filter List", "Text", "Vim Help File"},
".txx": {"C++"},
".uc": {"UnrealScript"}, ".uc": {"UnrealScript"},
".udf": {"SQL"}, ".udf": {"SQL"},
".udo": {"Csound"}, ".udo": {"Csound"},
@ -1179,7 +1213,6 @@ var LanguagesByExtension = map[string][]string{
".vhs": {"VHDL"}, ".vhs": {"VHDL"},
".vht": {"VHDL"}, ".vht": {"VHDL"},
".vhw": {"VHDL"}, ".vhw": {"VHDL"},
".view.lkml": {"LookML"},
".vim": {"Vim Script"}, ".vim": {"Vim Script"},
".vimrc": {"Vim Script"}, ".vimrc": {"Vim Script"},
".viw": {"SQL"}, ".viw": {"SQL"},
@ -1201,15 +1234,17 @@ var LanguagesByExtension = map[string][]string{
".wast": {"WebAssembly"}, ".wast": {"WebAssembly"},
".wat": {"WebAssembly"}, ".wat": {"WebAssembly"},
".watchr": {"Ruby"}, ".watchr": {"Ruby"},
".wdl": {"wdl"}, ".wdl": {"WDL"},
".webapp": {"JSON"}, ".webapp": {"JSON"},
".webidl": {"WebIDL"}, ".webidl": {"WebIDL"},
".webmanifest": {"JSON"}, ".webmanifest": {"JSON"},
".weechatlog": {"IRC log"}, ".weechatlog": {"IRC log"},
".wgsl": {"WGSL"},
".whiley": {"Whiley"}, ".whiley": {"Whiley"},
".wiki": {"Wikitext"}, ".wiki": {"Wikitext"},
".wikitext": {"Wikitext"}, ".wikitext": {"Wikitext"},
".wisp": {"wisp"}, ".wisp": {"wisp"},
".wit": {"WebAssembly Interface Type"},
".wixproj": {"XML"}, ".wixproj": {"XML"},
".wl": {"Mathematica"}, ".wl": {"Mathematica"},
".wlk": {"Wollok"}, ".wlk": {"Wollok"},
@ -1233,6 +1268,7 @@ var LanguagesByExtension = map[string][]string{
".xaml": {"XML"}, ".xaml": {"XML"},
".xbm": {"X BitMap"}, ".xbm": {"X BitMap"},
".xc": {"XC"}, ".xc": {"XC"},
".xdc": {"Tcl"},
".xht": {"HTML"}, ".xht": {"HTML"},
".xhtml": {"HTML"}, ".xhtml": {"HTML"},
".xi": {"Logos"}, ".xi": {"Logos"},
@ -1276,7 +1312,7 @@ var LanguagesByExtension = map[string][]string{
".xzap": {"ZAP"}, ".xzap": {"ZAP"},
".y": {"Yacc"}, ".y": {"Yacc"},
".yacc": {"Yacc"}, ".yacc": {"Yacc"},
".yaml": {"MiniYAML", "YAML"}, ".yaml": {"MiniYAML", "OASv2-yaml", "OASv3-yaml", "YAML"},
".yaml-tmlanguage": {"YAML"}, ".yaml-tmlanguage": {"YAML"},
".yaml.sed": {"YAML"}, ".yaml.sed": {"YAML"},
".yang": {"YANG"}, ".yang": {"YANG"},
@ -1284,7 +1320,7 @@ var LanguagesByExtension = map[string][]string{
".yar": {"YARA"}, ".yar": {"YARA"},
".yara": {"YARA"}, ".yara": {"YARA"},
".yasnippet": {"YASnippet"}, ".yasnippet": {"YASnippet"},
".yml": {"YAML"}, ".yml": {"MiniYAML", "OASv2-yaml", "OASv3-yaml", "YAML"},
".yml.mysql": {"YAML"}, ".yml.mysql": {"YAML"},
".yrl": {"Erlang"}, ".yrl": {"Erlang"},
".yul": {"Yul"}, ".yul": {"Yul"},
@ -1333,7 +1369,7 @@ var ExtensionsByLanguage = map[string][]string{
"AngelScript": {".as", ".angelscript"}, "AngelScript": {".as", ".angelscript"},
"Antlers": {".antlers.html", ".antlers.php", ".antlers.xml"}, "Antlers": {".antlers.html", ".antlers.php", ".antlers.xml"},
"ApacheConf": {".apacheconf", ".vhost"}, "ApacheConf": {".apacheconf", ".vhost"},
"Apex": {".cls"}, "Apex": {".cls", ".trigger"},
"Apollo Guidance Computer": {".agc"}, "Apollo Guidance Computer": {".agc"},
"AppleScript": {".applescript", ".scpt"}, "AppleScript": {".applescript", ".scpt"},
"Arc": {".arc"}, "Arc": {".arc"},
@ -1369,7 +1405,7 @@ var ExtensionsByLanguage = map[string][]string{
"Brightscript": {".brs"}, "Brightscript": {".brs"},
"C": {".c", ".cats", ".h", ".idc"}, "C": {".c", ".cats", ".h", ".idc"},
"C#": {".cs", ".cake", ".csx", ".linq"}, "C#": {".cs", ".cake", ".csx", ".linq"},
"C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".ixx", ".re", ".tcc", ".tpp"}, "C++": {".cpp", ".c++", ".cc", ".cp", ".cppm", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".ixx", ".re", ".tcc", ".tpp", ".txx"},
"C-ObjDump": {".c-objdump"}, "C-ObjDump": {".c-objdump"},
"C2hs Haskell": {".chs"}, "C2hs Haskell": {".chs"},
"CAP CDS": {".cds"}, "CAP CDS": {".cds"},
@ -1394,6 +1430,7 @@ var ExtensionsByLanguage = map[string][]string{
"Charity": {".ch"}, "Charity": {".ch"},
"Checksums": {".crc32", ".md2", ".md4", ".md5", ".sha1", ".sha2", ".sha224", ".sha256", ".sha256sum", ".sha3", ".sha384", ".sha512"}, "Checksums": {".crc32", ".md2", ".md4", ".md5", ".sha1", ".sha2", ".sha224", ".sha256", ".sha256sum", ".sha3", ".sha384", ".sha512"},
"ChucK": {".ck"}, "ChucK": {".ck"},
"Circom": {".circom"},
"Cirru": {".cirru"}, "Cirru": {".cirru"},
"Clarion": {".clw"}, "Clarion": {".clw"},
"Clarity": {".clar"}, "Clarity": {".clar"},
@ -1422,9 +1459,11 @@ var ExtensionsByLanguage = map[string][]string{
"Cue Sheet": {".cue"}, "Cue Sheet": {".cue"},
"Curry": {".curry"}, "Curry": {".curry"},
"Cycript": {".cy"}, "Cycript": {".cy"},
"Cypher": {".cyp", ".cypher"},
"Cython": {".pyx", ".pxd", ".pxi"}, "Cython": {".pyx", ".pxd", ".pxi"},
"D": {".d", ".di"}, "D": {".d", ".di"},
"D-ObjDump": {".d-objdump"}, "D-ObjDump": {".d-objdump"},
"D2": {".d2"},
"DIGITAL Command Language": {".com"}, "DIGITAL Command Language": {".com"},
"DM": {".dm"}, "DM": {".dm"},
"DNS Zone": {".zone", ".arpa"}, "DNS Zone": {".zone", ".arpa"},
@ -1440,6 +1479,7 @@ var ExtensionsByLanguage = map[string][]string{
"DirectX 3D File": {".x"}, "DirectX 3D File": {".x"},
"Dockerfile": {".dockerfile"}, "Dockerfile": {".dockerfile"},
"Dogescript": {".djs"}, "Dogescript": {".djs"},
"Dotenv": {".env"},
"Dylan": {".dylan", ".dyl", ".intr", ".lid"}, "Dylan": {".dylan", ".dyl", ".intr", ".lid"},
"E": {".e"}, "E": {".e"},
"E-mail": {".eml", ".mbox"}, "E-mail": {".eml", ".mbox"},
@ -1451,6 +1491,8 @@ var ExtensionsByLanguage = map[string][]string{
"Eagle": {".sch", ".brd"}, "Eagle": {".sch", ".brd"},
"Easybuild": {".eb"}, "Easybuild": {".eb"},
"Ecere Projects": {".epj"}, "Ecere Projects": {".epj"},
"Ecmarkup": {".html"},
"EditorConfig": {".editorconfig"},
"Edje Data Collection": {".edc"}, "Edje Data Collection": {".edc"},
"Eiffel": {".e"}, "Eiffel": {".e"},
"Elixir": {".ex", ".exs"}, "Elixir": {".ex", ".exs"},
@ -1458,7 +1500,7 @@ var ExtensionsByLanguage = map[string][]string{
"Elvish": {".elv"}, "Elvish": {".elv"},
"Emacs Lisp": {".el", ".emacs", ".emacs.desktop"}, "Emacs Lisp": {".el", ".emacs", ".emacs.desktop"},
"EmberScript": {".em", ".emberscript"}, "EmberScript": {".em", ".emberscript"},
"Erlang": {".erl", ".app.src", ".es", ".escript", ".hrl", ".xrl", ".yrl"}, "Erlang": {".erl", ".app", ".app.src", ".es", ".escript", ".hrl", ".xrl", ".yrl"},
"Euphoria": {".e", ".ex"}, "Euphoria": {".e", ".ex"},
"F#": {".fs", ".fsi", ".fsx"}, "F#": {".fs", ".fsi", ".fsx"},
"F*": {".fst", ".fsti"}, "F*": {".fst", ".fsti"},
@ -1508,6 +1550,7 @@ var ExtensionsByLanguage = map[string][]string{
"Glyph Bitmap Distribution Format": {".bdf"}, "Glyph Bitmap Distribution Format": {".bdf"},
"Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"}, "Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"},
"Go": {".go"}, "Go": {".go"},
"Godot Resource": {".gdnlib", ".gdns", ".tres", ".tscn"},
"Golo": {".golo"}, "Golo": {".golo"},
"Gosu": {".gs", ".gst", ".gsx", ".vark"}, "Gosu": {".gs", ".gst", ".gsx", ".vark"},
"Grace": {".grace"}, "Grace": {".grace"},
@ -1542,17 +1585,20 @@ var ExtensionsByLanguage = map[string][]string{
"HyPhy": {".bf"}, "HyPhy": {".bf"},
"IDL": {".pro", ".dlm"}, "IDL": {".pro", ".dlm"},
"IGOR Pro": {".ipf"}, "IGOR Pro": {".ipf"},
"INI": {".ini", ".cfg", ".dof", ".lektorproject", ".prefs", ".pro", ".properties", ".url"}, "INI": {".ini", ".cfg", ".cnf", ".dof", ".lektorproject", ".prefs", ".pro", ".properties", ".url"},
"IRC log": {".irclog", ".weechatlog"}, "IRC log": {".irclog", ".weechatlog"},
"Idris": {".idr", ".lidr"}, "Idris": {".idr", ".lidr"},
"Ignore List": {".gitignore"}, "Ignore List": {".gitignore"},
"ImageJ Macro": {".ijm"}, "ImageJ Macro": {".ijm"},
"Imba": {".imba"},
"Inform 7": {".ni", ".i7x"}, "Inform 7": {".ni", ".i7x"},
"Ink": {".ink"},
"Inno Setup": {".iss", ".isl"}, "Inno Setup": {".iss", ".isl"},
"Io": {".io"}, "Io": {".io"},
"Ioke": {".ik"}, "Ioke": {".ik"},
"Isabelle": {".thy"}, "Isabelle": {".thy"},
"J": {".ijs"}, "J": {".ijs"},
"JCL": {".jcl"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".4dform", ".4dproject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".4dform", ".4dproject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".jsonc", ".code-snippets", ".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", ".code-snippets", ".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"},
@ -1561,7 +1607,7 @@ var ExtensionsByLanguage = map[string][]string{
"JSONiq": {".jq"}, "JSONiq": {".jq"},
"Janet": {".janet"}, "Janet": {".janet"},
"Jasmin": {".j"}, "Jasmin": {".j"},
"Java": {".java", ".jav"}, "Java": {".java", ".jav", ".jsh"},
"Java Properties": {".properties"}, "Java Properties": {".properties"},
"Java Server Pages": {".jsp", ".tag"}, "Java Server Pages": {".jsp", ".tag"},
"JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"}, "JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
@ -1578,9 +1624,11 @@ var ExtensionsByLanguage = map[string][]string{
"KRL": {".krl"}, "KRL": {".krl"},
"Kaitai Struct": {".ksy"}, "Kaitai Struct": {".ksy"},
"KakouneScript": {".kak"}, "KakouneScript": {".kak"},
"KerboScript": {".ks"},
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"}, "KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
"KiCad Legacy Layout": {".brd"}, "KiCad Legacy Layout": {".brd"},
"KiCad Schematic": {".kicad_sch", ".sch"}, "KiCad Schematic": {".kicad_sch", ".sch"},
"Kickstart": {".ks"},
"Kit": {".kit"}, "Kit": {".kit"},
"Kotlin": {".kt", ".ktm", ".kts"}, "Kotlin": {".kt", ".ktm", ".kts"},
"Kusto": {".csl", ".kql"}, "Kusto": {".csl", ".kql"},
@ -1608,7 +1656,7 @@ var ExtensionsByLanguage = map[string][]string{
"LiveScript": {".ls", "._ls"}, "LiveScript": {".ls", "._ls"},
"Logos": {".xm", ".x", ".xi"}, "Logos": {".xm", ".x", ".xi"},
"Logtalk": {".lgt", ".logtalk"}, "Logtalk": {".lgt", ".logtalk"},
"LookML": {".lookml", ".model.lkml", ".view.lkml"}, "LookML": {".lkml", ".lookml"},
"LoomScript": {".ls"}, "LoomScript": {".ls"},
"Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".rockspec", ".wlua"}, "Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".rockspec", ".wlua"},
"M": {".mumps", ".m"}, "M": {".mumps", ".m"},
@ -1616,6 +1664,7 @@ var ExtensionsByLanguage = map[string][]string{
"M4Sugar": {".m4"}, "M4Sugar": {".m4"},
"MATLAB": {".matlab", ".m"}, "MATLAB": {".matlab", ".m"},
"MAXScript": {".ms", ".mcr"}, "MAXScript": {".ms", ".mcr"},
"MDX": {".mdx"},
"MLIR": {".mlir"}, "MLIR": {".mlir"},
"MQL4": {".mq4", ".mqh"}, "MQL4": {".mq4", ".mqh"},
"MQL5": {".mq5", ".mqh"}, "MQL5": {".mq5", ".mqh"},
@ -1624,17 +1673,18 @@ var ExtensionsByLanguage = map[string][]string{
"Macaulay2": {".m2"}, "Macaulay2": {".m2"},
"Makefile": {".mak", ".d", ".make", ".makefile", ".mk", ".mkfile"}, "Makefile": {".mak", ".d", ".make", ".makefile", ".mk", ".mkfile"},
"Mako": {".mako", ".mao"}, "Mako": {".mako", ".mao"},
"Markdown": {".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"}, "Markdown": {".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"},
"Marko": {".marko"}, "Marko": {".marko"},
"Mask": {".mask"}, "Mask": {".mask"},
"Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"}, "Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"},
"Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"}, "Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"},
"Mercury": {".m", ".moo"}, "Mercury": {".m", ".moo"},
"Mermaid": {".mmd", ".mermaid"},
"Metal": {".metal"}, "Metal": {".metal"},
"Microsoft Developer Studio Project": {".dsp"}, "Microsoft Developer Studio Project": {".dsp"},
"Microsoft Visual Studio Solution": {".sln"}, "Microsoft Visual Studio Solution": {".sln"},
"MiniD": {".minid"}, "MiniD": {".minid"},
"MiniYAML": {".yaml"}, "MiniYAML": {".yaml", ".yml"},
"Mint": {".mint"}, "Mint": {".mint"},
"Mirah": {".druby", ".duby", ".mirah"}, "Mirah": {".druby", ".duby", ".mirah"},
"Modelica": {".mo"}, "Modelica": {".mo"},
@ -1673,6 +1723,11 @@ var ExtensionsByLanguage = map[string][]string{
"Nu": {".nu"}, "Nu": {".nu"},
"NumPy": {".numpy", ".numpyw", ".numsc"}, "NumPy": {".numpy", ".numpyw", ".numsc"},
"Nunjucks": {".njk"}, "Nunjucks": {".njk"},
"Nushell": {".nu"},
"OASv2-json": {".json"},
"OASv2-yaml": {".yaml", ".yml"},
"OASv3-json": {".json"},
"OASv3-yaml": {".yaml", ".yml"},
"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"}, "Object Data Instance Notation": {".odin"},
@ -1696,11 +1751,13 @@ var ExtensionsByLanguage = map[string][]string{
"Oxygene": {".oxygene"}, "Oxygene": {".oxygene"},
"Oz": {".oz"}, "Oz": {".oz"},
"P4": {".p4"}, "P4": {".p4"},
"PDDL": {".pddl"},
"PEG.js": {".pegjs"}, "PEG.js": {".pegjs"},
"PHP": {".php", ".aw", ".ctp", ".fcgi", ".inc", ".php3", ".php4", ".php5", ".phps", ".phpt"}, "PHP": {".php", ".aw", ".ctp", ".fcgi", ".inc", ".php3", ".php4", ".php5", ".phps", ".phpt"},
"PLSQL": {".pls", ".bdy", ".ddl", ".fnc", ".pck", ".pkb", ".pks", ".plb", ".plsql", ".prc", ".spc", ".sql", ".tpb", ".tps", ".trg", ".vw"}, "PLSQL": {".pls", ".bdy", ".ddl", ".fnc", ".pck", ".pkb", ".pks", ".plb", ".plsql", ".prc", ".spc", ".sql", ".tpb", ".tps", ".trg", ".vw"},
"PLpgSQL": {".pgsql", ".sql"}, "PLpgSQL": {".pgsql", ".sql"},
"POV-Ray SDL": {".pov", ".inc"}, "POV-Ray SDL": {".pov", ".inc"},
"Pact": {".pact"},
"Pan": {".pan"}, "Pan": {".pan"},
"Papyrus": {".psc"}, "Papyrus": {".psc"},
"Parrot": {".parrot"}, "Parrot": {".parrot"},
@ -1719,6 +1776,7 @@ var ExtensionsByLanguage = map[string][]string{
"Pod": {".pod"}, "Pod": {".pod"},
"Pod 6": {".pod", ".pod6"}, "Pod 6": {".pod", ".pod6"},
"PogoScript": {".pogo"}, "PogoScript": {".pogo"},
"Polar": {".polar"},
"Pony": {".pony"}, "Pony": {".pony"},
"Portugol": {".por"}, "Portugol": {".por"},
"PostCSS": {".pcss", ".postcss"}, "PostCSS": {".pcss", ".postcss"},
@ -1728,7 +1786,7 @@ var ExtensionsByLanguage = map[string][]string{
"Prisma": {".prisma"}, "Prisma": {".prisma"},
"Processing": {".pde"}, "Processing": {".pde"},
"Proguard": {".pro"}, "Proguard": {".pro"},
"Prolog": {".pl", ".pro", ".prolog", ".yap"}, "Prolog": {".pl", ".plt", ".pro", ".prolog", ".yap"},
"Promela": {".pml"}, "Promela": {".pml"},
"Propeller Spin": {".spin"}, "Propeller Spin": {".spin"},
"Protocol Buffer": {".proto"}, "Protocol Buffer": {".proto"},
@ -1739,7 +1797,8 @@ var ExtensionsByLanguage = map[string][]string{
"Pure Data": {".pd"}, "Pure Data": {".pd"},
"PureBasic": {".pb", ".pbi"}, "PureBasic": {".pb", ".pbi"},
"PureScript": {".purs"}, "PureScript": {".purs"},
"Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".wsgi", ".xpy"}, "Pyret": {".arr"},
"Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".spec", ".tac", ".wsgi", ".xpy"},
"Python traceback": {".pytb"}, "Python traceback": {".pytb"},
"Q#": {".qs"}, "Q#": {".qs"},
"QML": {".qml", ".qbs"}, "QML": {".qml", ".qbs"},
@ -1747,6 +1806,7 @@ var ExtensionsByLanguage = map[string][]string{
"Qt Script": {".qs"}, "Qt Script": {".qs"},
"R": {".r", ".rd", ".rsx"}, "R": {".r", ".rd", ".rsx"},
"RAML": {".raml"}, "RAML": {".raml"},
"RBS": {".rbs"},
"RDoc": {".rdoc"}, "RDoc": {".rdoc"},
"REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"}, "REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"},
"REXX": {".rexx", ".pprx", ".rex"}, "REXX": {".rexx", ".pprx", ".rex"},
@ -1798,14 +1858,16 @@ var ExtensionsByLanguage = map[string][]string{
"Sass": {".sass"}, "Sass": {".sass"},
"Scala": {".scala", ".kojo", ".sbt", ".sc"}, "Scala": {".scala", ".kojo", ".sbt", ".sc"},
"Scaml": {".scaml"}, "Scaml": {".scaml"},
"Scenic": {".scenic"},
"Scheme": {".scm", ".sch", ".sld", ".sls", ".sps", ".ss"}, "Scheme": {".scm", ".sch", ".sld", ".sls", ".sps", ".ss"},
"Scilab": {".sci", ".sce", ".tst"}, "Scilab": {".sci", ".sce", ".tst"},
"Self": {".self"}, "Self": {".self"},
"ShaderLab": {".shader"}, "ShaderLab": {".shader"},
"Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".env", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".zsh", ".zsh-theme"}, "Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".trigger", ".zsh", ".zsh-theme"},
"ShellSession": {".sh-session"}, "ShellSession": {".sh-session"},
"Shen": {".shen"}, "Shen": {".shen"},
"Sieve": {".sieve"}, "Sieve": {".sieve"},
"Simple File Verification": {".sfv"},
"Slash": {".sl"}, "Slash": {".sl"},
"Slice": {".ice"}, "Slice": {".ice"},
"Slim": {".slim"}, "Slim": {".slim"},
@ -1813,6 +1875,8 @@ var ExtensionsByLanguage = map[string][]string{
"Smali": {".smali"}, "Smali": {".smali"},
"Smalltalk": {".st", ".cs"}, "Smalltalk": {".st", ".cs"},
"Smarty": {".tpl"}, "Smarty": {".tpl"},
"Smithy": {".smithy"},
"Snakemake": {".smk", ".snakefile"},
"Solidity": {".sol"}, "Solidity": {".sol"},
"SourcePawn": {".sp", ".inc"}, "SourcePawn": {".sp", ".inc"},
"Spline Font Database": {".sfd"}, "Spline Font Database": {".sfd"},
@ -1827,9 +1891,11 @@ var ExtensionsByLanguage = map[string][]string{
"SugarSS": {".sss"}, "SugarSS": {".sss"},
"SuperCollider": {".sc", ".scd"}, "SuperCollider": {".sc", ".scd"},
"Svelte": {".svelte"}, "Svelte": {".svelte"},
"Sway": {".sw"},
"Swift": {".swift"}, "Swift": {".swift"},
"SystemVerilog": {".sv", ".svh", ".vh"}, "SystemVerilog": {".sv", ".svh", ".vh"},
"TI Program": {".8xp", ".8xk", ".8xk.txt", ".8xp.txt"}, "TI Program": {".8xp", ".8xk", ".8xk.txt", ".8xp.txt"},
"TL-Verilog": {".tlv"},
"TLA": {".tla"}, "TLA": {".tla"},
"TOML": {".toml"}, "TOML": {".toml"},
"TSQL": {".sql"}, "TSQL": {".sql"},
@ -1837,7 +1903,7 @@ var ExtensionsByLanguage = map[string][]string{
"TSX": {".tsx"}, "TSX": {".tsx"},
"TXL": {".txl"}, "TXL": {".txl"},
"Talon": {".talon"}, "Talon": {".talon"},
"Tcl": {".tcl", ".adp", ".tcl.in", ".tm"}, "Tcl": {".tcl", ".adp", ".sdc", ".tcl.in", ".tm", ".xdc"},
"Tcsh": {".tcsh", ".csh"}, "Tcsh": {".tcsh", ".csh"},
"TeX": {".tex", ".aux", ".bbx", ".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"},
@ -1858,7 +1924,7 @@ var ExtensionsByLanguage = map[string][]string{
"UnrealScript": {".uc"}, "UnrealScript": {".uc"},
"UrWeb": {".ur", ".urs"}, "UrWeb": {".ur", ".urs"},
"V": {".v"}, "V": {".v"},
"VBA": {".bas", ".cls", ".frm", ".frx", ".vba"}, "VBA": {".bas", ".cls", ".frm", ".vba"},
"VBScript": {".vbs"}, "VBScript": {".vbs"},
"VCL": {".vcl"}, "VCL": {".vcl"},
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
@ -1870,13 +1936,17 @@ var ExtensionsByLanguage = map[string][]string{
"Vim Script": {".vim", ".vba", ".vimrc", ".vmb"}, "Vim Script": {".vim", ".vba", ".vimrc", ".vmb"},
"Vim Snippet": {".snip", ".snippet", ".snippets"}, "Vim Snippet": {".snip", ".snippet", ".snippets"},
"Visual Basic .NET": {".vb", ".vbhtml"}, "Visual Basic .NET": {".vb", ".vbhtml"},
"Visual Basic 6.0": {".bas", ".cls", ".ctl", ".dsr", ".frm"},
"Volt": {".volt"}, "Volt": {".volt"},
"Vue": {".vue"}, "Vue": {".vue"},
"Vyper": {".vy"}, "Vyper": {".vy"},
"WDL": {".wdl"},
"WGSL": {".wgsl"},
"Wavefront Material": {".mtl"}, "Wavefront Material": {".mtl"},
"Wavefront Object": {".obj"}, "Wavefront Object": {".obj"},
"Web Ontology Language": {".owl"}, "Web Ontology Language": {".owl"},
"WebAssembly": {".wast", ".wat"}, "WebAssembly": {".wast", ".wat"},
"WebAssembly Interface Type": {".wit"},
"WebIDL": {".webidl"}, "WebIDL": {".webidl"},
"WebVTT": {".vtt"}, "WebVTT": {".vtt"},
"Whiley": {".whiley"}, "Whiley": {".whiley"},
@ -1891,7 +1961,7 @@ 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", ".axaml", ".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", ".gst", ".hzp", ".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", ".qhelp", ".rdf", ".res", ".resx", ".rs", ".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", ".xmp", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"}, "XML": {".xml", ".adml", ".admx", ".ant", ".axaml", ".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", ".gst", ".hzp", ".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", ".qhelp", ".rdf", ".res", ".resx", ".rs", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".sw", ".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", ".xmp", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
"XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"}, "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"},
@ -1931,7 +2001,6 @@ var ExtensionsByLanguage = map[string][]string{
"q": {".q"}, "q": {".q"},
"reStructuredText": {".rst", ".rest", ".rest.txt", ".rst.txt"}, "reStructuredText": {".rst", ".rest", ".rest.txt", ".rst.txt"},
"sed": {".sed"}, "sed": {".sed"},
"wdl": {".wdl"},
"wisp": {".wisp"}, "wisp": {".wisp"},
"xBase": {".prg", ".ch", ".prw"}, "xBase": {".prg", ".ch", ".prw"},
} }

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -7,12 +7,15 @@ var LanguagesByFilename = map[string][]string{
".Rprofile": {"R"}, ".Rprofile": {"R"},
".XCompose": {"XCompose"}, ".XCompose": {"XCompose"},
".abbrev_defs": {"Emacs Lisp"}, ".abbrev_defs": {"Emacs Lisp"},
".ackrc": {"Option List"},
".all-contributorsrc": {"JSON"},
".arcconfig": {"JSON"}, ".arcconfig": {"JSON"},
".atomignore": {"Ignore List"}, ".atomignore": {"Ignore List"},
".auto-changelog": {"JSON"}, ".auto-changelog": {"JSON"},
".babelignore": {"Ignore List"}, ".babelignore": {"Ignore List"},
".babelrc": {"JSON with Comments"}, ".babelrc": {"JSON with Comments"},
".bash_aliases": {"Shell"}, ".bash_aliases": {"Shell"},
".bash_functions": {"Shell"},
".bash_history": {"Shell"}, ".bash_history": {"Shell"},
".bash_logout": {"Shell"}, ".bash_logout": {"Shell"},
".bash_profile": {"Shell"}, ".bash_profile": {"Shell"},
@ -37,8 +40,18 @@ var LanguagesByFilename = map[string][]string{
".eleventyignore": {"Ignore List"}, ".eleventyignore": {"Ignore List"},
".emacs": {"Emacs Lisp"}, ".emacs": {"Emacs Lisp"},
".emacs.desktop": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"},
".env": {"Shell"}, ".env": {"Dotenv"},
".env.example": {"Shell"}, ".env.ci": {"Dotenv"},
".env.dev": {"Dotenv"},
".env.development": {"Dotenv"},
".env.development.local": {"Dotenv"},
".env.example": {"Dotenv"},
".env.local": {"Dotenv"},
".env.prod": {"Dotenv"},
".env.production": {"Dotenv"},
".env.staging": {"Dotenv"},
".env.test": {"Dotenv"},
".env.testing": {"Dotenv"},
".eslintignore": {"Ignore List"}, ".eslintignore": {"Ignore List"},
".eslintrc.json": {"JSON with Comments"}, ".eslintrc.json": {"JSON with Comments"},
".exrc": {"Vim Script"}, ".exrc": {"Vim Script"},
@ -65,6 +78,7 @@ var LanguagesByFilename = map[string][]string{
".jshintrc": {"JSON with Comments"}, ".jshintrc": {"JSON with Comments"},
".jslintrc": {"JSON with Comments"}, ".jslintrc": {"JSON with Comments"},
".kshrc": {"Shell"}, ".kshrc": {"Shell"},
".latexmkrc": {"Perl"},
".login": {"Shell"}, ".login": {"Shell"},
".luacheckrc": {"Lua"}, ".luacheckrc": {"Lua"},
".markdownlintignore": {"Ignore List"}, ".markdownlintignore": {"Ignore List"},
@ -82,10 +96,13 @@ var LanguagesByFilename = map[string][]string{
".project": {"XML"}, ".project": {"XML"},
".pryrc": {"Ruby"}, ".pryrc": {"Ruby"},
".pylintrc": {"INI"}, ".pylintrc": {"INI"},
".scalafix.conf": {"HOCON"},
".scalafmt.conf": {"HOCON"},
".shellcheckrc": {"ShellCheck Config"}, ".shellcheckrc": {"ShellCheck Config"},
".simplecov": {"Ruby"}, ".simplecov": {"Ruby"},
".spacemacs": {"Emacs Lisp"}, ".spacemacs": {"Emacs Lisp"},
".stylelintignore": {"Ignore List"}, ".stylelintignore": {"Ignore List"},
".swcrc": {"JSON with Comments"},
".tern-config": {"JSON"}, ".tern-config": {"JSON"},
".tern-project": {"JSON"}, ".tern-project": {"JSON"},
".tm_properties": {"TextMate Properties"}, ".tm_properties": {"TextMate Properties"},
@ -140,17 +157,21 @@ var LanguagesByFilename = map[string][]string{
"Gemfile.lock": {"Gemfile.lock"}, "Gemfile.lock": {"Gemfile.lock"},
"Gopkg.lock": {"TOML"}, "Gopkg.lock": {"TOML"},
"Guardfile": {"Ruby"}, "Guardfile": {"Ruby"},
"HOSTS": {"Hosts File", "INI"},
"INSTALL": {"Text"}, "INSTALL": {"Text"},
"INSTALL.mysql": {"Text"}, "INSTALL.mysql": {"Text"},
"JUSTFILE": {"Just"},
"Jakefile": {"JavaScript"}, "Jakefile": {"JavaScript"},
"Jarfile": {"Ruby"}, "Jarfile": {"Ruby"},
"Jenkinsfile": {"Groovy"}, "Jenkinsfile": {"Groovy"},
"Justfile": {"Just"},
"Kbuild": {"Makefile"}, "Kbuild": {"Makefile"},
"LICENSE": {"Text"}, "LICENSE": {"Text"},
"LICENSE.mysql": {"Text"}, "LICENSE.mysql": {"Text"},
"Lexer.x": {"Lex"}, "Lexer.x": {"Lex"},
"MANIFEST.MF": {"JAR Manifest"}, "MANIFEST.MF": {"JAR Manifest"},
"MD5SUMS": {"Checksums"}, "MD5SUMS": {"Checksums"},
"MODULE.bazel": {"Starlark"},
"Makefile": {"Makefile"}, "Makefile": {"Makefile"},
"Makefile.PL": {"Perl"}, "Makefile.PL": {"Perl"},
"Makefile.am": {"Makefile"}, "Makefile.am": {"Makefile"},
@ -188,13 +209,14 @@ var LanguagesByFilename = map[string][]string{
"Settings.StyleCop": {"XML"}, "Settings.StyleCop": {"XML"},
"Singularity": {"Singularity"}, "Singularity": {"Singularity"},
"Slakefile": {"LiveScript"}, "Slakefile": {"LiveScript"},
"Snakefile": {"Python"}, "Snakefile": {"Snakemake"},
"Snapfile": {"Ruby"}, "Snapfile": {"Ruby"},
"Steepfile": {"Ruby"}, "Steepfile": {"Ruby"},
"Thorfile": {"Ruby"}, "Thorfile": {"Ruby"},
"Tiltfile": {"Starlark"}, "Tiltfile": {"Starlark"},
"Vagrantfile": {"Ruby"}, "Vagrantfile": {"Ruby"},
"WORKSPACE": {"Starlark"}, "WORKSPACE": {"Starlark"},
"WORKSPACE.bazel": {"Starlark"},
"Web.Debug.config": {"XML"}, "Web.Debug.config": {"XML"},
"Web.Release.config": {"XML"}, "Web.Release.config": {"XML"},
"Web.config": {"XML"}, "Web.config": {"XML"},
@ -207,6 +229,7 @@ var LanguagesByFilename = map[string][]string{
"_vimrc": {"Vim Script"}, "_vimrc": {"Vim Script"},
"abbrev_defs": {"Emacs Lisp"}, "abbrev_defs": {"Emacs Lisp"},
"ack": {"Perl"}, "ack": {"Perl"},
"ackrc": {"Option List"},
"ant.xml": {"Ant Build System"}, "ant.xml": {"Ant Build System"},
"apache2.conf": {"ApacheConf"}, "apache2.conf": {"ApacheConf"},
"api-extractor.json": {"JSON with Comments"}, "api-extractor.json": {"JSON with Comments"},
@ -238,6 +261,7 @@ var LanguagesByFilename = map[string][]string{
"expr-dist": {"R"}, "expr-dist": {"R"},
"file_contexts": {"SELinux Policy"}, "file_contexts": {"SELinux Policy"},
"firestore.rules": {"Cloud Firestore Security Rules"}, "firestore.rules": {"Cloud Firestore Security Rules"},
"flake.lock": {"JSON"},
"fonts.alias": {"X Font Directory Index"}, "fonts.alias": {"X Font Directory Index"},
"fonts.dir": {"X Font Directory Index"}, "fonts.dir": {"X Font Directory Index"},
"fonts.scale": {"X Font Directory Index"}, "fonts.scale": {"X Font Directory Index"},
@ -248,19 +272,24 @@ var LanguagesByFilename = map[string][]string{
"glide.lock": {"YAML"}, "glide.lock": {"YAML"},
"go.mod": {"Go Module"}, "go.mod": {"Go Module"},
"go.sum": {"Go Checksums"}, "go.sum": {"Go Checksums"},
"go.work": {"Go Workspace"},
"go.work.sum": {"Go Checksums"},
"gradlew": {"Shell"}, "gradlew": {"Shell"},
"gvimrc": {"Vim Script"}, "gvimrc": {"Vim Script"},
"haproxy.cfg": {"HAProxy"}, "haproxy.cfg": {"HAProxy"},
"hosts": {"Hosts File", "INI"},
"httpd.conf": {"ApacheConf"}, "httpd.conf": {"ApacheConf"},
"initial_sids": {"SELinux Policy"}, "initial_sids": {"SELinux Policy"},
"inputrc": {"Readline Config"}, "inputrc": {"Readline Config"},
"installscript.qs": {"Qt Script"}, "installscript.qs": {"Qt Script"},
"jsconfig.json": {"JSON with Comments"}, "jsconfig.json": {"JSON with Comments"},
"justfile": {"Just"},
"kakrc": {"KakouneScript"}, "kakrc": {"KakouneScript"},
"keep.me": {"Text"}, "keep.me": {"Text"},
"kshrc": {"Shell"}, "kshrc": {"Shell"},
"language-configuration.json": {"JSON with Comments"}, "language-configuration.json": {"JSON with Comments"},
"language-subtag-registry.txt": {"Record Jar"}, "language-subtag-registry.txt": {"Record Jar"},
"latexmkrc": {"Perl"},
"ld.script": {"Linker Script"}, "ld.script": {"Linker Script"},
"lexer.x": {"Lex"}, "lexer.x": {"Lex"},
"login": {"Shell"}, "login": {"Shell"},
@ -277,6 +306,7 @@ var LanguagesByFilename = map[string][]string{
"mkfile": {"Makefile"}, "mkfile": {"Makefile"},
"mmn": {"Roff"}, "mmn": {"Roff"},
"mmt": {"Roff"}, "mmt": {"Roff"},
"mocha.opts": {"Option List"},
"nanorc": {"nanorc"}, "nanorc": {"nanorc"},
"nextflow.config": {"Nextflow"}, "nextflow.config": {"Nextflow"},
"nginx.conf": {"Nginx"}, "nginx.conf": {"Nginx"},
@ -287,10 +317,12 @@ var LanguagesByFilename = map[string][]string{
"package.use.mask": {"Text"}, "package.use.mask": {"Text"},
"package.use.stable.mask": {"Text"}, "package.use.stable.mask": {"Text"},
"packages.config": {"XML"}, "packages.config": {"XML"},
"pdm.lock": {"TOML"},
"poetry.lock": {"TOML"}, "poetry.lock": {"TOML"},
"pom.xml": {"Maven POM"}, "pom.xml": {"Maven POM"},
"port_contexts": {"SELinux Policy"}, "port_contexts": {"SELinux Policy"},
"profile": {"Shell"}, "profile": {"Shell"},
"project.godot": {"Godot Resource"},
"pylintrc": {"INI"}, "pylintrc": {"INI"},
"read.me": {"Text"}, "read.me": {"Text"},
"readme.1st": {"Text"}, "readme.1st": {"Text"},
@ -316,6 +348,7 @@ var LanguagesByFilename = map[string][]string{
"use.mask": {"Text"}, "use.mask": {"Text"},
"use.stable.mask": {"Text"}, "use.stable.mask": {"Text"},
"vimrc": {"Vim Script"}, "vimrc": {"Vim Script"},
"vlcrc": {"INI"},
"wscript": {"Python"}, "wscript": {"Python"},
"xcompose": {"XCompose"}, "xcompose": {"XCompose"},
"yarn.lock": {"YAML"}, "yarn.lock": {"YAML"},

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -14,7 +14,9 @@ var LanguagesGroup = map[string]string{
"ECLiPSe": "prolog", "ECLiPSe": "prolog",
"Easybuild": "Python", "Easybuild": "Python",
"Ecere Projects": "JavaScript", "Ecere Projects": "JavaScript",
"Ecmarkup": "HTML",
"EditorConfig": "INI", "EditorConfig": "INI",
"Elvish Transcript": "Elvish",
"Filterscript": "RenderScript", "Filterscript": "RenderScript",
"Fortran": "Fortran", "Fortran": "Fortran",
"Fortran Free Form": "Fortran", "Fortran Free Form": "Fortran",
@ -46,6 +48,10 @@ var LanguagesGroup = map[string]string{
"Motorola 68K Assembly": "Assembly", "Motorola 68K Assembly": "Assembly",
"NPM Config": "INI", "NPM Config": "INI",
"NumPy": "Python", "NumPy": "Python",
"OASv2-json": "OpenAPI Specification v2",
"OASv2-yaml": "OpenAPI Specification v2",
"OASv3-json": "OpenAPI Specification v3",
"OASv3-yaml": "OpenAPI Specification v3",
"OpenCL": "C", "OpenCL": "C",
"OpenRC runscript": "Shell", "OpenRC runscript": "Shell",
"Parrot Assembly": "Parrot", "Parrot Assembly": "Parrot",
@ -54,11 +60,14 @@ var LanguagesGroup = map[string]string{
"PostCSS": "CSS", "PostCSS": "CSS",
"Python console": "Python", "Python console": "Python",
"Python traceback": "Python", "Python traceback": "Python",
"RBS": "Ruby",
"Readline Config": "INI", "Readline Config": "INI",
"ReasonLIGO": "LigoLANG", "ReasonLIGO": "LigoLANG",
"Roff Manpage": "Roff", "Roff Manpage": "Roff",
"SSH Config": "INI", "SSH Config": "INI",
"STON": "Smalltalk", "STON": "Smalltalk",
"Simple File Verification": "Checksums",
"Snakemake": "Python",
"TSX": "TypeScript", "TSX": "TypeScript",
"Tcsh": "Shell", "Tcsh": "Shell",
"Unified Parallel C": "C", "Unified Parallel C": "C",

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -82,6 +82,7 @@ var LanguagesByInterpreter = map[string][]string{
"nextflow": {"Nextflow"}, "nextflow": {"Nextflow"},
"node": {"JavaScript"}, "node": {"JavaScript"},
"nodejs": {"JavaScript"}, "nodejs": {"JavaScript"},
"nu": {"Nushell"},
"nush": {"Nu"}, "nush": {"Nu"},
"ocaml": {"OCaml", "ReScript"}, "ocaml": {"OCaml", "ReScript"},
"ocamlrun": {"OCaml"}, "ocamlrun": {"OCaml"},
@ -98,6 +99,9 @@ var LanguagesByInterpreter = map[string][]string{
"pike": {"Pike"}, "pike": {"Pike"},
"pil": {"PicoLisp"}, "pil": {"PicoLisp"},
"pwsh": {"PowerShell"}, "pwsh": {"PowerShell"},
"py": {"Python"},
"pypy": {"Python"},
"pypy3": {"Python"},
"python": {"Python"}, "python": {"Python"},
"python2": {"Python"}, "python2": {"Python"},
"python3": {"Python"}, "python3": {"Python"},
@ -118,8 +122,10 @@ var LanguagesByInterpreter = map[string][]string{
"runghc": {"Haskell"}, "runghc": {"Haskell"},
"runhaskell": {"Haskell"}, "runhaskell": {"Haskell"},
"runhugs": {"Haskell"}, "runhugs": {"Haskell"},
"rust-script": {"Rust"},
"sbcl": {"Common Lisp"}, "sbcl": {"Common Lisp"},
"scala": {"Scala"}, "scala": {"Scala"},
"scenic": {"Scenic"},
"scheme": {"Scheme"}, "scheme": {"Scheme"},
"sclang": {"SuperCollider"}, "sclang": {"SuperCollider"},
"scsynth": {"SuperCollider"}, "scsynth": {"SuperCollider"},

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -56,6 +56,7 @@ var LanguagesMime = map[string]string{
"Eagle": "text/xml", "Eagle": "text/xml",
"Easybuild": "text/x-python", "Easybuild": "text/x-python",
"Ecere Projects": "application/json", "Ecere Projects": "application/json",
"Ecmarkup": "text/html",
"EditorConfig": "text/x-properties", "EditorConfig": "text/x-properties",
"Edje Data Collection": "text/x-c++src", "Edje Data Collection": "text/x-c++src",
"Eiffel": "text/x-eiffel", "Eiffel": "text/x-eiffel",
@ -133,6 +134,7 @@ var LanguagesMime = map[string]string{
"Lua": "text/x-lua", "Lua": "text/x-lua",
"M": "text/x-mumps", "M": "text/x-mumps",
"MATLAB": "text/x-octave", "MATLAB": "text/x-octave",
"MDX": "text/x-gfm",
"MTML": "text/html", "MTML": "text/html",
"MUF": "text/x-forth", "MUF": "text/x-forth",
"Makefile": "text/x-cmake", "Makefile": "text/x-cmake",
@ -154,11 +156,17 @@ var LanguagesMime = map[string]string{
"Nginx": "text/x-nginx-conf", "Nginx": "text/x-nginx-conf",
"Nu": "text/x-scheme", "Nu": "text/x-scheme",
"NumPy": "text/x-python", "NumPy": "text/x-python",
"Nushell": "text/x-sh",
"OASv2-json": "application/json",
"OASv2-yaml": "text/x-yaml",
"OASv3-json": "application/json",
"OASv3-yaml": "text/x-yaml",
"OCaml": "text/x-ocaml", "OCaml": "text/x-ocaml",
"Objective-C": "text/x-objectivec", "Objective-C": "text/x-objectivec",
"Objective-C++": "text/x-objectivec", "Objective-C++": "text/x-objectivec",
"OpenCL": "text/x-csrc", "OpenCL": "text/x-csrc",
"OpenRC runscript": "text/x-sh", "OpenRC runscript": "text/x-sh",
"Option List": "text/x-sh",
"Oz": "text/x-oz", "Oz": "text/x-oz",
"PEG.js": "text/javascript", "PEG.js": "text/javascript",
"PHP": "application/x-httpd-php", "PHP": "application/x-httpd-php",
@ -178,6 +186,7 @@ var LanguagesMime = map[string]string{
"Qt Script": "text/javascript", "Qt Script": "text/javascript",
"R": "text/x-rsrc", "R": "text/x-rsrc",
"RAML": "text/x-yaml", "RAML": "text/x-yaml",
"RBS": "text/x-ruby",
"RMarkdown": "text/x-gfm", "RMarkdown": "text/x-gfm",
"RPM Spec": "text/x-rpm-spec", "RPM Spec": "text/x-rpm-spec",
"Raku": "text/x-perl", "Raku": "text/x-perl",
@ -207,14 +216,18 @@ var LanguagesMime = map[string]string{
"ShellCheck Config": "text/x-properties", "ShellCheck Config": "text/x-properties",
"ShellSession": "text/x-sh", "ShellSession": "text/x-sh",
"Sieve": "application/sieve", "Sieve": "application/sieve",
"Simple File Verification": "text/x-properties",
"Slim": "text/x-slim", "Slim": "text/x-slim",
"Smalltalk": "text/x-stsrc", "Smalltalk": "text/x-stsrc",
"Smarty": "text/x-smarty", "Smarty": "text/x-smarty",
"Smithy": "text/x-csrc",
"Snakemake": "text/x-python",
"Squirrel": "text/x-c++src", "Squirrel": "text/x-c++src",
"Standard ML": "text/x-ocaml", "Standard ML": "text/x-ocaml",
"Starlark": "text/x-python", "Starlark": "text/x-python",
"StringTemplate": "text/html", "StringTemplate": "text/html",
"Svelte": "text/html", "Svelte": "text/html",
"Sway": "text/x-rustsrc",
"Swift": "text/x-swift", "Swift": "text/x-swift",
"SystemVerilog": "text/x-systemverilog", "SystemVerilog": "text/x-systemverilog",
"TOML": "text/x-toml", "TOML": "text/x-toml",
@ -239,8 +252,10 @@ var LanguagesMime = map[string]string{
"Velocity Template Language": "text/velocity", "Velocity Template Language": "text/velocity",
"Verilog": "text/x-verilog", "Verilog": "text/x-verilog",
"Visual Basic .NET": "text/x-vb", "Visual Basic .NET": "text/x-vb",
"Visual Basic 6.0": "text/x-vb",
"Volt": "text/x-d", "Volt": "text/x-d",
"WebAssembly": "text/x-common-lisp", "WebAssembly": "text/x-common-lisp",
"WebAssembly Interface Type": "text/x-webidl",
"WebIDL": "text/x-webidl", "WebIDL": "text/x-webidl",
"Win32 Message File": "text/x-properties", "Win32 Message File": "text/x-properties",
"Windows Registry Entries": "text/x-properties", "Windows Registry Entries": "text/x-properties",

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -138,6 +138,7 @@ var LanguagesType = map[string]int{
"Charity": 2, "Charity": 2,
"Checksums": 1, "Checksums": 1,
"ChucK": 2, "ChucK": 2,
"Circom": 2,
"Cirru": 2, "Cirru": 2,
"Clarion": 2, "Clarion": 2,
"Clarity": 2, "Clarity": 2,
@ -167,9 +168,11 @@ var LanguagesType = map[string]int{
"Cue Sheet": 1, "Cue Sheet": 1,
"Curry": 2, "Curry": 2,
"Cycript": 2, "Cycript": 2,
"Cypher": 2,
"Cython": 2, "Cython": 2,
"D": 2, "D": 2,
"D-ObjDump": 1, "D-ObjDump": 1,
"D2": 3,
"DIGITAL Command Language": 2, "DIGITAL Command Language": 2,
"DM": 2, "DM": 2,
"DNS Zone": 1, "DNS Zone": 1,
@ -185,6 +188,7 @@ var LanguagesType = map[string]int{
"DirectX 3D File": 1, "DirectX 3D File": 1,
"Dockerfile": 2, "Dockerfile": 2,
"Dogescript": 2, "Dogescript": 2,
"Dotenv": 1,
"Dylan": 2, "Dylan": 2,
"E": 2, "E": 2,
"E-mail": 1, "E-mail": 1,
@ -197,12 +201,14 @@ var LanguagesType = map[string]int{
"Earthly": 2, "Earthly": 2,
"Easybuild": 1, "Easybuild": 1,
"Ecere Projects": 1, "Ecere Projects": 1,
"Ecmarkup": 3,
"EditorConfig": 1, "EditorConfig": 1,
"Edje Data Collection": 1, "Edje Data Collection": 1,
"Eiffel": 2, "Eiffel": 2,
"Elixir": 2, "Elixir": 2,
"Elm": 2, "Elm": 2,
"Elvish": 2, "Elvish": 2,
"Elvish Transcript": 2,
"Emacs Lisp": 2, "Emacs Lisp": 2,
"EmberScript": 2, "EmberScript": 2,
"Erlang": 2, "Erlang": 2,
@ -260,6 +266,8 @@ var LanguagesType = map[string]int{
"Go": 2, "Go": 2,
"Go Checksums": 1, "Go Checksums": 1,
"Go Module": 1, "Go Module": 1,
"Go Workspace": 1,
"Godot Resource": 1,
"Golo": 2, "Golo": 2,
"Gosu": 2, "Gosu": 2,
"Grace": 2, "Grace": 2,
@ -290,6 +298,7 @@ var LanguagesType = map[string]int{
"Haxe": 2, "Haxe": 2,
"HiveQL": 2, "HiveQL": 2,
"HolyC": 2, "HolyC": 2,
"Hosts File": 1,
"Hy": 2, "Hy": 2,
"HyPhy": 2, "HyPhy": 2,
"IDL": 2, "IDL": 2,
@ -299,7 +308,9 @@ var LanguagesType = map[string]int{
"Idris": 2, "Idris": 2,
"Ignore List": 1, "Ignore List": 1,
"ImageJ Macro": 2, "ImageJ Macro": 2,
"Imba": 2,
"Inform 7": 2, "Inform 7": 2,
"Ink": 2,
"Inno Setup": 2, "Inno Setup": 2,
"Io": 2, "Io": 2,
"Ioke": 2, "Ioke": 2,
@ -307,6 +318,7 @@ var LanguagesType = map[string]int{
"Isabelle ROOT": 2, "Isabelle ROOT": 2,
"J": 2, "J": 2,
"JAR Manifest": 1, "JAR Manifest": 1,
"JCL": 2,
"JFlex": 2, "JFlex": 2,
"JSON": 1, "JSON": 1,
"JSON with Comments": 1, "JSON with Comments": 1,
@ -329,12 +341,15 @@ var LanguagesType = map[string]int{
"Jsonnet": 2, "Jsonnet": 2,
"Julia": 2, "Julia": 2,
"Jupyter Notebook": 3, "Jupyter Notebook": 3,
"Just": 2,
"KRL": 2, "KRL": 2,
"Kaitai Struct": 2, "Kaitai Struct": 2,
"KakouneScript": 2, "KakouneScript": 2,
"KerboScript": 2,
"KiCad Layout": 1, "KiCad Layout": 1,
"KiCad Legacy Layout": 1, "KiCad Legacy Layout": 1,
"KiCad Schematic": 1, "KiCad Schematic": 1,
"Kickstart": 1,
"Kit": 3, "Kit": 3,
"Kotlin": 2, "Kotlin": 2,
"Kusto": 1, "Kusto": 1,
@ -370,6 +385,7 @@ var LanguagesType = map[string]int{
"M4Sugar": 2, "M4Sugar": 2,
"MATLAB": 2, "MATLAB": 2,
"MAXScript": 2, "MAXScript": 2,
"MDX": 3,
"MLIR": 2, "MLIR": 2,
"MQL4": 2, "MQL4": 2,
"MQL5": 2, "MQL5": 2,
@ -385,6 +401,7 @@ var LanguagesType = map[string]int{
"Maven POM": 1, "Maven POM": 1,
"Max": 2, "Max": 2,
"Mercury": 2, "Mercury": 2,
"Mermaid": 3,
"Meson": 2, "Meson": 2,
"Metal": 2, "Metal": 2,
"Microsoft Developer Studio Project": 1, "Microsoft Developer Studio Project": 1,
@ -430,6 +447,11 @@ var LanguagesType = map[string]int{
"Nu": 2, "Nu": 2,
"NumPy": 2, "NumPy": 2,
"Nunjucks": 3, "Nunjucks": 3,
"Nushell": 2,
"OASv2-json": 1,
"OASv2-yaml": 1,
"OASv3-json": 1,
"OASv3-yaml": 1,
"OCaml": 2, "OCaml": 2,
"ObjDump": 1, "ObjDump": 1,
"Object Data Instance Notation": 1, "Object Data Instance Notation": 1,
@ -442,6 +464,8 @@ var LanguagesType = map[string]int{
"Opa": 2, "Opa": 2,
"Opal": 2, "Opal": 2,
"Open Policy Agent": 2, "Open Policy Agent": 2,
"OpenAPI Specification v2": 1,
"OpenAPI Specification v3": 1,
"OpenCL": 2, "OpenCL": 2,
"OpenEdge ABL": 2, "OpenEdge ABL": 2,
"OpenQASM": 2, "OpenQASM": 2,
@ -449,16 +473,19 @@ var LanguagesType = map[string]int{
"OpenSCAD": 2, "OpenSCAD": 2,
"OpenStep Property List": 1, "OpenStep Property List": 1,
"OpenType Feature File": 1, "OpenType Feature File": 1,
"Option List": 1,
"Org": 4, "Org": 4,
"Ox": 2, "Ox": 2,
"Oxygene": 2, "Oxygene": 2,
"Oz": 2, "Oz": 2,
"P4": 2, "P4": 2,
"PDDL": 2,
"PEG.js": 2, "PEG.js": 2,
"PHP": 2, "PHP": 2,
"PLSQL": 2, "PLSQL": 2,
"PLpgSQL": 2, "PLpgSQL": 2,
"POV-Ray SDL": 2, "POV-Ray SDL": 2,
"Pact": 2,
"Pan": 2, "Pan": 2,
"Papyrus": 2, "Papyrus": 2,
"Parrot": 2, "Parrot": 2,
@ -477,6 +504,7 @@ var LanguagesType = map[string]int{
"Pod": 4, "Pod": 4,
"Pod 6": 4, "Pod 6": 4,
"PogoScript": 2, "PogoScript": 2,
"Polar": 2,
"Pony": 2, "Pony": 2,
"Portugol": 2, "Portugol": 2,
"PostCSS": 3, "PostCSS": 3,
@ -498,6 +526,7 @@ var LanguagesType = map[string]int{
"Pure Data": 1, "Pure Data": 1,
"PureBasic": 2, "PureBasic": 2,
"PureScript": 2, "PureScript": 2,
"Pyret": 2,
"Python": 2, "Python": 2,
"Python console": 2, "Python console": 2,
"Python traceback": 1, "Python traceback": 1,
@ -508,6 +537,7 @@ var LanguagesType = map[string]int{
"Quake": 2, "Quake": 2,
"R": 2, "R": 2,
"RAML": 3, "RAML": 3,
"RBS": 1,
"RDoc": 4, "RDoc": 4,
"REALbasic": 2, "REALbasic": 2,
"REXX": 2, "REXX": 2,
@ -563,6 +593,7 @@ var LanguagesType = map[string]int{
"Sass": 3, "Sass": 3,
"Scala": 2, "Scala": 2,
"Scaml": 3, "Scaml": 3,
"Scenic": 2,
"Scheme": 2, "Scheme": 2,
"Scilab": 2, "Scilab": 2,
"Self": 2, "Self": 2,
@ -572,6 +603,7 @@ var LanguagesType = map[string]int{
"ShellSession": 2, "ShellSession": 2,
"Shen": 2, "Shen": 2,
"Sieve": 2, "Sieve": 2,
"Simple File Verification": 1,
"Singularity": 2, "Singularity": 2,
"Slash": 2, "Slash": 2,
"Slice": 2, "Slice": 2,
@ -580,6 +612,8 @@ var LanguagesType = map[string]int{
"Smali": 2, "Smali": 2,
"Smalltalk": 2, "Smalltalk": 2,
"Smarty": 2, "Smarty": 2,
"Smithy": 2,
"Snakemake": 2,
"Solidity": 2, "Solidity": 2,
"Soong": 1, "Soong": 1,
"SourcePawn": 2, "SourcePawn": 2,
@ -595,9 +629,11 @@ var LanguagesType = map[string]int{
"SugarSS": 3, "SugarSS": 3,
"SuperCollider": 2, "SuperCollider": 2,
"Svelte": 3, "Svelte": 3,
"Sway": 2,
"Swift": 2, "Swift": 2,
"SystemVerilog": 2, "SystemVerilog": 2,
"TI Program": 2, "TI Program": 2,
"TL-Verilog": 2,
"TLA": 2, "TLA": 2,
"TOML": 1, "TOML": 1,
"TSQL": 2, "TSQL": 2,
@ -639,13 +675,17 @@ var LanguagesType = map[string]int{
"Vim Script": 2, "Vim Script": 2,
"Vim Snippet": 3, "Vim Snippet": 3,
"Visual Basic .NET": 2, "Visual Basic .NET": 2,
"Visual Basic 6.0": 2,
"Volt": 2, "Volt": 2,
"Vue": 3, "Vue": 3,
"Vyper": 2, "Vyper": 2,
"WDL": 2,
"WGSL": 2,
"Wavefront Material": 1, "Wavefront Material": 1,
"Wavefront Object": 1, "Wavefront Object": 1,
"Web Ontology Language": 1, "Web Ontology Language": 1,
"WebAssembly": 2, "WebAssembly": 2,
"WebAssembly Interface Type": 1,
"WebIDL": 2, "WebIDL": 2,
"WebVTT": 1, "WebVTT": 1,
"Wget Config": 1, "Wget Config": 1,
@ -705,7 +745,6 @@ var LanguagesType = map[string]int{
"reStructuredText": 4, "reStructuredText": 4,
"robots.txt": 1, "robots.txt": 1,
"sed": 2, "sed": 2,
"wdl": 2,
"wisp": 2, "wisp": 2,
"xBase": 2, "xBase": 2,
} }

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: bf853f1c663903e3ee35935189760191f1c45e1c // Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317
package data package data
@ -36,7 +36,7 @@ var VendorMatchers = []regex.EnryRegexp{
regex.MustCompile(`(^|/)\.indent\.pro`), regex.MustCompile(`(^|/)\.indent\.pro`),
regex.MustCompile(`(\.|-)min\.(js|css)$`), regex.MustCompile(`(\.|-)min\.(js|css)$`),
regex.MustCompile(`([^\s]*)import\.(css|less|scss|styl)$`), regex.MustCompile(`([^\s]*)import\.(css|less|scss|styl)$`),
regex.MustCompileRuby(`(^|/)bootstrap([^/.]*)(?=\.).*\.(js|css|less|scss|styl)$`), regex.MustCompile(`(^|/)bootstrap([^/.]*)(\..*)?\.(js|css|less|scss|styl)$`),
regex.MustCompile(`(^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$`), regex.MustCompile(`(^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$`),
regex.MustCompile(`(^|/)font-?awesome\.(css|less|scss|styl)$`), regex.MustCompile(`(^|/)font-?awesome\.(css|less|scss|styl)$`),
regex.MustCompile(`(^|/)font-?awesome/.*\.(css|less|scss|styl)$`), regex.MustCompile(`(^|/)font-?awesome/.*\.(css|less|scss|styl)$`),
@ -159,7 +159,6 @@ var VendorMatchers = []regex.EnryRegexp{
regex.MustCompile(`(^|/)foundation(\..*)?\.js$`), regex.MustCompile(`(^|/)foundation(\..*)?\.js$`),
regex.MustCompile(`(^|/)Vagrantfile$`), regex.MustCompile(`(^|/)Vagrantfile$`),
regex.MustCompile(`(^|/)\.[Dd][Ss]_[Ss]tore$`), regex.MustCompile(`(^|/)\.[Dd][Ss]_[Ss]tore$`),
regex.MustCompile(`(^|/)vignettes/`),
regex.MustCompile(`(^|/)inst/extdata/`), regex.MustCompile(`(^|/)inst/extdata/`),
regex.MustCompile(`(^|/)octicons\.css`), regex.MustCompile(`(^|/)octicons\.css`),
regex.MustCompile(`(^|/)sprockets-octicons\.scss`), regex.MustCompile(`(^|/)sprockets-octicons\.scss`),
@ -172,7 +171,9 @@ var VendorMatchers = []regex.EnryRegexp{
regex.MustCompile(`(^|/)Jenkinsfile$`), regex.MustCompile(`(^|/)Jenkinsfile$`),
regex.MustCompile(`(^|/)\.gitpod\.Dockerfile$`), regex.MustCompile(`(^|/)\.gitpod\.Dockerfile$`),
regex.MustCompile(`(^|/)\.github/`), regex.MustCompile(`(^|/)\.github/`),
regex.MustCompile(`(^|/)\.obsidian/`),
regex.MustCompile(`(^|/)\.teamcity/`),
} }
// FastVendorMatcher is equivalent to matching any of the VendorMatchers. // FastVendorMatcher is equivalent to matching any of the VendorMatchers.
var FastVendorMatcher = regex.MustCompileRuby(`(?:^(?:(?:[Dd]ependencies/)|(?:debian/)|(?:deps/)|(?:rebar$)))|(?:(?:^|/)(?:(?:BuddyBuildSDK\.framework/)|(?:Carthage/)|(?:Chart\.js$)|(?:Control\.FullScreen\.css)|(?:Control\.FullScreen\.js)|(?:Crashlytics\.framework/)|(?:Fabric\.framework/)|(?:Godeps/_workspace/)|(?:Jenkinsfile$)|(?:Leaflet\.Coordinates-\d+\.\d+\.\d+\.src\.js$)|(?:MathJax/)|(?:MochiKit\.js$)|(?:RealmSwift\.framework)|(?:Realm\.framework)|(?:Sparkle/)|(?:Vagrantfile$)|(?:[Bb]ourbon/.*\.(css|less|scss|styl)$)|(?:[Cc]ode[Mm]irror/(\d+\.\d+/)?(lib|mode|theme|addon|keymap|demo))|(?:[Ee]xtern(als?)?/)|(?:[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$)|(?:[Pp]ackages\/.+\.\d+\/)|(?:[Ss]pecs?/fixtures/)|(?:[Tt]ests?/fixtures/)|(?:[Vv]+endor/)|(?:\.[Dd][Ss]_[Ss]tore$)|(?:\.gitattributes$)|(?:\.github/)|(?:\.gitignore$)|(?:\.gitmodules$)|(?:\.gitpod\.Dockerfile$)|(?:\.google_apis/)|(?:\.indent\.pro)|(?:\.mvn/wrapper/)|(?:\.osx$)|(?:\.sublime-project)|(?:\.sublime-workspace)|(?:\.vscode/)|(?:\.yarn/plugins/)|(?:\.yarn/releases/)|(?:\.yarn/sdks/)|(?:\.yarn/unplugged/)|(?:\.yarn/versions/)|(?:_esy$)|(?:ace-builds/)|(?:aclocal\.m4)|(?:activator$)|(?:activator\.bat$)|(?:admin_media/)|(?:angular([^.]*)\.js$)|(?:animate\.(css|less|scss|styl)$)|(?:bootbox\.js)|(?:bootstrap([^/.]*)(?=\.).*\.(js|css|less|scss|styl)$)|(?:bootstrap-datepicker/)|(?:bower_components/)|(?:bulma\.(css|sass|scss)$)|(?:cache/)|(?:ckeditor\.js$)|(?:config\.guess$)|(?:config\.sub$)|(?:configure$)|(?:controls\.js$)|(?:cordova([^.]*)\.js$)|(?:cordova\-\d\.\d(\.\d)?\.js$)|(?:cpplint\.py)|(?:custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$)|(?:dist/)|(?:docs?/_?(build|themes?|templates?|static)/)|(?:dojo\.js$)|(?:dotnet-install\.(ps1|sh)$)|(?:dragdrop\.js$)|(?:effects\.js$)|(?:env/)|(?:erlang\.mk)|(?:extjs/.*?\.html$)|(?:extjs/.*?\.js$)|(?:extjs/.*?\.properties$)|(?:extjs/.*?\.txt$)|(?:extjs/.*?\.xml$)|(?:extjs/\.sencha/)|(?:extjs/builds/)|(?:extjs/cmd/)|(?:extjs/docs/)|(?:extjs/examples/)|(?:extjs/locale/)|(?:extjs/packages/)|(?:extjs/plugins/)|(?:extjs/resources/)|(?:extjs/src/)|(?:extjs/welcome/)|(?:fabfile\.py$)|(?:flow-typed/.*\.js$)|(?:font-?awesome/.*\.(css|less|scss|styl)$)|(?:font-?awesome\.(css|less|scss|styl)$)|(?:fontello(.*?)\.css$)|(?:foundation(\..*)?\.js$)|(?:foundation\.(css|less|scss|styl)$)|(?:fuelux\.js)|(?:gradle/wrapper/)|(?:gradlew$)|(?:gradlew\.bat$)|(?:html5shiv\.js$)|(?:inst/extdata/)|(?:jquery([^.]*)\.js$)|(?:jquery([^.]*)\.unobtrusive\-ajax\.js$)|(?:jquery([^.]*)\.validate(\.unobtrusive)?\.js$)|(?:jquery\-\d\.\d+(\.\d+)?\.js$)|(?:jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$)|(?:jquery\.(ui|effects)\.([^.]*)\.(js|css)$)|(?:jquery\.dataTables\.js)|(?:jquery\.fancybox\.(js|css))|(?:jquery\.fileupload(-\w+)?\.js$)|(?:jquery\.fn\.gantt\.js)|(?:knockout-(\d+\.){3}(debug\.)?js$)|(?:leaflet\.draw-src\.js)|(?:leaflet\.draw\.css)|(?:leaflet\.spin\.js)|(?:libtool\.m4)|(?:ltoptions\.m4)|(?:ltsugar\.m4)|(?:ltversion\.m4)|(?:lt~obsolete\.m4)|(?:materialize\.(css|less|scss|styl|js)$)|(?:modernizr\-\d\.\d+(\.\d+)?\.js$)|(?:modernizr\.custom\.\d+\.js$)|(?:mootools([^.]*)\d+\.\d+.\d+([^.]*)\.js$)|(?:mvnw$)|(?:mvnw\.cmd$)|(?:node_modules/)|(?:normalize\.(css|less|scss|styl)$)|(?:octicons\.css)|(?:pdf\.worker\.js)|(?:proguard-rules\.pro$)|(?:proguard\.pro$)|(?:prototype(.*)\.js$)|(?:puphpet/)|(?:react(-[^.]*)?\.js$)|(?:run\.n$)|(?:select2/.*\.(css|scss|js)$)|(?:shBrush([^.]*)\.js$)|(?:shCore\.js$)|(?:shLegacy\.js$)|(?:skeleton\.(css|less|scss|styl)$)|(?:slick\.\w+.js$)|(?:sprockets-octicons\.scss)|(?:testdata/)|(?:tiny_mce([^.]*)\.js$)|(?:tiny_mce/(langs|plugins|themes|utils))|(?:vendors?/)|(?:vignettes/)|(?:waf$)|(?:wicket-leaflet\.js)|(?:yahoo-([^.]*)\.js$)|(?:yui([^.]*)\.js$)))|(?:(.*?)\.d\.ts$)|(?:(3rd|[Tt]hird)[-_]?[Pp]arty/)|(?:([^\s]*)import\.(css|less|scss|styl)$)|(?:(\.|-)min\.(js|css)$)|(?:(^|\/)d3(\.v\d+)?([^.]*)\.js$)|(?:-vsdoc\.js$)|(?:\.imageset/)|(?:\.intellisense\.js$)|(?:\.xctemplate/)`) var FastVendorMatcher = regex.MustCompile(`(?:^(?:(?:[Dd]ependencies/)|(?:debian/)|(?:deps/)|(?:rebar$)))|(?:(?:^|/)(?:(?:BuddyBuildSDK\.framework/)|(?:Carthage/)|(?:Chart\.js$)|(?:Control\.FullScreen\.css)|(?:Control\.FullScreen\.js)|(?:Crashlytics\.framework/)|(?:Fabric\.framework/)|(?:Godeps/_workspace/)|(?:Jenkinsfile$)|(?:Leaflet\.Coordinates-\d+\.\d+\.\d+\.src\.js$)|(?:MathJax/)|(?:MochiKit\.js$)|(?:RealmSwift\.framework)|(?:Realm\.framework)|(?:Sparkle/)|(?:Vagrantfile$)|(?:[Bb]ourbon/.*\.(css|less|scss|styl)$)|(?:[Cc]ode[Mm]irror/(\d+\.\d+/)?(lib|mode|theme|addon|keymap|demo))|(?:[Ee]xtern(als?)?/)|(?:[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$)|(?:[Pp]ackages\/.+\.\d+\/)|(?:[Ss]pecs?/fixtures/)|(?:[Tt]ests?/fixtures/)|(?:[Vv]+endor/)|(?:\.[Dd][Ss]_[Ss]tore$)|(?:\.gitattributes$)|(?:\.github/)|(?:\.gitignore$)|(?:\.gitmodules$)|(?:\.gitpod\.Dockerfile$)|(?:\.google_apis/)|(?:\.indent\.pro)|(?:\.mvn/wrapper/)|(?:\.obsidian/)|(?:\.osx$)|(?:\.sublime-project)|(?:\.sublime-workspace)|(?:\.teamcity/)|(?:\.vscode/)|(?:\.yarn/plugins/)|(?:\.yarn/releases/)|(?:\.yarn/sdks/)|(?:\.yarn/unplugged/)|(?:\.yarn/versions/)|(?:_esy$)|(?:ace-builds/)|(?:aclocal\.m4)|(?:activator$)|(?:activator\.bat$)|(?:admin_media/)|(?:angular([^.]*)\.js$)|(?:animate\.(css|less|scss|styl)$)|(?:bootbox\.js)|(?:bootstrap([^/.]*)(\..*)?\.(js|css|less|scss|styl)$)|(?:bootstrap-datepicker/)|(?:bower_components/)|(?:bulma\.(css|sass|scss)$)|(?:cache/)|(?:ckeditor\.js$)|(?:config\.guess$)|(?:config\.sub$)|(?:configure$)|(?:controls\.js$)|(?:cordova([^.]*)\.js$)|(?:cordova\-\d\.\d(\.\d)?\.js$)|(?:cpplint\.py)|(?:custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$)|(?:dist/)|(?:docs?/_?(build|themes?|templates?|static)/)|(?:dojo\.js$)|(?:dotnet-install\.(ps1|sh)$)|(?:dragdrop\.js$)|(?:effects\.js$)|(?:env/)|(?:erlang\.mk)|(?:extjs/.*?\.html$)|(?:extjs/.*?\.js$)|(?:extjs/.*?\.properties$)|(?:extjs/.*?\.txt$)|(?:extjs/.*?\.xml$)|(?:extjs/\.sencha/)|(?:extjs/builds/)|(?:extjs/cmd/)|(?:extjs/docs/)|(?:extjs/examples/)|(?:extjs/locale/)|(?:extjs/packages/)|(?:extjs/plugins/)|(?:extjs/resources/)|(?:extjs/src/)|(?:extjs/welcome/)|(?:fabfile\.py$)|(?:flow-typed/.*\.js$)|(?:font-?awesome/.*\.(css|less|scss|styl)$)|(?:font-?awesome\.(css|less|scss|styl)$)|(?:fontello(.*?)\.css$)|(?:foundation(\..*)?\.js$)|(?:foundation\.(css|less|scss|styl)$)|(?:fuelux\.js)|(?:gradle/wrapper/)|(?:gradlew$)|(?:gradlew\.bat$)|(?:html5shiv\.js$)|(?:inst/extdata/)|(?:jquery([^.]*)\.js$)|(?:jquery([^.]*)\.unobtrusive\-ajax\.js$)|(?:jquery([^.]*)\.validate(\.unobtrusive)?\.js$)|(?:jquery\-\d\.\d+(\.\d+)?\.js$)|(?:jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$)|(?:jquery\.(ui|effects)\.([^.]*)\.(js|css)$)|(?:jquery\.dataTables\.js)|(?:jquery\.fancybox\.(js|css))|(?:jquery\.fileupload(-\w+)?\.js$)|(?:jquery\.fn\.gantt\.js)|(?:knockout-(\d+\.){3}(debug\.)?js$)|(?:leaflet\.draw-src\.js)|(?:leaflet\.draw\.css)|(?:leaflet\.spin\.js)|(?:libtool\.m4)|(?:ltoptions\.m4)|(?:ltsugar\.m4)|(?:ltversion\.m4)|(?:lt~obsolete\.m4)|(?:materialize\.(css|less|scss|styl|js)$)|(?:modernizr\-\d\.\d+(\.\d+)?\.js$)|(?:modernizr\.custom\.\d+\.js$)|(?:mootools([^.]*)\d+\.\d+.\d+([^.]*)\.js$)|(?:mvnw$)|(?:mvnw\.cmd$)|(?:node_modules/)|(?:normalize\.(css|less|scss|styl)$)|(?:octicons\.css)|(?:pdf\.worker\.js)|(?:proguard-rules\.pro$)|(?:proguard\.pro$)|(?:prototype(.*)\.js$)|(?:puphpet/)|(?:react(-[^.]*)?\.js$)|(?:run\.n$)|(?:select2/.*\.(css|scss|js)$)|(?:shBrush([^.]*)\.js$)|(?:shCore\.js$)|(?:shLegacy\.js$)|(?:skeleton\.(css|less|scss|styl)$)|(?:slick\.\w+.js$)|(?:sprockets-octicons\.scss)|(?:testdata/)|(?:tiny_mce([^.]*)\.js$)|(?:tiny_mce/(langs|plugins|themes|utils))|(?:vendors?/)|(?:waf$)|(?:wicket-leaflet\.js)|(?:yahoo-([^.]*)\.js$)|(?:yui([^.]*)\.js$)))|(?:(.*?)\.d\.ts$)|(?:(3rd|[Tt]hird)[-_]?[Pp]arty/)|(?:([^\s]*)import\.(css|less|scss|styl)$)|(?:(\.|-)min\.(js|css)$)|(?:(^|\/)d3(\.v\d+)?([^.]*)\.js$)|(?:-vsdoc\.js$)|(?:\.imageset/)|(?:\.intellisense\.js$)|(?:\.xctemplate/)`)

View File

@ -17,13 +17,13 @@ func MaybeCloneLinguist(envVar, url, commit string) (string, bool, error) {
if !isLinguistCloned { if !isLinguistCloned {
linguistTmpDir, err = ioutil.TempDir("", "linguist-") linguistTmpDir, err = ioutil.TempDir("", "linguist-")
if err != nil { if err != nil {
return "", false, err panic(err)
} }
isCleanupNeeded = true isCleanupNeeded = true
cmd := exec.Command("git", "clone", "--depth", "150", url, linguistTmpDir) cmd := exec.Command("git", "clone", "--depth", "150", url, linguistTmpDir)
if err := cmd.Run(); err != nil { if err := cmd.Run(); err != nil {
panic(fmt.Errorf("%s: %w", cmd.String(), err)) panicOn(cmd.String(), err)
} }
} }
@ -38,11 +38,15 @@ func MaybeCloneLinguist(envVar, url, commit string) (string, bool, error) {
cmd := exec.Command("git", "checkout", commit) cmd := exec.Command("git", "checkout", commit)
if err := cmd.Run(); err != nil { if err := cmd.Run(); err != nil {
panic(fmt.Errorf("%s: %w", cmd.String(), err)) panicOn(cmd.String(), err)
} }
if err = os.Chdir(cwd); err != nil { if err = os.Chdir(cwd); err != nil {
panic(fmt.Errorf("%s: %w", cmd.String(), err)) panicOn(cmd.String(), err)
} }
return linguistTmpDir, isCleanupNeeded, nil return linguistTmpDir, isCleanupNeeded, nil
} }
func panicOn(cmd string, err error) {
panic(fmt.Errorf("%q returned %w", cmd, err))
}

View File

@ -25,8 +25,7 @@ func Test_EnryOnLinguistCorpus(t *testing.T) {
func (s *linguistCorpusSuite) TestLinguistSamples() { func (s *linguistCorpusSuite) TestLinguistSamples() {
const filenamesDir = "filenames" const filenamesDir = "filenames"
var cornerCases = map[string]bool{ var cornerCases = map[string]bool{
"drop_stuff.sql": false, // not the case in v7.23, https://github.com/src-d/enry/issues/194 "textobj-rubyblock.vba": true, // unsupported negative lookahead RE syntax (https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L521)
"textobj-rubyblock.vba": true, // unsupported negative lookahead RE syntax (https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L521)
// .es and .ice fail heuristics parsing, but do not fail any tests // .es and .ice fail heuristics parsing, but do not fail any tests
// 'Adblock Filter List' hack https://github.com/github/linguist/blob/bf853f1c663903e3ee35935189760191f1c45e1c/lib/linguist/heuristics.yml#L680-L702 // 'Adblock Filter List' hack https://github.com/github/linguist/blob/bf853f1c663903e3ee35935189760191f1c45e1c/lib/linguist/heuristics.yml#L680-L702
"Imperial Units Remover.txt": true, "Imperial Units Remover.txt": true,
@ -34,6 +33,12 @@ func (s *linguistCorpusSuite) TestLinguistSamples() {
"anti-facebook.txt": true, "anti-facebook.txt": true,
"fake-news.txt": true, "fake-news.txt": true,
"test_rules.txt": true, "test_rules.txt": true,
// backreference in .plist heuristics for "XML Property List" language https://github.com/go-enry/go-enry/pull/169#discussion_r1319889500
// upsteam fix comming in https://github.com/go-enry/go-enry/pull/169#issuecomment-1708840755
"ff-man.plist": true,
"info.min.plist": true,
"info.plist": true,
"man.plist": true,
} }
var total, failed, ok, other int var total, failed, ok, other int
@ -65,13 +70,13 @@ func (s *linguistCorpusSuite) TestLinguistSamples() {
errMsg := fmt.Sprintf("file: %q\texpected: %q\tgot: %q\n", path, expected, got) errMsg := fmt.Sprintf("file: %q\texpected: %q\tgot: %q\n", path, expected, got)
if _, ok := cornerCases[filename]; ok { if _, ok := cornerCases[filename]; ok {
s.T().Logf(fmt.Sprintf("\t\t[corner case] %s", errMsg)) s.T().Logf(fmt.Sprintf("\t[corner case] %s", errMsg))
} else { } else {
s.Equal(expected, got, errMsg) s.Equal(expected, got, errMsg)
} }
return nil return nil
}) })
s.T().Logf("\t\ttotal files: %d, ok: %d, failed: %d, other: %d\n", total, ok, failed, other) s.T().Logf("\ttotal files: %d, ok: %d, failed: %d, other: %d\n", total, ok, failed, other)
} }
// Second part of the test_blob.rb#test_language // Second part of the test_blob.rb#test_language

View File

@ -98,5 +98,5 @@ def test_get_languages():
def test_get_language_extensions(): def test_get_language_extensions():
assert get_language_extensions("Python") == [".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", assert get_language_extensions("Python") == [".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde",
".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".spec", ".tac",
".wsgi", ".xpy"] ".wsgi", ".xpy"]

View File

@ -12,15 +12,16 @@ import (
const binSniffLen = 8000 const binSniffLen = 8000
var configurationLanguages = map[string]struct{}{ var configurationLanguages = map[string]struct{}{
"XML": {}, "XML": {},
"JSON": {}, "JSON": {},
"TOML": {}, "TOML": {},
"YAML": {}, "YAML": {},
"INI": {}, "MiniYAML": {},
"SQL": {}, "INI": {},
"SQL": {},
} }
// IsConfiguration tells if filename is in one of the configuration languages. // IsConfiguration tells if a give file is in one of the configuration languages.
func IsConfiguration(path string) bool { func IsConfiguration(path string) bool {
language, _ := GetLanguageByExtension(path) language, _ := GetLanguageByExtension(path)
_, is := configurationLanguages[language] _, is := configurationLanguages[language]

View File

@ -139,6 +139,7 @@ func TestIsConfiguration(t *testing.T) {
{name: "TestIsConfiguration_1", path: "foo", expected: false}, {name: "TestIsConfiguration_1", path: "foo", expected: false},
{name: "TestIsConfiguration_2", path: "foo.ini", expected: true}, {name: "TestIsConfiguration_2", path: "foo.ini", expected: true},
{name: "TestIsConfiguration_3", path: "/test/path/foo.json", expected: true}, {name: "TestIsConfiguration_3", path: "/test/path/foo.json", expected: true},
{name: "TestIsConfiguration_YAML", path: "configuration.yml", expected: true},
} }
for _, test := range tests { for _, test := range tests {