Merge pull request #60 from lafriks-fork/feat/linguist_v7.16.1

Update to Linguist v7.16.1
This commit is contained in:
Alex 2021-09-26 11:20:01 +02:00 committed by GitHub
commit adb553dc50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 35077 additions and 26328 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.14.0**. The `enry` library is based on the data from `github/linguist` version **v7.16.1**.
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

@ -129,7 +129,7 @@ func (s *EnryTestSuite) TestGetLanguages() {
// With no content or filename, no language can be detected // With no content or filename, no language can be detected
{name: "TestGetLanguages_0", filename: "", content: []byte{}, expected: nil}, {name: "TestGetLanguages_0", filename: "", content: []byte{}, expected: nil},
// The strategy that will match is GetLanguagesByExtension. Lacking content, it will return those results. // The strategy that will match is GetLanguagesByExtension. Lacking content, it will return those results.
{name: "TestGetLanguages_1", filename: "foo.h", content: []byte{}, expected: []string{"C", "C++", "Objective-C"}}, {name: "TestGetLanguages_1", filename: "foo.h", content: []byte{}, expected: []string{"C"}},
// GetLanguagesByExtension will return an unambiguous match when there is a single result. // GetLanguagesByExtension will return an unambiguous match when there is a single result.
{name: "TestGetLanguages_2", filename: "foo.groovy", content: []byte{}, expected: []string{"Groovy"}}, {name: "TestGetLanguages_2", filename: "foo.groovy", content: []byte{}, expected: []string{"Groovy"}},
// GetLanguagesByExtension will return "Rust", "RenderScript" for .rs, // GetLanguagesByExtension will return "Rust", "RenderScript" for .rs,
@ -193,7 +193,7 @@ func (s *EnryTestSuite) TestGetLanguagesByModelineLinguist() {
{name: "TestGetLanguagesByModelineLinguist_28", filename: filepath.Join(modelinesDir, "ruby10"), expected: []string{"Ruby"}}, {name: "TestGetLanguagesByModelineLinguist_28", filename: filepath.Join(modelinesDir, "ruby10"), expected: []string{"Ruby"}},
{name: "TestGetLanguagesByModelineLinguist_29", filename: filepath.Join(modelinesDir, "ruby11"), expected: []string{"Ruby"}}, {name: "TestGetLanguagesByModelineLinguist_29", filename: filepath.Join(modelinesDir, "ruby11"), expected: []string{"Ruby"}},
{name: "TestGetLanguagesByModelineLinguist_30", filename: filepath.Join(modelinesDir, "ruby12"), expected: []string{"Ruby"}}, {name: "TestGetLanguagesByModelineLinguist_30", filename: filepath.Join(modelinesDir, "ruby12"), expected: []string{"Ruby"}},
{name: "TestGetLanguagesByModelineLinguist_31", filename: filepath.Join(s.samplesDir, "C/main.c"), expected: nil}, {name: "TestGetLanguagesByModelineLinguist_31", filename: filepath.Join(s.samplesDir, "C++/runtime-compiler.cc"), expected: nil},
{name: "TestGetLanguagesByModelineLinguist_32", filename: "", expected: nil}, {name: "TestGetLanguagesByModelineLinguist_32", filename: "", expected: nil},
} }
@ -425,7 +425,7 @@ func (s *EnryTestSuite) TestGetLanguagesByClassifier() {
}{ }{
{name: "TestGetLanguagesByClassifier_1", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"python", "ruby", "c", "c++"}, expected: "C"}, {name: "TestGetLanguagesByClassifier_1", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"python", "ruby", "c", "c++"}, expected: "C"},
{name: "TestGetLanguagesByClassifier_2", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: nil, expected: OtherLanguage}, {name: "TestGetLanguagesByClassifier_2", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: nil, expected: OtherLanguage},
{name: "TestGetLanguagesByClassifier_3", filename: filepath.Join(s.samplesDir, "C/main.c"), candidates: []string{}, expected: OtherLanguage}, {name: "TestGetLanguagesByClassifier_3", filename: filepath.Join(s.samplesDir, "C++/runtime-compiler.cc"), candidates: []string{}, expected: OtherLanguage},
{name: "TestGetLanguagesByClassifier_4", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"python", "ruby", "c++"}, expected: "C++"}, {name: "TestGetLanguagesByClassifier_4", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"python", "ruby", "c++"}, expected: "C++"},
{name: "TestGetLanguagesByClassifier_5", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"ruby"}, expected: "Ruby"}, {name: "TestGetLanguagesByClassifier_5", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"ruby"}, expected: "Ruby"},
{name: "TestGetLanguagesByClassifier_6", filename: filepath.Join(s.samplesDir, "Python/django-models-base.py"), candidates: []string{"python", "ruby", "c", "c++"}, expected: "Python"}, {name: "TestGetLanguagesByClassifier_6", filename: filepath.Join(s.samplesDir, "Python/django-models-base.py"), candidates: []string{"python", "ruby", "c", "c++"}, expected: "Python"},
@ -463,7 +463,7 @@ func (s *EnryTestSuite) TestGetLanguagesBySpecificClassifier() {
}{ }{
{name: "TestGetLanguagesByClassifier_1", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"python", "ruby", "c", "c++"}, classifier: defaultClassifier, expected: "C"}, {name: "TestGetLanguagesByClassifier_1", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"python", "ruby", "c", "c++"}, classifier: defaultClassifier, expected: "C"},
{name: "TestGetLanguagesByClassifier_2", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: nil, classifier: defaultClassifier, expected: "C"}, {name: "TestGetLanguagesByClassifier_2", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: nil, classifier: defaultClassifier, expected: "C"},
{name: "TestGetLanguagesByClassifier_3", filename: filepath.Join(s.samplesDir, "C/main.c"), candidates: []string{}, classifier: defaultClassifier, expected: "C"}, {name: "TestGetLanguagesByClassifier_3", filename: filepath.Join(s.samplesDir, "C++/runtime-compiler.cc"), candidates: []string{}, classifier: defaultClassifier, expected: "C++"},
{name: "TestGetLanguagesByClassifier_4", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"python", "ruby", "c++"}, classifier: defaultClassifier, expected: "C++"}, {name: "TestGetLanguagesByClassifier_4", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"python", "ruby", "c++"}, classifier: defaultClassifier, expected: "C++"},
{name: "TestGetLanguagesByClassifier_5", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"ruby"}, classifier: defaultClassifier, expected: "Ruby"}, {name: "TestGetLanguagesByClassifier_5", filename: filepath.Join(s.samplesDir, "C/blob.c"), candidates: []string{"ruby"}, classifier: defaultClassifier, expected: "Ruby"},
{name: "TestGetLanguagesByClassifier_6", filename: filepath.Join(s.samplesDir, "Python/django-models-base.py"), candidates: []string{"python", "ruby", "c", "c++"}, classifier: defaultClassifier, expected: "Python"}, {name: "TestGetLanguagesByClassifier_6", filename: filepath.Join(s.samplesDir, "Python/django-models-base.py"), candidates: []string{"python", "ruby", "c", "c++"}, classifier: defaultClassifier, expected: "Python"},
@ -574,7 +574,7 @@ func (s *EnryTestSuite) TestLinguistCorpus() {
const filenamesDir = "filenames" const filenamesDir = "filenames"
var cornerCases = map[string]bool{ var cornerCases = map[string]bool{
"drop_stuff.sql": true, // https://github.com/src-d/enry/issues/194 "drop_stuff.sql": true, // https://github.com/src-d/enry/issues/194
"modeline.txt": true, // Because of unsupported negative lookahead RE syntax (https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L521) "textobj-rubyblock.vba": true, // Because of unsupported negative lookahead RE syntax (https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L521)
// .es and .ice fail heuristics parsing, but do not fail any tests // .es and .ice fail heuristics parsing, but do not fail any tests
} }

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -32,6 +32,7 @@ var LanguageByAliasMap = map[string]string{
"ags": "AGS Script", "ags": "AGS Script",
"ags_script": "AGS Script", "ags_script": "AGS Script",
"ahk": "AutoHotkey", "ahk": "AutoHotkey",
"aidl": "AIDL",
"al": "AL", "al": "AL",
"alloy": "Alloy", "alloy": "Alloy",
"alpine_abuild": "Alpine Abuild", "alpine_abuild": "Alpine Abuild",
@ -64,6 +65,7 @@ var LanguageByAliasMap = map[string]string{
"aspx": "ASP.NET", "aspx": "ASP.NET",
"aspx-vb": "ASP.NET", "aspx-vb": "ASP.NET",
"assembly": "Assembly", "assembly": "Assembly",
"astro": "Astro",
"asymptote": "Asymptote", "asymptote": "Asymptote",
"ats": "ATS", "ats": "ATS",
"ats2": "ATS", "ats2": "ATS",
@ -130,6 +132,7 @@ var LanguageByAliasMap = map[string]string{
"charity": "Charity", "charity": "Charity",
"chpl": "Chapel", "chpl": "Chapel",
"chuck": "ChucK", "chuck": "ChucK",
"cil": "CIL",
"cirru": "Cirru", "cirru": "Cirru",
"clarion": "Clarion", "clarion": "Clarion",
"classic_asp": "Classic ASP", "classic_asp": "Classic ASP",
@ -178,6 +181,8 @@ var LanguageByAliasMap = map[string]string{
"csv": "CSV", "csv": "CSV",
"cucumber": "Gherkin", "cucumber": "Gherkin",
"cuda": "Cuda", "cuda": "Cuda",
"cue": "CUE",
"cue_sheet": "Cue Sheet",
"curl_config": "cURL Config", "curl_config": "cURL Config",
"curlrc": "cURL Config", "curlrc": "cURL Config",
"cweb": "CWeb", "cweb": "CWeb",
@ -211,6 +216,7 @@ var LanguageByAliasMap = map[string]string{
"dtrace-script": "DTrace", "dtrace-script": "DTrace",
"dylan": "Dylan", "dylan": "Dylan",
"e": "E", "e": "E",
"e-mail": "E-mail",
"eagle": "Eagle", "eagle": "Eagle",
"easybuild": "Easybuild", "easybuild": "Easybuild",
"ebnf": "EBNF", "ebnf": "EBNF",
@ -233,8 +239,9 @@ var LanguageByAliasMap = map[string]string{
"emacs": "Emacs Lisp", "emacs": "Emacs Lisp",
"emacs_lisp": "Emacs Lisp", "emacs_lisp": "Emacs Lisp",
"emacs_muse": "Muse", "emacs_muse": "Muse",
"email": "E-mail",
"emberscript": "EmberScript", "emberscript": "EmberScript",
"eml": "EML", "eml": "E-mail",
"eq": "EQ", "eq": "EQ",
"erb": "HTML+ERB", "erb": "HTML+ERB",
"erlang": "Erlang", "erlang": "Erlang",
@ -245,12 +252,14 @@ var LanguageByAliasMap = map[string]string{
"fantom": "Fantom", "fantom": "Fantom",
"faust": "Faust", "faust": "Faust",
"fb": "FreeBasic", "fb": "FreeBasic",
"fennel": "Fennel",
"figfont": "FIGlet Font", "figfont": "FIGlet Font",
"figlet_font": "FIGlet Font", "figlet_font": "FIGlet Font",
"filebench_wml": "Filebench WML", "filebench_wml": "Filebench WML",
"filterscript": "Filterscript", "filterscript": "Filterscript",
"fish": "fish", "fish": "fish",
"flex": "Lex", "flex": "Lex",
"fluent": "Fluent",
"flux": "FLUX", "flux": "FLUX",
"formatted": "Formatted", "formatted": "Formatted",
"forth": "Forth", "forth": "Forth",
@ -319,6 +328,7 @@ var LanguageByAliasMap = map[string]string{
"haxe": "Haxe", "haxe": "Haxe",
"hbs": "Handlebars", "hbs": "Handlebars",
"hcl": "HCL", "hcl": "HCL",
"help": "Vim Help File",
"hiveql": "HiveQL", "hiveql": "HiveQL",
"hlsl": "HLSL", "hlsl": "HLSL",
"holyc": "HolyC", "holyc": "HolyC",
@ -389,6 +399,10 @@ var LanguageByAliasMap = map[string]string{
"julia": "Julia", "julia": "Julia",
"jupyter_notebook": "Jupyter Notebook", "jupyter_notebook": "Jupyter Notebook",
"kaitai_struct": "Kaitai Struct", "kaitai_struct": "Kaitai Struct",
"kak": "KakouneScript",
"kakounescript": "KakouneScript",
"kakscript": "KakouneScript",
"keyvalues": "Valve Data Format",
"kicad_layout": "KiCad Layout", "kicad_layout": "KiCad Layout",
"kicad_legacy_layout": "KiCad Legacy Layout", "kicad_legacy_layout": "KiCad Legacy Layout",
"kicad_schematic": "KiCad Schematic", "kicad_schematic": "KiCad Schematic",
@ -439,6 +453,7 @@ var LanguageByAliasMap = map[string]string{
"m68k": "Motorola 68K Assembly", "m68k": "Motorola 68K Assembly",
"macaulay2": "Macaulay2", "macaulay2": "Macaulay2",
"macruby": "Ruby", "macruby": "Ruby",
"mail": "E-mail",
"make": "Makefile", "make": "Makefile",
"makefile": "Makefile", "makefile": "Makefile",
"mako": "Mako", "mako": "Mako",
@ -457,9 +472,10 @@ var LanguageByAliasMap = map[string]string{
"max/msp": "Max", "max/msp": "Max",
"maxmsp": "Max", "maxmsp": "Max",
"maxscript": "MAXScript", "maxscript": "MAXScript",
"mbox": "E-mail",
"mcfunction": "mcfunction", "mcfunction": "mcfunction",
"mdoc": "Roff", "mdoc": "Roff",
"mediawiki": "MediaWiki", "mediawiki": "Wikitext",
"mercury": "Mercury", "mercury": "Mercury",
"meson": "Meson", "meson": "Meson",
"metal": "Metal", "metal": "Metal",
@ -576,6 +592,7 @@ var LanguageByAliasMap = map[string]string{
"pasm": "Parrot Assembly", "pasm": "Parrot Assembly",
"pawn": "Pawn", "pawn": "Pawn",
"pcbnew": "KiCad Layout", "pcbnew": "KiCad Layout",
"peg.js": "PEG.js",
"pep8": "Pep8", "pep8": "Pep8",
"perl": "Perl", "perl": "Perl",
"perl-6": "Raku", "perl-6": "Raku",
@ -685,6 +702,7 @@ var LanguageByAliasMap = map[string]string{
"rpc": "RPC", "rpc": "RPC",
"rpcgen": "RPC", "rpcgen": "RPC",
"rpm_spec": "RPM Spec", "rpm_spec": "RPM Spec",
"rs": "Rust",
"rs-274x": "Gerber Image", "rs-274x": "Gerber Image",
"rscript": "R", "rscript": "R",
"rss": "XML", "rss": "XML",
@ -706,6 +724,9 @@ var LanguageByAliasMap = map[string]string{
"scss": "SCSS", "scss": "SCSS",
"sed": "sed", "sed": "sed",
"self": "Self", "self": "Self",
"selinux_kernel_policy_language": "SELinux Policy",
"selinux_policy": "SELinux Policy",
"sepolicy": "SELinux Policy",
"sh": "Shell", "sh": "Shell",
"shaderlab": "ShaderLab", "shaderlab": "ShaderLab",
"shell": "Shell", "shell": "Shell",
@ -726,6 +747,7 @@ var LanguageByAliasMap = map[string]string{
"snipmate": "Vim Snippet", "snipmate": "Vim Snippet",
"snippet": "YASnippet", "snippet": "YASnippet",
"solidity": "Solidity", "solidity": "Solidity",
"soong": "Soong",
"sourcemod": "SourcePawn", "sourcemod": "SourcePawn",
"sourcepawn": "SourcePawn", "sourcepawn": "SourcePawn",
"soy": "Closure Templates", "soy": "Closure Templates",
@ -764,10 +786,12 @@ var LanguageByAliasMap = map[string]string{
"texinfo": "Texinfo", "texinfo": "Texinfo",
"text": "Text", "text": "Text",
"textile": "Textile", "textile": "Textile",
"textmate_properties": "TextMate Properties",
"thrift": "Thrift", "thrift": "Thrift",
"ti_program": "TI Program", "ti_program": "TI Program",
"tl": "Type Language", "tl": "Type Language",
"tla": "TLA", "tla": "TLA",
"tm-properties": "TextMate Properties",
"toml": "TOML", "toml": "TOML",
"troff": "Roff", "troff": "Roff",
"ts": "TypeScript", "ts": "TypeScript",
@ -793,6 +817,7 @@ var LanguageByAliasMap = map[string]string{
"urweb": "UrWeb", "urweb": "UrWeb",
"v": "V", "v": "V",
"vala": "Vala", "vala": "Vala",
"valve_data_format": "Valve Data Format",
"vb.net": "Visual Basic .NET", "vb.net": "Visual Basic .NET",
"vb6": "VBA", "vb6": "VBA",
"vb_.net": "Visual Basic .NET", "vb_.net": "Visual Basic .NET",
@ -800,6 +825,7 @@ var LanguageByAliasMap = map[string]string{
"vbnet": "Visual Basic .NET", "vbnet": "Visual Basic .NET",
"vbscript": "VBScript", "vbscript": "VBScript",
"vcl": "VCL", "vcl": "VCL",
"vdf": "Valve Data Format",
"verilog": "Verilog", "verilog": "Verilog",
"vhdl": "VHDL", "vhdl": "VHDL",
"vim": "Vim script", "vim": "Vim script",
@ -826,6 +852,8 @@ var LanguageByAliasMap = map[string]string{
"webvtt": "WebVTT", "webvtt": "WebVTT",
"wget_config": "Wget Config", "wget_config": "Wget Config",
"wgetrc": "Wget Config", "wgetrc": "Wget Config",
"wiki": "Wikitext",
"wikitext": "Wikitext",
"winbatch": "Batchfile", "winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries", "windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp", "wisp": "wisp",

View File

@ -1,13 +1,15 @@
// 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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
var LanguagesColor = map[string]string{ var LanguagesColor = map[string]string{
"1C Enterprise": "#814CCC", "1C Enterprise": "#814CCC",
"4D": "#004289",
"ABAP": "#E8274B", "ABAP": "#E8274B",
"ABAP CDS": "#555e25", "ABAP CDS": "#555e25",
"AGS Script": "#B9D9FF", "AGS Script": "#B9D9FF",
"AIDL": "#34EB6B",
"AL": "#3AA2B5", "AL": "#3AA2B5",
"AMPL": "#E6EFBB", "AMPL": "#E6EFBB",
"ANTLR": "#9DC3FF", "ANTLR": "#9DC3FF",
@ -17,37 +19,61 @@ var LanguagesColor = map[string]string{
"ATS": "#1ac620", "ATS": "#1ac620",
"ActionScript": "#882B0F", "ActionScript": "#882B0F",
"Ada": "#02f88c", "Ada": "#02f88c",
"Adobe Font Metrics": "#fa0f00",
"Agda": "#315665", "Agda": "#315665",
"Alloy": "#64C800", "Alloy": "#64C800",
"Alpine Abuild": "#0D597F",
"Altium Designer": "#A89663",
"AngelScript": "#C7D7DC", "AngelScript": "#C7D7DC",
"Ant Build System": "#A9157E",
"ApacheConf": "#d12127",
"Apex": "#1797c0", "Apex": "#1797c0",
"Apollo Guidance Computer": "#0B3D91", "Apollo Guidance Computer": "#0B3D91",
"AppleScript": "#101F1F", "AppleScript": "#101F1F",
"Arc": "#aa2afe", "Arc": "#aa2afe",
"AsciiDoc": "#73a0c5",
"AspectJ": "#a957b0", "AspectJ": "#a957b0",
"Assembly": "#6E4C13", "Assembly": "#6E4C13",
"Astro": "#ff5a03",
"Asymptote": "#ff0000", "Asymptote": "#ff0000",
"Augeas": "#9CC134",
"AutoHotkey": "#6594b9", "AutoHotkey": "#6594b9",
"AutoIt": "#1C3552", "AutoIt": "#1C3552",
"Avro IDL": "#0040FF",
"Awk": "#c30e9b",
"BASIC": "#ff0000", "BASIC": "#ff0000",
"Ballerina": "#FF5000", "Ballerina": "#FF5000",
"Batchfile": "#C1F12E", "Batchfile": "#C1F12E",
"Beef": "#a52f4e", "Beef": "#a52f4e",
"BibTeX": "#778899",
"Bicep": "#519aba", "Bicep": "#519aba",
"Bison": "#6A463F", "Bison": "#6A463F",
"BitBake": "#00bce4",
"Blade": "#f7523f", "Blade": "#f7523f",
"BlitzBasic": "#00FFAE",
"BlitzMax": "#cd6400", "BlitzMax": "#cd6400",
"Bluespec": "#12223c",
"Boo": "#d4bec1", "Boo": "#d4bec1",
"Boogie": "#c80fa0", "Boogie": "#c80fa0",
"Brainfuck": "#2F2530", "Brainfuck": "#2F2530",
"Brightscript": "#662D91",
"Browserslist": "#ffd539", "Browserslist": "#ffd539",
"C": "#555555", "C": "#555555",
"C#": "#178600", "C#": "#178600",
"C++": "#f34b7d", "C++": "#f34b7d",
"CLIPS": "#00A300",
"CMake": "#DA3434",
"COLLADA": "#F1A42B",
"CSON": "#244776", "CSON": "#244776",
"CSS": "#563d7c", "CSS": "#563d7c",
"CSV": "#237346",
"CUE": "#5886E1",
"CWeb": "#00007a",
"Cabal Config": "#483465",
"Cap'n Proto": "#c42727",
"Ceylon": "#dfa535", "Ceylon": "#dfa535",
"Chapel": "#8dc63f", "Chapel": "#8dc63f",
"ChucK": "#3f8000",
"Cirru": "#ccccff", "Cirru": "#ccccff",
"Clarion": "#db901e", "Clarion": "#db901e",
"Classic ASP": "#6a40fd", "Classic ASP": "#6a40fd",
@ -55,27 +81,40 @@ var LanguagesColor = map[string]string{
"Click": "#E4E6F3", "Click": "#E4E6F3",
"Clojure": "#db5855", "Clojure": "#db5855",
"Closure Templates": "#0d948f", "Closure Templates": "#0d948f",
"Cloud Firestore Security Rules": "#FFA000",
"CodeQL": "#140f46",
"CoffeeScript": "#244776", "CoffeeScript": "#244776",
"ColdFusion": "#ed2cd6", "ColdFusion": "#ed2cd6",
"ColdFusion CFC": "#ed2cd6", "ColdFusion CFC": "#ed2cd6",
"Common Lisp": "#3fb68b", "Common Lisp": "#3fb68b",
"Common Workflow Language": "#B5314C", "Common Workflow Language": "#B5314C",
"Component Pascal": "#B0CE4E", "Component Pascal": "#B0CE4E",
"Coq": "#d0b68c",
"Crystal": "#000100", "Crystal": "#000100",
"Csound": "#1a1a1a",
"Csound Document": "#1a1a1a",
"Csound Score": "#1a1a1a",
"Cuda": "#3A4E3A", "Cuda": "#3A4E3A",
"Cython": "#fedf5b",
"D": "#ba595e", "D": "#ba595e",
"DM": "#447265", "DM": "#447265",
"Dafny": "#FFEC25", "Dafny": "#FFEC25",
"Darcs Patch": "#8eff23",
"Dart": "#00B4AB", "Dart": "#00B4AB",
"DataWeave": "#003a52", "DataWeave": "#003a52",
"Dhall": "#dfafff", "Dhall": "#dfafff",
"DirectX 3D File": "#aace60",
"Dockerfile": "#384d54", "Dockerfile": "#384d54",
"Dogescript": "#cca760", "Dogescript": "#cca760",
"Dylan": "#6c616e", "Dylan": "#6c616e",
"E": "#ccce35", "E": "#ccce35",
"ECL": "#8a1267", "ECL": "#8a1267",
"ECLiPSe": "#001d9d",
"EJS": "#a91e50", "EJS": "#a91e50",
"EQ": "#a78649", "EQ": "#a78649",
"Easybuild": "#069406",
"Ecere Projects": "#913960",
"EditorConfig": "#fff1f2",
"Eiffel": "#4d6977", "Eiffel": "#4d6977",
"Elixir": "#6e4a7e", "Elixir": "#6e4a7e",
"Elm": "#60B5CC", "Elm": "#60B5CC",
@ -84,33 +123,62 @@ var LanguagesColor = map[string]string{
"Erlang": "#B83998", "Erlang": "#B83998",
"F#": "#b845fc", "F#": "#b845fc",
"F*": "#572e30", "F*": "#572e30",
"FIGlet Font": "#FFDDBB",
"FLUX": "#88ccff", "FLUX": "#88ccff",
"Factor": "#636746", "Factor": "#636746",
"Fancy": "#7b9db4", "Fancy": "#7b9db4",
"Fantom": "#14253c", "Fantom": "#14253c",
"Faust": "#c37240", "Faust": "#c37240",
"Fennel": "#fff3d7",
"Filebench WML": "#F6B900",
"Fluent": "#ffcc33",
"Forth": "#341708", "Forth": "#341708",
"Fortran": "#4d41b1", "Fortran": "#4d41b1",
"Fortran Free Form": "#4d41b1",
"FreeBasic": "#867db1", "FreeBasic": "#867db1",
"FreeMarker": "#0050b2", "FreeMarker": "#0050b2",
"Frege": "#00cafe", "Frege": "#00cafe",
"Futhark": "#5f021f", "Futhark": "#5f021f",
"G-code": "#D08CF2", "G-code": "#D08CF2",
"GAML": "#FFC766", "GAML": "#FFC766",
"GAMS": "#f49a22",
"GAP": "#0000cc",
"GCC Machine Description": "#FFCFAB",
"GDScript": "#355570", "GDScript": "#355570",
"GEDCOM": "#003058",
"GLSL": "#5686a5",
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Gemfile.lock": "#701516", "Gemfile.lock": "#701516",
"Genie": "#fb855d", "Genie": "#fb855d",
"Genshi": "#951531",
"Gentoo Ebuild": "#9400ff",
"Gentoo Eclass": "#9400ff",
"Gerber Image": "#d20b00",
"Gherkin": "#5B2063", "Gherkin": "#5B2063",
"Git Attributes": "#F44D27",
"Git Config": "#F44D27",
"Glyph": "#c1ac7f", "Glyph": "#c1ac7f",
"Gnuplot": "#f0a9f0", "Gnuplot": "#f0a9f0",
"Go": "#00ADD8", "Go": "#00ADD8",
"Golo": "#88562A", "Golo": "#88562A",
"Gosu": "#82937f", "Gosu": "#82937f",
"Grace": "#615f8b",
"Gradle": "#02303a",
"Grammatical Framework": "#ff0000", "Grammatical Framework": "#ff0000",
"GraphQL": "#e10098", "GraphQL": "#e10098",
"Groovy": "#e69f56", "Graphviz (DOT)": "#2596be",
"Groovy": "#4298b8",
"Groovy Server Pages": "#4298b8",
"HAProxy": "#106da9",
"HLSL": "#aace60",
"HTML": "#e34c26", "HTML": "#e34c26",
"HTML+ECR": "#2e1052",
"HTML+EEX": "#6e4a7e",
"HTML+ERB": "#701516",
"HTML+PHP": "#4f5d95",
"HTML+Razor": "#512be4",
"HTTP": "#005C9C",
"HXML": "#f68712",
"Hack": "#878787", "Hack": "#878787",
"Haml": "#ece2a9", "Haml": "#ece2a9",
"Handlebars": "#f7931e", "Handlebars": "#f7931e",
@ -122,35 +190,59 @@ var LanguagesColor = map[string]string{
"Hy": "#7790B2", "Hy": "#7790B2",
"IDL": "#a3522f", "IDL": "#a3522f",
"IGOR Pro": "#0000cc", "IGOR Pro": "#0000cc",
"INI": "#d1dbe0",
"Idris": "#b30000", "Idris": "#b30000",
"Ignore List": "#000000",
"ImageJ Macro": "#99AAFF", "ImageJ Macro": "#99AAFF",
"Inno Setup": "#264b99",
"Io": "#a9188d", "Io": "#a9188d",
"Ioke": "#078193", "Ioke": "#078193",
"Isabelle": "#FEFE00", "Isabelle": "#FEFE00",
"Isabelle ROOT": "#FEFE00",
"J": "#9EEDFF", "J": "#9EEDFF",
"JFlex": "#DBCA00", "JFlex": "#DBCA00",
"JSON": "#292929",
"JSON with Comments": "#292929",
"JSON5": "#267CB9",
"JSONLD": "#0c479c",
"JSONiq": "#40d47e", "JSONiq": "#40d47e",
"Jasmin": "#d03600",
"Java": "#b07219", "Java": "#b07219",
"Java Properties": "#2A6277",
"Java Server Pages": "#2A6277",
"JavaScript": "#f1e05a", "JavaScript": "#f1e05a",
"JavaScript+ERB": "#f1e05a",
"Jinja": "#a52a22", "Jinja": "#a52a22",
"Jison": "#56b3cb",
"Jison Lex": "#56b3cb",
"Jolie": "#843179", "Jolie": "#843179",
"Jsonnet": "#0064bd", "Jsonnet": "#0064bd",
"Julia": "#a270ba", "Julia": "#a270ba",
"Jupyter Notebook": "#DA5B0B", "Jupyter Notebook": "#DA5B0B",
"KRL": "#28430A", "KRL": "#28430A",
"Kaitai Struct": "#773b37", "Kaitai Struct": "#773b37",
"Kotlin": "#F18E33", "KakouneScript": "#6f8042",
"KiCad Layout": "#2f4aab",
"KiCad Legacy Layout": "#2f4aab",
"KiCad Schematic": "#2f4aab",
"Kotlin": "#A97BFF",
"LFE": "#4C3023", "LFE": "#4C3023",
"LLVM": "#185619", "LLVM": "#185619",
"LOLCODE": "#cc9900", "LOLCODE": "#cc9900",
"LSL": "#3d9970", "LSL": "#3d9970",
"LabVIEW": "#fede06",
"Lark": "#2980B9", "Lark": "#2980B9",
"Lasso": "#999999", "Lasso": "#999999",
"Latte": "#f2a542", "Latte": "#f2a542",
"Less": "#1d365d", "Less": "#1d365d",
"Lex": "#DBCA00", "Lex": "#DBCA00",
"LilyPond": "#9ccc7c",
"Liquid": "#67b8de", "Liquid": "#67b8de",
"Literate Agda": "#315665",
"Literate CoffeeScript": "#244776",
"Literate Haskell": "#5e5086",
"LiveScript": "#499886", "LiveScript": "#499886",
"Logtalk": "#295b9a",
"LookML": "#652B81", "LookML": "#652B81",
"Lua": "#000080", "Lua": "#000080",
"MATLAB": "#e16737", "MATLAB": "#e16737",
@ -161,17 +253,24 @@ var LanguagesColor = map[string]string{
"MTML": "#b7e1f4", "MTML": "#b7e1f4",
"Macaulay2": "#d8ffff", "Macaulay2": "#d8ffff",
"Makefile": "#427819", "Makefile": "#427819",
"Mako": "#7e858d",
"Markdown": "#083fa1", "Markdown": "#083fa1",
"Marko": "#42bff2", "Marko": "#42bff2",
"Mask": "#f97732", "Mask": "#f97732",
"Mathematica": "#dd1100",
"Max": "#c4a79c", "Max": "#c4a79c",
"Mercury": "#ff2b2b", "Mercury": "#ff2b2b",
"Meson": "#007800", "Meson": "#007800",
"Metal": "#8f14e9", "Metal": "#8f14e9",
"Mirah": "#c7a938", "Mirah": "#c7a938",
"Modelica": "#de1d31",
"Modula-2": "#10253f",
"Modula-3": "#223388", "Modula-3": "#223388",
"MoonScript": "#ff4585",
"Motorola 68K Assembly": "#005daa",
"Mustache": "#724b3b", "Mustache": "#724b3b",
"NCL": "#28431f", "NCL": "#28431f",
"NPM Config": "#cb3837",
"NWScript": "#111522", "NWScript": "#111522",
"Nearley": "#990000", "Nearley": "#990000",
"Nemerle": "#3d3c6e", "Nemerle": "#3d3c6e",
@ -180,6 +279,7 @@ var LanguagesColor = map[string]string{
"NetLogo": "#ff6375", "NetLogo": "#ff6375",
"NewLisp": "#87AED7", "NewLisp": "#87AED7",
"Nextflow": "#3ac486", "Nextflow": "#3ac486",
"Nginx": "#009639",
"Nim": "#ffc200", "Nim": "#ffc200",
"Nit": "#009917", "Nit": "#009917",
"Nix": "#7e7eff", "Nix": "#7e7eff",
@ -194,13 +294,20 @@ var LanguagesColor = map[string]string{
"Odin": "#60AFFE", "Odin": "#60AFFE",
"Omgrofl": "#cabbff", "Omgrofl": "#cabbff",
"Opal": "#f7ede0", "Opal": "#f7ede0",
"Open Policy Agent": "#7d9199",
"OpenCL": "#ed2e2d",
"OpenEdge ABL": "#5ce600",
"OpenQASM": "#AA70FF", "OpenQASM": "#AA70FF",
"OpenSCAD": "#e5cd45",
"Org": "#77aa99", "Org": "#77aa99",
"Oxygene": "#cdd0e3", "Oxygene": "#cdd0e3",
"Oz": "#fab738", "Oz": "#fab738",
"P4": "#7055b5", "P4": "#7055b5",
"PEG.js": "#234d6b",
"PHP": "#4F5D95", "PHP": "#4F5D95",
"PLSQL": "#dad8d8", "PLSQL": "#dad8d8",
"PLpgSQL": "#336790",
"POV-Ray SDL": "#6bac65",
"Pan": "#cc0000", "Pan": "#cc0000",
"Papyrus": "#6600cc", "Papyrus": "#6600cc",
"Parrot": "#f3ca0a", "Parrot": "#f3ca0a",
@ -208,9 +315,11 @@ var LanguagesColor = map[string]string{
"Pawn": "#dbb284", "Pawn": "#dbb284",
"Pep8": "#C76F5B", "Pep8": "#C76F5B",
"Perl": "#0298c3", "Perl": "#0298c3",
"PicoLisp": "#6067af",
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"PogoScript": "#d80074", "PogoScript": "#d80074",
"PostCSS": "#dc3a0c",
"PostScript": "#da291c", "PostScript": "#da291c",
"PowerBuilder": "#8f0f8d", "PowerBuilder": "#8f0f8d",
"PowerShell": "#012456", "PowerShell": "#012456",
@ -223,12 +332,17 @@ var LanguagesColor = map[string]string{
"PureBasic": "#5a6986", "PureBasic": "#5a6986",
"PureScript": "#1D222D", "PureScript": "#1D222D",
"Python": "#3572A5", "Python": "#3572A5",
"Python console": "#3572A5",
"Python traceback": "#3572A5",
"Q#": "#fed659", "Q#": "#fed659",
"QML": "#44a51c", "QML": "#44a51c",
"Qt Script": "#00b841", "Qt Script": "#00b841",
"Quake": "#882233", "Quake": "#882233",
"R": "#198CE7", "R": "#198CE7",
"RAML": "#77d9fb", "RAML": "#77d9fb",
"RDoc": "#701516",
"REXX": "#d90e09",
"RMarkdown": "#198ce7",
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#3c5caa", "Racket": "#3c5caa",
"Ragel": "#9d5200", "Ragel": "#9d5200",
@ -239,16 +353,22 @@ var LanguagesColor = map[string]string{
"Rebol": "#358a5b", "Rebol": "#358a5b",
"Record Jar": "#0673ba", "Record Jar": "#0673ba",
"Red": "#f50000", "Red": "#f50000",
"Regular Expression": "#009a00",
"Ren'Py": "#ff7f7f", "Ren'Py": "#ff7f7f",
"Ring": "#2D54CB", "Ring": "#2D54CB",
"Riot": "#A71E49", "Riot": "#A71E49",
"RobotFramework": "#00c0b5",
"Roff": "#ecdebe", "Roff": "#ecdebe",
"Roff Manpage": "#ecdebe",
"Rouge": "#cc0088", "Rouge": "#cc0088",
"Ruby": "#701516", "Ruby": "#701516",
"Rust": "#dea584", "Rust": "#dea584",
"SAS": "#B34936", "SAS": "#B34936",
"SCSS": "#c6538c", "SCSS": "#c6538c",
"SPARQL": "#0C4597",
"SQF": "#3F3F3F", "SQF": "#3F3F3F",
"SQL": "#e38c00",
"SQLPL": "#e38c00",
"SRecode Template": "#348a34", "SRecode Template": "#348a34",
"SVG": "#ff9900", "SVG": "#ff9900",
"SaltStack": "#646464", "SaltStack": "#646464",
@ -256,7 +376,9 @@ var LanguagesColor = map[string]string{
"Scala": "#c22d40", "Scala": "#c22d40",
"Scaml": "#bd181a", "Scaml": "#bd181a",
"Scheme": "#1e4aec", "Scheme": "#1e4aec",
"Scilab": "#ca0f21",
"Self": "#0579aa", "Self": "#0579aa",
"ShaderLab": "#222c37",
"Shell": "#89e051", "Shell": "#89e051",
"Shen": "#120F14", "Shen": "#120F14",
"Singularity": "#64E6AD", "Singularity": "#64E6AD",
@ -265,46 +387,72 @@ var LanguagesColor = map[string]string{
"Slim": "#2b2b2b", "Slim": "#2b2b2b",
"SmPL": "#c94949", "SmPL": "#c94949",
"Smalltalk": "#596706", "Smalltalk": "#596706",
"Smarty": "#f0c040",
"Solidity": "#AA6746", "Solidity": "#AA6746",
"SourcePawn": "#f69e1d", "SourcePawn": "#f69e1d",
"Squirrel": "#800000", "Squirrel": "#800000",
"Stan": "#b2011d", "Stan": "#b2011d",
"Standard ML": "#dc566d", "Standard ML": "#dc566d",
"Starlark": "#76d275", "Starlark": "#76d275",
"Stata": "#1a5f91",
"StringTemplate": "#3fb34f", "StringTemplate": "#3fb34f",
"Stylus": "#ff6347", "Stylus": "#ff6347",
"SubRip Text": "#9e0101",
"SugarSS": "#2fcc9f",
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Svelte": "#ff3e00", "Svelte": "#ff3e00",
"Swift": "#ffac45", "Swift": "#F05138",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
"TI Program": "#A0AA87", "TI Program": "#A0AA87",
"TLA": "#4b0079",
"TOML": "#9c4221",
"TSQL": "#e38c00",
"TSV": "#237346",
"TSX": "#2b7489",
"TXL": "#0178b8",
"Tcl": "#e4cc98", "Tcl": "#e4cc98",
"TeX": "#3D6117", "TeX": "#3D6117",
"Terra": "#00004c", "Terra": "#00004c",
"TextMate Properties": "#df66e4",
"Textile": "#ffe7ac",
"Thrift": "#D12127",
"Turing": "#cf142b", "Turing": "#cf142b",
"Twig": "#c1d026", "Twig": "#c1d026",
"TypeScript": "#2b7489", "TypeScript": "#2b7489",
"Unified Parallel C": "#4e3617", "Unified Parallel C": "#4e3617",
"Unity3D Asset": "#222c37",
"Uno": "#9933cc", "Uno": "#9933cc",
"UnrealScript": "#a54c4d", "UnrealScript": "#a54c4d",
"UrWeb": "#ccccee",
"V": "#4f87c4", "V": "#4f87c4",
"VBA": "#867db1", "VBA": "#867db1",
"VBScript": "#15dcdc", "VBScript": "#15dcdc",
"VCL": "#148AA8", "VCL": "#148AA8",
"VHDL": "#adb2cb", "VHDL": "#adb2cb",
"Vala": "#fbe5cd", "Vala": "#fbe5cd",
"Valve Data Format": "#f26025",
"Verilog": "#b2b7f8", "Verilog": "#b2b7f8",
"Vim Help File": "#199f4b",
"Vim Snippet": "#199f4b",
"Vim script": "#199f4b", "Vim script": "#199f4b",
"Visual Basic .NET": "#945db7", "Visual Basic .NET": "#945db7",
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#2c3e50", "Vue": "#41b883",
"Web Ontology Language": "#5b70bd",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
"Wikitext": "#fc5757",
"Windows Registry Entries": "#52d5ff",
"Wollok": "#a23738", "Wollok": "#a23738",
"World of Warcraft Addon Data": "#f7e43f",
"X10": "#4B6BEF", "X10": "#4B6BEF",
"XC": "#99DA07", "XC": "#99DA07",
"XML": "#0060ac",
"XML Property List": "#0060ac",
"XQuery": "#5232e7", "XQuery": "#5232e7",
"XSLT": "#EB8CEB", "XSLT": "#EB8CEB",
"Xojo": "#81bd41",
"Xonsh": "#285EEF", "Xonsh": "#285EEF",
"Xtend": "#24255d",
"YAML": "#cb171e", "YAML": "#cb171e",
"YARA": "#220000", "YARA": "#220000",
"YASnippet": "#32AB90", "YASnippet": "#32AB90",
@ -314,13 +462,18 @@ var LanguagesColor = map[string]string{
"ZenScript": "#00BCD1", "ZenScript": "#00BCD1",
"Zephir": "#118f9e", "Zephir": "#118f9e",
"Zig": "#ec915c", "Zig": "#ec915c",
"Zimpl": "#d67711",
"eC": "#913960", "eC": "#913960",
"fish": "#4aae47",
"jq": "#c7254e", "jq": "#c7254e",
"mIRC Script": "#3d57c3", "mIRC Script": "#3d57c3",
"mcfunction": "#E22837", "mcfunction": "#E22837",
"mupad": "#244963",
"nanorc": "#2d004d",
"nesC": "#94B0C7", "nesC": "#94B0C7",
"ooc": "#b0b77e", "ooc": "#b0b77e",
"q": "#0040cd", "q": "#0040cd",
"reStructuredText": "#141414",
"sed": "#64b970", "sed": "#64b970",
"wdl": "#42f1f4", "wdl": "#42f1f4",
"wisp": "#7582D1", "wisp": "#7582D1",

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

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -802,6 +802,12 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`), regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`),
), ),
}, },
".ftl": &Heuristics{
rule.Or(
rule.MatchingLanguages("Fluent"),
regexp.MustCompile(`(?m)^-?[a-zA-Z][a-zA-Z0-9_-]* *=|\{\$-?[a-zA-Z][-\w]*(?:\.[a-zA-Z][-\w]*)?\}`),
),
},
".gd": &Heuristics{ ".gd": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("GAP"), rule.MatchingLanguages("GAP"),
@ -852,6 +858,9 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("C++"), rule.MatchingLanguages("C++"),
regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>|^\s*template\s*<|^[ \t]*(try|constexpr)|^[ \t]*catch\s*\(|^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+|^[ \t]*(private|public|protected):$|std::\w+`), regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>|^\s*template\s*<|^[ \t]*(try|constexpr)|^[ \t]*catch\s*\(|^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+|^[ \t]*(private|public|protected):$|std::\w+`),
), ),
rule.Always(
rule.MatchingLanguages("C"),
),
}, },
".hh": &Heuristics{ ".hh": &Heuristics{
rule.Or( rule.Or(
@ -889,12 +898,16 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("SourcePawn"), rule.MatchingLanguages("SourcePawn"),
regexp.MustCompile(`(?m)^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*{)?)`), regexp.MustCompile(`(?m)^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*{)?)|^methodmap\s+\w+\s+<\s+\w+|^\s*MarkNativeAsOptional\s*\(`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("POV-Ray SDL"), rule.MatchingLanguages("POV-Ray SDL"),
regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`), regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`),
), ),
rule.Or(
rule.MatchingLanguages("Pascal"),
regexp.MustCompile(`(?m)(?i:^\s*{\$(?:mode|ifdef|undef|define)[ ]+[a-z0-9_]+})|^\s*end[.;]\s*$`),
),
}, },
".l": &Heuristics{ ".l": &Heuristics{
rule.Or( rule.Or(
@ -1288,7 +1301,7 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^[^#!;][^=]*=`), regexp.MustCompile(`(?m)^[^#!;][^=]*=`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Java properties"), rule.MatchingLanguages("Java Properties"),
regexp.MustCompile(`(?m)^[^#!][^:]*:`), regexp.MustCompile(`(?m)^[^#!][^:]*:`),
), ),
}, },

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -49,6 +49,7 @@ var LanguagesByExtension = map[string][]string{
".agda": {"Agda"}, ".agda": {"Agda"},
".ahk": {"AutoHotkey"}, ".ahk": {"AutoHotkey"},
".ahkl": {"AutoHotkey"}, ".ahkl": {"AutoHotkey"},
".aidl": {"AIDL"},
".aj": {"AspectJ"}, ".aj": {"AspectJ"},
".al": {"AL", "Perl"}, ".al": {"AL", "Perl"},
".als": {"Alloy"}, ".als": {"Alloy"},
@ -80,6 +81,7 @@ var LanguagesByExtension = map[string][]string{
".asp": {"Classic ASP"}, ".asp": {"Classic ASP"},
".aspx": {"ASP.NET"}, ".aspx": {"ASP.NET"},
".asset": {"Unity3D Asset"}, ".asset": {"Unity3D Asset"},
".astro": {"Astro"},
".asy": {"Asymptote", "LTspice Symbol"}, ".asy": {"Asymptote", "LTspice Symbol"},
".au3": {"AutoIt"}, ".au3": {"AutoIt"},
".aug": {"Augeas"}, ".aug": {"Augeas"},
@ -154,6 +156,7 @@ var LanguagesByExtension = map[string][]string{
".chem": {"Pic"}, ".chem": {"Pic"},
".chpl": {"Chapel"}, ".chpl": {"Chapel"},
".chs": {"C2hs Haskell"}, ".chs": {"C2hs Haskell"},
".cil": {"CIL"},
".cirru": {"Cirru"}, ".cirru": {"Cirru"},
".cjs": {"JavaScript"}, ".cjs": {"JavaScript"},
".cjsx": {"CoffeeScript"}, ".cjsx": {"CoffeeScript"},
@ -211,6 +214,7 @@ var LanguagesByExtension = map[string][]string{
".ct": {"XML"}, ".ct": {"XML"},
".ctp": {"PHP"}, ".ctp": {"PHP"},
".cu": {"Cuda"}, ".cu": {"Cuda"},
".cue": {"CUE", "Cue Sheet"},
".cuh": {"Cuda"}, ".cuh": {"Cuda"},
".cw": {"Redcode"}, ".cw": {"Redcode"},
".cwl": {"Common Workflow Language"}, ".cwl": {"Common Workflow Language"},
@ -284,7 +288,7 @@ var LanguagesByExtension = map[string][]string{
".emacs": {"Emacs Lisp"}, ".emacs": {"Emacs Lisp"},
".emacs.desktop": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"},
".emberscript": {"EmberScript"}, ".emberscript": {"EmberScript"},
".eml": {"EML"}, ".eml": {"E-mail"},
".env": {"Shell"}, ".env": {"Shell"},
".epj": {"Ecere Projects"}, ".epj": {"Ecere Projects"},
".eps": {"PostScript"}, ".eps": {"PostScript"},
@ -317,6 +321,7 @@ var LanguagesByExtension = map[string][]string{
".flf": {"FIGlet Font"}, ".flf": {"FIGlet Font"},
".flux": {"FLUX"}, ".flux": {"FLUX"},
".fnc": {"PLSQL"}, ".fnc": {"PLSQL"},
".fnl": {"Fennel"},
".for": {"Formatted", "Forth", "Fortran"}, ".for": {"Formatted", "Forth", "Fortran"},
".forth": {"Forth"}, ".forth": {"Forth"},
".fp": {"GLSL"}, ".fp": {"GLSL"},
@ -335,7 +340,7 @@ var LanguagesByExtension = map[string][]string{
".fst": {"F*"}, ".fst": {"F*"},
".fsx": {"F#"}, ".fsx": {"F#"},
".fth": {"Forth"}, ".fth": {"Forth"},
".ftl": {"FreeMarker"}, ".ftl": {"Fluent", "FreeMarker"},
".fun": {"Standard ML"}, ".fun": {"Standard ML"},
".fut": {"Futhark"}, ".fut": {"Futhark"},
".fx": {"FLUX", "HLSL"}, ".fx": {"FLUX", "HLSL"},
@ -479,7 +484,9 @@ var LanguagesByExtension = map[string][]string{
".j2": {"Jinja"}, ".j2": {"Jinja"},
".jade": {"Pug"}, ".jade": {"Pug"},
".jake": {"JavaScript"}, ".jake": {"JavaScript"},
".jav": {"Java"},
".java": {"Java"}, ".java": {"Java"},
".javascript": {"JavaScript"},
".jbuilder": {"Ruby"}, ".jbuilder": {"Ruby"},
".jelly": {"XML"}, ".jelly": {"XML"},
".jflex": {"JFlex"}, ".jflex": {"JFlex"},
@ -507,6 +514,7 @@ var LanguagesByExtension = map[string][]string{
".jss": {"JavaScript"}, ".jss": {"JavaScript"},
".jst": {"EJS"}, ".jst": {"EJS"},
".jsx": {"JavaScript"}, ".jsx": {"JavaScript"},
".kak": {"KakouneScript"},
".kicad_mod": {"KiCad Layout"}, ".kicad_mod": {"KiCad Layout"},
".kicad_pcb": {"KiCad Layout"}, ".kicad_pcb": {"KiCad Layout"},
".kicad_wks": {"KiCad Layout"}, ".kicad_wks": {"KiCad Layout"},
@ -583,7 +591,7 @@ var LanguagesByExtension = map[string][]string{
".maxhelp": {"Max"}, ".maxhelp": {"Max"},
".maxpat": {"Max"}, ".maxpat": {"Max"},
".maxproj": {"Max"}, ".maxproj": {"Max"},
".mbox": {"EML"}, ".mbox": {"E-mail"},
".mcfunction": {"mcfunction"}, ".mcfunction": {"mcfunction"},
".mcmeta": {"JSON"}, ".mcmeta": {"JSON"},
".mcr": {"MAXScript"}, ".mcr": {"MAXScript"},
@ -594,7 +602,7 @@ var LanguagesByExtension = map[string][]string{
".mdwn": {"Markdown"}, ".mdwn": {"Markdown"},
".mdx": {"Markdown"}, ".mdx": {"Markdown"},
".me": {"Roff"}, ".me": {"Roff"},
".mediawiki": {"MediaWiki"}, ".mediawiki": {"Wikitext"},
".meta": {"Unity3D Asset"}, ".meta": {"Unity3D Asset"},
".metal": {"Metal"}, ".metal": {"Metal"},
".mg": {"Modula-3"}, ".mg": {"Modula-3"},
@ -737,6 +745,7 @@ var LanguagesByExtension = map[string][]string{
".pd": {"Pure Data"}, ".pd": {"Pure Data"},
".pd_lua": {"Lua"}, ".pd_lua": {"Lua"},
".pde": {"Processing"}, ".pde": {"Processing"},
".pegjs": {"PEG.js"},
".pep": {"Pep8"}, ".pep": {"Pep8"},
".perl": {"Perl"}, ".perl": {"Perl"},
".pfa": {"PostScript"}, ".pfa": {"PostScript"},
@ -1007,6 +1016,7 @@ var LanguagesByExtension = map[string][]string{
".tcc": {"C++"}, ".tcc": {"C++"},
".tcl": {"Tcl"}, ".tcl": {"Tcl"},
".tcsh": {"Tcsh"}, ".tcsh": {"Tcsh"},
".te": {"SELinux Policy"},
".tea": {"Tea"}, ".tea": {"Tea"},
".tesc": {"GLSL"}, ".tesc": {"GLSL"},
".tese": {"GLSL"}, ".tese": {"GLSL"},
@ -1073,6 +1083,7 @@ var LanguagesByExtension = map[string][]string{
".vbs": {"VBScript"}, ".vbs": {"VBScript"},
".vcl": {"VCL"}, ".vcl": {"VCL"},
".vcxproj": {"XML"}, ".vcxproj": {"XML"},
".vdf": {"Valve Data Format"},
".veo": {"Verilog"}, ".veo": {"Verilog"},
".vert": {"GLSL"}, ".vert": {"GLSL"},
".vh": {"SystemVerilog"}, ".vh": {"SystemVerilog"},
@ -1109,7 +1120,8 @@ var LanguagesByExtension = map[string][]string{
".webidl": {"WebIDL"}, ".webidl": {"WebIDL"},
".webmanifest": {"JSON"}, ".webmanifest": {"JSON"},
".weechatlog": {"IRC log"}, ".weechatlog": {"IRC log"},
".wiki": {"MediaWiki"}, ".wiki": {"Wikitext"},
".wikitext": {"Wikitext"},
".wisp": {"wisp"}, ".wisp": {"wisp"},
".wixproj": {"XML"}, ".wixproj": {"XML"},
".wl": {"Mathematica"}, ".wl": {"Mathematica"},
@ -1209,6 +1221,7 @@ var ExtensionsByLanguage = map[string][]string{
"ABAP CDS": {".asddls"}, "ABAP CDS": {".asddls"},
"ABNF": {".abnf"}, "ABNF": {".abnf"},
"AGS Script": {".asc", ".ash"}, "AGS Script": {".asc", ".ash"},
"AIDL": {".aidl"},
"AL": {".al"}, "AL": {".al"},
"AMPL": {".ampl", ".mod"}, "AMPL": {".ampl", ".mod"},
"ANTLR": {".g4"}, "ANTLR": {".g4"},
@ -1233,6 +1246,7 @@ var ExtensionsByLanguage = map[string][]string{
"AsciiDoc": {".asciidoc", ".adoc", ".asc"}, "AsciiDoc": {".asciidoc", ".adoc", ".asc"},
"AspectJ": {".aj"}, "AspectJ": {".aj"},
"Assembly": {".asm", ".a51", ".i", ".inc", ".nasm"}, "Assembly": {".asm", ".a51", ".i", ".inc", ".nasm"},
"Astro": {".astro"},
"Asymptote": {".asy"}, "Asymptote": {".asy"},
"Augeas": {".aug"}, "Augeas": {".aug"},
"AutoHotkey": {".ahk", ".ahkl"}, "AutoHotkey": {".ahk", ".ahkl"},
@ -1261,6 +1275,7 @@ var ExtensionsByLanguage = map[string][]string{
"C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"}, "C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"},
"C-ObjDump": {".c-objdump"}, "C-ObjDump": {".c-objdump"},
"C2hs Haskell": {".chs"}, "C2hs Haskell": {".chs"},
"CIL": {".cil"},
"CLIPS": {".clp"}, "CLIPS": {".clp"},
"CMake": {".cmake", ".cmake.in"}, "CMake": {".cmake", ".cmake.in"},
"COBOL": {".cob", ".cbl", ".ccp", ".cobol", ".cpy"}, "COBOL": {".cob", ".cbl", ".ccp", ".cobol", ".cpy"},
@ -1268,6 +1283,7 @@ var ExtensionsByLanguage = map[string][]string{
"CSON": {".cson"}, "CSON": {".cson"},
"CSS": {".css"}, "CSS": {".css"},
"CSV": {".csv"}, "CSV": {".csv"},
"CUE": {".cue"},
"CWeb": {".w"}, "CWeb": {".w"},
"Cabal Config": {".cabal"}, "Cabal Config": {".cabal"},
"Cap'n Proto": {".capnp"}, "Cap'n Proto": {".capnp"},
@ -1300,6 +1316,7 @@ var ExtensionsByLanguage = map[string][]string{
"Csound Document": {".csd"}, "Csound Document": {".csd"},
"Csound Score": {".sco"}, "Csound Score": {".sco"},
"Cuda": {".cu", ".cuh"}, "Cuda": {".cu", ".cuh"},
"Cue Sheet": {".cue"},
"Cycript": {".cy"}, "Cycript": {".cy"},
"Cython": {".pyx", ".pxd", ".pxi"}, "Cython": {".pyx", ".pxd", ".pxi"},
"D": {".d", ".di"}, "D": {".d", ".di"},
@ -1319,11 +1336,11 @@ var ExtensionsByLanguage = map[string][]string{
"Dogescript": {".djs"}, "Dogescript": {".djs"},
"Dylan": {".dylan", ".dyl", ".intr", ".lid"}, "Dylan": {".dylan", ".dyl", ".intr", ".lid"},
"E": {".e"}, "E": {".e"},
"E-mail": {".eml", ".mbox"},
"EBNF": {".ebnf"}, "EBNF": {".ebnf"},
"ECL": {".ecl", ".eclxml"}, "ECL": {".ecl", ".eclxml"},
"ECLiPSe": {".ecl"}, "ECLiPSe": {".ecl"},
"EJS": {".ejs", ".ect", ".jst"}, "EJS": {".ejs", ".ect", ".jst"},
"EML": {".eml", ".mbox"},
"EQ": {".eq"}, "EQ": {".eq"},
"Eagle": {".sch", ".brd"}, "Eagle": {".sch", ".brd"},
"Easybuild": {".eb"}, "Easybuild": {".eb"},
@ -1343,8 +1360,10 @@ var ExtensionsByLanguage = map[string][]string{
"Fancy": {".fy", ".fancypack"}, "Fancy": {".fy", ".fancypack"},
"Fantom": {".fan"}, "Fantom": {".fan"},
"Faust": {".dsp"}, "Faust": {".dsp"},
"Fennel": {".fnl"},
"Filebench WML": {".f"}, "Filebench WML": {".f"},
"Filterscript": {".fs"}, "Filterscript": {".fs"},
"Fluent": {".ftl"},
"Formatted": {".for", ".eam.fs"}, "Formatted": {".for", ".eam.fs"},
"Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"}, "Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"},
"Fortran": {".f", ".f77", ".for", ".fpp"}, "Fortran": {".f", ".f77", ".for", ".fpp"},
@ -1427,10 +1446,10 @@ var ExtensionsByLanguage = map[string][]string{
"JSONLD": {".jsonld"}, "JSONLD": {".jsonld"},
"JSONiq": {".jq"}, "JSONiq": {".jq"},
"Jasmin": {".j"}, "Jasmin": {".j"},
"Java": {".java"}, "Java": {".java", ".jav"},
"Java Properties": {".properties"}, "Java Properties": {".properties"},
"Java Server Pages": {".jsp"}, "Java Server Pages": {".jsp"},
"JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"}, "JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript+ERB": {".js.erb"}, "JavaScript+ERB": {".js.erb"},
"Jinja": {".jinja", ".j2", ".jinja2"}, "Jinja": {".jinja", ".j2", ".jinja2"},
"Jison": {".jison"}, "Jison": {".jison"},
@ -1441,6 +1460,7 @@ var ExtensionsByLanguage = map[string][]string{
"Jupyter Notebook": {".ipynb"}, "Jupyter Notebook": {".ipynb"},
"KRL": {".krl"}, "KRL": {".krl"},
"Kaitai Struct": {".ksy"}, "Kaitai Struct": {".ksy"},
"KakouneScript": {".kak"},
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"}, "KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
"KiCad Legacy Layout": {".brd"}, "KiCad Legacy Layout": {".brd"},
"KiCad Schematic": {".sch"}, "KiCad Schematic": {".sch"},
@ -1491,7 +1511,6 @@ var ExtensionsByLanguage = map[string][]string{
"Mask": {".mask"}, "Mask": {".mask"},
"Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"}, "Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"},
"Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"}, "Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"},
"MediaWiki": {".mediawiki", ".wiki"},
"Mercury": {".m", ".moo"}, "Mercury": {".m", ".moo"},
"Metal": {".metal"}, "Metal": {".metal"},
"Microsoft Developer Studio Project": {".dsp"}, "Microsoft Developer Studio Project": {".dsp"},
@ -1553,6 +1572,7 @@ var ExtensionsByLanguage = map[string][]string{
"Oxygene": {".oxygene"}, "Oxygene": {".oxygene"},
"Oz": {".oz"}, "Oz": {".oz"},
"P4": {".p4"}, "P4": {".p4"},
"PEG.js": {".pegjs"},
"PHP": {".php", ".aw", ".ctp", ".fcgi", ".inc", ".php3", ".php4", ".php5", ".phps", ".phpt"}, "PHP": {".php", ".aw", ".ctp", ".fcgi", ".inc", ".php3", ".php4", ".php5", ".phps", ".phpt"},
"PLSQL": {".pls", ".bdy", ".ddl", ".fnc", ".pck", ".pkb", ".pks", ".plb", ".plsql", ".prc", ".spc", ".sql", ".tpb", ".tps", ".trg", ".vw"}, "PLSQL": {".pls", ".bdy", ".ddl", ".fnc", ".pck", ".pkb", ".pks", ".plb", ".plsql", ".prc", ".spc", ".sql", ".tpb", ".tps", ".trg", ".vw"},
"PLpgSQL": {".pgsql", ".sql"}, "PLpgSQL": {".pgsql", ".sql"},
@ -1631,6 +1651,7 @@ var ExtensionsByLanguage = map[string][]string{
"Rust": {".rs", ".rs.in"}, "Rust": {".rs", ".rs.in"},
"SAS": {".sas"}, "SAS": {".sas"},
"SCSS": {".scss"}, "SCSS": {".scss"},
"SELinux Policy": {".te"},
"SMT": {".smt2", ".smt"}, "SMT": {".smt2", ".smt"},
"SPARQL": {".sparql", ".rq"}, "SPARQL": {".sparql", ".rq"},
"SQF": {".sqf", ".hqf"}, "SQF": {".sqf", ".hqf"},
@ -1709,6 +1730,7 @@ var ExtensionsByLanguage = map[string][]string{
"VCL": {".vcl"}, "VCL": {".vcl"},
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
"Vala": {".vala", ".vapi"}, "Vala": {".vala", ".vapi"},
"Valve Data Format": {".vdf"},
"Verilog": {".v", ".veo"}, "Verilog": {".v", ".veo"},
"Vim Help File": {".txt"}, "Vim Help File": {".txt"},
"Vim Snippet": {".snip", ".snippet", ".snippets"}, "Vim Snippet": {".snip", ".snippet", ".snippets"},
@ -1722,6 +1744,7 @@ var ExtensionsByLanguage = map[string][]string{
"WebAssembly": {".wast", ".wat"}, "WebAssembly": {".wast", ".wat"},
"WebIDL": {".webidl"}, "WebIDL": {".webidl"},
"WebVTT": {".vtt"}, "WebVTT": {".vtt"},
"Wikitext": {".mediawiki", ".wiki", ".wikitext"},
"Windows Registry Entries": {".reg"}, "Windows Registry Entries": {".reg"},
"Wollok": {".wlk"}, "Wollok": {".wlk"},
"World of Warcraft Addon Data": {".toc"}, "World of Warcraft Addon Data": {".toc"},

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -9,6 +9,7 @@ var LanguagesByFilename = map[string][]string{
".abbrev_defs": {"Emacs Lisp"}, ".abbrev_defs": {"Emacs Lisp"},
".arcconfig": {"JSON"}, ".arcconfig": {"JSON"},
".atomignore": {"Ignore List"}, ".atomignore": {"Ignore List"},
".auto-changelog": {"JSON"},
".babelignore": {"Ignore List"}, ".babelignore": {"Ignore List"},
".babelrc": {"JSON with Comments"}, ".babelrc": {"JSON with Comments"},
".bash_aliases": {"Shell"}, ".bash_aliases": {"Shell"},
@ -18,6 +19,7 @@ var LanguagesByFilename = map[string][]string{
".bashrc": {"Shell"}, ".bashrc": {"Shell"},
".browserslistrc": {"Browserslist"}, ".browserslistrc": {"Browserslist"},
".bzrignore": {"Ignore List"}, ".bzrignore": {"Ignore List"},
".c8rc": {"JSON"},
".clang-format": {"YAML"}, ".clang-format": {"YAML"},
".clang-tidy": {"YAML"}, ".clang-tidy": {"YAML"},
".classpath": {"XML"}, ".classpath": {"XML"},
@ -52,6 +54,7 @@ var LanguagesByFilename = map[string][]string{
".gvimrc": {"Vim script"}, ".gvimrc": {"Vim script"},
".htaccess": {"ApacheConf"}, ".htaccess": {"ApacheConf"},
".htmlhintrc": {"JSON"}, ".htmlhintrc": {"JSON"},
".imgbotconfig": {"JSON"},
".inputrc": {"Readline Config"}, ".inputrc": {"Readline Config"},
".irbrc": {"Ruby"}, ".irbrc": {"Ruby"},
".jscsrc": {"JSON with Comments"}, ".jscsrc": {"JSON with Comments"},
@ -64,6 +67,7 @@ var LanguagesByFilename = map[string][]string{
".npmignore": {"Ignore List"}, ".npmignore": {"Ignore List"},
".npmrc": {"NPM Config"}, ".npmrc": {"NPM Config"},
".nvimrc": {"Vim script"}, ".nvimrc": {"Vim script"},
".nycrc": {"JSON"},
".php": {"PHP"}, ".php": {"PHP"},
".php_cs": {"PHP"}, ".php_cs": {"PHP"},
".php_cs.dist": {"PHP"}, ".php_cs.dist": {"PHP"},
@ -76,6 +80,7 @@ var LanguagesByFilename = map[string][]string{
".stylelintignore": {"Ignore List"}, ".stylelintignore": {"Ignore List"},
".tern-config": {"JSON"}, ".tern-config": {"JSON"},
".tern-project": {"JSON"}, ".tern-project": {"JSON"},
".tm_properties": {"TextMate Properties"},
".vimrc": {"Vim script"}, ".vimrc": {"Vim script"},
".viper": {"Emacs Lisp"}, ".viper": {"Emacs Lisp"},
".vscodeignore": {"Ignore List"}, ".vscodeignore": {"Ignore List"},
@ -88,6 +93,7 @@ var LanguagesByFilename = map[string][]string{
".zshrc": {"Shell"}, ".zshrc": {"Shell"},
"9fs": {"Shell"}, "9fs": {"Shell"},
"APKBUILD": {"Alpine Abuild"}, "APKBUILD": {"Alpine Abuild"},
"Android.bp": {"Soong"},
"App.config": {"XML"}, "App.config": {"XML"},
"Appraisals": {"Ruby"}, "Appraisals": {"Ruby"},
"BSDmakefile": {"Makefile"}, "BSDmakefile": {"Makefile"},
@ -182,6 +188,7 @@ var LanguagesByFilename = map[string][]string{
"ack": {"Perl"}, "ack": {"Perl"},
"ant.xml": {"Ant Build System"}, "ant.xml": {"Ant Build System"},
"apache2.conf": {"ApacheConf"}, "apache2.conf": {"ApacheConf"},
"api-extractor.json": {"JSON with Comments"},
"bash_aliases": {"Shell"}, "bash_aliases": {"Shell"},
"bash_logout": {"Shell"}, "bash_logout": {"Shell"},
"bash_profile": {"Shell"}, "bash_profile": {"Shell"},
@ -206,11 +213,13 @@ var LanguagesByFilename = map[string][]string{
"encodings.dir": {"X Font Directory Index"}, "encodings.dir": {"X Font Directory Index"},
"eqnrc": {"Roff"}, "eqnrc": {"Roff"},
"expr-dist": {"R"}, "expr-dist": {"R"},
"file_contexts": {"SELinux Policy"},
"firestore.rules": {"Cloud Firestore Security Rules"}, "firestore.rules": {"Cloud Firestore Security Rules"},
"fonts.alias": {"X Font Directory Index"}, "fonts.alias": {"X Font Directory Index"},
"fonts.dir": {"X Font Directory Index"}, "fonts.dir": {"X Font Directory Index"},
"fonts.scale": {"X Font Directory Index"}, "fonts.scale": {"X Font Directory Index"},
"fp-lib-table": {"KiCad Layout"}, "fp-lib-table": {"KiCad Layout"},
"genfs_contexts": {"SELinux Policy"},
"gitignore-global": {"Ignore List"}, "gitignore-global": {"Ignore List"},
"gitignore_global": {"Ignore List"}, "gitignore_global": {"Ignore List"},
"glide.lock": {"YAML"}, "glide.lock": {"YAML"},
@ -220,9 +229,11 @@ var LanguagesByFilename = map[string][]string{
"gvimrc": {"Vim script"}, "gvimrc": {"Vim script"},
"haproxy.cfg": {"HAProxy"}, "haproxy.cfg": {"HAProxy"},
"httpd.conf": {"ApacheConf"}, "httpd.conf": {"ApacheConf"},
"initial_sids": {"SELinux Policy"},
"inputrc": {"Readline Config"}, "inputrc": {"Readline Config"},
"installscript.qs": {"Qt Script"}, "installscript.qs": {"Qt Script"},
"jsconfig.json": {"JSON with Comments"}, "jsconfig.json": {"JSON with Comments"},
"kakrc": {"KakouneScript"},
"keep.me": {"Text"}, "keep.me": {"Text"},
"language-configuration.json": {"JSON with Comments"}, "language-configuration.json": {"JSON with Comments"},
"language-subtag-registry.txt": {"Record Jar"}, "language-subtag-registry.txt": {"Record Jar"},
@ -253,6 +264,7 @@ var LanguagesByFilename = map[string][]string{
"packages.config": {"XML"}, "packages.config": {"XML"},
"poetry.lock": {"TOML"}, "poetry.lock": {"TOML"},
"pom.xml": {"Maven POM"}, "pom.xml": {"Maven POM"},
"port_contexts": {"SELinux Policy"},
"profile": {"Shell"}, "profile": {"Shell"},
"read.me": {"Text"}, "read.me": {"Text"},
"readme.1st": {"Text"}, "readme.1st": {"Text"},
@ -261,6 +273,7 @@ var LanguagesByFilename = map[string][]string{
"rebar.lock": {"Erlang"}, "rebar.lock": {"Erlang"},
"riemann.config": {"Clojure"}, "riemann.config": {"Clojure"},
"robots.txt": {"robots.txt"}, "robots.txt": {"robots.txt"},
"security_classes": {"SELinux Policy"},
"ssh-config": {"SSH Config"}, "ssh-config": {"SSH Config"},
"ssh_config": {"SSH Config"}, "ssh_config": {"SSH Config"},
"sshconfig": {"SSH Config"}, "sshconfig": {"SSH Config"},

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -10,7 +10,6 @@ var LanguagesGroup = map[string]string{
"Bison": "Yacc", "Bison": "Yacc",
"C2hs Haskell": "Haskell", "C2hs Haskell": "Haskell",
"ColdFusion CFC": "ColdFusion", "ColdFusion CFC": "ColdFusion",
"Cython": "Python",
"ECLiPSe": "prolog", "ECLiPSe": "prolog",
"Easybuild": "Python", "Easybuild": "Python",
"Ecere Projects": "JavaScript", "Ecere Projects": "JavaScript",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -10,6 +10,7 @@ var IDByLanguage = map[string]int{
"ABAP CDS": 452681853, "ABAP CDS": 452681853,
"ABNF": 429, "ABNF": 429,
"AGS Script": 2, "AGS Script": 2,
"AIDL": 451700185,
"AL": 658971832, "AL": 658971832,
"AMPL": 3, "AMPL": 3,
"ANTLR": 4, "ANTLR": 4,
@ -36,6 +37,7 @@ var IDByLanguage = map[string]int{
"AsciiDoc": 22, "AsciiDoc": 22,
"AspectJ": 23, "AspectJ": 23,
"Assembly": 24, "Assembly": 24,
"Astro": 578209015,
"Asymptote": 591605007, "Asymptote": 591605007,
"Augeas": 25, "Augeas": 25,
"AutoHotkey": 26, "AutoHotkey": 26,
@ -65,6 +67,7 @@ var IDByLanguage = map[string]int{
"C++": 43, "C++": 43,
"C-ObjDump": 44, "C-ObjDump": 44,
"C2hs Haskell": 45, "C2hs Haskell": 45,
"CIL": 29176339,
"CLIPS": 46, "CLIPS": 46,
"CMake": 47, "CMake": 47,
"COBOL": 48, "COBOL": 48,
@ -73,6 +76,7 @@ var IDByLanguage = map[string]int{
"CSON": 424, "CSON": 424,
"CSS": 50, "CSS": 50,
"CSV": 51, "CSV": 51,
"CUE": 356063509,
"CWeb": 657332628, "CWeb": 657332628,
"Cabal Config": 677095381, "Cabal Config": 677095381,
"Cap'n Proto": 52, "Cap'n Proto": 52,
@ -106,6 +110,7 @@ var IDByLanguage = map[string]int{
"Csound Document": 74, "Csound Document": 74,
"Csound Score": 75, "Csound Score": 75,
"Cuda": 77, "Cuda": 77,
"Cue Sheet": 942714150,
"Cycript": 78, "Cycript": 78,
"Cython": 79, "Cython": 79,
"D": 80, "D": 80,
@ -125,11 +130,11 @@ var IDByLanguage = map[string]int{
"Dogescript": 90, "Dogescript": 90,
"Dylan": 91, "Dylan": 91,
"E": 92, "E": 92,
"E-mail": 529653389,
"EBNF": 430, "EBNF": 430,
"ECL": 93, "ECL": 93,
"ECLiPSe": 94, "ECLiPSe": 94,
"EJS": 95, "EJS": 95,
"EML": 529653389,
"EQ": 96, "EQ": 96,
"Eagle": 97, "Eagle": 97,
"Easybuild": 342840477, "Easybuild": 342840477,
@ -150,8 +155,10 @@ var IDByLanguage = map[string]int{
"Fancy": 109, "Fancy": 109,
"Fantom": 110, "Fantom": 110,
"Faust": 622529198, "Faust": 622529198,
"Fennel": 239946126,
"Filebench WML": 111, "Filebench WML": 111,
"Filterscript": 112, "Filterscript": 112,
"Fluent": 206353404,
"Formatted": 113, "Formatted": 113,
"Forth": 114, "Forth": 114,
"Fortran": 107, "Fortran": 107,
@ -251,6 +258,7 @@ var IDByLanguage = map[string]int{
"Jupyter Notebook": 185, "Jupyter Notebook": 185,
"KRL": 186, "KRL": 186,
"Kaitai Struct": 818804755, "Kaitai Struct": 818804755,
"KakouneScript": 603336474,
"KiCad Layout": 187, "KiCad Layout": 187,
"KiCad Legacy Layout": 140848857, "KiCad Legacy Layout": 140848857,
"KiCad Schematic": 622447435, "KiCad Schematic": 622447435,
@ -302,7 +310,6 @@ var IDByLanguage = map[string]int{
"Mathematica": 224, "Mathematica": 224,
"Maven POM": 226, "Maven POM": 226,
"Max": 227, "Max": 227,
"MediaWiki": 228,
"Mercury": 229, "Mercury": 229,
"Meson": 799141244, "Meson": 799141244,
"Metal": 230, "Metal": 230,
@ -367,6 +374,7 @@ var IDByLanguage = map[string]int{
"Oxygene": 269, "Oxygene": 269,
"Oz": 270, "Oz": 270,
"P4": 348895984, "P4": 348895984,
"PEG.js": 81442128,
"PHP": 272, "PHP": 272,
"PLSQL": 273, "PLSQL": 273,
"PLpgSQL": 274, "PLpgSQL": 274,
@ -450,6 +458,7 @@ var IDByLanguage = map[string]int{
"Rust": 327, "Rust": 327,
"SAS": 328, "SAS": 328,
"SCSS": 329, "SCSS": 329,
"SELinux Policy": 880010326,
"SMT": 330, "SMT": 330,
"SPARQL": 331, "SPARQL": 331,
"SQF": 332, "SQF": 332,
@ -482,6 +491,7 @@ var IDByLanguage = map[string]int{
"Smalltalk": 352, "Smalltalk": 352,
"Smarty": 353, "Smarty": 353,
"Solidity": 237469032, "Solidity": 237469032,
"Soong": 222900098,
"SourcePawn": 354, "SourcePawn": 354,
"Spline Font Database": 767169629, "Spline Font Database": 767169629,
"Squirrel": 355, "Squirrel": 355,
@ -511,6 +521,7 @@ var IDByLanguage = map[string]int{
"Terra": 371, "Terra": 371,
"Texinfo": 988020015, "Texinfo": 988020015,
"Text": 372, "Text": 372,
"TextMate Properties": 981795023,
"Textile": 373, "Textile": 373,
"Thrift": 374, "Thrift": 374,
"Turing": 375, "Turing": 375,
@ -530,6 +541,7 @@ var IDByLanguage = map[string]int{
"VCL": 384, "VCL": 384,
"VHDL": 385, "VHDL": 385,
"Vala": 386, "Vala": 386,
"Valve Data Format": 544060961,
"Verilog": 387, "Verilog": 387,
"Vim Help File": 508563686, "Vim Help File": 508563686,
"Vim Snippet": 81265970, "Vim Snippet": 81265970,
@ -544,6 +556,7 @@ var IDByLanguage = map[string]int{
"WebIDL": 395, "WebIDL": 395,
"WebVTT": 658679714, "WebVTT": 658679714,
"Wget Config": 668457123, "Wget Config": 668457123,
"Wikitext": 228,
"Windows Registry Entries": 969674868, "Windows Registry Entries": 969674868,
"Wollok": 632745969, "Wollok": 632745969,
"World of Warcraft Addon Data": 396, "World of Warcraft Addon Data": 396,

View File

@ -1,11 +1,12 @@
// 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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
var LanguagesByInterpreter = map[string][]string{ var LanguagesByInterpreter = map[string][]string{
"M2": {"Macaulay2"}, "M2": {"Macaulay2"},
"Rscript": {"R"}, "Rscript": {"R"},
"aidl": {"AIDL"},
"apl": {"APL"}, "apl": {"APL"},
"aplx": {"APL"}, "aplx": {"APL"},
"ash": {"Shell"}, "ash": {"Shell"},
@ -36,6 +37,7 @@ var LanguagesByInterpreter = map[string][]string{
"ecl": {"Common Lisp"}, "ecl": {"Common Lisp"},
"elixir": {"Elixir"}, "elixir": {"Elixir"},
"escript": {"Erlang"}, "escript": {"Erlang"},
"fennel": {"Fennel"},
"fish": {"fish"}, "fish": {"fish"},
"gawk": {"Awk"}, "gawk": {"Awk"},
"gerbv": {"Gerber Image"}, "gerbv": {"Gerber Image"},

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -12,6 +12,7 @@ var LanguagesMime = map[string]string{
"AngelScript": "text/x-c++src", "AngelScript": "text/x-c++src",
"Ant Build System": "application/xml", "Ant Build System": "application/xml",
"Apex": "text/x-java", "Apex": "text/x-java",
"Astro": "text/jsx",
"Asymptote": "text/x-kotlin", "Asymptote": "text/x-kotlin",
"Beef": "text/x-csharp", "Beef": "text/x-csharp",
"BibTeX": "text/x-stex", "BibTeX": "text/x-stex",
@ -45,6 +46,7 @@ var LanguagesMime = map[string]string{
"Diff": "text/x-diff", "Diff": "text/x-diff",
"Dockerfile": "text/x-dockerfile", "Dockerfile": "text/x-dockerfile",
"Dylan": "text/x-dylan", "Dylan": "text/x-dylan",
"E-mail": "application/mbox",
"EBNF": "text/x-ebnf", "EBNF": "text/x-ebnf",
"ECL": "text/x-ecl", "ECL": "text/x-ecl",
"EQ": "text/x-csharp", "EQ": "text/x-csharp",
@ -148,6 +150,7 @@ var LanguagesMime = map[string]string{
"OpenCL": "text/x-csrc", "OpenCL": "text/x-csrc",
"OpenRC runscript": "text/x-sh", "OpenRC runscript": "text/x-sh",
"Oz": "text/x-oz", "Oz": "text/x-oz",
"PEG.js": "text/javascript",
"PHP": "application/x-httpd-php", "PHP": "application/x-httpd-php",
"PLSQL": "text/x-plsql", "PLSQL": "text/x-plsql",
"PLpgSQL": "text/x-sql", "PLpgSQL": "text/x-sql",
@ -208,6 +211,7 @@ var LanguagesMime = map[string]string{
"Tcsh": "text/x-sh", "Tcsh": "text/x-sh",
"TeX": "text/x-stex", "TeX": "text/x-stex",
"Terra": "text/x-lua", "Terra": "text/x-lua",
"TextMate Properties": "text/x-properties",
"Textile": "text/x-textile", "Textile": "text/x-textile",
"Turtle": "text/turtle", "Turtle": "text/turtle",
"Twig": "text/x-twig", "Twig": "text/x-twig",

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -10,6 +10,7 @@ var LanguagesType = map[string]int{
"ABAP CDS": 2, "ABAP CDS": 2,
"ABNF": 1, "ABNF": 1,
"AGS Script": 2, "AGS Script": 2,
"AIDL": 2,
"AL": 2, "AL": 2,
"AMPL": 2, "AMPL": 2,
"ANTLR": 2, "ANTLR": 2,
@ -36,6 +37,7 @@ var LanguagesType = map[string]int{
"AsciiDoc": 4, "AsciiDoc": 4,
"AspectJ": 2, "AspectJ": 2,
"Assembly": 2, "Assembly": 2,
"Astro": 3,
"Asymptote": 2, "Asymptote": 2,
"Augeas": 2, "Augeas": 2,
"AutoHotkey": 2, "AutoHotkey": 2,
@ -65,6 +67,7 @@ var LanguagesType = map[string]int{
"C++": 2, "C++": 2,
"C-ObjDump": 1, "C-ObjDump": 1,
"C2hs Haskell": 2, "C2hs Haskell": 2,
"CIL": 1,
"CLIPS": 2, "CLIPS": 2,
"CMake": 2, "CMake": 2,
"COBOL": 2, "COBOL": 2,
@ -73,6 +76,7 @@ var LanguagesType = map[string]int{
"CSON": 1, "CSON": 1,
"CSS": 3, "CSS": 3,
"CSV": 1, "CSV": 1,
"CUE": 2,
"CWeb": 2, "CWeb": 2,
"Cabal Config": 1, "Cabal Config": 1,
"Cap'n Proto": 2, "Cap'n Proto": 2,
@ -106,6 +110,7 @@ var LanguagesType = map[string]int{
"Csound Document": 2, "Csound Document": 2,
"Csound Score": 2, "Csound Score": 2,
"Cuda": 2, "Cuda": 2,
"Cue Sheet": 1,
"Cycript": 2, "Cycript": 2,
"Cython": 2, "Cython": 2,
"D": 2, "D": 2,
@ -125,11 +130,11 @@ var LanguagesType = map[string]int{
"Dogescript": 2, "Dogescript": 2,
"Dylan": 2, "Dylan": 2,
"E": 2, "E": 2,
"E-mail": 1,
"EBNF": 1, "EBNF": 1,
"ECL": 2, "ECL": 2,
"ECLiPSe": 2, "ECLiPSe": 2,
"EJS": 3, "EJS": 3,
"EML": 1,
"EQ": 2, "EQ": 2,
"Eagle": 1, "Eagle": 1,
"Easybuild": 1, "Easybuild": 1,
@ -150,8 +155,10 @@ var LanguagesType = map[string]int{
"Fancy": 2, "Fancy": 2,
"Fantom": 2, "Fantom": 2,
"Faust": 2, "Faust": 2,
"Fennel": 2,
"Filebench WML": 2, "Filebench WML": 2,
"Filterscript": 2, "Filterscript": 2,
"Fluent": 2,
"Formatted": 1, "Formatted": 1,
"Forth": 2, "Forth": 2,
"Fortran": 2, "Fortran": 2,
@ -251,6 +258,7 @@ var LanguagesType = map[string]int{
"Jupyter Notebook": 3, "Jupyter Notebook": 3,
"KRL": 2, "KRL": 2,
"Kaitai Struct": 2, "Kaitai Struct": 2,
"KakouneScript": 2,
"KiCad Layout": 1, "KiCad Layout": 1,
"KiCad Legacy Layout": 1, "KiCad Legacy Layout": 1,
"KiCad Schematic": 1, "KiCad Schematic": 1,
@ -302,7 +310,6 @@ var LanguagesType = map[string]int{
"Mathematica": 2, "Mathematica": 2,
"Maven POM": 1, "Maven POM": 1,
"Max": 2, "Max": 2,
"MediaWiki": 4,
"Mercury": 2, "Mercury": 2,
"Meson": 2, "Meson": 2,
"Metal": 2, "Metal": 2,
@ -367,6 +374,7 @@ var LanguagesType = map[string]int{
"Oxygene": 2, "Oxygene": 2,
"Oz": 2, "Oz": 2,
"P4": 2, "P4": 2,
"PEG.js": 2,
"PHP": 2, "PHP": 2,
"PLSQL": 2, "PLSQL": 2,
"PLpgSQL": 2, "PLpgSQL": 2,
@ -450,6 +458,7 @@ var LanguagesType = map[string]int{
"Rust": 2, "Rust": 2,
"SAS": 2, "SAS": 2,
"SCSS": 3, "SCSS": 3,
"SELinux Policy": 1,
"SMT": 2, "SMT": 2,
"SPARQL": 1, "SPARQL": 1,
"SQF": 2, "SQF": 2,
@ -482,6 +491,7 @@ var LanguagesType = map[string]int{
"Smalltalk": 2, "Smalltalk": 2,
"Smarty": 2, "Smarty": 2,
"Solidity": 2, "Solidity": 2,
"Soong": 1,
"SourcePawn": 2, "SourcePawn": 2,
"Spline Font Database": 1, "Spline Font Database": 1,
"Squirrel": 2, "Squirrel": 2,
@ -511,6 +521,7 @@ var LanguagesType = map[string]int{
"Terra": 2, "Terra": 2,
"Texinfo": 4, "Texinfo": 4,
"Text": 4, "Text": 4,
"TextMate Properties": 1,
"Textile": 4, "Textile": 4,
"Thrift": 2, "Thrift": 2,
"Turing": 2, "Turing": 2,
@ -530,6 +541,7 @@ var LanguagesType = map[string]int{
"VCL": 2, "VCL": 2,
"VHDL": 2, "VHDL": 2,
"Vala": 2, "Vala": 2,
"Valve Data Format": 1,
"Verilog": 2, "Verilog": 2,
"Vim Help File": 4, "Vim Help File": 4,
"Vim Snippet": 3, "Vim Snippet": 3,
@ -544,6 +556,7 @@ var LanguagesType = map[string]int{
"WebIDL": 2, "WebIDL": 2,
"WebVTT": 1, "WebVTT": 1,
"Wget Config": 1, "Wget Config": 1,
"Wikitext": 4,
"Windows Registry Entries": 1, "Windows Registry Entries": 1,
"Wollok": 2, "Wollok": 2,
"World of Warcraft Addon Data": 1, "World of Warcraft Addon Data": 1,

View File

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

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 = "95636e415749b0bf8fbf3f86922f788cf91c11a2" commit = "cdf42b16b136fc7f0a491d36c415f34fcfb9368a"
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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -32,6 +32,7 @@ var LanguageByAliasMap = map[string]string{
"ags": "AGS Script", "ags": "AGS Script",
"ags_script": "AGS Script", "ags_script": "AGS Script",
"ahk": "AutoHotkey", "ahk": "AutoHotkey",
"aidl": "AIDL",
"al": "AL", "al": "AL",
"alloy": "Alloy", "alloy": "Alloy",
"alpine_abuild": "Alpine Abuild", "alpine_abuild": "Alpine Abuild",
@ -64,6 +65,7 @@ var LanguageByAliasMap = map[string]string{
"aspx": "ASP.NET", "aspx": "ASP.NET",
"aspx-vb": "ASP.NET", "aspx-vb": "ASP.NET",
"assembly": "Assembly", "assembly": "Assembly",
"astro": "Astro",
"asymptote": "Asymptote", "asymptote": "Asymptote",
"ats": "ATS", "ats": "ATS",
"ats2": "ATS", "ats2": "ATS",
@ -130,6 +132,7 @@ var LanguageByAliasMap = map[string]string{
"charity": "Charity", "charity": "Charity",
"chpl": "Chapel", "chpl": "Chapel",
"chuck": "ChucK", "chuck": "ChucK",
"cil": "CIL",
"cirru": "Cirru", "cirru": "Cirru",
"clarion": "Clarion", "clarion": "Clarion",
"classic_asp": "Classic ASP", "classic_asp": "Classic ASP",
@ -178,6 +181,8 @@ var LanguageByAliasMap = map[string]string{
"csv": "CSV", "csv": "CSV",
"cucumber": "Gherkin", "cucumber": "Gherkin",
"cuda": "Cuda", "cuda": "Cuda",
"cue": "CUE",
"cue_sheet": "Cue Sheet",
"curl_config": "cURL Config", "curl_config": "cURL Config",
"curlrc": "cURL Config", "curlrc": "cURL Config",
"cweb": "CWeb", "cweb": "CWeb",
@ -211,6 +216,7 @@ var LanguageByAliasMap = map[string]string{
"dtrace-script": "DTrace", "dtrace-script": "DTrace",
"dylan": "Dylan", "dylan": "Dylan",
"e": "E", "e": "E",
"e-mail": "E-mail",
"eagle": "Eagle", "eagle": "Eagle",
"easybuild": "Easybuild", "easybuild": "Easybuild",
"ebnf": "EBNF", "ebnf": "EBNF",
@ -233,8 +239,9 @@ var LanguageByAliasMap = map[string]string{
"emacs": "Emacs Lisp", "emacs": "Emacs Lisp",
"emacs_lisp": "Emacs Lisp", "emacs_lisp": "Emacs Lisp",
"emacs_muse": "Muse", "emacs_muse": "Muse",
"email": "E-mail",
"emberscript": "EmberScript", "emberscript": "EmberScript",
"eml": "EML", "eml": "E-mail",
"eq": "EQ", "eq": "EQ",
"erb": "HTML+ERB", "erb": "HTML+ERB",
"erlang": "Erlang", "erlang": "Erlang",
@ -245,12 +252,14 @@ var LanguageByAliasMap = map[string]string{
"fantom": "Fantom", "fantom": "Fantom",
"faust": "Faust", "faust": "Faust",
"fb": "FreeBasic", "fb": "FreeBasic",
"fennel": "Fennel",
"figfont": "FIGlet Font", "figfont": "FIGlet Font",
"figlet_font": "FIGlet Font", "figlet_font": "FIGlet Font",
"filebench_wml": "Filebench WML", "filebench_wml": "Filebench WML",
"filterscript": "Filterscript", "filterscript": "Filterscript",
"fish": "fish", "fish": "fish",
"flex": "Lex", "flex": "Lex",
"fluent": "Fluent",
"flux": "FLUX", "flux": "FLUX",
"formatted": "Formatted", "formatted": "Formatted",
"forth": "Forth", "forth": "Forth",
@ -319,6 +328,7 @@ var LanguageByAliasMap = map[string]string{
"haxe": "Haxe", "haxe": "Haxe",
"hbs": "Handlebars", "hbs": "Handlebars",
"hcl": "HCL", "hcl": "HCL",
"help": "Vim Help File",
"hiveql": "HiveQL", "hiveql": "HiveQL",
"hlsl": "HLSL", "hlsl": "HLSL",
"holyc": "HolyC", "holyc": "HolyC",
@ -389,6 +399,10 @@ var LanguageByAliasMap = map[string]string{
"julia": "Julia", "julia": "Julia",
"jupyter_notebook": "Jupyter Notebook", "jupyter_notebook": "Jupyter Notebook",
"kaitai_struct": "Kaitai Struct", "kaitai_struct": "Kaitai Struct",
"kak": "KakouneScript",
"kakounescript": "KakouneScript",
"kakscript": "KakouneScript",
"keyvalues": "Valve Data Format",
"kicad_layout": "KiCad Layout", "kicad_layout": "KiCad Layout",
"kicad_legacy_layout": "KiCad Legacy Layout", "kicad_legacy_layout": "KiCad Legacy Layout",
"kicad_schematic": "KiCad Schematic", "kicad_schematic": "KiCad Schematic",
@ -439,6 +453,7 @@ var LanguageByAliasMap = map[string]string{
"m68k": "Motorola 68K Assembly", "m68k": "Motorola 68K Assembly",
"macaulay2": "Macaulay2", "macaulay2": "Macaulay2",
"macruby": "Ruby", "macruby": "Ruby",
"mail": "E-mail",
"make": "Makefile", "make": "Makefile",
"makefile": "Makefile", "makefile": "Makefile",
"mako": "Mako", "mako": "Mako",
@ -457,9 +472,10 @@ var LanguageByAliasMap = map[string]string{
"max/msp": "Max", "max/msp": "Max",
"maxmsp": "Max", "maxmsp": "Max",
"maxscript": "MAXScript", "maxscript": "MAXScript",
"mbox": "E-mail",
"mcfunction": "mcfunction", "mcfunction": "mcfunction",
"mdoc": "Roff", "mdoc": "Roff",
"mediawiki": "MediaWiki", "mediawiki": "Wikitext",
"mercury": "Mercury", "mercury": "Mercury",
"meson": "Meson", "meson": "Meson",
"metal": "Metal", "metal": "Metal",
@ -576,6 +592,7 @@ var LanguageByAliasMap = map[string]string{
"pasm": "Parrot Assembly", "pasm": "Parrot Assembly",
"pawn": "Pawn", "pawn": "Pawn",
"pcbnew": "KiCad Layout", "pcbnew": "KiCad Layout",
"peg.js": "PEG.js",
"pep8": "Pep8", "pep8": "Pep8",
"perl": "Perl", "perl": "Perl",
"perl-6": "Raku", "perl-6": "Raku",
@ -685,6 +702,7 @@ var LanguageByAliasMap = map[string]string{
"rpc": "RPC", "rpc": "RPC",
"rpcgen": "RPC", "rpcgen": "RPC",
"rpm_spec": "RPM Spec", "rpm_spec": "RPM Spec",
"rs": "Rust",
"rs-274x": "Gerber Image", "rs-274x": "Gerber Image",
"rscript": "R", "rscript": "R",
"rss": "XML", "rss": "XML",
@ -706,6 +724,9 @@ var LanguageByAliasMap = map[string]string{
"scss": "SCSS", "scss": "SCSS",
"sed": "sed", "sed": "sed",
"self": "Self", "self": "Self",
"selinux_kernel_policy_language": "SELinux Policy",
"selinux_policy": "SELinux Policy",
"sepolicy": "SELinux Policy",
"sh": "Shell", "sh": "Shell",
"shaderlab": "ShaderLab", "shaderlab": "ShaderLab",
"shell": "Shell", "shell": "Shell",
@ -726,6 +747,7 @@ var LanguageByAliasMap = map[string]string{
"snipmate": "Vim Snippet", "snipmate": "Vim Snippet",
"snippet": "YASnippet", "snippet": "YASnippet",
"solidity": "Solidity", "solidity": "Solidity",
"soong": "Soong",
"sourcemod": "SourcePawn", "sourcemod": "SourcePawn",
"sourcepawn": "SourcePawn", "sourcepawn": "SourcePawn",
"soy": "Closure Templates", "soy": "Closure Templates",
@ -764,10 +786,12 @@ var LanguageByAliasMap = map[string]string{
"texinfo": "Texinfo", "texinfo": "Texinfo",
"text": "Text", "text": "Text",
"textile": "Textile", "textile": "Textile",
"textmate_properties": "TextMate Properties",
"thrift": "Thrift", "thrift": "Thrift",
"ti_program": "TI Program", "ti_program": "TI Program",
"tl": "Type Language", "tl": "Type Language",
"tla": "TLA", "tla": "TLA",
"tm-properties": "TextMate Properties",
"toml": "TOML", "toml": "TOML",
"troff": "Roff", "troff": "Roff",
"ts": "TypeScript", "ts": "TypeScript",
@ -793,6 +817,7 @@ var LanguageByAliasMap = map[string]string{
"urweb": "UrWeb", "urweb": "UrWeb",
"v": "V", "v": "V",
"vala": "Vala", "vala": "Vala",
"valve_data_format": "Valve Data Format",
"vb.net": "Visual Basic .NET", "vb.net": "Visual Basic .NET",
"vb6": "VBA", "vb6": "VBA",
"vb_.net": "Visual Basic .NET", "vb_.net": "Visual Basic .NET",
@ -800,6 +825,7 @@ var LanguageByAliasMap = map[string]string{
"vbnet": "Visual Basic .NET", "vbnet": "Visual Basic .NET",
"vbscript": "VBScript", "vbscript": "VBScript",
"vcl": "VCL", "vcl": "VCL",
"vdf": "Valve Data Format",
"verilog": "Verilog", "verilog": "Verilog",
"vhdl": "VHDL", "vhdl": "VHDL",
"vim": "Vim script", "vim": "Vim script",
@ -826,6 +852,8 @@ var LanguageByAliasMap = map[string]string{
"webvtt": "WebVTT", "webvtt": "WebVTT",
"wget_config": "Wget Config", "wget_config": "Wget Config",
"wgetrc": "Wget Config", "wgetrc": "Wget Config",
"wiki": "Wikitext",
"wikitext": "Wikitext",
"winbatch": "Batchfile", "winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries", "windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp", "wisp": "wisp",

View File

@ -1,13 +1,15 @@
// 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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
var LanguagesColor = map[string]string{ var LanguagesColor = map[string]string{
"1C Enterprise": "#814CCC", "1C Enterprise": "#814CCC",
"4D": "#004289",
"ABAP": "#E8274B", "ABAP": "#E8274B",
"ABAP CDS": "#555e25", "ABAP CDS": "#555e25",
"AGS Script": "#B9D9FF", "AGS Script": "#B9D9FF",
"AIDL": "#34EB6B",
"AL": "#3AA2B5", "AL": "#3AA2B5",
"AMPL": "#E6EFBB", "AMPL": "#E6EFBB",
"ANTLR": "#9DC3FF", "ANTLR": "#9DC3FF",
@ -17,37 +19,61 @@ var LanguagesColor = map[string]string{
"ATS": "#1ac620", "ATS": "#1ac620",
"ActionScript": "#882B0F", "ActionScript": "#882B0F",
"Ada": "#02f88c", "Ada": "#02f88c",
"Adobe Font Metrics": "#fa0f00",
"Agda": "#315665", "Agda": "#315665",
"Alloy": "#64C800", "Alloy": "#64C800",
"Alpine Abuild": "#0D597F",
"Altium Designer": "#A89663",
"AngelScript": "#C7D7DC", "AngelScript": "#C7D7DC",
"Ant Build System": "#A9157E",
"ApacheConf": "#d12127",
"Apex": "#1797c0", "Apex": "#1797c0",
"Apollo Guidance Computer": "#0B3D91", "Apollo Guidance Computer": "#0B3D91",
"AppleScript": "#101F1F", "AppleScript": "#101F1F",
"Arc": "#aa2afe", "Arc": "#aa2afe",
"AsciiDoc": "#73a0c5",
"AspectJ": "#a957b0", "AspectJ": "#a957b0",
"Assembly": "#6E4C13", "Assembly": "#6E4C13",
"Astro": "#ff5a03",
"Asymptote": "#ff0000", "Asymptote": "#ff0000",
"Augeas": "#9CC134",
"AutoHotkey": "#6594b9", "AutoHotkey": "#6594b9",
"AutoIt": "#1C3552", "AutoIt": "#1C3552",
"Avro IDL": "#0040FF",
"Awk": "#c30e9b",
"BASIC": "#ff0000", "BASIC": "#ff0000",
"Ballerina": "#FF5000", "Ballerina": "#FF5000",
"Batchfile": "#C1F12E", "Batchfile": "#C1F12E",
"Beef": "#a52f4e", "Beef": "#a52f4e",
"BibTeX": "#778899",
"Bicep": "#519aba", "Bicep": "#519aba",
"Bison": "#6A463F", "Bison": "#6A463F",
"BitBake": "#00bce4",
"Blade": "#f7523f", "Blade": "#f7523f",
"BlitzBasic": "#00FFAE",
"BlitzMax": "#cd6400", "BlitzMax": "#cd6400",
"Bluespec": "#12223c",
"Boo": "#d4bec1", "Boo": "#d4bec1",
"Boogie": "#c80fa0", "Boogie": "#c80fa0",
"Brainfuck": "#2F2530", "Brainfuck": "#2F2530",
"Brightscript": "#662D91",
"Browserslist": "#ffd539", "Browserslist": "#ffd539",
"C": "#555555", "C": "#555555",
"C#": "#178600", "C#": "#178600",
"C++": "#f34b7d", "C++": "#f34b7d",
"CLIPS": "#00A300",
"CMake": "#DA3434",
"COLLADA": "#F1A42B",
"CSON": "#244776", "CSON": "#244776",
"CSS": "#563d7c", "CSS": "#563d7c",
"CSV": "#237346",
"CUE": "#5886E1",
"CWeb": "#00007a",
"Cabal Config": "#483465",
"Cap'n Proto": "#c42727",
"Ceylon": "#dfa535", "Ceylon": "#dfa535",
"Chapel": "#8dc63f", "Chapel": "#8dc63f",
"ChucK": "#3f8000",
"Cirru": "#ccccff", "Cirru": "#ccccff",
"Clarion": "#db901e", "Clarion": "#db901e",
"Classic ASP": "#6a40fd", "Classic ASP": "#6a40fd",
@ -55,27 +81,40 @@ var LanguagesColor = map[string]string{
"Click": "#E4E6F3", "Click": "#E4E6F3",
"Clojure": "#db5855", "Clojure": "#db5855",
"Closure Templates": "#0d948f", "Closure Templates": "#0d948f",
"Cloud Firestore Security Rules": "#FFA000",
"CodeQL": "#140f46",
"CoffeeScript": "#244776", "CoffeeScript": "#244776",
"ColdFusion": "#ed2cd6", "ColdFusion": "#ed2cd6",
"ColdFusion CFC": "#ed2cd6", "ColdFusion CFC": "#ed2cd6",
"Common Lisp": "#3fb68b", "Common Lisp": "#3fb68b",
"Common Workflow Language": "#B5314C", "Common Workflow Language": "#B5314C",
"Component Pascal": "#B0CE4E", "Component Pascal": "#B0CE4E",
"Coq": "#d0b68c",
"Crystal": "#000100", "Crystal": "#000100",
"Csound": "#1a1a1a",
"Csound Document": "#1a1a1a",
"Csound Score": "#1a1a1a",
"Cuda": "#3A4E3A", "Cuda": "#3A4E3A",
"Cython": "#fedf5b",
"D": "#ba595e", "D": "#ba595e",
"DM": "#447265", "DM": "#447265",
"Dafny": "#FFEC25", "Dafny": "#FFEC25",
"Darcs Patch": "#8eff23",
"Dart": "#00B4AB", "Dart": "#00B4AB",
"DataWeave": "#003a52", "DataWeave": "#003a52",
"Dhall": "#dfafff", "Dhall": "#dfafff",
"DirectX 3D File": "#aace60",
"Dockerfile": "#384d54", "Dockerfile": "#384d54",
"Dogescript": "#cca760", "Dogescript": "#cca760",
"Dylan": "#6c616e", "Dylan": "#6c616e",
"E": "#ccce35", "E": "#ccce35",
"ECL": "#8a1267", "ECL": "#8a1267",
"ECLiPSe": "#001d9d",
"EJS": "#a91e50", "EJS": "#a91e50",
"EQ": "#a78649", "EQ": "#a78649",
"Easybuild": "#069406",
"Ecere Projects": "#913960",
"EditorConfig": "#fff1f2",
"Eiffel": "#4d6977", "Eiffel": "#4d6977",
"Elixir": "#6e4a7e", "Elixir": "#6e4a7e",
"Elm": "#60B5CC", "Elm": "#60B5CC",
@ -84,33 +123,62 @@ var LanguagesColor = map[string]string{
"Erlang": "#B83998", "Erlang": "#B83998",
"F#": "#b845fc", "F#": "#b845fc",
"F*": "#572e30", "F*": "#572e30",
"FIGlet Font": "#FFDDBB",
"FLUX": "#88ccff", "FLUX": "#88ccff",
"Factor": "#636746", "Factor": "#636746",
"Fancy": "#7b9db4", "Fancy": "#7b9db4",
"Fantom": "#14253c", "Fantom": "#14253c",
"Faust": "#c37240", "Faust": "#c37240",
"Fennel": "#fff3d7",
"Filebench WML": "#F6B900",
"Fluent": "#ffcc33",
"Forth": "#341708", "Forth": "#341708",
"Fortran": "#4d41b1", "Fortran": "#4d41b1",
"Fortran Free Form": "#4d41b1",
"FreeBasic": "#867db1", "FreeBasic": "#867db1",
"FreeMarker": "#0050b2", "FreeMarker": "#0050b2",
"Frege": "#00cafe", "Frege": "#00cafe",
"Futhark": "#5f021f", "Futhark": "#5f021f",
"G-code": "#D08CF2", "G-code": "#D08CF2",
"GAML": "#FFC766", "GAML": "#FFC766",
"GAMS": "#f49a22",
"GAP": "#0000cc",
"GCC Machine Description": "#FFCFAB",
"GDScript": "#355570", "GDScript": "#355570",
"GEDCOM": "#003058",
"GLSL": "#5686a5",
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Gemfile.lock": "#701516", "Gemfile.lock": "#701516",
"Genie": "#fb855d", "Genie": "#fb855d",
"Genshi": "#951531",
"Gentoo Ebuild": "#9400ff",
"Gentoo Eclass": "#9400ff",
"Gerber Image": "#d20b00",
"Gherkin": "#5B2063", "Gherkin": "#5B2063",
"Git Attributes": "#F44D27",
"Git Config": "#F44D27",
"Glyph": "#c1ac7f", "Glyph": "#c1ac7f",
"Gnuplot": "#f0a9f0", "Gnuplot": "#f0a9f0",
"Go": "#00ADD8", "Go": "#00ADD8",
"Golo": "#88562A", "Golo": "#88562A",
"Gosu": "#82937f", "Gosu": "#82937f",
"Grace": "#615f8b",
"Gradle": "#02303a",
"Grammatical Framework": "#ff0000", "Grammatical Framework": "#ff0000",
"GraphQL": "#e10098", "GraphQL": "#e10098",
"Groovy": "#e69f56", "Graphviz (DOT)": "#2596be",
"Groovy": "#4298b8",
"Groovy Server Pages": "#4298b8",
"HAProxy": "#106da9",
"HLSL": "#aace60",
"HTML": "#e34c26", "HTML": "#e34c26",
"HTML+ECR": "#2e1052",
"HTML+EEX": "#6e4a7e",
"HTML+ERB": "#701516",
"HTML+PHP": "#4f5d95",
"HTML+Razor": "#512be4",
"HTTP": "#005C9C",
"HXML": "#f68712",
"Hack": "#878787", "Hack": "#878787",
"Haml": "#ece2a9", "Haml": "#ece2a9",
"Handlebars": "#f7931e", "Handlebars": "#f7931e",
@ -122,35 +190,59 @@ var LanguagesColor = map[string]string{
"Hy": "#7790B2", "Hy": "#7790B2",
"IDL": "#a3522f", "IDL": "#a3522f",
"IGOR Pro": "#0000cc", "IGOR Pro": "#0000cc",
"INI": "#d1dbe0",
"Idris": "#b30000", "Idris": "#b30000",
"Ignore List": "#000000",
"ImageJ Macro": "#99AAFF", "ImageJ Macro": "#99AAFF",
"Inno Setup": "#264b99",
"Io": "#a9188d", "Io": "#a9188d",
"Ioke": "#078193", "Ioke": "#078193",
"Isabelle": "#FEFE00", "Isabelle": "#FEFE00",
"Isabelle ROOT": "#FEFE00",
"J": "#9EEDFF", "J": "#9EEDFF",
"JFlex": "#DBCA00", "JFlex": "#DBCA00",
"JSON": "#292929",
"JSON with Comments": "#292929",
"JSON5": "#267CB9",
"JSONLD": "#0c479c",
"JSONiq": "#40d47e", "JSONiq": "#40d47e",
"Jasmin": "#d03600",
"Java": "#b07219", "Java": "#b07219",
"Java Properties": "#2A6277",
"Java Server Pages": "#2A6277",
"JavaScript": "#f1e05a", "JavaScript": "#f1e05a",
"JavaScript+ERB": "#f1e05a",
"Jinja": "#a52a22", "Jinja": "#a52a22",
"Jison": "#56b3cb",
"Jison Lex": "#56b3cb",
"Jolie": "#843179", "Jolie": "#843179",
"Jsonnet": "#0064bd", "Jsonnet": "#0064bd",
"Julia": "#a270ba", "Julia": "#a270ba",
"Jupyter Notebook": "#DA5B0B", "Jupyter Notebook": "#DA5B0B",
"KRL": "#28430A", "KRL": "#28430A",
"Kaitai Struct": "#773b37", "Kaitai Struct": "#773b37",
"Kotlin": "#F18E33", "KakouneScript": "#6f8042",
"KiCad Layout": "#2f4aab",
"KiCad Legacy Layout": "#2f4aab",
"KiCad Schematic": "#2f4aab",
"Kotlin": "#A97BFF",
"LFE": "#4C3023", "LFE": "#4C3023",
"LLVM": "#185619", "LLVM": "#185619",
"LOLCODE": "#cc9900", "LOLCODE": "#cc9900",
"LSL": "#3d9970", "LSL": "#3d9970",
"LabVIEW": "#fede06",
"Lark": "#2980B9", "Lark": "#2980B9",
"Lasso": "#999999", "Lasso": "#999999",
"Latte": "#f2a542", "Latte": "#f2a542",
"Less": "#1d365d", "Less": "#1d365d",
"Lex": "#DBCA00", "Lex": "#DBCA00",
"LilyPond": "#9ccc7c",
"Liquid": "#67b8de", "Liquid": "#67b8de",
"Literate Agda": "#315665",
"Literate CoffeeScript": "#244776",
"Literate Haskell": "#5e5086",
"LiveScript": "#499886", "LiveScript": "#499886",
"Logtalk": "#295b9a",
"LookML": "#652B81", "LookML": "#652B81",
"Lua": "#000080", "Lua": "#000080",
"MATLAB": "#e16737", "MATLAB": "#e16737",
@ -161,17 +253,24 @@ var LanguagesColor = map[string]string{
"MTML": "#b7e1f4", "MTML": "#b7e1f4",
"Macaulay2": "#d8ffff", "Macaulay2": "#d8ffff",
"Makefile": "#427819", "Makefile": "#427819",
"Mako": "#7e858d",
"Markdown": "#083fa1", "Markdown": "#083fa1",
"Marko": "#42bff2", "Marko": "#42bff2",
"Mask": "#f97732", "Mask": "#f97732",
"Mathematica": "#dd1100",
"Max": "#c4a79c", "Max": "#c4a79c",
"Mercury": "#ff2b2b", "Mercury": "#ff2b2b",
"Meson": "#007800", "Meson": "#007800",
"Metal": "#8f14e9", "Metal": "#8f14e9",
"Mirah": "#c7a938", "Mirah": "#c7a938",
"Modelica": "#de1d31",
"Modula-2": "#10253f",
"Modula-3": "#223388", "Modula-3": "#223388",
"MoonScript": "#ff4585",
"Motorola 68K Assembly": "#005daa",
"Mustache": "#724b3b", "Mustache": "#724b3b",
"NCL": "#28431f", "NCL": "#28431f",
"NPM Config": "#cb3837",
"NWScript": "#111522", "NWScript": "#111522",
"Nearley": "#990000", "Nearley": "#990000",
"Nemerle": "#3d3c6e", "Nemerle": "#3d3c6e",
@ -180,6 +279,7 @@ var LanguagesColor = map[string]string{
"NetLogo": "#ff6375", "NetLogo": "#ff6375",
"NewLisp": "#87AED7", "NewLisp": "#87AED7",
"Nextflow": "#3ac486", "Nextflow": "#3ac486",
"Nginx": "#009639",
"Nim": "#ffc200", "Nim": "#ffc200",
"Nit": "#009917", "Nit": "#009917",
"Nix": "#7e7eff", "Nix": "#7e7eff",
@ -194,13 +294,20 @@ var LanguagesColor = map[string]string{
"Odin": "#60AFFE", "Odin": "#60AFFE",
"Omgrofl": "#cabbff", "Omgrofl": "#cabbff",
"Opal": "#f7ede0", "Opal": "#f7ede0",
"Open Policy Agent": "#7d9199",
"OpenCL": "#ed2e2d",
"OpenEdge ABL": "#5ce600",
"OpenQASM": "#AA70FF", "OpenQASM": "#AA70FF",
"OpenSCAD": "#e5cd45",
"Org": "#77aa99", "Org": "#77aa99",
"Oxygene": "#cdd0e3", "Oxygene": "#cdd0e3",
"Oz": "#fab738", "Oz": "#fab738",
"P4": "#7055b5", "P4": "#7055b5",
"PEG.js": "#234d6b",
"PHP": "#4F5D95", "PHP": "#4F5D95",
"PLSQL": "#dad8d8", "PLSQL": "#dad8d8",
"PLpgSQL": "#336790",
"POV-Ray SDL": "#6bac65",
"Pan": "#cc0000", "Pan": "#cc0000",
"Papyrus": "#6600cc", "Papyrus": "#6600cc",
"Parrot": "#f3ca0a", "Parrot": "#f3ca0a",
@ -208,9 +315,11 @@ var LanguagesColor = map[string]string{
"Pawn": "#dbb284", "Pawn": "#dbb284",
"Pep8": "#C76F5B", "Pep8": "#C76F5B",
"Perl": "#0298c3", "Perl": "#0298c3",
"PicoLisp": "#6067af",
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"PogoScript": "#d80074", "PogoScript": "#d80074",
"PostCSS": "#dc3a0c",
"PostScript": "#da291c", "PostScript": "#da291c",
"PowerBuilder": "#8f0f8d", "PowerBuilder": "#8f0f8d",
"PowerShell": "#012456", "PowerShell": "#012456",
@ -223,12 +332,17 @@ var LanguagesColor = map[string]string{
"PureBasic": "#5a6986", "PureBasic": "#5a6986",
"PureScript": "#1D222D", "PureScript": "#1D222D",
"Python": "#3572A5", "Python": "#3572A5",
"Python console": "#3572A5",
"Python traceback": "#3572A5",
"Q#": "#fed659", "Q#": "#fed659",
"QML": "#44a51c", "QML": "#44a51c",
"Qt Script": "#00b841", "Qt Script": "#00b841",
"Quake": "#882233", "Quake": "#882233",
"R": "#198CE7", "R": "#198CE7",
"RAML": "#77d9fb", "RAML": "#77d9fb",
"RDoc": "#701516",
"REXX": "#d90e09",
"RMarkdown": "#198ce7",
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#3c5caa", "Racket": "#3c5caa",
"Ragel": "#9d5200", "Ragel": "#9d5200",
@ -239,16 +353,22 @@ var LanguagesColor = map[string]string{
"Rebol": "#358a5b", "Rebol": "#358a5b",
"Record Jar": "#0673ba", "Record Jar": "#0673ba",
"Red": "#f50000", "Red": "#f50000",
"Regular Expression": "#009a00",
"Ren'Py": "#ff7f7f", "Ren'Py": "#ff7f7f",
"Ring": "#2D54CB", "Ring": "#2D54CB",
"Riot": "#A71E49", "Riot": "#A71E49",
"RobotFramework": "#00c0b5",
"Roff": "#ecdebe", "Roff": "#ecdebe",
"Roff Manpage": "#ecdebe",
"Rouge": "#cc0088", "Rouge": "#cc0088",
"Ruby": "#701516", "Ruby": "#701516",
"Rust": "#dea584", "Rust": "#dea584",
"SAS": "#B34936", "SAS": "#B34936",
"SCSS": "#c6538c", "SCSS": "#c6538c",
"SPARQL": "#0C4597",
"SQF": "#3F3F3F", "SQF": "#3F3F3F",
"SQL": "#e38c00",
"SQLPL": "#e38c00",
"SRecode Template": "#348a34", "SRecode Template": "#348a34",
"SVG": "#ff9900", "SVG": "#ff9900",
"SaltStack": "#646464", "SaltStack": "#646464",
@ -256,7 +376,9 @@ var LanguagesColor = map[string]string{
"Scala": "#c22d40", "Scala": "#c22d40",
"Scaml": "#bd181a", "Scaml": "#bd181a",
"Scheme": "#1e4aec", "Scheme": "#1e4aec",
"Scilab": "#ca0f21",
"Self": "#0579aa", "Self": "#0579aa",
"ShaderLab": "#222c37",
"Shell": "#89e051", "Shell": "#89e051",
"Shen": "#120F14", "Shen": "#120F14",
"Singularity": "#64E6AD", "Singularity": "#64E6AD",
@ -265,46 +387,72 @@ var LanguagesColor = map[string]string{
"Slim": "#2b2b2b", "Slim": "#2b2b2b",
"SmPL": "#c94949", "SmPL": "#c94949",
"Smalltalk": "#596706", "Smalltalk": "#596706",
"Smarty": "#f0c040",
"Solidity": "#AA6746", "Solidity": "#AA6746",
"SourcePawn": "#f69e1d", "SourcePawn": "#f69e1d",
"Squirrel": "#800000", "Squirrel": "#800000",
"Stan": "#b2011d", "Stan": "#b2011d",
"Standard ML": "#dc566d", "Standard ML": "#dc566d",
"Starlark": "#76d275", "Starlark": "#76d275",
"Stata": "#1a5f91",
"StringTemplate": "#3fb34f", "StringTemplate": "#3fb34f",
"Stylus": "#ff6347", "Stylus": "#ff6347",
"SubRip Text": "#9e0101",
"SugarSS": "#2fcc9f",
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Svelte": "#ff3e00", "Svelte": "#ff3e00",
"Swift": "#ffac45", "Swift": "#F05138",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
"TI Program": "#A0AA87", "TI Program": "#A0AA87",
"TLA": "#4b0079",
"TOML": "#9c4221",
"TSQL": "#e38c00",
"TSV": "#237346",
"TSX": "#2b7489",
"TXL": "#0178b8",
"Tcl": "#e4cc98", "Tcl": "#e4cc98",
"TeX": "#3D6117", "TeX": "#3D6117",
"Terra": "#00004c", "Terra": "#00004c",
"TextMate Properties": "#df66e4",
"Textile": "#ffe7ac",
"Thrift": "#D12127",
"Turing": "#cf142b", "Turing": "#cf142b",
"Twig": "#c1d026", "Twig": "#c1d026",
"TypeScript": "#2b7489", "TypeScript": "#2b7489",
"Unified Parallel C": "#4e3617", "Unified Parallel C": "#4e3617",
"Unity3D Asset": "#222c37",
"Uno": "#9933cc", "Uno": "#9933cc",
"UnrealScript": "#a54c4d", "UnrealScript": "#a54c4d",
"UrWeb": "#ccccee",
"V": "#4f87c4", "V": "#4f87c4",
"VBA": "#867db1", "VBA": "#867db1",
"VBScript": "#15dcdc", "VBScript": "#15dcdc",
"VCL": "#148AA8", "VCL": "#148AA8",
"VHDL": "#adb2cb", "VHDL": "#adb2cb",
"Vala": "#fbe5cd", "Vala": "#fbe5cd",
"Valve Data Format": "#f26025",
"Verilog": "#b2b7f8", "Verilog": "#b2b7f8",
"Vim Help File": "#199f4b",
"Vim Snippet": "#199f4b",
"Vim script": "#199f4b", "Vim script": "#199f4b",
"Visual Basic .NET": "#945db7", "Visual Basic .NET": "#945db7",
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#2c3e50", "Vue": "#41b883",
"Web Ontology Language": "#5b70bd",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
"Wikitext": "#fc5757",
"Windows Registry Entries": "#52d5ff",
"Wollok": "#a23738", "Wollok": "#a23738",
"World of Warcraft Addon Data": "#f7e43f",
"X10": "#4B6BEF", "X10": "#4B6BEF",
"XC": "#99DA07", "XC": "#99DA07",
"XML": "#0060ac",
"XML Property List": "#0060ac",
"XQuery": "#5232e7", "XQuery": "#5232e7",
"XSLT": "#EB8CEB", "XSLT": "#EB8CEB",
"Xojo": "#81bd41",
"Xonsh": "#285EEF", "Xonsh": "#285EEF",
"Xtend": "#24255d",
"YAML": "#cb171e", "YAML": "#cb171e",
"YARA": "#220000", "YARA": "#220000",
"YASnippet": "#32AB90", "YASnippet": "#32AB90",
@ -314,13 +462,18 @@ var LanguagesColor = map[string]string{
"ZenScript": "#00BCD1", "ZenScript": "#00BCD1",
"Zephir": "#118f9e", "Zephir": "#118f9e",
"Zig": "#ec915c", "Zig": "#ec915c",
"Zimpl": "#d67711",
"eC": "#913960", "eC": "#913960",
"fish": "#4aae47",
"jq": "#c7254e", "jq": "#c7254e",
"mIRC Script": "#3d57c3", "mIRC Script": "#3d57c3",
"mcfunction": "#E22837", "mcfunction": "#E22837",
"mupad": "#244963",
"nanorc": "#2d004d",
"nesC": "#94B0C7", "nesC": "#94B0C7",
"ooc": "#b0b77e", "ooc": "#b0b77e",
"q": "#0040cd", "q": "#0040cd",
"reStructuredText": "#141414",
"sed": "#64b970", "sed": "#64b970",
"wdl": "#42f1f4", "wdl": "#42f1f4",
"wisp": "#7582D1", "wisp": "#7582D1",

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

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -802,6 +802,12 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`), regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`),
), ),
}, },
".ftl": &Heuristics{
rule.Or(
rule.MatchingLanguages("Fluent"),
regexp.MustCompile(`(?m)^-?[a-zA-Z][a-zA-Z0-9_-]* *=|\{\$-?[a-zA-Z][-\w]*(?:\.[a-zA-Z][-\w]*)?\}`),
),
},
".gd": &Heuristics{ ".gd": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("GAP"), rule.MatchingLanguages("GAP"),
@ -852,6 +858,9 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("C++"), rule.MatchingLanguages("C++"),
regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>|^\s*template\s*<|^[ \t]*(try|constexpr)|^[ \t]*catch\s*\(|^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+|^[ \t]*(private|public|protected):$|std::\w+`), regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>|^\s*template\s*<|^[ \t]*(try|constexpr)|^[ \t]*catch\s*\(|^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+|^[ \t]*(private|public|protected):$|std::\w+`),
), ),
rule.Always(
rule.MatchingLanguages("C"),
),
}, },
".hh": &Heuristics{ ".hh": &Heuristics{
rule.Or( rule.Or(
@ -889,12 +898,16 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("SourcePawn"), rule.MatchingLanguages("SourcePawn"),
regexp.MustCompile(`(?m)^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*{)?)`), regexp.MustCompile(`(?m)^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*{)?)|^methodmap\s+\w+\s+<\s+\w+|^\s*MarkNativeAsOptional\s*\(`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("POV-Ray SDL"), rule.MatchingLanguages("POV-Ray SDL"),
regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`), regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`),
), ),
rule.Or(
rule.MatchingLanguages("Pascal"),
regexp.MustCompile(`(?m)(?i:^\s*{\$(?:mode|ifdef|undef|define)[ ]+[a-z0-9_]+})|^\s*end[.;]\s*$`),
),
}, },
".l": &Heuristics{ ".l": &Heuristics{
rule.Or( rule.Or(
@ -1288,7 +1301,7 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^[^#!;][^=]*=`), regexp.MustCompile(`(?m)^[^#!;][^=]*=`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Java properties"), rule.MatchingLanguages("Java Properties"),
regexp.MustCompile(`(?m)^[^#!][^:]*:`), regexp.MustCompile(`(?m)^[^#!][^:]*:`),
), ),
}, },

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -49,6 +49,7 @@ var LanguagesByExtension = map[string][]string{
".agda": {"Agda"}, ".agda": {"Agda"},
".ahk": {"AutoHotkey"}, ".ahk": {"AutoHotkey"},
".ahkl": {"AutoHotkey"}, ".ahkl": {"AutoHotkey"},
".aidl": {"AIDL"},
".aj": {"AspectJ"}, ".aj": {"AspectJ"},
".al": {"AL", "Perl"}, ".al": {"AL", "Perl"},
".als": {"Alloy"}, ".als": {"Alloy"},
@ -80,6 +81,7 @@ var LanguagesByExtension = map[string][]string{
".asp": {"Classic ASP"}, ".asp": {"Classic ASP"},
".aspx": {"ASP.NET"}, ".aspx": {"ASP.NET"},
".asset": {"Unity3D Asset"}, ".asset": {"Unity3D Asset"},
".astro": {"Astro"},
".asy": {"Asymptote", "LTspice Symbol"}, ".asy": {"Asymptote", "LTspice Symbol"},
".au3": {"AutoIt"}, ".au3": {"AutoIt"},
".aug": {"Augeas"}, ".aug": {"Augeas"},
@ -154,6 +156,7 @@ var LanguagesByExtension = map[string][]string{
".chem": {"Pic"}, ".chem": {"Pic"},
".chpl": {"Chapel"}, ".chpl": {"Chapel"},
".chs": {"C2hs Haskell"}, ".chs": {"C2hs Haskell"},
".cil": {"CIL"},
".cirru": {"Cirru"}, ".cirru": {"Cirru"},
".cjs": {"JavaScript"}, ".cjs": {"JavaScript"},
".cjsx": {"CoffeeScript"}, ".cjsx": {"CoffeeScript"},
@ -211,6 +214,7 @@ var LanguagesByExtension = map[string][]string{
".ct": {"XML"}, ".ct": {"XML"},
".ctp": {"PHP"}, ".ctp": {"PHP"},
".cu": {"Cuda"}, ".cu": {"Cuda"},
".cue": {"CUE", "Cue Sheet"},
".cuh": {"Cuda"}, ".cuh": {"Cuda"},
".cw": {"Redcode"}, ".cw": {"Redcode"},
".cwl": {"Common Workflow Language"}, ".cwl": {"Common Workflow Language"},
@ -284,7 +288,7 @@ var LanguagesByExtension = map[string][]string{
".emacs": {"Emacs Lisp"}, ".emacs": {"Emacs Lisp"},
".emacs.desktop": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"},
".emberscript": {"EmberScript"}, ".emberscript": {"EmberScript"},
".eml": {"EML"}, ".eml": {"E-mail"},
".env": {"Shell"}, ".env": {"Shell"},
".epj": {"Ecere Projects"}, ".epj": {"Ecere Projects"},
".eps": {"PostScript"}, ".eps": {"PostScript"},
@ -317,6 +321,7 @@ var LanguagesByExtension = map[string][]string{
".flf": {"FIGlet Font"}, ".flf": {"FIGlet Font"},
".flux": {"FLUX"}, ".flux": {"FLUX"},
".fnc": {"PLSQL"}, ".fnc": {"PLSQL"},
".fnl": {"Fennel"},
".for": {"Formatted", "Forth", "Fortran"}, ".for": {"Formatted", "Forth", "Fortran"},
".forth": {"Forth"}, ".forth": {"Forth"},
".fp": {"GLSL"}, ".fp": {"GLSL"},
@ -335,7 +340,7 @@ var LanguagesByExtension = map[string][]string{
".fst": {"F*"}, ".fst": {"F*"},
".fsx": {"F#"}, ".fsx": {"F#"},
".fth": {"Forth"}, ".fth": {"Forth"},
".ftl": {"FreeMarker"}, ".ftl": {"Fluent", "FreeMarker"},
".fun": {"Standard ML"}, ".fun": {"Standard ML"},
".fut": {"Futhark"}, ".fut": {"Futhark"},
".fx": {"FLUX", "HLSL"}, ".fx": {"FLUX", "HLSL"},
@ -479,7 +484,9 @@ var LanguagesByExtension = map[string][]string{
".j2": {"Jinja"}, ".j2": {"Jinja"},
".jade": {"Pug"}, ".jade": {"Pug"},
".jake": {"JavaScript"}, ".jake": {"JavaScript"},
".jav": {"Java"},
".java": {"Java"}, ".java": {"Java"},
".javascript": {"JavaScript"},
".jbuilder": {"Ruby"}, ".jbuilder": {"Ruby"},
".jelly": {"XML"}, ".jelly": {"XML"},
".jflex": {"JFlex"}, ".jflex": {"JFlex"},
@ -507,6 +514,7 @@ var LanguagesByExtension = map[string][]string{
".jss": {"JavaScript"}, ".jss": {"JavaScript"},
".jst": {"EJS"}, ".jst": {"EJS"},
".jsx": {"JavaScript"}, ".jsx": {"JavaScript"},
".kak": {"KakouneScript"},
".kicad_mod": {"KiCad Layout"}, ".kicad_mod": {"KiCad Layout"},
".kicad_pcb": {"KiCad Layout"}, ".kicad_pcb": {"KiCad Layout"},
".kicad_wks": {"KiCad Layout"}, ".kicad_wks": {"KiCad Layout"},
@ -583,7 +591,7 @@ var LanguagesByExtension = map[string][]string{
".maxhelp": {"Max"}, ".maxhelp": {"Max"},
".maxpat": {"Max"}, ".maxpat": {"Max"},
".maxproj": {"Max"}, ".maxproj": {"Max"},
".mbox": {"EML"}, ".mbox": {"E-mail"},
".mcfunction": {"mcfunction"}, ".mcfunction": {"mcfunction"},
".mcmeta": {"JSON"}, ".mcmeta": {"JSON"},
".mcr": {"MAXScript"}, ".mcr": {"MAXScript"},
@ -594,7 +602,7 @@ var LanguagesByExtension = map[string][]string{
".mdwn": {"Markdown"}, ".mdwn": {"Markdown"},
".mdx": {"Markdown"}, ".mdx": {"Markdown"},
".me": {"Roff"}, ".me": {"Roff"},
".mediawiki": {"MediaWiki"}, ".mediawiki": {"Wikitext"},
".meta": {"Unity3D Asset"}, ".meta": {"Unity3D Asset"},
".metal": {"Metal"}, ".metal": {"Metal"},
".mg": {"Modula-3"}, ".mg": {"Modula-3"},
@ -737,6 +745,7 @@ var LanguagesByExtension = map[string][]string{
".pd": {"Pure Data"}, ".pd": {"Pure Data"},
".pd_lua": {"Lua"}, ".pd_lua": {"Lua"},
".pde": {"Processing"}, ".pde": {"Processing"},
".pegjs": {"PEG.js"},
".pep": {"Pep8"}, ".pep": {"Pep8"},
".perl": {"Perl"}, ".perl": {"Perl"},
".pfa": {"PostScript"}, ".pfa": {"PostScript"},
@ -1007,6 +1016,7 @@ var LanguagesByExtension = map[string][]string{
".tcc": {"C++"}, ".tcc": {"C++"},
".tcl": {"Tcl"}, ".tcl": {"Tcl"},
".tcsh": {"Tcsh"}, ".tcsh": {"Tcsh"},
".te": {"SELinux Policy"},
".tea": {"Tea"}, ".tea": {"Tea"},
".tesc": {"GLSL"}, ".tesc": {"GLSL"},
".tese": {"GLSL"}, ".tese": {"GLSL"},
@ -1073,6 +1083,7 @@ var LanguagesByExtension = map[string][]string{
".vbs": {"VBScript"}, ".vbs": {"VBScript"},
".vcl": {"VCL"}, ".vcl": {"VCL"},
".vcxproj": {"XML"}, ".vcxproj": {"XML"},
".vdf": {"Valve Data Format"},
".veo": {"Verilog"}, ".veo": {"Verilog"},
".vert": {"GLSL"}, ".vert": {"GLSL"},
".vh": {"SystemVerilog"}, ".vh": {"SystemVerilog"},
@ -1109,7 +1120,8 @@ var LanguagesByExtension = map[string][]string{
".webidl": {"WebIDL"}, ".webidl": {"WebIDL"},
".webmanifest": {"JSON"}, ".webmanifest": {"JSON"},
".weechatlog": {"IRC log"}, ".weechatlog": {"IRC log"},
".wiki": {"MediaWiki"}, ".wiki": {"Wikitext"},
".wikitext": {"Wikitext"},
".wisp": {"wisp"}, ".wisp": {"wisp"},
".wixproj": {"XML"}, ".wixproj": {"XML"},
".wl": {"Mathematica"}, ".wl": {"Mathematica"},
@ -1209,6 +1221,7 @@ var ExtensionsByLanguage = map[string][]string{
"ABAP CDS": {".asddls"}, "ABAP CDS": {".asddls"},
"ABNF": {".abnf"}, "ABNF": {".abnf"},
"AGS Script": {".asc", ".ash"}, "AGS Script": {".asc", ".ash"},
"AIDL": {".aidl"},
"AL": {".al"}, "AL": {".al"},
"AMPL": {".ampl", ".mod"}, "AMPL": {".ampl", ".mod"},
"ANTLR": {".g4"}, "ANTLR": {".g4"},
@ -1233,6 +1246,7 @@ var ExtensionsByLanguage = map[string][]string{
"AsciiDoc": {".asciidoc", ".adoc", ".asc"}, "AsciiDoc": {".asciidoc", ".adoc", ".asc"},
"AspectJ": {".aj"}, "AspectJ": {".aj"},
"Assembly": {".asm", ".a51", ".i", ".inc", ".nasm"}, "Assembly": {".asm", ".a51", ".i", ".inc", ".nasm"},
"Astro": {".astro"},
"Asymptote": {".asy"}, "Asymptote": {".asy"},
"Augeas": {".aug"}, "Augeas": {".aug"},
"AutoHotkey": {".ahk", ".ahkl"}, "AutoHotkey": {".ahk", ".ahkl"},
@ -1261,6 +1275,7 @@ var ExtensionsByLanguage = map[string][]string{
"C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"}, "C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"},
"C-ObjDump": {".c-objdump"}, "C-ObjDump": {".c-objdump"},
"C2hs Haskell": {".chs"}, "C2hs Haskell": {".chs"},
"CIL": {".cil"},
"CLIPS": {".clp"}, "CLIPS": {".clp"},
"CMake": {".cmake", ".cmake.in"}, "CMake": {".cmake", ".cmake.in"},
"COBOL": {".cob", ".cbl", ".ccp", ".cobol", ".cpy"}, "COBOL": {".cob", ".cbl", ".ccp", ".cobol", ".cpy"},
@ -1268,6 +1283,7 @@ var ExtensionsByLanguage = map[string][]string{
"CSON": {".cson"}, "CSON": {".cson"},
"CSS": {".css"}, "CSS": {".css"},
"CSV": {".csv"}, "CSV": {".csv"},
"CUE": {".cue"},
"CWeb": {".w"}, "CWeb": {".w"},
"Cabal Config": {".cabal"}, "Cabal Config": {".cabal"},
"Cap'n Proto": {".capnp"}, "Cap'n Proto": {".capnp"},
@ -1300,6 +1316,7 @@ var ExtensionsByLanguage = map[string][]string{
"Csound Document": {".csd"}, "Csound Document": {".csd"},
"Csound Score": {".sco"}, "Csound Score": {".sco"},
"Cuda": {".cu", ".cuh"}, "Cuda": {".cu", ".cuh"},
"Cue Sheet": {".cue"},
"Cycript": {".cy"}, "Cycript": {".cy"},
"Cython": {".pyx", ".pxd", ".pxi"}, "Cython": {".pyx", ".pxd", ".pxi"},
"D": {".d", ".di"}, "D": {".d", ".di"},
@ -1319,11 +1336,11 @@ var ExtensionsByLanguage = map[string][]string{
"Dogescript": {".djs"}, "Dogescript": {".djs"},
"Dylan": {".dylan", ".dyl", ".intr", ".lid"}, "Dylan": {".dylan", ".dyl", ".intr", ".lid"},
"E": {".e"}, "E": {".e"},
"E-mail": {".eml", ".mbox"},
"EBNF": {".ebnf"}, "EBNF": {".ebnf"},
"ECL": {".ecl", ".eclxml"}, "ECL": {".ecl", ".eclxml"},
"ECLiPSe": {".ecl"}, "ECLiPSe": {".ecl"},
"EJS": {".ejs", ".ect", ".jst"}, "EJS": {".ejs", ".ect", ".jst"},
"EML": {".eml", ".mbox"},
"EQ": {".eq"}, "EQ": {".eq"},
"Eagle": {".sch", ".brd"}, "Eagle": {".sch", ".brd"},
"Easybuild": {".eb"}, "Easybuild": {".eb"},
@ -1343,8 +1360,10 @@ var ExtensionsByLanguage = map[string][]string{
"Fancy": {".fy", ".fancypack"}, "Fancy": {".fy", ".fancypack"},
"Fantom": {".fan"}, "Fantom": {".fan"},
"Faust": {".dsp"}, "Faust": {".dsp"},
"Fennel": {".fnl"},
"Filebench WML": {".f"}, "Filebench WML": {".f"},
"Filterscript": {".fs"}, "Filterscript": {".fs"},
"Fluent": {".ftl"},
"Formatted": {".for", ".eam.fs"}, "Formatted": {".for", ".eam.fs"},
"Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"}, "Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"},
"Fortran": {".f", ".f77", ".for", ".fpp"}, "Fortran": {".f", ".f77", ".for", ".fpp"},
@ -1427,10 +1446,10 @@ var ExtensionsByLanguage = map[string][]string{
"JSONLD": {".jsonld"}, "JSONLD": {".jsonld"},
"JSONiq": {".jq"}, "JSONiq": {".jq"},
"Jasmin": {".j"}, "Jasmin": {".j"},
"Java": {".java"}, "Java": {".java", ".jav"},
"Java Properties": {".properties"}, "Java Properties": {".properties"},
"Java Server Pages": {".jsp"}, "Java Server Pages": {".jsp"},
"JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"}, "JavaScript": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript+ERB": {".js.erb"}, "JavaScript+ERB": {".js.erb"},
"Jinja": {".jinja", ".j2", ".jinja2"}, "Jinja": {".jinja", ".j2", ".jinja2"},
"Jison": {".jison"}, "Jison": {".jison"},
@ -1441,6 +1460,7 @@ var ExtensionsByLanguage = map[string][]string{
"Jupyter Notebook": {".ipynb"}, "Jupyter Notebook": {".ipynb"},
"KRL": {".krl"}, "KRL": {".krl"},
"Kaitai Struct": {".ksy"}, "Kaitai Struct": {".ksy"},
"KakouneScript": {".kak"},
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"}, "KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
"KiCad Legacy Layout": {".brd"}, "KiCad Legacy Layout": {".brd"},
"KiCad Schematic": {".sch"}, "KiCad Schematic": {".sch"},
@ -1491,7 +1511,6 @@ var ExtensionsByLanguage = map[string][]string{
"Mask": {".mask"}, "Mask": {".mask"},
"Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"}, "Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"},
"Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"}, "Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"},
"MediaWiki": {".mediawiki", ".wiki"},
"Mercury": {".m", ".moo"}, "Mercury": {".m", ".moo"},
"Metal": {".metal"}, "Metal": {".metal"},
"Microsoft Developer Studio Project": {".dsp"}, "Microsoft Developer Studio Project": {".dsp"},
@ -1553,6 +1572,7 @@ var ExtensionsByLanguage = map[string][]string{
"Oxygene": {".oxygene"}, "Oxygene": {".oxygene"},
"Oz": {".oz"}, "Oz": {".oz"},
"P4": {".p4"}, "P4": {".p4"},
"PEG.js": {".pegjs"},
"PHP": {".php", ".aw", ".ctp", ".fcgi", ".inc", ".php3", ".php4", ".php5", ".phps", ".phpt"}, "PHP": {".php", ".aw", ".ctp", ".fcgi", ".inc", ".php3", ".php4", ".php5", ".phps", ".phpt"},
"PLSQL": {".pls", ".bdy", ".ddl", ".fnc", ".pck", ".pkb", ".pks", ".plb", ".plsql", ".prc", ".spc", ".sql", ".tpb", ".tps", ".trg", ".vw"}, "PLSQL": {".pls", ".bdy", ".ddl", ".fnc", ".pck", ".pkb", ".pks", ".plb", ".plsql", ".prc", ".spc", ".sql", ".tpb", ".tps", ".trg", ".vw"},
"PLpgSQL": {".pgsql", ".sql"}, "PLpgSQL": {".pgsql", ".sql"},
@ -1631,6 +1651,7 @@ var ExtensionsByLanguage = map[string][]string{
"Rust": {".rs", ".rs.in"}, "Rust": {".rs", ".rs.in"},
"SAS": {".sas"}, "SAS": {".sas"},
"SCSS": {".scss"}, "SCSS": {".scss"},
"SELinux Policy": {".te"},
"SMT": {".smt2", ".smt"}, "SMT": {".smt2", ".smt"},
"SPARQL": {".sparql", ".rq"}, "SPARQL": {".sparql", ".rq"},
"SQF": {".sqf", ".hqf"}, "SQF": {".sqf", ".hqf"},
@ -1709,6 +1730,7 @@ var ExtensionsByLanguage = map[string][]string{
"VCL": {".vcl"}, "VCL": {".vcl"},
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
"Vala": {".vala", ".vapi"}, "Vala": {".vala", ".vapi"},
"Valve Data Format": {".vdf"},
"Verilog": {".v", ".veo"}, "Verilog": {".v", ".veo"},
"Vim Help File": {".txt"}, "Vim Help File": {".txt"},
"Vim Snippet": {".snip", ".snippet", ".snippets"}, "Vim Snippet": {".snip", ".snippet", ".snippets"},
@ -1722,6 +1744,7 @@ var ExtensionsByLanguage = map[string][]string{
"WebAssembly": {".wast", ".wat"}, "WebAssembly": {".wast", ".wat"},
"WebIDL": {".webidl"}, "WebIDL": {".webidl"},
"WebVTT": {".vtt"}, "WebVTT": {".vtt"},
"Wikitext": {".mediawiki", ".wiki", ".wikitext"},
"Windows Registry Entries": {".reg"}, "Windows Registry Entries": {".reg"},
"Wollok": {".wlk"}, "Wollok": {".wlk"},
"World of Warcraft Addon Data": {".toc"}, "World of Warcraft Addon Data": {".toc"},

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -9,6 +9,7 @@ var LanguagesByFilename = map[string][]string{
".abbrev_defs": {"Emacs Lisp"}, ".abbrev_defs": {"Emacs Lisp"},
".arcconfig": {"JSON"}, ".arcconfig": {"JSON"},
".atomignore": {"Ignore List"}, ".atomignore": {"Ignore List"},
".auto-changelog": {"JSON"},
".babelignore": {"Ignore List"}, ".babelignore": {"Ignore List"},
".babelrc": {"JSON with Comments"}, ".babelrc": {"JSON with Comments"},
".bash_aliases": {"Shell"}, ".bash_aliases": {"Shell"},
@ -18,6 +19,7 @@ var LanguagesByFilename = map[string][]string{
".bashrc": {"Shell"}, ".bashrc": {"Shell"},
".browserslistrc": {"Browserslist"}, ".browserslistrc": {"Browserslist"},
".bzrignore": {"Ignore List"}, ".bzrignore": {"Ignore List"},
".c8rc": {"JSON"},
".clang-format": {"YAML"}, ".clang-format": {"YAML"},
".clang-tidy": {"YAML"}, ".clang-tidy": {"YAML"},
".classpath": {"XML"}, ".classpath": {"XML"},
@ -52,6 +54,7 @@ var LanguagesByFilename = map[string][]string{
".gvimrc": {"Vim script"}, ".gvimrc": {"Vim script"},
".htaccess": {"ApacheConf"}, ".htaccess": {"ApacheConf"},
".htmlhintrc": {"JSON"}, ".htmlhintrc": {"JSON"},
".imgbotconfig": {"JSON"},
".inputrc": {"Readline Config"}, ".inputrc": {"Readline Config"},
".irbrc": {"Ruby"}, ".irbrc": {"Ruby"},
".jscsrc": {"JSON with Comments"}, ".jscsrc": {"JSON with Comments"},
@ -64,6 +67,7 @@ var LanguagesByFilename = map[string][]string{
".npmignore": {"Ignore List"}, ".npmignore": {"Ignore List"},
".npmrc": {"NPM Config"}, ".npmrc": {"NPM Config"},
".nvimrc": {"Vim script"}, ".nvimrc": {"Vim script"},
".nycrc": {"JSON"},
".php": {"PHP"}, ".php": {"PHP"},
".php_cs": {"PHP"}, ".php_cs": {"PHP"},
".php_cs.dist": {"PHP"}, ".php_cs.dist": {"PHP"},
@ -76,6 +80,7 @@ var LanguagesByFilename = map[string][]string{
".stylelintignore": {"Ignore List"}, ".stylelintignore": {"Ignore List"},
".tern-config": {"JSON"}, ".tern-config": {"JSON"},
".tern-project": {"JSON"}, ".tern-project": {"JSON"},
".tm_properties": {"TextMate Properties"},
".vimrc": {"Vim script"}, ".vimrc": {"Vim script"},
".viper": {"Emacs Lisp"}, ".viper": {"Emacs Lisp"},
".vscodeignore": {"Ignore List"}, ".vscodeignore": {"Ignore List"},
@ -88,6 +93,7 @@ var LanguagesByFilename = map[string][]string{
".zshrc": {"Shell"}, ".zshrc": {"Shell"},
"9fs": {"Shell"}, "9fs": {"Shell"},
"APKBUILD": {"Alpine Abuild"}, "APKBUILD": {"Alpine Abuild"},
"Android.bp": {"Soong"},
"App.config": {"XML"}, "App.config": {"XML"},
"Appraisals": {"Ruby"}, "Appraisals": {"Ruby"},
"BSDmakefile": {"Makefile"}, "BSDmakefile": {"Makefile"},
@ -182,6 +188,7 @@ var LanguagesByFilename = map[string][]string{
"ack": {"Perl"}, "ack": {"Perl"},
"ant.xml": {"Ant Build System"}, "ant.xml": {"Ant Build System"},
"apache2.conf": {"ApacheConf"}, "apache2.conf": {"ApacheConf"},
"api-extractor.json": {"JSON with Comments"},
"bash_aliases": {"Shell"}, "bash_aliases": {"Shell"},
"bash_logout": {"Shell"}, "bash_logout": {"Shell"},
"bash_profile": {"Shell"}, "bash_profile": {"Shell"},
@ -206,11 +213,13 @@ var LanguagesByFilename = map[string][]string{
"encodings.dir": {"X Font Directory Index"}, "encodings.dir": {"X Font Directory Index"},
"eqnrc": {"Roff"}, "eqnrc": {"Roff"},
"expr-dist": {"R"}, "expr-dist": {"R"},
"file_contexts": {"SELinux Policy"},
"firestore.rules": {"Cloud Firestore Security Rules"}, "firestore.rules": {"Cloud Firestore Security Rules"},
"fonts.alias": {"X Font Directory Index"}, "fonts.alias": {"X Font Directory Index"},
"fonts.dir": {"X Font Directory Index"}, "fonts.dir": {"X Font Directory Index"},
"fonts.scale": {"X Font Directory Index"}, "fonts.scale": {"X Font Directory Index"},
"fp-lib-table": {"KiCad Layout"}, "fp-lib-table": {"KiCad Layout"},
"genfs_contexts": {"SELinux Policy"},
"gitignore-global": {"Ignore List"}, "gitignore-global": {"Ignore List"},
"gitignore_global": {"Ignore List"}, "gitignore_global": {"Ignore List"},
"glide.lock": {"YAML"}, "glide.lock": {"YAML"},
@ -220,9 +229,11 @@ var LanguagesByFilename = map[string][]string{
"gvimrc": {"Vim script"}, "gvimrc": {"Vim script"},
"haproxy.cfg": {"HAProxy"}, "haproxy.cfg": {"HAProxy"},
"httpd.conf": {"ApacheConf"}, "httpd.conf": {"ApacheConf"},
"initial_sids": {"SELinux Policy"},
"inputrc": {"Readline Config"}, "inputrc": {"Readline Config"},
"installscript.qs": {"Qt Script"}, "installscript.qs": {"Qt Script"},
"jsconfig.json": {"JSON with Comments"}, "jsconfig.json": {"JSON with Comments"},
"kakrc": {"KakouneScript"},
"keep.me": {"Text"}, "keep.me": {"Text"},
"language-configuration.json": {"JSON with Comments"}, "language-configuration.json": {"JSON with Comments"},
"language-subtag-registry.txt": {"Record Jar"}, "language-subtag-registry.txt": {"Record Jar"},
@ -253,6 +264,7 @@ var LanguagesByFilename = map[string][]string{
"packages.config": {"XML"}, "packages.config": {"XML"},
"poetry.lock": {"TOML"}, "poetry.lock": {"TOML"},
"pom.xml": {"Maven POM"}, "pom.xml": {"Maven POM"},
"port_contexts": {"SELinux Policy"},
"profile": {"Shell"}, "profile": {"Shell"},
"read.me": {"Text"}, "read.me": {"Text"},
"readme.1st": {"Text"}, "readme.1st": {"Text"},
@ -261,6 +273,7 @@ var LanguagesByFilename = map[string][]string{
"rebar.lock": {"Erlang"}, "rebar.lock": {"Erlang"},
"riemann.config": {"Clojure"}, "riemann.config": {"Clojure"},
"robots.txt": {"robots.txt"}, "robots.txt": {"robots.txt"},
"security_classes": {"SELinux Policy"},
"ssh-config": {"SSH Config"}, "ssh-config": {"SSH Config"},
"ssh_config": {"SSH Config"}, "ssh_config": {"SSH Config"},
"sshconfig": {"SSH Config"}, "sshconfig": {"SSH Config"},

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -10,7 +10,6 @@ var LanguagesGroup = map[string]string{
"Bison": "Yacc", "Bison": "Yacc",
"C2hs Haskell": "Haskell", "C2hs Haskell": "Haskell",
"ColdFusion CFC": "ColdFusion", "ColdFusion CFC": "ColdFusion",
"Cython": "Python",
"ECLiPSe": "prolog", "ECLiPSe": "prolog",
"Easybuild": "Python", "Easybuild": "Python",
"Ecere Projects": "JavaScript", "Ecere Projects": "JavaScript",

View File

@ -1,11 +1,12 @@
// 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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
var LanguagesByInterpreter = map[string][]string{ var LanguagesByInterpreter = map[string][]string{
"M2": {"Macaulay2"}, "M2": {"Macaulay2"},
"Rscript": {"R"}, "Rscript": {"R"},
"aidl": {"AIDL"},
"apl": {"APL"}, "apl": {"APL"},
"aplx": {"APL"}, "aplx": {"APL"},
"ash": {"Shell"}, "ash": {"Shell"},
@ -36,6 +37,7 @@ var LanguagesByInterpreter = map[string][]string{
"ecl": {"Common Lisp"}, "ecl": {"Common Lisp"},
"elixir": {"Elixir"}, "elixir": {"Elixir"},
"escript": {"Erlang"}, "escript": {"Erlang"},
"fennel": {"Fennel"},
"fish": {"fish"}, "fish": {"fish"},
"gawk": {"Awk"}, "gawk": {"Awk"},
"gerbv": {"Gerber Image"}, "gerbv": {"Gerber Image"},

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -12,6 +12,7 @@ var LanguagesMime = map[string]string{
"AngelScript": "text/x-c++src", "AngelScript": "text/x-c++src",
"Ant Build System": "application/xml", "Ant Build System": "application/xml",
"Apex": "text/x-java", "Apex": "text/x-java",
"Astro": "text/jsx",
"Asymptote": "text/x-kotlin", "Asymptote": "text/x-kotlin",
"Beef": "text/x-csharp", "Beef": "text/x-csharp",
"BibTeX": "text/x-stex", "BibTeX": "text/x-stex",
@ -45,6 +46,7 @@ var LanguagesMime = map[string]string{
"Diff": "text/x-diff", "Diff": "text/x-diff",
"Dockerfile": "text/x-dockerfile", "Dockerfile": "text/x-dockerfile",
"Dylan": "text/x-dylan", "Dylan": "text/x-dylan",
"E-mail": "application/mbox",
"EBNF": "text/x-ebnf", "EBNF": "text/x-ebnf",
"ECL": "text/x-ecl", "ECL": "text/x-ecl",
"EQ": "text/x-csharp", "EQ": "text/x-csharp",
@ -148,6 +150,7 @@ var LanguagesMime = map[string]string{
"OpenCL": "text/x-csrc", "OpenCL": "text/x-csrc",
"OpenRC runscript": "text/x-sh", "OpenRC runscript": "text/x-sh",
"Oz": "text/x-oz", "Oz": "text/x-oz",
"PEG.js": "text/javascript",
"PHP": "application/x-httpd-php", "PHP": "application/x-httpd-php",
"PLSQL": "text/x-plsql", "PLSQL": "text/x-plsql",
"PLpgSQL": "text/x-sql", "PLpgSQL": "text/x-sql",
@ -208,6 +211,7 @@ var LanguagesMime = map[string]string{
"Tcsh": "text/x-sh", "Tcsh": "text/x-sh",
"TeX": "text/x-stex", "TeX": "text/x-stex",
"Terra": "text/x-lua", "Terra": "text/x-lua",
"TextMate Properties": "text/x-properties",
"Textile": "text/x-textile", "Textile": "text/x-textile",
"Turtle": "text/turtle", "Turtle": "text/turtle",
"Twig": "text/x-twig", "Twig": "text/x-twig",

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: 95636e415749b0bf8fbf3f86922f788cf91c11a2 // Extracted from github/linguist commit: cdf42b16b136fc7f0a491d36c415f34fcfb9368a
package data package data
@ -10,6 +10,7 @@ var LanguagesType = map[string]int{
"ABAP CDS": 2, "ABAP CDS": 2,
"ABNF": 1, "ABNF": 1,
"AGS Script": 2, "AGS Script": 2,
"AIDL": 2,
"AL": 2, "AL": 2,
"AMPL": 2, "AMPL": 2,
"ANTLR": 2, "ANTLR": 2,
@ -36,6 +37,7 @@ var LanguagesType = map[string]int{
"AsciiDoc": 4, "AsciiDoc": 4,
"AspectJ": 2, "AspectJ": 2,
"Assembly": 2, "Assembly": 2,
"Astro": 3,
"Asymptote": 2, "Asymptote": 2,
"Augeas": 2, "Augeas": 2,
"AutoHotkey": 2, "AutoHotkey": 2,
@ -65,6 +67,7 @@ var LanguagesType = map[string]int{
"C++": 2, "C++": 2,
"C-ObjDump": 1, "C-ObjDump": 1,
"C2hs Haskell": 2, "C2hs Haskell": 2,
"CIL": 1,
"CLIPS": 2, "CLIPS": 2,
"CMake": 2, "CMake": 2,
"COBOL": 2, "COBOL": 2,
@ -73,6 +76,7 @@ var LanguagesType = map[string]int{
"CSON": 1, "CSON": 1,
"CSS": 3, "CSS": 3,
"CSV": 1, "CSV": 1,
"CUE": 2,
"CWeb": 2, "CWeb": 2,
"Cabal Config": 1, "Cabal Config": 1,
"Cap'n Proto": 2, "Cap'n Proto": 2,
@ -106,6 +110,7 @@ var LanguagesType = map[string]int{
"Csound Document": 2, "Csound Document": 2,
"Csound Score": 2, "Csound Score": 2,
"Cuda": 2, "Cuda": 2,
"Cue Sheet": 1,
"Cycript": 2, "Cycript": 2,
"Cython": 2, "Cython": 2,
"D": 2, "D": 2,
@ -125,11 +130,11 @@ var LanguagesType = map[string]int{
"Dogescript": 2, "Dogescript": 2,
"Dylan": 2, "Dylan": 2,
"E": 2, "E": 2,
"E-mail": 1,
"EBNF": 1, "EBNF": 1,
"ECL": 2, "ECL": 2,
"ECLiPSe": 2, "ECLiPSe": 2,
"EJS": 3, "EJS": 3,
"EML": 1,
"EQ": 2, "EQ": 2,
"Eagle": 1, "Eagle": 1,
"Easybuild": 1, "Easybuild": 1,
@ -150,8 +155,10 @@ var LanguagesType = map[string]int{
"Fancy": 2, "Fancy": 2,
"Fantom": 2, "Fantom": 2,
"Faust": 2, "Faust": 2,
"Fennel": 2,
"Filebench WML": 2, "Filebench WML": 2,
"Filterscript": 2, "Filterscript": 2,
"Fluent": 2,
"Formatted": 1, "Formatted": 1,
"Forth": 2, "Forth": 2,
"Fortran": 2, "Fortran": 2,
@ -251,6 +258,7 @@ var LanguagesType = map[string]int{
"Jupyter Notebook": 3, "Jupyter Notebook": 3,
"KRL": 2, "KRL": 2,
"Kaitai Struct": 2, "Kaitai Struct": 2,
"KakouneScript": 2,
"KiCad Layout": 1, "KiCad Layout": 1,
"KiCad Legacy Layout": 1, "KiCad Legacy Layout": 1,
"KiCad Schematic": 1, "KiCad Schematic": 1,
@ -302,7 +310,6 @@ var LanguagesType = map[string]int{
"Mathematica": 2, "Mathematica": 2,
"Maven POM": 1, "Maven POM": 1,
"Max": 2, "Max": 2,
"MediaWiki": 4,
"Mercury": 2, "Mercury": 2,
"Meson": 2, "Meson": 2,
"Metal": 2, "Metal": 2,
@ -367,6 +374,7 @@ var LanguagesType = map[string]int{
"Oxygene": 2, "Oxygene": 2,
"Oz": 2, "Oz": 2,
"P4": 2, "P4": 2,
"PEG.js": 2,
"PHP": 2, "PHP": 2,
"PLSQL": 2, "PLSQL": 2,
"PLpgSQL": 2, "PLpgSQL": 2,
@ -450,6 +458,7 @@ var LanguagesType = map[string]int{
"Rust": 2, "Rust": 2,
"SAS": 2, "SAS": 2,
"SCSS": 3, "SCSS": 3,
"SELinux Policy": 1,
"SMT": 2, "SMT": 2,
"SPARQL": 1, "SPARQL": 1,
"SQF": 2, "SQF": 2,
@ -482,6 +491,7 @@ var LanguagesType = map[string]int{
"Smalltalk": 2, "Smalltalk": 2,
"Smarty": 2, "Smarty": 2,
"Solidity": 2, "Solidity": 2,
"Soong": 1,
"SourcePawn": 2, "SourcePawn": 2,
"Spline Font Database": 1, "Spline Font Database": 1,
"Squirrel": 2, "Squirrel": 2,
@ -511,6 +521,7 @@ var LanguagesType = map[string]int{
"Terra": 2, "Terra": 2,
"Texinfo": 4, "Texinfo": 4,
"Text": 4, "Text": 4,
"TextMate Properties": 1,
"Textile": 4, "Textile": 4,
"Thrift": 2, "Thrift": 2,
"Turing": 2, "Turing": 2,
@ -530,6 +541,7 @@ var LanguagesType = map[string]int{
"VCL": 2, "VCL": 2,
"VHDL": 2, "VHDL": 2,
"Vala": 2, "Vala": 2,
"Valve Data Format": 1,
"Verilog": 2, "Verilog": 2,
"Vim Help File": 4, "Vim Help File": 4,
"Vim Snippet": 3, "Vim Snippet": 3,
@ -544,6 +556,7 @@ var LanguagesType = map[string]int{
"WebIDL": 2, "WebIDL": 2,
"WebVTT": 1, "WebVTT": 1,
"Wget Config": 1, "Wget Config": 1,
"Wikitext": 4,
"Windows Registry Entries": 1, "Windows Registry Entries": 1,
"Wollok": 2, "Wollok": 2,
"World of Warcraft Addon Data": 1, "World of Warcraft Addon Data": 1,

View File

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

View File

@ -217,7 +217,7 @@ func TestGetColor(t *testing.T) {
{name: "TestGetColor_1", language: "Go", expected: "#00ADD8"}, {name: "TestGetColor_1", language: "Go", expected: "#00ADD8"},
{name: "TestGetColor_2", language: "SomeRandom", expected: "#cccccc"}, {name: "TestGetColor_2", language: "SomeRandom", expected: "#cccccc"},
{name: "TestGetColor_3", language: "HTML", expected: "#e34c26"}, {name: "TestGetColor_3", language: "HTML", expected: "#e34c26"},
{name: "TestGetColor_4", language: "HTML+PHP", expected: "#e34c26"}, {name: "TestGetColor_4", language: "HTML+PHP", expected: "#4f5d95"},
} }
for _, test := range tests { for _, test := range tests {