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

View File

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

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 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 {