Updated Linguist to v7.19.0

This commit is contained in:
github-actions 2022-02-21 20:08:34 +00:00
parent 525ee9b302
commit 513c659119
30 changed files with 38644 additions and 24967 deletions

View File

@ -156,7 +156,7 @@ 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.18.0**. The `enry` library is based on the data from `github/linguist` version **v7.19.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:

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -9,6 +9,7 @@ import "strings"
// All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores. // All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
var LanguageByAliasMap = map[string]string{ var LanguageByAliasMap = map[string]string{
"1c_enterprise": "1C Enterprise", "1c_enterprise": "1C Enterprise",
"2-dimensional_array": "2-Dimensional Array",
"4d": "4D", "4d": "4D",
"abap": "ABAP", "abap": "ABAP",
"abap_cds": "ABAP CDS", "abap_cds": "ABAP CDS",
@ -135,6 +136,7 @@ var LanguageByAliasMap = map[string]string{
"cil": "CIL", "cil": "CIL",
"cirru": "Cirru", "cirru": "Cirru",
"clarion": "Clarion", "clarion": "Clarion",
"clarity": "Clarity",
"classic_asp": "Classic ASP", "classic_asp": "Classic ASP",
"clean": "Clean", "clean": "Clean",
"click": "Click", "click": "Click",
@ -186,6 +188,7 @@ var LanguageByAliasMap = map[string]string{
"cue_sheet": "Cue Sheet", "cue_sheet": "Cue Sheet",
"curl_config": "cURL Config", "curl_config": "cURL Config",
"curlrc": "cURL Config", "curlrc": "cURL Config",
"curry": "Curry",
"cweb": "CWeb", "cweb": "CWeb",
"cwl": "Common Workflow Language", "cwl": "Common Workflow Language",
"cycript": "Cycript", "cycript": "Cycript",
@ -197,7 +200,9 @@ var LanguageByAliasMap = map[string]string{
"dart": "Dart", "dart": "Dart",
"dataweave": "DataWeave", "dataweave": "DataWeave",
"dcl": "DIGITAL Command Language", "dcl": "DIGITAL Command Language",
"debian_package_control_file": "Debian Package Control File",
"delphi": "Pascal", "delphi": "Pascal",
"denizenscript": "DenizenScript",
"desktop": "desktop", "desktop": "desktop",
"dhall": "Dhall", "dhall": "Dhall",
"diff": "Diff", "diff": "Diff",
@ -219,6 +224,7 @@ var LanguageByAliasMap = map[string]string{
"e": "E", "e": "E",
"e-mail": "E-mail", "e-mail": "E-mail",
"eagle": "Eagle", "eagle": "Eagle",
"earthfile": "Earthly",
"earthly": "Earthly", "earthly": "Earthly",
"easybuild": "Easybuild", "easybuild": "Easybuild",
"ebnf": "EBNF", "ebnf": "EBNF",
@ -247,6 +253,7 @@ var LanguageByAliasMap = map[string]string{
"eq": "EQ", "eq": "EQ",
"erb": "HTML+ERB", "erb": "HTML+ERB",
"erlang": "Erlang", "erlang": "Erlang",
"euphoria": "Euphoria",
"f#": "F#", "f#": "F#",
"f*": "F*", "f*": "F*",
"factor": "Factor", "factor": "Factor",
@ -301,6 +308,7 @@ var LanguageByAliasMap = map[string]string{
"gitconfig": "Git Config", "gitconfig": "Git Config",
"gitignore": "Ignore List", "gitignore": "Ignore List",
"gitmodules": "Git Config", "gitmodules": "Git Config",
"gleam": "Gleam",
"glsl": "GLSL", "glsl": "GLSL",
"glyph": "Glyph", "glyph": "Glyph",
"glyph_bitmap_distribution_format": "Glyph Bitmap Distribution Format", "glyph_bitmap_distribution_format": "Glyph Bitmap Distribution Format",
@ -325,6 +333,7 @@ var LanguageByAliasMap = map[string]string{
"groff": "Roff", "groff": "Roff",
"groovy": "Groovy", "groovy": "Groovy",
"groovy_server_pages": "Groovy Server Pages", "groovy_server_pages": "Groovy Server Pages",
"gsc": "GSC",
"gsp": "Groovy Server Pages", "gsp": "Groovy Server Pages",
"hack": "Hack", "hack": "Hack",
"haml": "Haml", "haml": "Haml",
@ -341,6 +350,7 @@ var LanguageByAliasMap = map[string]string{
"hiveql": "HiveQL", "hiveql": "HiveQL",
"hlsl": "HLSL", "hlsl": "HLSL",
"holyc": "HolyC", "holyc": "HolyC",
"hoon": "hoon",
"html": "HTML", "html": "HTML",
"html+django": "Jinja", "html+django": "Jinja",
"html+ecr": "HTML+ECR", "html+ecr": "HTML+ECR",
@ -366,6 +376,7 @@ var LanguageByAliasMap = map[string]string{
"igor_pro": "IGOR Pro", "igor_pro": "IGOR Pro",
"igorpro": "IGOR Pro", "igorpro": "IGOR Pro",
"ijm": "ImageJ Macro", "ijm": "ImageJ Macro",
"ile_rpg": "RPGLE",
"imagej_macro": "ImageJ Macro", "imagej_macro": "ImageJ Macro",
"inc": "PHP", "inc": "PHP",
"inform7": "Inform 7", "inform7": "Inform 7",
@ -382,6 +393,7 @@ var LanguageByAliasMap = map[string]string{
"isabelle": "Isabelle", "isabelle": "Isabelle",
"isabelle_root": "Isabelle ROOT", "isabelle_root": "Isabelle ROOT",
"j": "J", "j": "J",
"janet": "Janet",
"jar_manifest": "JAR Manifest", "jar_manifest": "JAR Manifest",
"jasmin": "Jasmin", "jasmin": "Jasmin",
"java": "Java", "java": "Java",
@ -422,6 +434,7 @@ var LanguageByAliasMap = map[string]string{
"krl": "KRL", "krl": "KRL",
"ksy": "Kaitai Struct", "ksy": "Kaitai Struct",
"kusto": "Kusto", "kusto": "Kusto",
"kvlang": "kvlang",
"labview": "LabVIEW", "labview": "LabVIEW",
"lark": "Lark", "lark": "Lark",
"lasso": "Lasso", "lasso": "Lasso",
@ -431,6 +444,7 @@ var LanguageByAliasMap = map[string]string{
"lean": "Lean", "lean": "Lean",
"leex": "HTML+EEX", "leex": "HTML+EEX",
"less": "Less", "less": "Less",
"less-css": "Less",
"lex": "Lex", "lex": "Lex",
"lfe": "LFE", "lfe": "LFE",
"lhaskell": "Literate Haskell", "lhaskell": "Literate Haskell",
@ -494,6 +508,8 @@ var LanguageByAliasMap = map[string]string{
"microsoft_developer_studio_project": "Microsoft Developer Studio Project", "microsoft_developer_studio_project": "Microsoft Developer Studio Project",
"microsoft_visual_studio_solution": "Microsoft Visual Studio Solution", "microsoft_visual_studio_solution": "Microsoft Visual Studio Solution",
"minid": "MiniD", "minid": "MiniD",
"miniyaml": "MiniYAML",
"mint": "Mint",
"mirah": "Mirah", "mirah": "Mirah",
"mirc_script": "mIRC Script", "mirc_script": "mIRC Script",
"mlir": "MLIR", "mlir": "MLIR",
@ -636,13 +652,16 @@ var LanguageByAliasMap = map[string]string{
"powershell": "PowerShell", "powershell": "PowerShell",
"prisma": "Prisma", "prisma": "Prisma",
"processing": "Processing", "processing": "Processing",
"procfile": "Procfile",
"progress": "OpenEdge ABL", "progress": "OpenEdge ABL",
"proguard": "Proguard", "proguard": "Proguard",
"prolog": "Prolog", "prolog": "Prolog",
"promela": "Promela", "promela": "Promela",
"propeller_spin": "Propeller Spin", "propeller_spin": "Propeller Spin",
"protobuf": "Protocol Buffer", "protobuf": "Protocol Buffer",
"protobuf_text_format": "Protocol Buffer Text Format",
"protocol_buffer": "Protocol Buffer", "protocol_buffer": "Protocol Buffer",
"protocol_buffer_text_format": "Protocol Buffer Text Format",
"protocol_buffers": "Protocol Buffer", "protocol_buffers": "Protocol Buffer",
"public_key": "Public Key", "public_key": "Public Key",
"pug": "Pug", "pug": "Pug",
@ -714,6 +733,7 @@ var LanguageByAliasMap = map[string]string{
"rouge": "Rouge", "rouge": "Rouge",
"rpc": "RPC", "rpc": "RPC",
"rpcgen": "RPC", "rpcgen": "RPC",
"rpgle": "RPGLE",
"rpm_spec": "RPM Spec", "rpm_spec": "RPM Spec",
"rs": "Rust", "rs": "Rust",
"rs-274x": "Gerber Image", "rs-274x": "Gerber Image",
@ -773,6 +793,7 @@ var LanguageByAliasMap = map[string]string{
"sqf": "SQF", "sqf": "SQF",
"sql": "SQL", "sql": "SQL",
"sqlpl": "SQLPL", "sqlpl": "SQLPL",
"sqlrpgle": "RPGLE",
"squeak": "Smalltalk", "squeak": "Smalltalk",
"squirrel": "Squirrel", "squirrel": "Squirrel",
"srecode_template": "SRecode Template", "srecode_template": "SRecode Template",
@ -800,6 +821,7 @@ var LanguageByAliasMap = map[string]string{
"tex": "TeX", "tex": "TeX",
"texinfo": "Texinfo", "texinfo": "Texinfo",
"text": "Text", "text": "Text",
"text_proto": "Protocol Buffer Text Format",
"textile": "Textile", "textile": "Textile",
"textmate_properties": "TextMate Properties", "textmate_properties": "TextMate Properties",
"thrift": "Thrift", "thrift": "Thrift",
@ -856,6 +878,7 @@ var LanguageByAliasMap = map[string]string{
"vlang": "V", "vlang": "V",
"volt": "Volt", "volt": "Volt",
"vue": "Vue", "vue": "Vue",
"vyper": "Vyper",
"wasm": "WebAssembly", "wasm": "WebAssembly",
"wast": "WebAssembly", "wast": "WebAssembly",
"wavefront_material": "Wavefront Material", "wavefront_material": "Wavefront Material",
@ -872,6 +895,7 @@ 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",
"witcher_script": "Witcher Script",
"wl": "Mathematica", "wl": "Mathematica",
"wolfram": "Mathematica", "wolfram": "Mathematica",
"wolfram_lang": "Mathematica", "wolfram_lang": "Mathematica",

View File

@ -1,10 +1,11 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
var LanguagesColor = map[string]string{ var LanguagesColor = map[string]string{
"1C Enterprise": "#814CCC", "1C Enterprise": "#814CCC",
"2-Dimensional Array": "#38761D",
"4D": "#004289", "4D": "#004289",
"ABAP": "#E8274B", "ABAP": "#E8274B",
"ABAP CDS": "#555e25", "ABAP CDS": "#555e25",
@ -76,6 +77,7 @@ var LanguagesColor = map[string]string{
"ChucK": "#3f8000", "ChucK": "#3f8000",
"Cirru": "#ccccff", "Cirru": "#ccccff",
"Clarion": "#db901e", "Clarion": "#db901e",
"Clarity": "#5546ff",
"Classic ASP": "#6a40fd", "Classic ASP": "#6a40fd",
"Clean": "#3F85AF", "Clean": "#3F85AF",
"Click": "#E4E6F3", "Click": "#E4E6F3",
@ -95,6 +97,7 @@ var LanguagesColor = map[string]string{
"Csound Document": "#1a1a1a", "Csound Document": "#1a1a1a",
"Csound Score": "#1a1a1a", "Csound Score": "#1a1a1a",
"Cuda": "#3A4E3A", "Cuda": "#3A4E3A",
"Curry": "#531242",
"Cython": "#fedf5b", "Cython": "#fedf5b",
"D": "#ba595e", "D": "#ba595e",
"DM": "#447265", "DM": "#447265",
@ -102,6 +105,8 @@ var LanguagesColor = map[string]string{
"Darcs Patch": "#8eff23", "Darcs Patch": "#8eff23",
"Dart": "#00B4AB", "Dart": "#00B4AB",
"DataWeave": "#003a52", "DataWeave": "#003a52",
"Debian Package Control File": "#D70751",
"DenizenScript": "#FBEE96",
"Dhall": "#dfafff", "Dhall": "#dfafff",
"DirectX 3D File": "#aace60", "DirectX 3D File": "#aace60",
"Dockerfile": "#384d54", "Dockerfile": "#384d54",
@ -122,6 +127,7 @@ var LanguagesColor = map[string]string{
"Emacs Lisp": "#c065db", "Emacs Lisp": "#c065db",
"EmberScript": "#FFF4F3", "EmberScript": "#FFF4F3",
"Erlang": "#B83998", "Erlang": "#B83998",
"Euphoria": "#FF790B",
"F#": "#b845fc", "F#": "#b845fc",
"F*": "#572e30", "F*": "#572e30",
"FIGlet Font": "#FFDDBB", "FIGlet Font": "#FFDDBB",
@ -148,6 +154,7 @@ var LanguagesColor = map[string]string{
"GDScript": "#355570", "GDScript": "#355570",
"GEDCOM": "#003058", "GEDCOM": "#003058",
"GLSL": "#5686a5", "GLSL": "#5686a5",
"GSC": "#FF6800",
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Gemfile.lock": "#701516", "Gemfile.lock": "#701516",
"Genie": "#fb855d", "Genie": "#fb855d",
@ -158,6 +165,7 @@ var LanguagesColor = map[string]string{
"Gherkin": "#5B2063", "Gherkin": "#5B2063",
"Git Attributes": "#F44D27", "Git Attributes": "#F44D27",
"Git Config": "#F44D27", "Git Config": "#F44D27",
"Gleam": "#ffaff3",
"Glyph": "#c1ac7f", "Glyph": "#c1ac7f",
"Gnuplot": "#f0a9f0", "Gnuplot": "#f0a9f0",
"Go": "#00ADD8", "Go": "#00ADD8",
@ -210,6 +218,7 @@ var LanguagesColor = map[string]string{
"JSON5": "#267CB9", "JSON5": "#267CB9",
"JSONLD": "#0c479c", "JSONLD": "#0c479c",
"JSONiq": "#40d47e", "JSONiq": "#40d47e",
"Janet": "#0886a5",
"Jasmin": "#d03600", "Jasmin": "#d03600",
"Java": "#b07219", "Java": "#b07219",
"Java Properties": "#2A6277", "Java Properties": "#2A6277",
@ -267,6 +276,8 @@ var LanguagesColor = map[string]string{
"Mercury": "#ff2b2b", "Mercury": "#ff2b2b",
"Meson": "#007800", "Meson": "#007800",
"Metal": "#8f14e9", "Metal": "#8f14e9",
"MiniYAML": "#ff1111",
"Mint": "#02b046",
"Mirah": "#c7a938", "Mirah": "#c7a938",
"Modelica": "#de1d31", "Modelica": "#de1d31",
"Modula-2": "#10253f", "Modula-2": "#10253f",
@ -331,6 +342,7 @@ var LanguagesColor = map[string]string{
"PowerShell": "#012456", "PowerShell": "#012456",
"Prisma": "#0c344b", "Prisma": "#0c344b",
"Processing": "#0096D8", "Processing": "#0096D8",
"Procfile": "#3B2F63",
"Prolog": "#74283c", "Prolog": "#74283c",
"Promela": "#de0000", "Promela": "#de0000",
"Propeller Spin": "#7fa2a7", "Propeller Spin": "#7fa2a7",
@ -350,6 +362,7 @@ var LanguagesColor = map[string]string{
"RDoc": "#701516", "RDoc": "#701516",
"REXX": "#d90e09", "REXX": "#d90e09",
"RMarkdown": "#198ce7", "RMarkdown": "#198ce7",
"RPGLE": "#2BDE21",
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#3c5caa", "Racket": "#3c5caa",
"Ragel": "#9d5200", "Ragel": "#9d5200",
@ -446,10 +459,12 @@ var LanguagesColor = map[string]string{
"Visual Basic .NET": "#945db7", "Visual Basic .NET": "#945db7",
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#41b883", "Vue": "#41b883",
"Vyper": "#2980b9",
"Web Ontology Language": "#5b70bd", "Web Ontology Language": "#5b70bd",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
"Wikitext": "#fc5757", "Wikitext": "#fc5757",
"Windows Registry Entries": "#52d5ff", "Windows Registry Entries": "#52d5ff",
"Witcher Script": "#ff0000",
"Wollok": "#a23738", "Wollok": "#a23738",
"World of Warcraft Addon Data": "#f7e43f", "World of Warcraft Addon Data": "#f7e43f",
"X10": "#4B6BEF", "X10": "#4B6BEF",
@ -473,7 +488,9 @@ var LanguagesColor = map[string]string{
"Zimpl": "#d67711", "Zimpl": "#d67711",
"eC": "#913960", "eC": "#913960",
"fish": "#4aae47", "fish": "#4aae47",
"hoon": "#00b171",
"jq": "#c7254e", "jq": "#c7254e",
"kvlang": "#1da6e0",
"mIRC Script": "#3d57c3", "mIRC Script": "#3d57c3",
"mcfunction": "#E22837", "mcfunction": "#E22837",
"mupad": "#244963", "mupad": "#244963",

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

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -697,6 +697,12 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^(\s*namespace\s*[\w\.]+\s*{|\s*\/\/)`), regexp.MustCompile(`(?m)^(\s*namespace\s*[\w\.]+\s*{|\s*\/\/)`),
), ),
}, },
".csc": &Heuristics{
rule.Or(
rule.MatchingLanguages("GSC"),
regexp.MustCompile(`(?m)^\s*#\s*(?:using|insert|include|define|namespace)[ \t]+\w|^\s*(?>(?:autoexec|private)\s+){0,2}function\s+(?>(?:autoexec|private)\s+){0,2}\w+\s*\(|\b(?:level|self)[ \t]+thread[ \t]+(?:\[\[[ \t]*(?>\w+\.)*\w+[ \t]*\]\]|\w+)[ \t]*\([^\r\n\)]*\)[ \t]*;|^[ \t]*#[ \t]*(?:precache|using_animtree)[ \t]*\(`),
),
},
".csl": &Heuristics{ ".csl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
@ -731,6 +737,20 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)\bprocess\s*[(=]|\b(library|import)\s*\(\s*"|\bdeclare\s+(name|version|author|copyright|license)\s+"`), regexp.MustCompile(`(?m)\bprocess\s*[(=]|\b(library|import)\s*\(\s*"|\bdeclare\s+(name|version|author|copyright|license)\s+"`),
), ),
}, },
".e": &Heuristics{
rule.Or(
rule.MatchingLanguages("E"),
regexp.MustCompile(`(?m)^\s*(def|var)\s+(.+):=|^\s*(def|to)\s+(\w+)(\(.+\))?\s+{|^\s*(when)\s+(\(.+\))\s+->\s+{`),
),
rule.Or(
rule.MatchingLanguages("Eiffel"),
regexp.MustCompile(`(?m)^\s*\w+\s*(?:,\s*\w+)*[:]\s*\w+\s|^\s*\w+\s*(?:\(\s*\w+[:][^)]+\))?(?:[:]\s*\w+)?(?:--.+\s+)*\s+(?:do|local)\s|^\s*(?:across|deferred|elseif|ensure|feature|from|inherit|inspect|invariant|note|once|require|undefine|variant|when)\s*$`),
),
rule.Or(
rule.MatchingLanguages("Euphoria"),
regexp.MustCompile(`(?m)^\s*namespace\s|^\s*(?:public\s+)?include\s|^\s*(?:(?:public|export|global)\s+)?(?:atom|constant|enum|function|integer|object|procedure|sequence|type)\s`),
),
},
".ecl": &Heuristics{ ".ecl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("ECLiPSe"), rule.MatchingLanguages("ECLiPSe"),
@ -747,6 +767,16 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^\s*(?:%%|main\s*\(.*?\)\s*->)`), regexp.MustCompile(`(?m)^\s*(?:%%|main\s*\(.*?\)\s*->)`),
), ),
}, },
".ex": &Heuristics{
rule.Or(
rule.MatchingLanguages("Elixir"),
regexp.MustCompile(`(?m)^\s*@moduledoc\s|^\s*(?:cond|import|quote|unless)\s|^\s*def(?:exception|impl|macro|module|protocol)[(\s]`),
),
rule.Or(
rule.MatchingLanguages("Euphoria"),
regexp.MustCompile(`(?m)^\s*namespace\s|^\s*(?:public\s+)?include\s|^\s*(?:(?:public|export|global)\s+)?(?:atom|constant|enum|function|integer|object|procedure|sequence|type)\s`),
),
},
".f": &Heuristics{ ".f": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Forth"), rule.MatchingLanguages("Forth"),
@ -849,6 +879,18 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^\[indent=[0-9]+\]`), regexp.MustCompile(`(?m)^\[indent=[0-9]+\]`),
), ),
}, },
".gsc": &Heuristics{
rule.Or(
rule.MatchingLanguages("GSC"),
regexp.MustCompile(`(?m)^\s*#\s*(?:using|insert|include|define|namespace)[ \t]+\w|^\s*(?>(?:autoexec|private)\s+){0,2}function\s+(?>(?:autoexec|private)\s+){0,2}\w+\s*\(|\b(?:level|self)[ \t]+thread[ \t]+(?:\[\[[ \t]*(?>\w+\.)*\w+[ \t]*\]\]|\w+)[ \t]*\([^\r\n\)]*\)[ \t]*;|^[ \t]*#[ \t]*(?:precache|using_animtree)[ \t]*\(`),
),
},
".gsh": &Heuristics{
rule.Or(
rule.MatchingLanguages("GSC"),
regexp.MustCompile(`(?m)^\s*#\s*(?:using|insert|include|define|namespace)[ \t]+\w|^\s*(?>(?:autoexec|private)\s+){0,2}function\s+(?>(?:autoexec|private)\s+){0,2}\w+\s*\(|\b(?:level|self)[ \t]+thread[ \t]+(?:\[\[[ \t]*(?>\w+\.)*\w+[ \t]*\]\]|\w+)[ \t]*\([^\r\n\)]*\)[ \t]*;|^[ \t]*#[ \t]*(?:precache|using_animtree)[ \t]*\(`),
),
},
".h": &Heuristics{ ".h": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Objective-C"), rule.MatchingLanguages("Objective-C"),
@ -1035,7 +1077,7 @@ var ContentHeuristics = map[string]*Heuristics{
}, },
".mask": &Heuristics{ ".mask": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Unity3d Asset"), rule.MatchingLanguages("Unity3D Asset"),
regexp.MustCompile(`(?m)tag:unity3d.com`), regexp.MustCompile(`(?m)tag:unity3d.com`),
), ),
}, },
@ -1543,6 +1585,15 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS`), regexp.MustCompile(`(?m)OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS`),
), ),
}, },
".yaml": &Heuristics{
rule.Or(
rule.MatchingLanguages("MiniYAML"),
regexp.MustCompile(`(?m)^\t+.*?[^\s:].*?:`),
),
rule.Always(
rule.MatchingLanguages("YAML"),
),
},
".yy": &Heuristics{ ".yy": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("JSON"), rule.MatchingLanguages("JSON"),

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -9,6 +9,7 @@ var LanguagesByExtension = map[string][]string{
".1m": {"Roff", "Roff Manpage"}, ".1m": {"Roff", "Roff Manpage"},
".1x": {"Roff", "Roff Manpage"}, ".1x": {"Roff", "Roff Manpage"},
".2": {"Roff", "Roff Manpage"}, ".2": {"Roff", "Roff Manpage"},
".2da": {"2-Dimensional Array"},
".3": {"Roff", "Roff Manpage"}, ".3": {"Roff", "Roff Manpage"},
".3in": {"Roff", "Roff Manpage"}, ".3in": {"Roff", "Roff Manpage"},
".3m": {"Roff", "Roff Manpage"}, ".3m": {"Roff", "Roff Manpage"},
@ -91,6 +92,7 @@ var LanguagesByExtension = map[string][]string{
".avsc": {"JSON"}, ".avsc": {"JSON"},
".aw": {"PHP"}, ".aw": {"PHP"},
".awk": {"Awk"}, ".awk": {"Awk"},
".axaml": {"XML"},
".axd": {"ASP.NET"}, ".axd": {"ASP.NET"},
".axi": {"NetLinx"}, ".axi": {"NetLinx"},
".axi.erb": {"NetLinx+ERB"}, ".axi.erb": {"NetLinx+ERB"},
@ -163,6 +165,7 @@ var LanguagesByExtension = map[string][]string{
".ck": {"ChucK"}, ".ck": {"ChucK"},
".cl": {"Common Lisp", "Cool", "OpenCL"}, ".cl": {"Common Lisp", "Cool", "OpenCL"},
".cl2": {"Clojure"}, ".cl2": {"Clojure"},
".clar": {"Clarity"},
".click": {"Click"}, ".click": {"Click"},
".clixml": {"XML"}, ".clixml": {"XML"},
".clj": {"Clojure"}, ".clj": {"Clojure"},
@ -182,6 +185,7 @@ var LanguagesByExtension = map[string][]string{
".cob": {"COBOL"}, ".cob": {"COBOL"},
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".cocci": {"SmPL"}, ".cocci": {"SmPL"},
".code-snippets": {"JSON with Comments"},
".coffee": {"CoffeeScript"}, ".coffee": {"CoffeeScript"},
".coffee.md": {"Literate CoffeeScript"}, ".coffee.md": {"Literate CoffeeScript"},
".com": {"DIGITAL Command Language"}, ".com": {"DIGITAL Command Language"},
@ -200,6 +204,7 @@ var LanguagesByExtension = map[string][]string{
".cr": {"Crystal"}, ".cr": {"Crystal"},
".creole": {"Creole"}, ".creole": {"Creole"},
".cs": {"C#", "Smalltalk"}, ".cs": {"C#", "Smalltalk"},
".csc": {"GSC"},
".cscfg": {"XML"}, ".cscfg": {"XML"},
".csd": {"Csound Document"}, ".csd": {"Csound Document"},
".csdef": {"XML"}, ".csdef": {"XML"},
@ -216,6 +221,7 @@ var LanguagesByExtension = map[string][]string{
".cu": {"Cuda"}, ".cu": {"Cuda"},
".cue": {"CUE", "Cue Sheet"}, ".cue": {"CUE", "Cue Sheet"},
".cuh": {"Cuda"}, ".cuh": {"Cuda"},
".curry": {"Curry"},
".cw": {"Redcode"}, ".cw": {"Redcode"},
".cwl": {"Common Workflow Language"}, ".cwl": {"Common Workflow Language"},
".cxx": {"C++"}, ".cxx": {"C++"},
@ -256,6 +262,7 @@ var LanguagesByExtension = map[string][]string{
".dpatch": {"Darcs Patch"}, ".dpatch": {"Darcs Patch"},
".dpr": {"Pascal"}, ".dpr": {"Pascal"},
".druby": {"Mirah"}, ".druby": {"Mirah"},
".dsc": {"Debian Package Control File", "DenizenScript"},
".dsl": {"ASL"}, ".dsl": {"ASL"},
".dsp": {"Faust", "Microsoft Developer Studio Project"}, ".dsp": {"Faust", "Microsoft Developer Studio Project"},
".dtx": {"TeX"}, ".dtx": {"TeX"},
@ -264,7 +271,7 @@ var LanguagesByExtension = map[string][]string{
".dyalog": {"APL"}, ".dyalog": {"APL"},
".dyl": {"Dylan"}, ".dyl": {"Dylan"},
".dylan": {"Dylan"}, ".dylan": {"Dylan"},
".e": {"E", "Eiffel"}, ".e": {"E", "Eiffel", "Euphoria"},
".eam.fs": {"Formatted"}, ".eam.fs": {"Formatted"},
".eb": {"Easybuild"}, ".eb": {"Easybuild"},
".ebnf": {"EBNF"}, ".ebnf": {"EBNF"},
@ -301,7 +308,7 @@ var LanguagesByExtension = map[string][]string{
".es": {"Erlang", "JavaScript"}, ".es": {"Erlang", "JavaScript"},
".es6": {"JavaScript"}, ".es6": {"JavaScript"},
".escript": {"Erlang"}, ".escript": {"Erlang"},
".ex": {"Elixir"}, ".ex": {"Elixir", "Euphoria"},
".exs": {"Elixir"}, ".exs": {"Elixir"},
".eye": {"Ruby"}, ".eye": {"Ruby"},
".f": {"Filebench WML", "Forth", "Fortran"}, ".f": {"Filebench WML", "Forth", "Fortran"},
@ -374,6 +381,7 @@ var LanguagesByExtension = map[string][]string{
".gitignore": {"Ignore List"}, ".gitignore": {"Ignore List"},
".gko": {"Gerber Image"}, ".gko": {"Gerber Image"},
".glade": {"XML"}, ".glade": {"XML"},
".gleam": {"Gleam"},
".glf": {"Glyph"}, ".glf": {"Glyph"},
".glsl": {"GLSL"}, ".glsl": {"GLSL"},
".glslf": {"GLSL"}, ".glslf": {"GLSL"},
@ -402,6 +410,8 @@ var LanguagesByExtension = map[string][]string{
".grt": {"Groovy"}, ".grt": {"Groovy"},
".grxml": {"XML"}, ".grxml": {"XML"},
".gs": {"GLSL", "Genie", "Gosu", "JavaScript"}, ".gs": {"GLSL", "Genie", "Gosu", "JavaScript"},
".gsc": {"GSC"},
".gsh": {"GSC"},
".gshader": {"GLSL"}, ".gshader": {"GLSL"},
".gsp": {"Groovy Server Pages"}, ".gsp": {"Groovy Server Pages"},
".gst": {"Gosu", "XML"}, ".gst": {"Gosu", "XML"},
@ -433,6 +443,7 @@ var LanguagesByExtension = map[string][]string{
".hlean": {"Lean"}, ".hlean": {"Lean"},
".hlsl": {"HLSL"}, ".hlsl": {"HLSL"},
".hlsli": {"HLSL"}, ".hlsli": {"HLSL"},
".hoon": {"hoon"},
".hpp": {"C++"}, ".hpp": {"C++"},
".hqf": {"SQF"}, ".hqf": {"SQF"},
".hql": {"HiveQL"}, ".hql": {"HiveQL"},
@ -489,6 +500,7 @@ var LanguagesByExtension = map[string][]string{
".j2": {"Jinja"}, ".j2": {"Jinja"},
".jade": {"Pug"}, ".jade": {"Pug"},
".jake": {"JavaScript"}, ".jake": {"JavaScript"},
".janet": {"Janet"},
".jav": {"Java"}, ".jav": {"Java"},
".java": {"Java"}, ".java": {"Java"},
".javascript": {"JavaScript"}, ".javascript": {"JavaScript"},
@ -533,6 +545,7 @@ var LanguagesByExtension = map[string][]string{
".kt": {"Kotlin"}, ".kt": {"Kotlin"},
".ktm": {"Kotlin"}, ".ktm": {"Kotlin"},
".kts": {"Kotlin"}, ".kts": {"Kotlin"},
".kv": {"kvlang"},
".l": {"Common Lisp", "Lex", "PicoLisp", "Roff"}, ".l": {"Common Lisp", "Lex", "PicoLisp", "Roff"},
".lagda": {"Literate Agda"}, ".lagda": {"Literate Agda"},
".lark": {"Lark"}, ".lark": {"Lark"},
@ -613,6 +626,7 @@ var LanguagesByExtension = map[string][]string{
".metal": {"Metal"}, ".metal": {"Metal"},
".mg": {"Modula-3"}, ".mg": {"Modula-3"},
".minid": {"MiniD"}, ".minid": {"MiniD"},
".mint": {"Mint"},
".mir": {"YAML"}, ".mir": {"YAML"},
".mirah": {"Mirah"}, ".mirah": {"Mirah"},
".mjml": {"XML"}, ".mjml": {"XML"},
@ -744,7 +758,8 @@ var LanguagesByExtension = map[string][]string{
".patch": {"Diff"}, ".patch": {"Diff"},
".pb": {"PureBasic"}, ".pb": {"PureBasic"},
".pbi": {"PureBasic"}, ".pbi": {"PureBasic"},
".pbt": {"PowerBuilder"}, ".pbt": {"PowerBuilder", "Protocol Buffer Text Format"},
".pbtxt": {"Protocol Buffer Text Format"},
".pcbdoc": {"Altium Designer"}, ".pcbdoc": {"Altium Designer"},
".pck": {"PLSQL"}, ".pck": {"PLSQL"},
".pcss": {"PostCSS"}, ".pcss": {"PostCSS"},
@ -905,6 +920,7 @@ var LanguagesByExtension = map[string][]string{
".rockspec": {"Lua"}, ".rockspec": {"Lua"},
".roff": {"Roff"}, ".roff": {"Roff"},
".ronn": {"Markdown"}, ".ronn": {"Markdown"},
".rpgle": {"RPGLE"},
".rpy": {"Python", "Ren'Py"}, ".rpy": {"Python", "Ren'Py"},
".rq": {"SPARQL"}, ".rq": {"SPARQL"},
".rs": {"RenderScript", "Rust", "XML"}, ".rs": {"RenderScript", "Rust", "XML"},
@ -943,6 +959,7 @@ var LanguagesByExtension = map[string][]string{
".scxml": {"XML"}, ".scxml": {"XML"},
".sed": {"sed"}, ".sed": {"sed"},
".self": {"Self"}, ".self": {"Self"},
".service": {"desktop"},
".sexp": {"Common Lisp"}, ".sexp": {"Common Lisp"},
".sfd": {"Spline Font Database"}, ".sfd": {"Spline Font Database"},
".sfproj": {"XML"}, ".sfproj": {"XML"},
@ -981,6 +998,7 @@ var LanguagesByExtension = map[string][]string{
".sps": {"Scheme"}, ".sps": {"Scheme"},
".sqf": {"SQF"}, ".sqf": {"SQF"},
".sql": {"PLSQL", "PLpgSQL", "SQL", "SQLPL", "TSQL"}, ".sql": {"PLSQL", "PLpgSQL", "SQL", "SQLPL", "TSQL"},
".sqlrpgle": {"RPGLE"},
".sra": {"PowerBuilder"}, ".sra": {"PowerBuilder"},
".srdf": {"XML"}, ".srdf": {"XML"},
".srt": {"SRecode Template", "SubRip Text"}, ".srt": {"SRecode Template", "SubRip Text"},
@ -1035,6 +1053,7 @@ var LanguagesByExtension = map[string][]string{
".texi": {"Texinfo"}, ".texi": {"Texinfo"},
".texinfo": {"Texinfo"}, ".texinfo": {"Texinfo"},
".textile": {"Textile"}, ".textile": {"Textile"},
".textproto": {"Protocol Buffer Text Format"},
".tf": {"HCL"}, ".tf": {"HCL"},
".tfstate": {"JSON"}, ".tfstate": {"JSON"},
".tfstate.backup": {"JSON"}, ".tfstate.backup": {"JSON"},
@ -1123,6 +1142,7 @@ var LanguagesByExtension = map[string][]string{
".vue": {"Vue"}, ".vue": {"Vue"},
".vw": {"PLSQL"}, ".vw": {"PLSQL"},
".vxml": {"XML"}, ".vxml": {"XML"},
".vy": {"Vyper"},
".w": {"CWeb", "OpenEdge ABL"}, ".w": {"CWeb", "OpenEdge ABL"},
".wast": {"WebAssembly"}, ".wast": {"WebAssembly"},
".wat": {"WebAssembly"}, ".wat": {"WebAssembly"},
@ -1142,6 +1162,7 @@ var LanguagesByExtension = map[string][]string{
".wlua": {"Lua"}, ".wlua": {"Lua"},
".workbook": {"Markdown"}, ".workbook": {"Markdown"},
".workflow": {"HCL", "XML"}, ".workflow": {"HCL", "XML"},
".ws": {"Witcher Script"},
".wsdl": {"XML"}, ".wsdl": {"XML"},
".wsf": {"XML"}, ".wsf": {"XML"},
".wsgi": {"Python"}, ".wsgi": {"Python"},
@ -1199,7 +1220,7 @@ var LanguagesByExtension = map[string][]string{
".xzap": {"ZAP"}, ".xzap": {"ZAP"},
".y": {"Yacc"}, ".y": {"Yacc"},
".yacc": {"Yacc"}, ".yacc": {"Yacc"},
".yaml": {"YAML"}, ".yaml": {"MiniYAML", "YAML"},
".yaml-tmlanguage": {"YAML"}, ".yaml-tmlanguage": {"YAML"},
".yaml.sed": {"YAML"}, ".yaml.sed": {"YAML"},
".yang": {"YANG"}, ".yang": {"YANG"},
@ -1224,10 +1245,12 @@ var LanguagesByExtension = map[string][]string{
".zpl": {"Zimpl"}, ".zpl": {"Zimpl"},
".zs": {"ZenScript"}, ".zs": {"ZenScript"},
".zsh": {"Shell"}, ".zsh": {"Shell"},
".zsh-theme": {"Shell"},
} }
var ExtensionsByLanguage = map[string][]string{ var ExtensionsByLanguage = map[string][]string{
"1C Enterprise": {".bsl", ".os"}, "1C Enterprise": {".bsl", ".os"},
"2-Dimensional Array": {".2da"},
"4D": {".4dm"}, "4D": {".4dm"},
"ABAP": {".abap"}, "ABAP": {".abap"},
"ABAP CDS": {".asddls"}, "ABAP CDS": {".asddls"},
@ -1306,6 +1329,7 @@ var ExtensionsByLanguage = map[string][]string{
"ChucK": {".ck"}, "ChucK": {".ck"},
"Cirru": {".cirru"}, "Cirru": {".cirru"},
"Clarion": {".clw"}, "Clarion": {".clw"},
"Clarity": {".clar"},
"Classic ASP": {".asp"}, "Classic ASP": {".asp"},
"Clean": {".icl", ".dcl"}, "Clean": {".icl", ".dcl"},
"Click": {".click"}, "Click": {".click"},
@ -1329,6 +1353,7 @@ var ExtensionsByLanguage = map[string][]string{
"Csound Score": {".sco"}, "Csound Score": {".sco"},
"Cuda": {".cu", ".cuh"}, "Cuda": {".cu", ".cuh"},
"Cue Sheet": {".cue"}, "Cue Sheet": {".cue"},
"Curry": {".curry"},
"Cycript": {".cy"}, "Cycript": {".cy"},
"Cython": {".pyx", ".pxd", ".pxi"}, "Cython": {".pyx", ".pxd", ".pxi"},
"D": {".d", ".di"}, "D": {".d", ".di"},
@ -1341,6 +1366,8 @@ var ExtensionsByLanguage = map[string][]string{
"Darcs Patch": {".darcspatch", ".dpatch"}, "Darcs Patch": {".darcspatch", ".dpatch"},
"Dart": {".dart"}, "Dart": {".dart"},
"DataWeave": {".dwl"}, "DataWeave": {".dwl"},
"Debian Package Control File": {".dsc"},
"DenizenScript": {".dsc"},
"Dhall": {".dhall"}, "Dhall": {".dhall"},
"Diff": {".diff", ".patch"}, "Diff": {".diff", ".patch"},
"DirectX 3D File": {".x"}, "DirectX 3D File": {".x"},
@ -1364,6 +1391,7 @@ var ExtensionsByLanguage = map[string][]string{
"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.src", ".es", ".escript", ".hrl", ".xrl", ".yrl"},
"Euphoria": {".e", ".ex"},
"F#": {".fs", ".fsi", ".fsx"}, "F#": {".fs", ".fsi", ".fsx"},
"F*": {".fst"}, "F*": {".fst"},
"FIGlet Font": {".flf"}, "FIGlet Font": {".flf"},
@ -1394,6 +1422,7 @@ var ExtensionsByLanguage = map[string][]string{
"GEDCOM": {".ged"}, "GEDCOM": {".ged"},
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".rchit", ".rmiss", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"}, "GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".rchit", ".rmiss", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"},
"GN": {".gn", ".gni"}, "GN": {".gn", ".gni"},
"GSC": {".gsc", ".csc", ".gsh"},
"Game Maker Language": {".gml"}, "Game Maker Language": {".gml"},
"Genie": {".gs"}, "Genie": {".gs"},
"Genshi": {".kid"}, "Genshi": {".kid"},
@ -1403,6 +1432,7 @@ var ExtensionsByLanguage = map[string][]string{
"Gettext Catalog": {".po", ".pot"}, "Gettext Catalog": {".po", ".pot"},
"Gherkin": {".feature", ".story"}, "Gherkin": {".feature", ".story"},
"Git Config": {".gitconfig"}, "Git Config": {".gitconfig"},
"Gleam": {".gleam"},
"Glyph": {".glf"}, "Glyph": {".glf"},
"Glyph Bitmap Distribution Format": {".bdf"}, "Glyph Bitmap Distribution Format": {".bdf"},
"Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"}, "Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"},
@ -1453,10 +1483,11 @@ var ExtensionsByLanguage = map[string][]string{
"J": {".ijs"}, "J": {".ijs"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".jsonc", ".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"}, "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"},
"JSON5": {".json5"}, "JSON5": {".json5"},
"JSONLD": {".jsonld"}, "JSONLD": {".jsonld"},
"JSONiq": {".jq"}, "JSONiq": {".jq"},
"Janet": {".janet"},
"Jasmin": {".j"}, "Jasmin": {".j"},
"Java": {".java", ".jav"}, "Java": {".java", ".jav"},
"Java Properties": {".properties"}, "Java Properties": {".properties"},
@ -1529,6 +1560,8 @@ var ExtensionsByLanguage = map[string][]string{
"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"},
"Mint": {".mint"},
"Mirah": {".druby", ".duby", ".mirah"}, "Mirah": {".druby", ".duby", ".mirah"},
"Modelica": {".mo"}, "Modelica": {".mo"},
"Modula-2": {".mod"}, "Modula-2": {".mod"},
@ -1621,6 +1654,7 @@ var ExtensionsByLanguage = map[string][]string{
"Promela": {".pml"}, "Promela": {".pml"},
"Propeller Spin": {".spin"}, "Propeller Spin": {".spin"},
"Protocol Buffer": {".proto"}, "Protocol Buffer": {".proto"},
"Protocol Buffer Text Format": {".textproto", ".pbt", ".pbtxt"},
"Public Key": {".asc", ".pub"}, "Public Key": {".asc", ".pub"},
"Pug": {".jade", ".pug"}, "Pug": {".jade", ".pug"},
"Puppet": {".pp"}, "Puppet": {".pp"},
@ -1640,6 +1674,7 @@ var ExtensionsByLanguage = map[string][]string{
"REXX": {".rexx", ".pprx", ".rex"}, "REXX": {".rexx", ".pprx", ".rex"},
"RMarkdown": {".rmd"}, "RMarkdown": {".rmd"},
"RPC": {".x"}, "RPC": {".x"},
"RPGLE": {".rpgle", ".sqlrpgle"},
"RPM Spec": {".spec"}, "RPM Spec": {".spec"},
"RUNOFF": {".rnh", ".rno"}, "RUNOFF": {".rnh", ".rno"},
"Racket": {".rkt", ".rktd", ".rktl", ".scrbl"}, "Racket": {".rkt", ".rktd", ".rktl", ".scrbl"},
@ -1685,7 +1720,7 @@ var ExtensionsByLanguage = map[string][]string{
"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"}, "Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".env", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".zsh", ".zsh-theme"},
"ShellSession": {".sh-session"}, "ShellSession": {".sh-session"},
"Shen": {".shen"}, "Shen": {".shen"},
"Sieve": {".sieve"}, "Sieve": {".sieve"},
@ -1753,6 +1788,7 @@ var ExtensionsByLanguage = map[string][]string{
"Visual Basic .NET": {".vb", ".vbhtml"}, "Visual Basic .NET": {".vb", ".vbhtml"},
"Volt": {".volt"}, "Volt": {".volt"},
"Vue": {".vue"}, "Vue": {".vue"},
"Vyper": {".vy"},
"Wavefront Material": {".mtl"}, "Wavefront Material": {".mtl"},
"Wavefront Object": {".obj"}, "Wavefront Object": {".obj"},
"Web Ontology Language": {".owl"}, "Web Ontology Language": {".owl"},
@ -1761,13 +1797,14 @@ var ExtensionsByLanguage = map[string][]string{
"WebVTT": {".vtt"}, "WebVTT": {".vtt"},
"Wikitext": {".mediawiki", ".wiki", ".wikitext"}, "Wikitext": {".mediawiki", ".wiki", ".wikitext"},
"Windows Registry Entries": {".reg"}, "Windows Registry Entries": {".reg"},
"Witcher Script": {".ws"},
"Wollok": {".wlk"}, "Wollok": {".wlk"},
"World of Warcraft Addon Data": {".toc"}, "World of Warcraft Addon Data": {".toc"},
"X BitMap": {".xbm"}, "X BitMap": {".xbm"},
"X PixMap": {".xpm", ".pm"}, "X PixMap": {".xpm", ".pm"},
"X10": {".x10"}, "X10": {".x10"},
"XC": {".xc"}, "XC": {".xc"},
"XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".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", ".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", ".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 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"},
@ -1789,12 +1826,14 @@ var ExtensionsByLanguage = map[string][]string{
"Zephir": {".zep"}, "Zephir": {".zep"},
"Zig": {".zig"}, "Zig": {".zig"},
"Zimpl": {".zimpl", ".zmpl", ".zpl"}, "Zimpl": {".zimpl", ".zmpl", ".zpl"},
"desktop": {".desktop", ".desktop.in"}, "desktop": {".desktop", ".desktop.in", ".service"},
"dircolors": {".dircolors"}, "dircolors": {".dircolors"},
"eC": {".ec", ".eh"}, "eC": {".ec", ".eh"},
"edn": {".edn"}, "edn": {".edn"},
"fish": {".fish"}, "fish": {".fish"},
"hoon": {".hoon"},
"jq": {".jq"}, "jq": {".jq"},
"kvlang": {".kv"},
"mIRC Script": {".mrc"}, "mIRC Script": {".mrc"},
"mcfunction": {".mcfunction"}, "mcfunction": {".mcfunction"},
"mupad": {".mu"}, "mupad": {".mu"},

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -85,6 +85,7 @@ var LanguagesByFilename = map[string][]string{
".tern-config": {"JSON"}, ".tern-config": {"JSON"},
".tern-project": {"JSON"}, ".tern-project": {"JSON"},
".tm_properties": {"TextMate Properties"}, ".tm_properties": {"TextMate Properties"},
".vercelignore": {"Ignore List"},
".vimrc": {"Vim Script"}, ".vimrc": {"Vim Script"},
".viper": {"Emacs Lisp"}, ".viper": {"Emacs Lisp"},
".vscodeignore": {"Ignore List"}, ".vscodeignore": {"Ignore List"},
@ -164,6 +165,7 @@ var LanguagesByFilename = map[string][]string{
"Pipfile": {"TOML"}, "Pipfile": {"TOML"},
"Pipfile.lock": {"JSON"}, "Pipfile.lock": {"JSON"},
"Podfile": {"Ruby"}, "Podfile": {"Ruby"},
"Procfile": {"Procfile"},
"Project.ede": {"Emacs Lisp"}, "Project.ede": {"Emacs Lisp"},
"Puppetfile": {"Ruby"}, "Puppetfile": {"Ruby"},
"README.me": {"Text"}, "README.me": {"Text"},
@ -179,6 +181,7 @@ var LanguagesByFilename = map[string][]string{
"Slakefile": {"LiveScript"}, "Slakefile": {"LiveScript"},
"Snakefile": {"Python"}, "Snakefile": {"Python"},
"Snapfile": {"Ruby"}, "Snapfile": {"Ruby"},
"Steepfile": {"Ruby"},
"Thorfile": {"Ruby"}, "Thorfile": {"Ruby"},
"Tiltfile": {"Starlark"}, "Tiltfile": {"Starlark"},
"Vagrantfile": {"Ruby"}, "Vagrantfile": {"Ruby"},

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data

View File

@ -1,10 +1,11 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
var IDByLanguage = map[string]int{ var IDByLanguage = map[string]int{
"1C Enterprise": 0, "1C Enterprise": 0,
"2-Dimensional Array": 387204628,
"4D": 577529595, "4D": 577529595,
"ABAP": 1, "ABAP": 1,
"ABAP CDS": 452681853, "ABAP CDS": 452681853,
@ -87,6 +88,7 @@ var IDByLanguage = map[string]int{
"ChucK": 57, "ChucK": 57,
"Cirru": 58, "Cirru": 58,
"Clarion": 59, "Clarion": 59,
"Clarity": 91493841,
"Classic ASP": 8, "Classic ASP": 8,
"Clean": 60, "Clean": 60,
"Click": 61, "Click": 61,
@ -111,6 +113,7 @@ var IDByLanguage = map[string]int{
"Csound Score": 75, "Csound Score": 75,
"Cuda": 77, "Cuda": 77,
"Cue Sheet": 942714150, "Cue Sheet": 942714150,
"Curry": 439829048,
"Cycript": 78, "Cycript": 78,
"Cython": 79, "Cython": 79,
"D": 80, "D": 80,
@ -123,6 +126,8 @@ var IDByLanguage = map[string]int{
"Darcs Patch": 86, "Darcs Patch": 86,
"Dart": 87, "Dart": 87,
"DataWeave": 974514097, "DataWeave": 974514097,
"Debian Package Control File": 527438264,
"DenizenScript": 435000929,
"Dhall": 793969321, "Dhall": 793969321,
"Diff": 88, "Diff": 88,
"DirectX 3D File": 201049282, "DirectX 3D File": 201049282,
@ -148,6 +153,7 @@ var IDByLanguage = map[string]int{
"Emacs Lisp": 102, "Emacs Lisp": 102,
"EmberScript": 103, "EmberScript": 103,
"Erlang": 104, "Erlang": 104,
"Euphoria": 880693982,
"F#": 105, "F#": 105,
"F*": 336943375, "F*": 336943375,
"FIGlet Font": 686129783, "FIGlet Font": 686129783,
@ -178,6 +184,7 @@ var IDByLanguage = map[string]int{
"GEDCOM": 459577965, "GEDCOM": 459577965,
"GLSL": 124, "GLSL": 124,
"GN": 302957008, "GN": 302957008,
"GSC": 257856279,
"Game Maker Language": 125, "Game Maker Language": 125,
"Gemfile.lock": 907065713, "Gemfile.lock": 907065713,
"Genie": 792408528, "Genie": 792408528,
@ -189,6 +196,7 @@ var IDByLanguage = map[string]int{
"Gherkin": 76, "Gherkin": 76,
"Git Attributes": 956324166, "Git Attributes": 956324166,
"Git Config": 807968997, "Git Config": 807968997,
"Gleam": 1054258749,
"Glyph": 130, "Glyph": 130,
"Glyph Bitmap Distribution Format": 997665271, "Glyph Bitmap Distribution Format": 997665271,
"Gnuplot": 131, "Gnuplot": 131,
@ -247,6 +255,7 @@ var IDByLanguage = map[string]int{
"JSON5": 175, "JSON5": 175,
"JSONLD": 176, "JSONLD": 176,
"JSONiq": 177, "JSONiq": 177,
"Janet": 1028705371,
"Jasmin": 180, "Jasmin": 180,
"Java": 181, "Java": 181,
"Java Properties": 519377561, "Java Properties": 519377561,
@ -321,6 +330,8 @@ var IDByLanguage = map[string]int{
"Microsoft Developer Studio Project": 800983837, "Microsoft Developer Studio Project": 800983837,
"Microsoft Visual Studio Solution": 849523096, "Microsoft Visual Studio Solution": 849523096,
"MiniD": 231, "MiniD": 231,
"MiniYAML": 4896465,
"Mint": 968740319,
"Mirah": 232, "Mirah": 232,
"Modelica": 233, "Modelica": 233,
"Modula-2": 234, "Modula-2": 234,
@ -410,11 +421,13 @@ var IDByLanguage = map[string]int{
"PowerShell": 293, "PowerShell": 293,
"Prisma": 499933428, "Prisma": 499933428,
"Processing": 294, "Processing": 294,
"Procfile": 305313959,
"Proguard": 716513858, "Proguard": 716513858,
"Prolog": 295, "Prolog": 295,
"Promela": 441858312, "Promela": 441858312,
"Propeller Spin": 296, "Propeller Spin": 296,
"Protocol Buffer": 297, "Protocol Buffer": 297,
"Protocol Buffer Text Format": 436568854,
"Public Key": 298, "Public Key": 298,
"Pug": 179, "Pug": 179,
"Puppet": 299, "Puppet": 299,
@ -436,6 +449,7 @@ var IDByLanguage = map[string]int{
"REXX": 311, "REXX": 311,
"RMarkdown": 313, "RMarkdown": 313,
"RPC": 1031374237, "RPC": 1031374237,
"RPGLE": 609977990,
"RPM Spec": 314, "RPM Spec": 314,
"RUNOFF": 315, "RUNOFF": 315,
"Racket": 316, "Racket": 316,
@ -557,6 +571,7 @@ var IDByLanguage = map[string]int{
"Visual Basic .NET": 389, "Visual Basic .NET": 389,
"Volt": 390, "Volt": 390,
"Vue": 391, "Vue": 391,
"Vyper": 1055641948,
"Wavefront Material": 392, "Wavefront Material": 392,
"Wavefront Object": 393, "Wavefront Object": 393,
"Web Ontology Language": 394, "Web Ontology Language": 394,
@ -566,6 +581,7 @@ var IDByLanguage = map[string]int{
"Wget Config": 668457123, "Wget Config": 668457123,
"Wikitext": 228, "Wikitext": 228,
"Windows Registry Entries": 969674868, "Windows Registry Entries": 969674868,
"Witcher Script": 686821385,
"Wollok": 632745969, "Wollok": 632745969,
"World of Warcraft Addon Data": 396, "World of Warcraft Addon Data": 396,
"X BitMap": 782911107, "X BitMap": 782911107,
@ -602,7 +618,9 @@ var IDByLanguage = map[string]int{
"eC": 413, "eC": 413,
"edn": 414, "edn": 414,
"fish": 415, "fish": 415,
"hoon": 560883276,
"jq": 905371884, "jq": 905371884,
"kvlang": 970675279,
"mIRC Script": 517654727, "mIRC Script": 517654727,
"mcfunction": 462488745, "mcfunction": 462488745,
"mupad": 416, "mupad": 416,

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -37,6 +37,8 @@ var LanguagesByInterpreter = map[string][]string{
"ecl": {"Common Lisp"}, "ecl": {"Common Lisp"},
"elixir": {"Elixir"}, "elixir": {"Elixir"},
"escript": {"Erlang"}, "escript": {"Erlang"},
"eui": {"Euphoria"},
"euiw": {"Euphoria"},
"fennel": {"Fennel"}, "fennel": {"Fennel"},
"fish": {"fish"}, "fish": {"fish"},
"gawk": {"Awk"}, "gawk": {"Awk"},
@ -53,6 +55,7 @@ var LanguagesByInterpreter = map[string][]string{
"instantfpc": {"Pascal"}, "instantfpc": {"Pascal"},
"io": {"Io"}, "io": {"Io"},
"ioke": {"Ioke"}, "ioke": {"Ioke"},
"janet": {"Janet"},
"jconsole": {"J"}, "jconsole": {"J"},
"jolie": {"Jolie"}, "jolie": {"Jolie"},
"jruby": {"Ruby"}, "jruby": {"Ruby"},

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -60,6 +60,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 0, LanguageID: 0,
}, },
387204628: LanguageInfo{
Name: "2-Dimensional Array",
FSName: "",
Type: TypeForString("data"),
Color: "#38761D",
Group: "",
Aliases: []string{},
Extensions: []string{
".2da",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.2da",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 387204628,
},
577529595: LanguageInfo{ 577529595: LanguageInfo{
Name: "4D", Name: "4D",
FSName: "", FSName: "",
@ -1776,6 +1795,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 59, LanguageID: 59,
}, },
91493841: LanguageInfo{
Name: "Clarity",
FSName: "",
Type: TypeForString("programming"),
Color: "#5546ff",
Group: "",
Aliases: []string{},
Extensions: []string{
".clar",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.clar",
AceMode: "lisp",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 91493841,
},
8: LanguageInfo{ 8: LanguageInfo{
Name: "Classic ASP", Name: "Classic ASP",
FSName: "", FSName: "",
@ -2309,6 +2347,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 942714150, LanguageID: 942714150,
}, },
439829048: LanguageInfo{
Name: "Curry",
FSName: "",
Type: TypeForString("programming"),
Color: "#531242",
Group: "",
Aliases: []string{},
Extensions: []string{
".curry",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.curry",
AceMode: "haskell",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 439829048,
},
78: LanguageInfo{ 78: LanguageInfo{
Name: "Cycript", Name: "Cycript",
FSName: "", FSName: "",
@ -2560,6 +2617,44 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 974514097, LanguageID: 974514097,
}, },
527438264: LanguageInfo{
Name: "Debian Package Control File",
FSName: "",
Type: TypeForString("data"),
Color: "#D70751",
Group: "",
Aliases: []string{},
Extensions: []string{
".dsc",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.deb-control",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 527438264,
},
435000929: LanguageInfo{
Name: "DenizenScript",
FSName: "",
Type: TypeForString("programming"),
Color: "#FBEE96",
Group: "",
Aliases: []string{},
Extensions: []string{
".dsc",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-yaml",
TMScope: "source.denizenscript",
AceMode: "yaml",
CodeMirrorMode: "yaml",
Wrap: false,
LanguageID: 435000929,
},
793969321: LanguageInfo{ 793969321: LanguageInfo{
Name: "Dhall", Name: "Dhall",
FSName: "", FSName: "",
@ -2693,7 +2788,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Group: "", Group: "",
Aliases: []string{}, Aliases: []string{},
Extensions: []string{ Extensions: []string{
".E", ".e",
}, },
Interpreters: []string{ Interpreters: []string{
"rune", "rune",
@ -2856,7 +2951,9 @@ var LanguageInfoByID = map[int]LanguageInfo{
Type: TypeForString("programming"), Type: TypeForString("programming"),
Color: "#2af0ff", Color: "#2af0ff",
Group: "", Group: "",
Aliases: []string{}, Aliases: []string{
"Earthfile",
},
Extensions: []string{}, Extensions: []string{},
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{ Filenames: []string{
@ -3096,6 +3193,29 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 104, LanguageID: 104,
}, },
880693982: LanguageInfo{
Name: "Euphoria",
FSName: "",
Type: TypeForString("programming"),
Color: "#FF790B",
Group: "",
Aliases: []string{},
Extensions: []string{
".e",
".ex",
},
Interpreters: []string{
"eui",
"euiw",
},
Filenames: []string{},
MimeType: "",
TMScope: "source.euphoria",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 880693982,
},
105: LanguageInfo{ 105: LanguageInfo{
Name: "F#", Name: "F#",
FSName: "", FSName: "",
@ -3736,6 +3856,27 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 302957008, LanguageID: 302957008,
}, },
257856279: LanguageInfo{
Name: "GSC",
FSName: "",
Type: TypeForString("programming"),
Color: "#FF6800",
Group: "",
Aliases: []string{},
Extensions: []string{
".gsc",
".csc",
".gsh",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-csrc",
TMScope: "source.gsc",
AceMode: "c_cpp",
CodeMirrorMode: "clike",
Wrap: false,
LanguageID: 257856279,
},
125: LanguageInfo{ 125: LanguageInfo{
Name: "Game Maker Language", Name: "Game Maker Language",
FSName: "", FSName: "",
@ -3982,6 +4123,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 807968997, LanguageID: 807968997,
}, },
1054258749: LanguageInfo{
Name: "Gleam",
FSName: "",
Type: TypeForString("programming"),
Color: "#ffaff3",
Group: "",
Aliases: []string{},
Extensions: []string{
".gleam",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.gleam",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 1054258749,
},
130: LanguageInfo{ 130: LanguageInfo{
Name: "Glyph", Name: "Glyph",
FSName: "", FSName: "",
@ -4921,6 +5081,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".npmignore", ".npmignore",
".prettierignore", ".prettierignore",
".stylelintignore", ".stylelintignore",
".vercelignore",
".vscodeignore", ".vscodeignore",
"gitignore-global", "gitignore-global",
"gitignore_global", "gitignore_global",
@ -5194,6 +5355,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
}, },
Extensions: []string{ Extensions: []string{
".jsonc", ".jsonc",
".code-snippets",
".sublime-build", ".sublime-build",
".sublime-commands", ".sublime-commands",
".sublime-completions", ".sublime-completions",
@ -5286,6 +5448,27 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 177, LanguageID: 177,
}, },
1028705371: LanguageInfo{
Name: "Janet",
FSName: "",
Type: TypeForString("programming"),
Color: "#0886a5",
Group: "",
Aliases: []string{},
Extensions: []string{
".janet",
},
Interpreters: []string{
"janet",
},
Filenames: []string{},
MimeType: "text/x-scheme",
TMScope: "source.janet",
AceMode: "scheme",
CodeMirrorMode: "scheme",
Wrap: false,
LanguageID: 1028705371,
},
180: LanguageInfo{ 180: LanguageInfo{
Name: "Jasmin", Name: "Jasmin",
FSName: "", FSName: "",
@ -6004,7 +6187,9 @@ var LanguageInfoByID = map[int]LanguageInfo{
Type: TypeForString("markup"), Type: TypeForString("markup"),
Color: "#1d365d", Color: "#1d365d",
Group: "", Group: "",
Aliases: []string{}, Aliases: []string{
"less-css",
},
Extensions: []string{ Extensions: []string{
".less", ".less",
}, },
@ -6902,6 +7087,44 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 231, LanguageID: 231,
}, },
4896465: LanguageInfo{
Name: "MiniYAML",
FSName: "",
Type: TypeForString("data"),
Color: "#ff1111",
Group: "",
Aliases: []string{},
Extensions: []string{
".yaml",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-yaml",
TMScope: "source.miniyaml",
AceMode: "yaml",
CodeMirrorMode: "yaml",
Wrap: false,
LanguageID: 4896465,
},
968740319: LanguageInfo{
Name: "Mint",
FSName: "",
Type: TypeForString("programming"),
Color: "#02b046",
Group: "",
Aliases: []string{},
Extensions: []string{
".mint",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.mint",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 968740319,
},
232: LanguageInfo{ 232: LanguageInfo{
Name: "Mirah", Name: "Mirah",
FSName: "", FSName: "",
@ -8805,6 +9028,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 294, LanguageID: 294,
}, },
305313959: LanguageInfo{
Name: "Procfile",
FSName: "",
Type: TypeForString("programming"),
Color: "#3B2F63",
Group: "",
Aliases: []string{},
Extensions: []string{},
Interpreters: []string{},
Filenames: []string{
"Procfile",
},
MimeType: "",
TMScope: "source.procfile",
AceMode: "batchfile",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 305313959,
},
716513858: LanguageInfo{ 716513858: LanguageInfo{
Name: "Proguard", Name: "Proguard",
FSName: "", FSName: "",
@ -8909,6 +9151,30 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 297, LanguageID: 297,
}, },
436568854: LanguageInfo{
Name: "Protocol Buffer Text Format",
FSName: "",
Type: TypeForString("data"),
Color: "",
Group: "",
Aliases: []string{
"text proto",
"protobuf text format",
},
Extensions: []string{
".textproto",
".pbt",
".pbtxt",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.textproto",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 436568854,
},
298: LanguageInfo{ 298: LanguageInfo{
Name: "Public Key", Name: "Public Key",
FSName: "", FSName: "",
@ -9381,6 +9647,29 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 1031374237, LanguageID: 1031374237,
}, },
609977990: LanguageInfo{
Name: "RPGLE",
FSName: "",
Type: TypeForString("programming"),
Color: "#2BDE21",
Group: "",
Aliases: []string{
"ile rpg",
"sqlrpgle",
},
Extensions: []string{
".rpgle",
".sqlrpgle",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.rpgle",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 609977990,
},
314: LanguageInfo{ 314: LanguageInfo{
Name: "RPM Spec", Name: "RPM Spec",
FSName: "", FSName: "",
@ -10036,6 +10325,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
"Puppetfile", "Puppetfile",
"Rakefile", "Rakefile",
"Snapfile", "Snapfile",
"Steepfile",
"Thorfile", "Thorfile",
"Vagrantfile", "Vagrantfile",
"buildfile", "buildfile",
@ -10573,6 +10863,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".tmux", ".tmux",
".tool", ".tool",
".zsh", ".zsh",
".zsh-theme",
}, },
Interpreters: []string{ Interpreters: []string{
"ash", "ash",
@ -12166,6 +12457,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 391, LanguageID: 391,
}, },
1055641948: LanguageInfo{
Name: "Vyper",
FSName: "",
Type: TypeForString("programming"),
Color: "#2980b9",
Group: "",
Aliases: []string{},
Extensions: []string{
".vy",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.vyper",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 1055641948,
},
392: LanguageInfo{ 392: LanguageInfo{
Name: "Wavefront Material", Name: "Wavefront Material",
FSName: "", FSName: "",
@ -12348,6 +12658,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 969674868, LanguageID: 969674868,
}, },
686821385: LanguageInfo{
Name: "Witcher Script",
FSName: "",
Type: TypeForString("programming"),
Color: "#ff0000",
Group: "",
Aliases: []string{},
Extensions: []string{
".ws",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.witcherscript",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 686821385,
},
632745969: LanguageInfo{ 632745969: LanguageInfo{
Name: "Wollok", Name: "Wollok",
FSName: "", FSName: "",
@ -12528,6 +12857,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".adml", ".adml",
".admx", ".admx",
".ant", ".ant",
".axaml",
".axml", ".axml",
".builds", ".builds",
".ccproj", ".ccproj",
@ -13128,6 +13458,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Extensions: []string{ Extensions: []string{
".desktop", ".desktop",
".desktop.in", ".desktop.in",
".service",
}, },
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{}, Filenames: []string{},
@ -13224,6 +13555,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 415, LanguageID: 415,
}, },
560883276: LanguageInfo{
Name: "hoon",
FSName: "",
Type: TypeForString("programming"),
Color: "#00b171",
Group: "",
Aliases: []string{},
Extensions: []string{
".hoon",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.hoon",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 560883276,
},
905371884: LanguageInfo{ 905371884: LanguageInfo{
Name: "jq", Name: "jq",
FSName: "", FSName: "",
@ -13243,6 +13593,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 905371884, LanguageID: 905371884,
}, },
970675279: LanguageInfo{
Name: "kvlang",
FSName: "",
Type: TypeForString("markup"),
Color: "#1da6e0",
Group: "",
Aliases: []string{},
Extensions: []string{
".kv",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.python.kivy",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 970675279,
},
517654727: LanguageInfo{ 517654727: LanguageInfo{
Name: "mIRC Script", Name: "mIRC Script",
FSName: "", FSName: "",

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -42,6 +42,7 @@ var LanguagesMime = map[string]string{
"D": "text/x-d", "D": "text/x-d",
"DTrace": "text/x-csrc", "DTrace": "text/x-csrc",
"Dart": "application/dart", "Dart": "application/dart",
"DenizenScript": "text/x-yaml",
"Dhall": "text/x-haskell", "Dhall": "text/x-haskell",
"Diff": "text/x-diff", "Diff": "text/x-diff",
"Dockerfile": "text/x-dockerfile", "Dockerfile": "text/x-dockerfile",
@ -68,6 +69,7 @@ var LanguagesMime = map[string]string{
"FreeBasic": "text/x-vb", "FreeBasic": "text/x-vb",
"GCC Machine Description": "text/x-common-lisp", "GCC Machine Description": "text/x-common-lisp",
"GN": "text/x-python", "GN": "text/x-python",
"GSC": "text/x-csrc",
"Game Maker Language": "text/x-c++src", "Game Maker Language": "text/x-c++src",
"Genshi": "text/xml", "Genshi": "text/xml",
"Gentoo Ebuild": "text/x-sh", "Gentoo Ebuild": "text/x-sh",
@ -101,6 +103,7 @@ var LanguagesMime = map[string]string{
"JSON5": "application/json", "JSON5": "application/json",
"JSONLD": "application/json", "JSONLD": "application/json",
"JSONiq": "application/json", "JSONiq": "application/json",
"Janet": "text/x-scheme",
"Java": "text/x-java", "Java": "text/x-java",
"Java Properties": "text/x-properties", "Java Properties": "text/x-properties",
"Java Server Pages": "application/x-jsp", "Java Server Pages": "application/x-jsp",
@ -135,6 +138,7 @@ var LanguagesMime = map[string]string{
"Maven POM": "text/xml", "Maven POM": "text/xml",
"Max": "application/json", "Max": "application/json",
"Metal": "text/x-c++src", "Metal": "text/x-c++src",
"MiniYAML": "text/x-yaml",
"Mirah": "text/x-ruby", "Mirah": "text/x-ruby",
"Modelica": "text/x-modelica", "Modelica": "text/x-modelica",
"Mustache": "text/x-smarty", "Mustache": "text/x-smarty",

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -47,6 +47,7 @@ func TypeForString(s string) Type {
var LanguagesType = map[string]int{ var LanguagesType = map[string]int{
"1C Enterprise": 2, "1C Enterprise": 2,
"2-Dimensional Array": 1,
"4D": 2, "4D": 2,
"ABAP": 2, "ABAP": 2,
"ABAP CDS": 2, "ABAP CDS": 2,
@ -129,6 +130,7 @@ var LanguagesType = map[string]int{
"ChucK": 2, "ChucK": 2,
"Cirru": 2, "Cirru": 2,
"Clarion": 2, "Clarion": 2,
"Clarity": 2,
"Classic ASP": 2, "Classic ASP": 2,
"Clean": 2, "Clean": 2,
"Click": 2, "Click": 2,
@ -153,6 +155,7 @@ var LanguagesType = map[string]int{
"Csound Score": 2, "Csound Score": 2,
"Cuda": 2, "Cuda": 2,
"Cue Sheet": 1, "Cue Sheet": 1,
"Curry": 2,
"Cycript": 2, "Cycript": 2,
"Cython": 2, "Cython": 2,
"D": 2, "D": 2,
@ -165,6 +168,8 @@ var LanguagesType = map[string]int{
"Darcs Patch": 1, "Darcs Patch": 1,
"Dart": 2, "Dart": 2,
"DataWeave": 2, "DataWeave": 2,
"Debian Package Control File": 1,
"DenizenScript": 2,
"Dhall": 2, "Dhall": 2,
"Diff": 1, "Diff": 1,
"DirectX 3D File": 1, "DirectX 3D File": 1,
@ -190,6 +195,7 @@ var LanguagesType = map[string]int{
"Emacs Lisp": 2, "Emacs Lisp": 2,
"EmberScript": 2, "EmberScript": 2,
"Erlang": 2, "Erlang": 2,
"Euphoria": 2,
"F#": 2, "F#": 2,
"F*": 2, "F*": 2,
"FIGlet Font": 1, "FIGlet Font": 1,
@ -220,6 +226,7 @@ var LanguagesType = map[string]int{
"GEDCOM": 1, "GEDCOM": 1,
"GLSL": 2, "GLSL": 2,
"GN": 1, "GN": 1,
"GSC": 2,
"Game Maker Language": 2, "Game Maker Language": 2,
"Gemfile.lock": 1, "Gemfile.lock": 1,
"Genie": 2, "Genie": 2,
@ -231,6 +238,7 @@ var LanguagesType = map[string]int{
"Gherkin": 2, "Gherkin": 2,
"Git Attributes": 1, "Git Attributes": 1,
"Git Config": 1, "Git Config": 1,
"Gleam": 2,
"Glyph": 2, "Glyph": 2,
"Glyph Bitmap Distribution Format": 1, "Glyph Bitmap Distribution Format": 1,
"Gnuplot": 2, "Gnuplot": 2,
@ -289,6 +297,7 @@ var LanguagesType = map[string]int{
"JSON5": 1, "JSON5": 1,
"JSONLD": 1, "JSONLD": 1,
"JSONiq": 2, "JSONiq": 2,
"Janet": 2,
"Jasmin": 2, "Jasmin": 2,
"Java": 2, "Java": 2,
"Java Properties": 1, "Java Properties": 1,
@ -363,6 +372,8 @@ var LanguagesType = map[string]int{
"Microsoft Developer Studio Project": 1, "Microsoft Developer Studio Project": 1,
"Microsoft Visual Studio Solution": 1, "Microsoft Visual Studio Solution": 1,
"MiniD": 2, "MiniD": 2,
"MiniYAML": 1,
"Mint": 2,
"Mirah": 2, "Mirah": 2,
"Modelica": 2, "Modelica": 2,
"Modula-2": 2, "Modula-2": 2,
@ -452,11 +463,13 @@ var LanguagesType = map[string]int{
"PowerShell": 2, "PowerShell": 2,
"Prisma": 1, "Prisma": 1,
"Processing": 2, "Processing": 2,
"Procfile": 2,
"Proguard": 1, "Proguard": 1,
"Prolog": 2, "Prolog": 2,
"Promela": 2, "Promela": 2,
"Propeller Spin": 2, "Propeller Spin": 2,
"Protocol Buffer": 1, "Protocol Buffer": 1,
"Protocol Buffer Text Format": 1,
"Public Key": 1, "Public Key": 1,
"Pug": 3, "Pug": 3,
"Puppet": 2, "Puppet": 2,
@ -478,6 +491,7 @@ var LanguagesType = map[string]int{
"REXX": 2, "REXX": 2,
"RMarkdown": 4, "RMarkdown": 4,
"RPC": 2, "RPC": 2,
"RPGLE": 2,
"RPM Spec": 1, "RPM Spec": 1,
"RUNOFF": 3, "RUNOFF": 3,
"Racket": 2, "Racket": 2,
@ -599,6 +613,7 @@ var LanguagesType = map[string]int{
"Visual Basic .NET": 2, "Visual Basic .NET": 2,
"Volt": 2, "Volt": 2,
"Vue": 3, "Vue": 3,
"Vyper": 2,
"Wavefront Material": 1, "Wavefront Material": 1,
"Wavefront Object": 1, "Wavefront Object": 1,
"Web Ontology Language": 1, "Web Ontology Language": 1,
@ -608,6 +623,7 @@ var LanguagesType = map[string]int{
"Wget Config": 1, "Wget Config": 1,
"Wikitext": 4, "Wikitext": 4,
"Windows Registry Entries": 1, "Windows Registry Entries": 1,
"Witcher Script": 2,
"Wollok": 2, "Wollok": 2,
"World of Warcraft Addon Data": 1, "World of Warcraft Addon Data": 1,
"X BitMap": 1, "X BitMap": 1,
@ -644,7 +660,9 @@ var LanguagesType = map[string]int{
"eC": 2, "eC": 2,
"edn": 1, "edn": 1,
"fish": 2, "fish": 2,
"hoon": 2,
"jq": 2, "jq": 2,
"kvlang": 3,
"mIRC Script": 2, "mIRC Script": 2,
"mcfunction": 2, "mcfunction": 2,
"mupad": 2, "mupad": 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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
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.MustCompile(`(^|/)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)$`),

View File

@ -19,7 +19,7 @@ import (
var ( var (
linguistURL = "https://github.com/github/linguist.git" linguistURL = "https://github.com/github/linguist.git"
linguistClonedEnvVar = "ENRY_TEST_REPO" linguistClonedEnvVar = "ENRY_TEST_REPO"
commit = "80f3531e8a1014a23f4606458e5a528053ed3cac" commit = "97bc889ce840208652bf09b45f3b7859de43fe8e"
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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -9,6 +9,7 @@ import "strings"
// All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores. // All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
var LanguageByAliasMap = map[string]string{ var LanguageByAliasMap = map[string]string{
"1c_enterprise": "1C Enterprise", "1c_enterprise": "1C Enterprise",
"2-dimensional_array": "2-Dimensional Array",
"4d": "4D", "4d": "4D",
"abap": "ABAP", "abap": "ABAP",
"abap_cds": "ABAP CDS", "abap_cds": "ABAP CDS",
@ -135,6 +136,7 @@ var LanguageByAliasMap = map[string]string{
"cil": "CIL", "cil": "CIL",
"cirru": "Cirru", "cirru": "Cirru",
"clarion": "Clarion", "clarion": "Clarion",
"clarity": "Clarity",
"classic_asp": "Classic ASP", "classic_asp": "Classic ASP",
"clean": "Clean", "clean": "Clean",
"click": "Click", "click": "Click",
@ -186,6 +188,7 @@ var LanguageByAliasMap = map[string]string{
"cue_sheet": "Cue Sheet", "cue_sheet": "Cue Sheet",
"curl_config": "cURL Config", "curl_config": "cURL Config",
"curlrc": "cURL Config", "curlrc": "cURL Config",
"curry": "Curry",
"cweb": "CWeb", "cweb": "CWeb",
"cwl": "Common Workflow Language", "cwl": "Common Workflow Language",
"cycript": "Cycript", "cycript": "Cycript",
@ -197,7 +200,9 @@ var LanguageByAliasMap = map[string]string{
"dart": "Dart", "dart": "Dart",
"dataweave": "DataWeave", "dataweave": "DataWeave",
"dcl": "DIGITAL Command Language", "dcl": "DIGITAL Command Language",
"debian_package_control_file": "Debian Package Control File",
"delphi": "Pascal", "delphi": "Pascal",
"denizenscript": "DenizenScript",
"desktop": "desktop", "desktop": "desktop",
"dhall": "Dhall", "dhall": "Dhall",
"diff": "Diff", "diff": "Diff",
@ -219,6 +224,7 @@ var LanguageByAliasMap = map[string]string{
"e": "E", "e": "E",
"e-mail": "E-mail", "e-mail": "E-mail",
"eagle": "Eagle", "eagle": "Eagle",
"earthfile": "Earthly",
"earthly": "Earthly", "earthly": "Earthly",
"easybuild": "Easybuild", "easybuild": "Easybuild",
"ebnf": "EBNF", "ebnf": "EBNF",
@ -247,6 +253,7 @@ var LanguageByAliasMap = map[string]string{
"eq": "EQ", "eq": "EQ",
"erb": "HTML+ERB", "erb": "HTML+ERB",
"erlang": "Erlang", "erlang": "Erlang",
"euphoria": "Euphoria",
"f#": "F#", "f#": "F#",
"f*": "F*", "f*": "F*",
"factor": "Factor", "factor": "Factor",
@ -301,6 +308,7 @@ var LanguageByAliasMap = map[string]string{
"gitconfig": "Git Config", "gitconfig": "Git Config",
"gitignore": "Ignore List", "gitignore": "Ignore List",
"gitmodules": "Git Config", "gitmodules": "Git Config",
"gleam": "Gleam",
"glsl": "GLSL", "glsl": "GLSL",
"glyph": "Glyph", "glyph": "Glyph",
"glyph_bitmap_distribution_format": "Glyph Bitmap Distribution Format", "glyph_bitmap_distribution_format": "Glyph Bitmap Distribution Format",
@ -325,6 +333,7 @@ var LanguageByAliasMap = map[string]string{
"groff": "Roff", "groff": "Roff",
"groovy": "Groovy", "groovy": "Groovy",
"groovy_server_pages": "Groovy Server Pages", "groovy_server_pages": "Groovy Server Pages",
"gsc": "GSC",
"gsp": "Groovy Server Pages", "gsp": "Groovy Server Pages",
"hack": "Hack", "hack": "Hack",
"haml": "Haml", "haml": "Haml",
@ -341,6 +350,7 @@ var LanguageByAliasMap = map[string]string{
"hiveql": "HiveQL", "hiveql": "HiveQL",
"hlsl": "HLSL", "hlsl": "HLSL",
"holyc": "HolyC", "holyc": "HolyC",
"hoon": "hoon",
"html": "HTML", "html": "HTML",
"html+django": "Jinja", "html+django": "Jinja",
"html+ecr": "HTML+ECR", "html+ecr": "HTML+ECR",
@ -366,6 +376,7 @@ var LanguageByAliasMap = map[string]string{
"igor_pro": "IGOR Pro", "igor_pro": "IGOR Pro",
"igorpro": "IGOR Pro", "igorpro": "IGOR Pro",
"ijm": "ImageJ Macro", "ijm": "ImageJ Macro",
"ile_rpg": "RPGLE",
"imagej_macro": "ImageJ Macro", "imagej_macro": "ImageJ Macro",
"inc": "PHP", "inc": "PHP",
"inform7": "Inform 7", "inform7": "Inform 7",
@ -382,6 +393,7 @@ var LanguageByAliasMap = map[string]string{
"isabelle": "Isabelle", "isabelle": "Isabelle",
"isabelle_root": "Isabelle ROOT", "isabelle_root": "Isabelle ROOT",
"j": "J", "j": "J",
"janet": "Janet",
"jar_manifest": "JAR Manifest", "jar_manifest": "JAR Manifest",
"jasmin": "Jasmin", "jasmin": "Jasmin",
"java": "Java", "java": "Java",
@ -422,6 +434,7 @@ var LanguageByAliasMap = map[string]string{
"krl": "KRL", "krl": "KRL",
"ksy": "Kaitai Struct", "ksy": "Kaitai Struct",
"kusto": "Kusto", "kusto": "Kusto",
"kvlang": "kvlang",
"labview": "LabVIEW", "labview": "LabVIEW",
"lark": "Lark", "lark": "Lark",
"lasso": "Lasso", "lasso": "Lasso",
@ -431,6 +444,7 @@ var LanguageByAliasMap = map[string]string{
"lean": "Lean", "lean": "Lean",
"leex": "HTML+EEX", "leex": "HTML+EEX",
"less": "Less", "less": "Less",
"less-css": "Less",
"lex": "Lex", "lex": "Lex",
"lfe": "LFE", "lfe": "LFE",
"lhaskell": "Literate Haskell", "lhaskell": "Literate Haskell",
@ -494,6 +508,8 @@ var LanguageByAliasMap = map[string]string{
"microsoft_developer_studio_project": "Microsoft Developer Studio Project", "microsoft_developer_studio_project": "Microsoft Developer Studio Project",
"microsoft_visual_studio_solution": "Microsoft Visual Studio Solution", "microsoft_visual_studio_solution": "Microsoft Visual Studio Solution",
"minid": "MiniD", "minid": "MiniD",
"miniyaml": "MiniYAML",
"mint": "Mint",
"mirah": "Mirah", "mirah": "Mirah",
"mirc_script": "mIRC Script", "mirc_script": "mIRC Script",
"mlir": "MLIR", "mlir": "MLIR",
@ -636,13 +652,16 @@ var LanguageByAliasMap = map[string]string{
"powershell": "PowerShell", "powershell": "PowerShell",
"prisma": "Prisma", "prisma": "Prisma",
"processing": "Processing", "processing": "Processing",
"procfile": "Procfile",
"progress": "OpenEdge ABL", "progress": "OpenEdge ABL",
"proguard": "Proguard", "proguard": "Proguard",
"prolog": "Prolog", "prolog": "Prolog",
"promela": "Promela", "promela": "Promela",
"propeller_spin": "Propeller Spin", "propeller_spin": "Propeller Spin",
"protobuf": "Protocol Buffer", "protobuf": "Protocol Buffer",
"protobuf_text_format": "Protocol Buffer Text Format",
"protocol_buffer": "Protocol Buffer", "protocol_buffer": "Protocol Buffer",
"protocol_buffer_text_format": "Protocol Buffer Text Format",
"protocol_buffers": "Protocol Buffer", "protocol_buffers": "Protocol Buffer",
"public_key": "Public Key", "public_key": "Public Key",
"pug": "Pug", "pug": "Pug",
@ -714,6 +733,7 @@ var LanguageByAliasMap = map[string]string{
"rouge": "Rouge", "rouge": "Rouge",
"rpc": "RPC", "rpc": "RPC",
"rpcgen": "RPC", "rpcgen": "RPC",
"rpgle": "RPGLE",
"rpm_spec": "RPM Spec", "rpm_spec": "RPM Spec",
"rs": "Rust", "rs": "Rust",
"rs-274x": "Gerber Image", "rs-274x": "Gerber Image",
@ -773,6 +793,7 @@ var LanguageByAliasMap = map[string]string{
"sqf": "SQF", "sqf": "SQF",
"sql": "SQL", "sql": "SQL",
"sqlpl": "SQLPL", "sqlpl": "SQLPL",
"sqlrpgle": "RPGLE",
"squeak": "Smalltalk", "squeak": "Smalltalk",
"squirrel": "Squirrel", "squirrel": "Squirrel",
"srecode_template": "SRecode Template", "srecode_template": "SRecode Template",
@ -800,6 +821,7 @@ var LanguageByAliasMap = map[string]string{
"tex": "TeX", "tex": "TeX",
"texinfo": "Texinfo", "texinfo": "Texinfo",
"text": "Text", "text": "Text",
"text_proto": "Protocol Buffer Text Format",
"textile": "Textile", "textile": "Textile",
"textmate_properties": "TextMate Properties", "textmate_properties": "TextMate Properties",
"thrift": "Thrift", "thrift": "Thrift",
@ -856,6 +878,7 @@ var LanguageByAliasMap = map[string]string{
"vlang": "V", "vlang": "V",
"volt": "Volt", "volt": "Volt",
"vue": "Vue", "vue": "Vue",
"vyper": "Vyper",
"wasm": "WebAssembly", "wasm": "WebAssembly",
"wast": "WebAssembly", "wast": "WebAssembly",
"wavefront_material": "Wavefront Material", "wavefront_material": "Wavefront Material",
@ -872,6 +895,7 @@ 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",
"witcher_script": "Witcher Script",
"wl": "Mathematica", "wl": "Mathematica",
"wolfram": "Mathematica", "wolfram": "Mathematica",
"wolfram_lang": "Mathematica", "wolfram_lang": "Mathematica",

View File

@ -1,10 +1,11 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
var LanguagesColor = map[string]string{ var LanguagesColor = map[string]string{
"1C Enterprise": "#814CCC", "1C Enterprise": "#814CCC",
"2-Dimensional Array": "#38761D",
"4D": "#004289", "4D": "#004289",
"ABAP": "#E8274B", "ABAP": "#E8274B",
"ABAP CDS": "#555e25", "ABAP CDS": "#555e25",
@ -76,6 +77,7 @@ var LanguagesColor = map[string]string{
"ChucK": "#3f8000", "ChucK": "#3f8000",
"Cirru": "#ccccff", "Cirru": "#ccccff",
"Clarion": "#db901e", "Clarion": "#db901e",
"Clarity": "#5546ff",
"Classic ASP": "#6a40fd", "Classic ASP": "#6a40fd",
"Clean": "#3F85AF", "Clean": "#3F85AF",
"Click": "#E4E6F3", "Click": "#E4E6F3",
@ -95,6 +97,7 @@ var LanguagesColor = map[string]string{
"Csound Document": "#1a1a1a", "Csound Document": "#1a1a1a",
"Csound Score": "#1a1a1a", "Csound Score": "#1a1a1a",
"Cuda": "#3A4E3A", "Cuda": "#3A4E3A",
"Curry": "#531242",
"Cython": "#fedf5b", "Cython": "#fedf5b",
"D": "#ba595e", "D": "#ba595e",
"DM": "#447265", "DM": "#447265",
@ -102,6 +105,8 @@ var LanguagesColor = map[string]string{
"Darcs Patch": "#8eff23", "Darcs Patch": "#8eff23",
"Dart": "#00B4AB", "Dart": "#00B4AB",
"DataWeave": "#003a52", "DataWeave": "#003a52",
"Debian Package Control File": "#D70751",
"DenizenScript": "#FBEE96",
"Dhall": "#dfafff", "Dhall": "#dfafff",
"DirectX 3D File": "#aace60", "DirectX 3D File": "#aace60",
"Dockerfile": "#384d54", "Dockerfile": "#384d54",
@ -122,6 +127,7 @@ var LanguagesColor = map[string]string{
"Emacs Lisp": "#c065db", "Emacs Lisp": "#c065db",
"EmberScript": "#FFF4F3", "EmberScript": "#FFF4F3",
"Erlang": "#B83998", "Erlang": "#B83998",
"Euphoria": "#FF790B",
"F#": "#b845fc", "F#": "#b845fc",
"F*": "#572e30", "F*": "#572e30",
"FIGlet Font": "#FFDDBB", "FIGlet Font": "#FFDDBB",
@ -148,6 +154,7 @@ var LanguagesColor = map[string]string{
"GDScript": "#355570", "GDScript": "#355570",
"GEDCOM": "#003058", "GEDCOM": "#003058",
"GLSL": "#5686a5", "GLSL": "#5686a5",
"GSC": "#FF6800",
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Gemfile.lock": "#701516", "Gemfile.lock": "#701516",
"Genie": "#fb855d", "Genie": "#fb855d",
@ -158,6 +165,7 @@ var LanguagesColor = map[string]string{
"Gherkin": "#5B2063", "Gherkin": "#5B2063",
"Git Attributes": "#F44D27", "Git Attributes": "#F44D27",
"Git Config": "#F44D27", "Git Config": "#F44D27",
"Gleam": "#ffaff3",
"Glyph": "#c1ac7f", "Glyph": "#c1ac7f",
"Gnuplot": "#f0a9f0", "Gnuplot": "#f0a9f0",
"Go": "#00ADD8", "Go": "#00ADD8",
@ -210,6 +218,7 @@ var LanguagesColor = map[string]string{
"JSON5": "#267CB9", "JSON5": "#267CB9",
"JSONLD": "#0c479c", "JSONLD": "#0c479c",
"JSONiq": "#40d47e", "JSONiq": "#40d47e",
"Janet": "#0886a5",
"Jasmin": "#d03600", "Jasmin": "#d03600",
"Java": "#b07219", "Java": "#b07219",
"Java Properties": "#2A6277", "Java Properties": "#2A6277",
@ -267,6 +276,8 @@ var LanguagesColor = map[string]string{
"Mercury": "#ff2b2b", "Mercury": "#ff2b2b",
"Meson": "#007800", "Meson": "#007800",
"Metal": "#8f14e9", "Metal": "#8f14e9",
"MiniYAML": "#ff1111",
"Mint": "#02b046",
"Mirah": "#c7a938", "Mirah": "#c7a938",
"Modelica": "#de1d31", "Modelica": "#de1d31",
"Modula-2": "#10253f", "Modula-2": "#10253f",
@ -331,6 +342,7 @@ var LanguagesColor = map[string]string{
"PowerShell": "#012456", "PowerShell": "#012456",
"Prisma": "#0c344b", "Prisma": "#0c344b",
"Processing": "#0096D8", "Processing": "#0096D8",
"Procfile": "#3B2F63",
"Prolog": "#74283c", "Prolog": "#74283c",
"Promela": "#de0000", "Promela": "#de0000",
"Propeller Spin": "#7fa2a7", "Propeller Spin": "#7fa2a7",
@ -350,6 +362,7 @@ var LanguagesColor = map[string]string{
"RDoc": "#701516", "RDoc": "#701516",
"REXX": "#d90e09", "REXX": "#d90e09",
"RMarkdown": "#198ce7", "RMarkdown": "#198ce7",
"RPGLE": "#2BDE21",
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#3c5caa", "Racket": "#3c5caa",
"Ragel": "#9d5200", "Ragel": "#9d5200",
@ -446,10 +459,12 @@ var LanguagesColor = map[string]string{
"Visual Basic .NET": "#945db7", "Visual Basic .NET": "#945db7",
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#41b883", "Vue": "#41b883",
"Vyper": "#2980b9",
"Web Ontology Language": "#5b70bd", "Web Ontology Language": "#5b70bd",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
"Wikitext": "#fc5757", "Wikitext": "#fc5757",
"Windows Registry Entries": "#52d5ff", "Windows Registry Entries": "#52d5ff",
"Witcher Script": "#ff0000",
"Wollok": "#a23738", "Wollok": "#a23738",
"World of Warcraft Addon Data": "#f7e43f", "World of Warcraft Addon Data": "#f7e43f",
"X10": "#4B6BEF", "X10": "#4B6BEF",
@ -473,7 +488,9 @@ var LanguagesColor = map[string]string{
"Zimpl": "#d67711", "Zimpl": "#d67711",
"eC": "#913960", "eC": "#913960",
"fish": "#4aae47", "fish": "#4aae47",
"hoon": "#00b171",
"jq": "#c7254e", "jq": "#c7254e",
"kvlang": "#1da6e0",
"mIRC Script": "#3d57c3", "mIRC Script": "#3d57c3",
"mcfunction": "#E22837", "mcfunction": "#E22837",
"mupad": "#244963", "mupad": "#244963",

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

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -697,6 +697,12 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^(\s*namespace\s*[\w\.]+\s*{|\s*\/\/)`), regexp.MustCompile(`(?m)^(\s*namespace\s*[\w\.]+\s*{|\s*\/\/)`),
), ),
}, },
".csc": &Heuristics{
rule.Or(
rule.MatchingLanguages("GSC"),
regexp.MustCompile(`(?m)^\s*#\s*(?:using|insert|include|define|namespace)[ \t]+\w|^\s*(?>(?:autoexec|private)\s+){0,2}function\s+(?>(?:autoexec|private)\s+){0,2}\w+\s*\(|\b(?:level|self)[ \t]+thread[ \t]+(?:\[\[[ \t]*(?>\w+\.)*\w+[ \t]*\]\]|\w+)[ \t]*\([^\r\n\)]*\)[ \t]*;|^[ \t]*#[ \t]*(?:precache|using_animtree)[ \t]*\(`),
),
},
".csl": &Heuristics{ ".csl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
@ -731,6 +737,20 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)\bprocess\s*[(=]|\b(library|import)\s*\(\s*"|\bdeclare\s+(name|version|author|copyright|license)\s+"`), regexp.MustCompile(`(?m)\bprocess\s*[(=]|\b(library|import)\s*\(\s*"|\bdeclare\s+(name|version|author|copyright|license)\s+"`),
), ),
}, },
".e": &Heuristics{
rule.Or(
rule.MatchingLanguages("E"),
regexp.MustCompile(`(?m)^\s*(def|var)\s+(.+):=|^\s*(def|to)\s+(\w+)(\(.+\))?\s+{|^\s*(when)\s+(\(.+\))\s+->\s+{`),
),
rule.Or(
rule.MatchingLanguages("Eiffel"),
regexp.MustCompile(`(?m)^\s*\w+\s*(?:,\s*\w+)*[:]\s*\w+\s|^\s*\w+\s*(?:\(\s*\w+[:][^)]+\))?(?:[:]\s*\w+)?(?:--.+\s+)*\s+(?:do|local)\s|^\s*(?:across|deferred|elseif|ensure|feature|from|inherit|inspect|invariant|note|once|require|undefine|variant|when)\s*$`),
),
rule.Or(
rule.MatchingLanguages("Euphoria"),
regexp.MustCompile(`(?m)^\s*namespace\s|^\s*(?:public\s+)?include\s|^\s*(?:(?:public|export|global)\s+)?(?:atom|constant|enum|function|integer|object|procedure|sequence|type)\s`),
),
},
".ecl": &Heuristics{ ".ecl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("ECLiPSe"), rule.MatchingLanguages("ECLiPSe"),
@ -747,6 +767,16 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^\s*(?:%%|main\s*\(.*?\)\s*->)`), regexp.MustCompile(`(?m)^\s*(?:%%|main\s*\(.*?\)\s*->)`),
), ),
}, },
".ex": &Heuristics{
rule.Or(
rule.MatchingLanguages("Elixir"),
regexp.MustCompile(`(?m)^\s*@moduledoc\s|^\s*(?:cond|import|quote|unless)\s|^\s*def(?:exception|impl|macro|module|protocol)[(\s]`),
),
rule.Or(
rule.MatchingLanguages("Euphoria"),
regexp.MustCompile(`(?m)^\s*namespace\s|^\s*(?:public\s+)?include\s|^\s*(?:(?:public|export|global)\s+)?(?:atom|constant|enum|function|integer|object|procedure|sequence|type)\s`),
),
},
".f": &Heuristics{ ".f": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Forth"), rule.MatchingLanguages("Forth"),
@ -849,6 +879,18 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^\[indent=[0-9]+\]`), regexp.MustCompile(`(?m)^\[indent=[0-9]+\]`),
), ),
}, },
".gsc": &Heuristics{
rule.Or(
rule.MatchingLanguages("GSC"),
regexp.MustCompile(`(?m)^\s*#\s*(?:using|insert|include|define|namespace)[ \t]+\w|^\s*(?>(?:autoexec|private)\s+){0,2}function\s+(?>(?:autoexec|private)\s+){0,2}\w+\s*\(|\b(?:level|self)[ \t]+thread[ \t]+(?:\[\[[ \t]*(?>\w+\.)*\w+[ \t]*\]\]|\w+)[ \t]*\([^\r\n\)]*\)[ \t]*;|^[ \t]*#[ \t]*(?:precache|using_animtree)[ \t]*\(`),
),
},
".gsh": &Heuristics{
rule.Or(
rule.MatchingLanguages("GSC"),
regexp.MustCompile(`(?m)^\s*#\s*(?:using|insert|include|define|namespace)[ \t]+\w|^\s*(?>(?:autoexec|private)\s+){0,2}function\s+(?>(?:autoexec|private)\s+){0,2}\w+\s*\(|\b(?:level|self)[ \t]+thread[ \t]+(?:\[\[[ \t]*(?>\w+\.)*\w+[ \t]*\]\]|\w+)[ \t]*\([^\r\n\)]*\)[ \t]*;|^[ \t]*#[ \t]*(?:precache|using_animtree)[ \t]*\(`),
),
},
".h": &Heuristics{ ".h": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Objective-C"), rule.MatchingLanguages("Objective-C"),
@ -1035,7 +1077,7 @@ var ContentHeuristics = map[string]*Heuristics{
}, },
".mask": &Heuristics{ ".mask": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Unity3d Asset"), rule.MatchingLanguages("Unity3D Asset"),
regexp.MustCompile(`(?m)tag:unity3d.com`), regexp.MustCompile(`(?m)tag:unity3d.com`),
), ),
}, },
@ -1543,6 +1585,15 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS`), regexp.MustCompile(`(?m)OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS`),
), ),
}, },
".yaml": &Heuristics{
rule.Or(
rule.MatchingLanguages("MiniYAML"),
regexp.MustCompile(`(?m)^\t+.*?[^\s:].*?:`),
),
rule.Always(
rule.MatchingLanguages("YAML"),
),
},
".yy": &Heuristics{ ".yy": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("JSON"), rule.MatchingLanguages("JSON"),

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -9,6 +9,7 @@ var LanguagesByExtension = map[string][]string{
".1m": {"Roff", "Roff Manpage"}, ".1m": {"Roff", "Roff Manpage"},
".1x": {"Roff", "Roff Manpage"}, ".1x": {"Roff", "Roff Manpage"},
".2": {"Roff", "Roff Manpage"}, ".2": {"Roff", "Roff Manpage"},
".2da": {"2-Dimensional Array"},
".3": {"Roff", "Roff Manpage"}, ".3": {"Roff", "Roff Manpage"},
".3in": {"Roff", "Roff Manpage"}, ".3in": {"Roff", "Roff Manpage"},
".3m": {"Roff", "Roff Manpage"}, ".3m": {"Roff", "Roff Manpage"},
@ -91,6 +92,7 @@ var LanguagesByExtension = map[string][]string{
".avsc": {"JSON"}, ".avsc": {"JSON"},
".aw": {"PHP"}, ".aw": {"PHP"},
".awk": {"Awk"}, ".awk": {"Awk"},
".axaml": {"XML"},
".axd": {"ASP.NET"}, ".axd": {"ASP.NET"},
".axi": {"NetLinx"}, ".axi": {"NetLinx"},
".axi.erb": {"NetLinx+ERB"}, ".axi.erb": {"NetLinx+ERB"},
@ -163,6 +165,7 @@ var LanguagesByExtension = map[string][]string{
".ck": {"ChucK"}, ".ck": {"ChucK"},
".cl": {"Common Lisp", "Cool", "OpenCL"}, ".cl": {"Common Lisp", "Cool", "OpenCL"},
".cl2": {"Clojure"}, ".cl2": {"Clojure"},
".clar": {"Clarity"},
".click": {"Click"}, ".click": {"Click"},
".clixml": {"XML"}, ".clixml": {"XML"},
".clj": {"Clojure"}, ".clj": {"Clojure"},
@ -182,6 +185,7 @@ var LanguagesByExtension = map[string][]string{
".cob": {"COBOL"}, ".cob": {"COBOL"},
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".cocci": {"SmPL"}, ".cocci": {"SmPL"},
".code-snippets": {"JSON with Comments"},
".coffee": {"CoffeeScript"}, ".coffee": {"CoffeeScript"},
".coffee.md": {"Literate CoffeeScript"}, ".coffee.md": {"Literate CoffeeScript"},
".com": {"DIGITAL Command Language"}, ".com": {"DIGITAL Command Language"},
@ -200,6 +204,7 @@ var LanguagesByExtension = map[string][]string{
".cr": {"Crystal"}, ".cr": {"Crystal"},
".creole": {"Creole"}, ".creole": {"Creole"},
".cs": {"C#", "Smalltalk"}, ".cs": {"C#", "Smalltalk"},
".csc": {"GSC"},
".cscfg": {"XML"}, ".cscfg": {"XML"},
".csd": {"Csound Document"}, ".csd": {"Csound Document"},
".csdef": {"XML"}, ".csdef": {"XML"},
@ -216,6 +221,7 @@ var LanguagesByExtension = map[string][]string{
".cu": {"Cuda"}, ".cu": {"Cuda"},
".cue": {"CUE", "Cue Sheet"}, ".cue": {"CUE", "Cue Sheet"},
".cuh": {"Cuda"}, ".cuh": {"Cuda"},
".curry": {"Curry"},
".cw": {"Redcode"}, ".cw": {"Redcode"},
".cwl": {"Common Workflow Language"}, ".cwl": {"Common Workflow Language"},
".cxx": {"C++"}, ".cxx": {"C++"},
@ -256,6 +262,7 @@ var LanguagesByExtension = map[string][]string{
".dpatch": {"Darcs Patch"}, ".dpatch": {"Darcs Patch"},
".dpr": {"Pascal"}, ".dpr": {"Pascal"},
".druby": {"Mirah"}, ".druby": {"Mirah"},
".dsc": {"Debian Package Control File", "DenizenScript"},
".dsl": {"ASL"}, ".dsl": {"ASL"},
".dsp": {"Faust", "Microsoft Developer Studio Project"}, ".dsp": {"Faust", "Microsoft Developer Studio Project"},
".dtx": {"TeX"}, ".dtx": {"TeX"},
@ -264,7 +271,7 @@ var LanguagesByExtension = map[string][]string{
".dyalog": {"APL"}, ".dyalog": {"APL"},
".dyl": {"Dylan"}, ".dyl": {"Dylan"},
".dylan": {"Dylan"}, ".dylan": {"Dylan"},
".e": {"E", "Eiffel"}, ".e": {"E", "Eiffel", "Euphoria"},
".eam.fs": {"Formatted"}, ".eam.fs": {"Formatted"},
".eb": {"Easybuild"}, ".eb": {"Easybuild"},
".ebnf": {"EBNF"}, ".ebnf": {"EBNF"},
@ -301,7 +308,7 @@ var LanguagesByExtension = map[string][]string{
".es": {"Erlang", "JavaScript"}, ".es": {"Erlang", "JavaScript"},
".es6": {"JavaScript"}, ".es6": {"JavaScript"},
".escript": {"Erlang"}, ".escript": {"Erlang"},
".ex": {"Elixir"}, ".ex": {"Elixir", "Euphoria"},
".exs": {"Elixir"}, ".exs": {"Elixir"},
".eye": {"Ruby"}, ".eye": {"Ruby"},
".f": {"Filebench WML", "Forth", "Fortran"}, ".f": {"Filebench WML", "Forth", "Fortran"},
@ -374,6 +381,7 @@ var LanguagesByExtension = map[string][]string{
".gitignore": {"Ignore List"}, ".gitignore": {"Ignore List"},
".gko": {"Gerber Image"}, ".gko": {"Gerber Image"},
".glade": {"XML"}, ".glade": {"XML"},
".gleam": {"Gleam"},
".glf": {"Glyph"}, ".glf": {"Glyph"},
".glsl": {"GLSL"}, ".glsl": {"GLSL"},
".glslf": {"GLSL"}, ".glslf": {"GLSL"},
@ -402,6 +410,8 @@ var LanguagesByExtension = map[string][]string{
".grt": {"Groovy"}, ".grt": {"Groovy"},
".grxml": {"XML"}, ".grxml": {"XML"},
".gs": {"GLSL", "Genie", "Gosu", "JavaScript"}, ".gs": {"GLSL", "Genie", "Gosu", "JavaScript"},
".gsc": {"GSC"},
".gsh": {"GSC"},
".gshader": {"GLSL"}, ".gshader": {"GLSL"},
".gsp": {"Groovy Server Pages"}, ".gsp": {"Groovy Server Pages"},
".gst": {"Gosu", "XML"}, ".gst": {"Gosu", "XML"},
@ -433,6 +443,7 @@ var LanguagesByExtension = map[string][]string{
".hlean": {"Lean"}, ".hlean": {"Lean"},
".hlsl": {"HLSL"}, ".hlsl": {"HLSL"},
".hlsli": {"HLSL"}, ".hlsli": {"HLSL"},
".hoon": {"hoon"},
".hpp": {"C++"}, ".hpp": {"C++"},
".hqf": {"SQF"}, ".hqf": {"SQF"},
".hql": {"HiveQL"}, ".hql": {"HiveQL"},
@ -489,6 +500,7 @@ var LanguagesByExtension = map[string][]string{
".j2": {"Jinja"}, ".j2": {"Jinja"},
".jade": {"Pug"}, ".jade": {"Pug"},
".jake": {"JavaScript"}, ".jake": {"JavaScript"},
".janet": {"Janet"},
".jav": {"Java"}, ".jav": {"Java"},
".java": {"Java"}, ".java": {"Java"},
".javascript": {"JavaScript"}, ".javascript": {"JavaScript"},
@ -533,6 +545,7 @@ var LanguagesByExtension = map[string][]string{
".kt": {"Kotlin"}, ".kt": {"Kotlin"},
".ktm": {"Kotlin"}, ".ktm": {"Kotlin"},
".kts": {"Kotlin"}, ".kts": {"Kotlin"},
".kv": {"kvlang"},
".l": {"Common Lisp", "Lex", "PicoLisp", "Roff"}, ".l": {"Common Lisp", "Lex", "PicoLisp", "Roff"},
".lagda": {"Literate Agda"}, ".lagda": {"Literate Agda"},
".lark": {"Lark"}, ".lark": {"Lark"},
@ -613,6 +626,7 @@ var LanguagesByExtension = map[string][]string{
".metal": {"Metal"}, ".metal": {"Metal"},
".mg": {"Modula-3"}, ".mg": {"Modula-3"},
".minid": {"MiniD"}, ".minid": {"MiniD"},
".mint": {"Mint"},
".mir": {"YAML"}, ".mir": {"YAML"},
".mirah": {"Mirah"}, ".mirah": {"Mirah"},
".mjml": {"XML"}, ".mjml": {"XML"},
@ -744,7 +758,8 @@ var LanguagesByExtension = map[string][]string{
".patch": {"Diff"}, ".patch": {"Diff"},
".pb": {"PureBasic"}, ".pb": {"PureBasic"},
".pbi": {"PureBasic"}, ".pbi": {"PureBasic"},
".pbt": {"PowerBuilder"}, ".pbt": {"PowerBuilder", "Protocol Buffer Text Format"},
".pbtxt": {"Protocol Buffer Text Format"},
".pcbdoc": {"Altium Designer"}, ".pcbdoc": {"Altium Designer"},
".pck": {"PLSQL"}, ".pck": {"PLSQL"},
".pcss": {"PostCSS"}, ".pcss": {"PostCSS"},
@ -905,6 +920,7 @@ var LanguagesByExtension = map[string][]string{
".rockspec": {"Lua"}, ".rockspec": {"Lua"},
".roff": {"Roff"}, ".roff": {"Roff"},
".ronn": {"Markdown"}, ".ronn": {"Markdown"},
".rpgle": {"RPGLE"},
".rpy": {"Python", "Ren'Py"}, ".rpy": {"Python", "Ren'Py"},
".rq": {"SPARQL"}, ".rq": {"SPARQL"},
".rs": {"RenderScript", "Rust", "XML"}, ".rs": {"RenderScript", "Rust", "XML"},
@ -943,6 +959,7 @@ var LanguagesByExtension = map[string][]string{
".scxml": {"XML"}, ".scxml": {"XML"},
".sed": {"sed"}, ".sed": {"sed"},
".self": {"Self"}, ".self": {"Self"},
".service": {"desktop"},
".sexp": {"Common Lisp"}, ".sexp": {"Common Lisp"},
".sfd": {"Spline Font Database"}, ".sfd": {"Spline Font Database"},
".sfproj": {"XML"}, ".sfproj": {"XML"},
@ -981,6 +998,7 @@ var LanguagesByExtension = map[string][]string{
".sps": {"Scheme"}, ".sps": {"Scheme"},
".sqf": {"SQF"}, ".sqf": {"SQF"},
".sql": {"PLSQL", "PLpgSQL", "SQL", "SQLPL", "TSQL"}, ".sql": {"PLSQL", "PLpgSQL", "SQL", "SQLPL", "TSQL"},
".sqlrpgle": {"RPGLE"},
".sra": {"PowerBuilder"}, ".sra": {"PowerBuilder"},
".srdf": {"XML"}, ".srdf": {"XML"},
".srt": {"SRecode Template", "SubRip Text"}, ".srt": {"SRecode Template", "SubRip Text"},
@ -1035,6 +1053,7 @@ var LanguagesByExtension = map[string][]string{
".texi": {"Texinfo"}, ".texi": {"Texinfo"},
".texinfo": {"Texinfo"}, ".texinfo": {"Texinfo"},
".textile": {"Textile"}, ".textile": {"Textile"},
".textproto": {"Protocol Buffer Text Format"},
".tf": {"HCL"}, ".tf": {"HCL"},
".tfstate": {"JSON"}, ".tfstate": {"JSON"},
".tfstate.backup": {"JSON"}, ".tfstate.backup": {"JSON"},
@ -1123,6 +1142,7 @@ var LanguagesByExtension = map[string][]string{
".vue": {"Vue"}, ".vue": {"Vue"},
".vw": {"PLSQL"}, ".vw": {"PLSQL"},
".vxml": {"XML"}, ".vxml": {"XML"},
".vy": {"Vyper"},
".w": {"CWeb", "OpenEdge ABL"}, ".w": {"CWeb", "OpenEdge ABL"},
".wast": {"WebAssembly"}, ".wast": {"WebAssembly"},
".wat": {"WebAssembly"}, ".wat": {"WebAssembly"},
@ -1142,6 +1162,7 @@ var LanguagesByExtension = map[string][]string{
".wlua": {"Lua"}, ".wlua": {"Lua"},
".workbook": {"Markdown"}, ".workbook": {"Markdown"},
".workflow": {"HCL", "XML"}, ".workflow": {"HCL", "XML"},
".ws": {"Witcher Script"},
".wsdl": {"XML"}, ".wsdl": {"XML"},
".wsf": {"XML"}, ".wsf": {"XML"},
".wsgi": {"Python"}, ".wsgi": {"Python"},
@ -1199,7 +1220,7 @@ var LanguagesByExtension = map[string][]string{
".xzap": {"ZAP"}, ".xzap": {"ZAP"},
".y": {"Yacc"}, ".y": {"Yacc"},
".yacc": {"Yacc"}, ".yacc": {"Yacc"},
".yaml": {"YAML"}, ".yaml": {"MiniYAML", "YAML"},
".yaml-tmlanguage": {"YAML"}, ".yaml-tmlanguage": {"YAML"},
".yaml.sed": {"YAML"}, ".yaml.sed": {"YAML"},
".yang": {"YANG"}, ".yang": {"YANG"},
@ -1224,10 +1245,12 @@ var LanguagesByExtension = map[string][]string{
".zpl": {"Zimpl"}, ".zpl": {"Zimpl"},
".zs": {"ZenScript"}, ".zs": {"ZenScript"},
".zsh": {"Shell"}, ".zsh": {"Shell"},
".zsh-theme": {"Shell"},
} }
var ExtensionsByLanguage = map[string][]string{ var ExtensionsByLanguage = map[string][]string{
"1C Enterprise": {".bsl", ".os"}, "1C Enterprise": {".bsl", ".os"},
"2-Dimensional Array": {".2da"},
"4D": {".4dm"}, "4D": {".4dm"},
"ABAP": {".abap"}, "ABAP": {".abap"},
"ABAP CDS": {".asddls"}, "ABAP CDS": {".asddls"},
@ -1306,6 +1329,7 @@ var ExtensionsByLanguage = map[string][]string{
"ChucK": {".ck"}, "ChucK": {".ck"},
"Cirru": {".cirru"}, "Cirru": {".cirru"},
"Clarion": {".clw"}, "Clarion": {".clw"},
"Clarity": {".clar"},
"Classic ASP": {".asp"}, "Classic ASP": {".asp"},
"Clean": {".icl", ".dcl"}, "Clean": {".icl", ".dcl"},
"Click": {".click"}, "Click": {".click"},
@ -1329,6 +1353,7 @@ var ExtensionsByLanguage = map[string][]string{
"Csound Score": {".sco"}, "Csound Score": {".sco"},
"Cuda": {".cu", ".cuh"}, "Cuda": {".cu", ".cuh"},
"Cue Sheet": {".cue"}, "Cue Sheet": {".cue"},
"Curry": {".curry"},
"Cycript": {".cy"}, "Cycript": {".cy"},
"Cython": {".pyx", ".pxd", ".pxi"}, "Cython": {".pyx", ".pxd", ".pxi"},
"D": {".d", ".di"}, "D": {".d", ".di"},
@ -1341,6 +1366,8 @@ var ExtensionsByLanguage = map[string][]string{
"Darcs Patch": {".darcspatch", ".dpatch"}, "Darcs Patch": {".darcspatch", ".dpatch"},
"Dart": {".dart"}, "Dart": {".dart"},
"DataWeave": {".dwl"}, "DataWeave": {".dwl"},
"Debian Package Control File": {".dsc"},
"DenizenScript": {".dsc"},
"Dhall": {".dhall"}, "Dhall": {".dhall"},
"Diff": {".diff", ".patch"}, "Diff": {".diff", ".patch"},
"DirectX 3D File": {".x"}, "DirectX 3D File": {".x"},
@ -1364,6 +1391,7 @@ var ExtensionsByLanguage = map[string][]string{
"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.src", ".es", ".escript", ".hrl", ".xrl", ".yrl"},
"Euphoria": {".e", ".ex"},
"F#": {".fs", ".fsi", ".fsx"}, "F#": {".fs", ".fsi", ".fsx"},
"F*": {".fst"}, "F*": {".fst"},
"FIGlet Font": {".flf"}, "FIGlet Font": {".flf"},
@ -1394,6 +1422,7 @@ var ExtensionsByLanguage = map[string][]string{
"GEDCOM": {".ged"}, "GEDCOM": {".ged"},
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".rchit", ".rmiss", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"}, "GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".rchit", ".rmiss", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"},
"GN": {".gn", ".gni"}, "GN": {".gn", ".gni"},
"GSC": {".gsc", ".csc", ".gsh"},
"Game Maker Language": {".gml"}, "Game Maker Language": {".gml"},
"Genie": {".gs"}, "Genie": {".gs"},
"Genshi": {".kid"}, "Genshi": {".kid"},
@ -1403,6 +1432,7 @@ var ExtensionsByLanguage = map[string][]string{
"Gettext Catalog": {".po", ".pot"}, "Gettext Catalog": {".po", ".pot"},
"Gherkin": {".feature", ".story"}, "Gherkin": {".feature", ".story"},
"Git Config": {".gitconfig"}, "Git Config": {".gitconfig"},
"Gleam": {".gleam"},
"Glyph": {".glf"}, "Glyph": {".glf"},
"Glyph Bitmap Distribution Format": {".bdf"}, "Glyph Bitmap Distribution Format": {".bdf"},
"Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"}, "Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"},
@ -1453,10 +1483,11 @@ var ExtensionsByLanguage = map[string][]string{
"J": {".ijs"}, "J": {".ijs"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".jsonc", ".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"}, "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"},
"JSON5": {".json5"}, "JSON5": {".json5"},
"JSONLD": {".jsonld"}, "JSONLD": {".jsonld"},
"JSONiq": {".jq"}, "JSONiq": {".jq"},
"Janet": {".janet"},
"Jasmin": {".j"}, "Jasmin": {".j"},
"Java": {".java", ".jav"}, "Java": {".java", ".jav"},
"Java Properties": {".properties"}, "Java Properties": {".properties"},
@ -1529,6 +1560,8 @@ var ExtensionsByLanguage = map[string][]string{
"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"},
"Mint": {".mint"},
"Mirah": {".druby", ".duby", ".mirah"}, "Mirah": {".druby", ".duby", ".mirah"},
"Modelica": {".mo"}, "Modelica": {".mo"},
"Modula-2": {".mod"}, "Modula-2": {".mod"},
@ -1621,6 +1654,7 @@ var ExtensionsByLanguage = map[string][]string{
"Promela": {".pml"}, "Promela": {".pml"},
"Propeller Spin": {".spin"}, "Propeller Spin": {".spin"},
"Protocol Buffer": {".proto"}, "Protocol Buffer": {".proto"},
"Protocol Buffer Text Format": {".textproto", ".pbt", ".pbtxt"},
"Public Key": {".asc", ".pub"}, "Public Key": {".asc", ".pub"},
"Pug": {".jade", ".pug"}, "Pug": {".jade", ".pug"},
"Puppet": {".pp"}, "Puppet": {".pp"},
@ -1640,6 +1674,7 @@ var ExtensionsByLanguage = map[string][]string{
"REXX": {".rexx", ".pprx", ".rex"}, "REXX": {".rexx", ".pprx", ".rex"},
"RMarkdown": {".rmd"}, "RMarkdown": {".rmd"},
"RPC": {".x"}, "RPC": {".x"},
"RPGLE": {".rpgle", ".sqlrpgle"},
"RPM Spec": {".spec"}, "RPM Spec": {".spec"},
"RUNOFF": {".rnh", ".rno"}, "RUNOFF": {".rnh", ".rno"},
"Racket": {".rkt", ".rktd", ".rktl", ".scrbl"}, "Racket": {".rkt", ".rktd", ".rktl", ".scrbl"},
@ -1685,7 +1720,7 @@ var ExtensionsByLanguage = map[string][]string{
"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"}, "Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".env", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".zsh", ".zsh-theme"},
"ShellSession": {".sh-session"}, "ShellSession": {".sh-session"},
"Shen": {".shen"}, "Shen": {".shen"},
"Sieve": {".sieve"}, "Sieve": {".sieve"},
@ -1753,6 +1788,7 @@ var ExtensionsByLanguage = map[string][]string{
"Visual Basic .NET": {".vb", ".vbhtml"}, "Visual Basic .NET": {".vb", ".vbhtml"},
"Volt": {".volt"}, "Volt": {".volt"},
"Vue": {".vue"}, "Vue": {".vue"},
"Vyper": {".vy"},
"Wavefront Material": {".mtl"}, "Wavefront Material": {".mtl"},
"Wavefront Object": {".obj"}, "Wavefront Object": {".obj"},
"Web Ontology Language": {".owl"}, "Web Ontology Language": {".owl"},
@ -1761,13 +1797,14 @@ var ExtensionsByLanguage = map[string][]string{
"WebVTT": {".vtt"}, "WebVTT": {".vtt"},
"Wikitext": {".mediawiki", ".wiki", ".wikitext"}, "Wikitext": {".mediawiki", ".wiki", ".wikitext"},
"Windows Registry Entries": {".reg"}, "Windows Registry Entries": {".reg"},
"Witcher Script": {".ws"},
"Wollok": {".wlk"}, "Wollok": {".wlk"},
"World of Warcraft Addon Data": {".toc"}, "World of Warcraft Addon Data": {".toc"},
"X BitMap": {".xbm"}, "X BitMap": {".xbm"},
"X PixMap": {".xpm", ".pm"}, "X PixMap": {".xpm", ".pm"},
"X10": {".x10"}, "X10": {".x10"},
"XC": {".xc"}, "XC": {".xc"},
"XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".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", ".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", ".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 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"},
@ -1789,12 +1826,14 @@ var ExtensionsByLanguage = map[string][]string{
"Zephir": {".zep"}, "Zephir": {".zep"},
"Zig": {".zig"}, "Zig": {".zig"},
"Zimpl": {".zimpl", ".zmpl", ".zpl"}, "Zimpl": {".zimpl", ".zmpl", ".zpl"},
"desktop": {".desktop", ".desktop.in"}, "desktop": {".desktop", ".desktop.in", ".service"},
"dircolors": {".dircolors"}, "dircolors": {".dircolors"},
"eC": {".ec", ".eh"}, "eC": {".ec", ".eh"},
"edn": {".edn"}, "edn": {".edn"},
"fish": {".fish"}, "fish": {".fish"},
"hoon": {".hoon"},
"jq": {".jq"}, "jq": {".jq"},
"kvlang": {".kv"},
"mIRC Script": {".mrc"}, "mIRC Script": {".mrc"},
"mcfunction": {".mcfunction"}, "mcfunction": {".mcfunction"},
"mupad": {".mu"}, "mupad": {".mu"},

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -85,6 +85,7 @@ var LanguagesByFilename = map[string][]string{
".tern-config": {"JSON"}, ".tern-config": {"JSON"},
".tern-project": {"JSON"}, ".tern-project": {"JSON"},
".tm_properties": {"TextMate Properties"}, ".tm_properties": {"TextMate Properties"},
".vercelignore": {"Ignore List"},
".vimrc": {"Vim Script"}, ".vimrc": {"Vim Script"},
".viper": {"Emacs Lisp"}, ".viper": {"Emacs Lisp"},
".vscodeignore": {"Ignore List"}, ".vscodeignore": {"Ignore List"},
@ -164,6 +165,7 @@ var LanguagesByFilename = map[string][]string{
"Pipfile": {"TOML"}, "Pipfile": {"TOML"},
"Pipfile.lock": {"JSON"}, "Pipfile.lock": {"JSON"},
"Podfile": {"Ruby"}, "Podfile": {"Ruby"},
"Procfile": {"Procfile"},
"Project.ede": {"Emacs Lisp"}, "Project.ede": {"Emacs Lisp"},
"Puppetfile": {"Ruby"}, "Puppetfile": {"Ruby"},
"README.me": {"Text"}, "README.me": {"Text"},
@ -179,6 +181,7 @@ var LanguagesByFilename = map[string][]string{
"Slakefile": {"LiveScript"}, "Slakefile": {"LiveScript"},
"Snakefile": {"Python"}, "Snakefile": {"Python"},
"Snapfile": {"Ruby"}, "Snapfile": {"Ruby"},
"Steepfile": {"Ruby"},
"Thorfile": {"Ruby"}, "Thorfile": {"Ruby"},
"Tiltfile": {"Starlark"}, "Tiltfile": {"Starlark"},
"Vagrantfile": {"Ruby"}, "Vagrantfile": {"Ruby"},

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -37,6 +37,8 @@ var LanguagesByInterpreter = map[string][]string{
"ecl": {"Common Lisp"}, "ecl": {"Common Lisp"},
"elixir": {"Elixir"}, "elixir": {"Elixir"},
"escript": {"Erlang"}, "escript": {"Erlang"},
"eui": {"Euphoria"},
"euiw": {"Euphoria"},
"fennel": {"Fennel"}, "fennel": {"Fennel"},
"fish": {"fish"}, "fish": {"fish"},
"gawk": {"Awk"}, "gawk": {"Awk"},
@ -53,6 +55,7 @@ var LanguagesByInterpreter = map[string][]string{
"instantfpc": {"Pascal"}, "instantfpc": {"Pascal"},
"io": {"Io"}, "io": {"Io"},
"ioke": {"Ioke"}, "ioke": {"Ioke"},
"janet": {"Janet"},
"jconsole": {"J"}, "jconsole": {"J"},
"jolie": {"Jolie"}, "jolie": {"Jolie"},
"jruby": {"Ruby"}, "jruby": {"Ruby"},

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -42,6 +42,7 @@ var LanguagesMime = map[string]string{
"D": "text/x-d", "D": "text/x-d",
"DTrace": "text/x-csrc", "DTrace": "text/x-csrc",
"Dart": "application/dart", "Dart": "application/dart",
"DenizenScript": "text/x-yaml",
"Dhall": "text/x-haskell", "Dhall": "text/x-haskell",
"Diff": "text/x-diff", "Diff": "text/x-diff",
"Dockerfile": "text/x-dockerfile", "Dockerfile": "text/x-dockerfile",
@ -68,6 +69,7 @@ var LanguagesMime = map[string]string{
"FreeBasic": "text/x-vb", "FreeBasic": "text/x-vb",
"GCC Machine Description": "text/x-common-lisp", "GCC Machine Description": "text/x-common-lisp",
"GN": "text/x-python", "GN": "text/x-python",
"GSC": "text/x-csrc",
"Game Maker Language": "text/x-c++src", "Game Maker Language": "text/x-c++src",
"Genshi": "text/xml", "Genshi": "text/xml",
"Gentoo Ebuild": "text/x-sh", "Gentoo Ebuild": "text/x-sh",
@ -101,6 +103,7 @@ var LanguagesMime = map[string]string{
"JSON5": "application/json", "JSON5": "application/json",
"JSONLD": "application/json", "JSONLD": "application/json",
"JSONiq": "application/json", "JSONiq": "application/json",
"Janet": "text/x-scheme",
"Java": "text/x-java", "Java": "text/x-java",
"Java Properties": "text/x-properties", "Java Properties": "text/x-properties",
"Java Server Pages": "application/x-jsp", "Java Server Pages": "application/x-jsp",
@ -135,6 +138,7 @@ var LanguagesMime = map[string]string{
"Maven POM": "text/xml", "Maven POM": "text/xml",
"Max": "application/json", "Max": "application/json",
"Metal": "text/x-c++src", "Metal": "text/x-c++src",
"MiniYAML": "text/x-yaml",
"Mirah": "text/x-ruby", "Mirah": "text/x-ruby",
"Modelica": "text/x-modelica", "Modelica": "text/x-modelica",
"Mustache": "text/x-smarty", "Mustache": "text/x-smarty",

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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
package data package data
@ -47,6 +47,7 @@ func TypeForString(s string) Type {
var LanguagesType = map[string]int{ var LanguagesType = map[string]int{
"1C Enterprise": 2, "1C Enterprise": 2,
"2-Dimensional Array": 1,
"4D": 2, "4D": 2,
"ABAP": 2, "ABAP": 2,
"ABAP CDS": 2, "ABAP CDS": 2,
@ -129,6 +130,7 @@ var LanguagesType = map[string]int{
"ChucK": 2, "ChucK": 2,
"Cirru": 2, "Cirru": 2,
"Clarion": 2, "Clarion": 2,
"Clarity": 2,
"Classic ASP": 2, "Classic ASP": 2,
"Clean": 2, "Clean": 2,
"Click": 2, "Click": 2,
@ -153,6 +155,7 @@ var LanguagesType = map[string]int{
"Csound Score": 2, "Csound Score": 2,
"Cuda": 2, "Cuda": 2,
"Cue Sheet": 1, "Cue Sheet": 1,
"Curry": 2,
"Cycript": 2, "Cycript": 2,
"Cython": 2, "Cython": 2,
"D": 2, "D": 2,
@ -165,6 +168,8 @@ var LanguagesType = map[string]int{
"Darcs Patch": 1, "Darcs Patch": 1,
"Dart": 2, "Dart": 2,
"DataWeave": 2, "DataWeave": 2,
"Debian Package Control File": 1,
"DenizenScript": 2,
"Dhall": 2, "Dhall": 2,
"Diff": 1, "Diff": 1,
"DirectX 3D File": 1, "DirectX 3D File": 1,
@ -190,6 +195,7 @@ var LanguagesType = map[string]int{
"Emacs Lisp": 2, "Emacs Lisp": 2,
"EmberScript": 2, "EmberScript": 2,
"Erlang": 2, "Erlang": 2,
"Euphoria": 2,
"F#": 2, "F#": 2,
"F*": 2, "F*": 2,
"FIGlet Font": 1, "FIGlet Font": 1,
@ -220,6 +226,7 @@ var LanguagesType = map[string]int{
"GEDCOM": 1, "GEDCOM": 1,
"GLSL": 2, "GLSL": 2,
"GN": 1, "GN": 1,
"GSC": 2,
"Game Maker Language": 2, "Game Maker Language": 2,
"Gemfile.lock": 1, "Gemfile.lock": 1,
"Genie": 2, "Genie": 2,
@ -231,6 +238,7 @@ var LanguagesType = map[string]int{
"Gherkin": 2, "Gherkin": 2,
"Git Attributes": 1, "Git Attributes": 1,
"Git Config": 1, "Git Config": 1,
"Gleam": 2,
"Glyph": 2, "Glyph": 2,
"Glyph Bitmap Distribution Format": 1, "Glyph Bitmap Distribution Format": 1,
"Gnuplot": 2, "Gnuplot": 2,
@ -289,6 +297,7 @@ var LanguagesType = map[string]int{
"JSON5": 1, "JSON5": 1,
"JSONLD": 1, "JSONLD": 1,
"JSONiq": 2, "JSONiq": 2,
"Janet": 2,
"Jasmin": 2, "Jasmin": 2,
"Java": 2, "Java": 2,
"Java Properties": 1, "Java Properties": 1,
@ -363,6 +372,8 @@ var LanguagesType = map[string]int{
"Microsoft Developer Studio Project": 1, "Microsoft Developer Studio Project": 1,
"Microsoft Visual Studio Solution": 1, "Microsoft Visual Studio Solution": 1,
"MiniD": 2, "MiniD": 2,
"MiniYAML": 1,
"Mint": 2,
"Mirah": 2, "Mirah": 2,
"Modelica": 2, "Modelica": 2,
"Modula-2": 2, "Modula-2": 2,
@ -452,11 +463,13 @@ var LanguagesType = map[string]int{
"PowerShell": 2, "PowerShell": 2,
"Prisma": 1, "Prisma": 1,
"Processing": 2, "Processing": 2,
"Procfile": 2,
"Proguard": 1, "Proguard": 1,
"Prolog": 2, "Prolog": 2,
"Promela": 2, "Promela": 2,
"Propeller Spin": 2, "Propeller Spin": 2,
"Protocol Buffer": 1, "Protocol Buffer": 1,
"Protocol Buffer Text Format": 1,
"Public Key": 1, "Public Key": 1,
"Pug": 3, "Pug": 3,
"Puppet": 2, "Puppet": 2,
@ -478,6 +491,7 @@ var LanguagesType = map[string]int{
"REXX": 2, "REXX": 2,
"RMarkdown": 4, "RMarkdown": 4,
"RPC": 2, "RPC": 2,
"RPGLE": 2,
"RPM Spec": 1, "RPM Spec": 1,
"RUNOFF": 3, "RUNOFF": 3,
"Racket": 2, "Racket": 2,
@ -599,6 +613,7 @@ var LanguagesType = map[string]int{
"Visual Basic .NET": 2, "Visual Basic .NET": 2,
"Volt": 2, "Volt": 2,
"Vue": 3, "Vue": 3,
"Vyper": 2,
"Wavefront Material": 1, "Wavefront Material": 1,
"Wavefront Object": 1, "Wavefront Object": 1,
"Web Ontology Language": 1, "Web Ontology Language": 1,
@ -608,6 +623,7 @@ var LanguagesType = map[string]int{
"Wget Config": 1, "Wget Config": 1,
"Wikitext": 4, "Wikitext": 4,
"Windows Registry Entries": 1, "Windows Registry Entries": 1,
"Witcher Script": 2,
"Wollok": 2, "Wollok": 2,
"World of Warcraft Addon Data": 1, "World of Warcraft Addon Data": 1,
"X BitMap": 1, "X BitMap": 1,
@ -644,7 +660,9 @@ var LanguagesType = map[string]int{
"eC": 2, "eC": 2,
"edn": 1, "edn": 1,
"fish": 2, "fish": 2,
"hoon": 2,
"jq": 2, "jq": 2,
"kvlang": 3,
"mIRC Script": 2, "mIRC Script": 2,
"mcfunction": 2, "mcfunction": 2,
"mupad": 2, "mupad": 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: 80f3531e8a1014a23f4606458e5a528053ed3cac // Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
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.MustCompile(`(^|/)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)$`),