mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
Update to Linguist v7.16.1
This commit is contained in:
parent
0ae768336f
commit
0affa3ccca
@ -156,7 +156,7 @@ Generated Rust bindings using a C static library are available at https://github
|
||||
|
||||
## 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:
|
||||
|
||||
|
@ -129,7 +129,7 @@ func (s *EnryTestSuite) TestGetLanguages() {
|
||||
// With no content or filename, no language can be detected
|
||||
{name: "TestGetLanguages_0", filename: "", content: []byte{}, expected: nil},
|
||||
// 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.
|
||||
{name: "TestGetLanguages_2", filename: "foo.groovy", content: []byte{}, expected: []string{"Groovy"}},
|
||||
// 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_29", filename: filepath.Join(modelinesDir, "ruby11"), 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},
|
||||
}
|
||||
|
||||
@ -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_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_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"},
|
||||
@ -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_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_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"},
|
||||
@ -574,7 +574,7 @@ func (s *EnryTestSuite) TestLinguistCorpus() {
|
||||
const filenamesDir = "filenames"
|
||||
var cornerCases = map[string]bool{
|
||||
"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
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -32,6 +32,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"ags": "AGS Script",
|
||||
"ags_script": "AGS Script",
|
||||
"ahk": "AutoHotkey",
|
||||
"aidl": "AIDL",
|
||||
"al": "AL",
|
||||
"alloy": "Alloy",
|
||||
"alpine_abuild": "Alpine Abuild",
|
||||
@ -64,6 +65,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"aspx": "ASP.NET",
|
||||
"aspx-vb": "ASP.NET",
|
||||
"assembly": "Assembly",
|
||||
"astro": "Astro",
|
||||
"asymptote": "Asymptote",
|
||||
"ats": "ATS",
|
||||
"ats2": "ATS",
|
||||
@ -130,6 +132,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"charity": "Charity",
|
||||
"chpl": "Chapel",
|
||||
"chuck": "ChucK",
|
||||
"cil": "CIL",
|
||||
"cirru": "Cirru",
|
||||
"clarion": "Clarion",
|
||||
"classic_asp": "Classic ASP",
|
||||
@ -178,6 +181,8 @@ var LanguageByAliasMap = map[string]string{
|
||||
"csv": "CSV",
|
||||
"cucumber": "Gherkin",
|
||||
"cuda": "Cuda",
|
||||
"cue": "CUE",
|
||||
"cue_sheet": "Cue Sheet",
|
||||
"curl_config": "cURL Config",
|
||||
"curlrc": "cURL Config",
|
||||
"cweb": "CWeb",
|
||||
@ -211,6 +216,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"dtrace-script": "DTrace",
|
||||
"dylan": "Dylan",
|
||||
"e": "E",
|
||||
"e-mail": "E-mail",
|
||||
"eagle": "Eagle",
|
||||
"easybuild": "Easybuild",
|
||||
"ebnf": "EBNF",
|
||||
@ -233,8 +239,9 @@ var LanguageByAliasMap = map[string]string{
|
||||
"emacs": "Emacs Lisp",
|
||||
"emacs_lisp": "Emacs Lisp",
|
||||
"emacs_muse": "Muse",
|
||||
"email": "E-mail",
|
||||
"emberscript": "EmberScript",
|
||||
"eml": "EML",
|
||||
"eml": "E-mail",
|
||||
"eq": "EQ",
|
||||
"erb": "HTML+ERB",
|
||||
"erlang": "Erlang",
|
||||
@ -245,12 +252,14 @@ var LanguageByAliasMap = map[string]string{
|
||||
"fantom": "Fantom",
|
||||
"faust": "Faust",
|
||||
"fb": "FreeBasic",
|
||||
"fennel": "Fennel",
|
||||
"figfont": "FIGlet Font",
|
||||
"figlet_font": "FIGlet Font",
|
||||
"filebench_wml": "Filebench WML",
|
||||
"filterscript": "Filterscript",
|
||||
"fish": "fish",
|
||||
"flex": "Lex",
|
||||
"fluent": "Fluent",
|
||||
"flux": "FLUX",
|
||||
"formatted": "Formatted",
|
||||
"forth": "Forth",
|
||||
@ -319,6 +328,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"haxe": "Haxe",
|
||||
"hbs": "Handlebars",
|
||||
"hcl": "HCL",
|
||||
"help": "Vim Help File",
|
||||
"hiveql": "HiveQL",
|
||||
"hlsl": "HLSL",
|
||||
"holyc": "HolyC",
|
||||
@ -389,6 +399,10 @@ var LanguageByAliasMap = map[string]string{
|
||||
"julia": "Julia",
|
||||
"jupyter_notebook": "Jupyter Notebook",
|
||||
"kaitai_struct": "Kaitai Struct",
|
||||
"kak": "KakouneScript",
|
||||
"kakounescript": "KakouneScript",
|
||||
"kakscript": "KakouneScript",
|
||||
"keyvalues": "Valve Data Format",
|
||||
"kicad_layout": "KiCad Layout",
|
||||
"kicad_legacy_layout": "KiCad Legacy Layout",
|
||||
"kicad_schematic": "KiCad Schematic",
|
||||
@ -439,6 +453,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"m68k": "Motorola 68K Assembly",
|
||||
"macaulay2": "Macaulay2",
|
||||
"macruby": "Ruby",
|
||||
"mail": "E-mail",
|
||||
"make": "Makefile",
|
||||
"makefile": "Makefile",
|
||||
"mako": "Mako",
|
||||
@ -457,9 +472,10 @@ var LanguageByAliasMap = map[string]string{
|
||||
"max/msp": "Max",
|
||||
"maxmsp": "Max",
|
||||
"maxscript": "MAXScript",
|
||||
"mbox": "E-mail",
|
||||
"mcfunction": "mcfunction",
|
||||
"mdoc": "Roff",
|
||||
"mediawiki": "MediaWiki",
|
||||
"mediawiki": "Wikitext",
|
||||
"mercury": "Mercury",
|
||||
"meson": "Meson",
|
||||
"metal": "Metal",
|
||||
@ -576,6 +592,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"pasm": "Parrot Assembly",
|
||||
"pawn": "Pawn",
|
||||
"pcbnew": "KiCad Layout",
|
||||
"peg.js": "PEG.js",
|
||||
"pep8": "Pep8",
|
||||
"perl": "Perl",
|
||||
"perl-6": "Raku",
|
||||
@ -685,6 +702,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"rpc": "RPC",
|
||||
"rpcgen": "RPC",
|
||||
"rpm_spec": "RPM Spec",
|
||||
"rs": "Rust",
|
||||
"rs-274x": "Gerber Image",
|
||||
"rscript": "R",
|
||||
"rss": "XML",
|
||||
@ -706,6 +724,9 @@ var LanguageByAliasMap = map[string]string{
|
||||
"scss": "SCSS",
|
||||
"sed": "sed",
|
||||
"self": "Self",
|
||||
"selinux_kernel_policy_language": "SELinux Policy",
|
||||
"selinux_policy": "SELinux Policy",
|
||||
"sepolicy": "SELinux Policy",
|
||||
"sh": "Shell",
|
||||
"shaderlab": "ShaderLab",
|
||||
"shell": "Shell",
|
||||
@ -726,6 +747,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"snipmate": "Vim Snippet",
|
||||
"snippet": "YASnippet",
|
||||
"solidity": "Solidity",
|
||||
"soong": "Soong",
|
||||
"sourcemod": "SourcePawn",
|
||||
"sourcepawn": "SourcePawn",
|
||||
"soy": "Closure Templates",
|
||||
@ -764,10 +786,12 @@ var LanguageByAliasMap = map[string]string{
|
||||
"texinfo": "Texinfo",
|
||||
"text": "Text",
|
||||
"textile": "Textile",
|
||||
"textmate_properties": "TextMate Properties",
|
||||
"thrift": "Thrift",
|
||||
"ti_program": "TI Program",
|
||||
"tl": "Type Language",
|
||||
"tla": "TLA",
|
||||
"tm-properties": "TextMate Properties",
|
||||
"toml": "TOML",
|
||||
"troff": "Roff",
|
||||
"ts": "TypeScript",
|
||||
@ -793,6 +817,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"urweb": "UrWeb",
|
||||
"v": "V",
|
||||
"vala": "Vala",
|
||||
"valve_data_format": "Valve Data Format",
|
||||
"vb.net": "Visual Basic .NET",
|
||||
"vb6": "VBA",
|
||||
"vb_.net": "Visual Basic .NET",
|
||||
@ -800,6 +825,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"vbnet": "Visual Basic .NET",
|
||||
"vbscript": "VBScript",
|
||||
"vcl": "VCL",
|
||||
"vdf": "Valve Data Format",
|
||||
"verilog": "Verilog",
|
||||
"vhdl": "VHDL",
|
||||
"vim": "Vim script",
|
||||
@ -826,6 +852,8 @@ var LanguageByAliasMap = map[string]string{
|
||||
"webvtt": "WebVTT",
|
||||
"wget_config": "Wget Config",
|
||||
"wgetrc": "Wget Config",
|
||||
"wiki": "Wikitext",
|
||||
"wikitext": "Wikitext",
|
||||
"winbatch": "Batchfile",
|
||||
"windows_registry_entries": "Windows Registry Entries",
|
||||
"wisp": "wisp",
|
||||
|
163
data/colors.go
163
data/colors.go
@ -1,13 +1,15 @@
|
||||
// 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
|
||||
|
||||
var LanguagesColor = map[string]string{
|
||||
"1C Enterprise": "#814CCC",
|
||||
"4D": "#004289",
|
||||
"ABAP": "#E8274B",
|
||||
"ABAP CDS": "#555e25",
|
||||
"AGS Script": "#B9D9FF",
|
||||
"AIDL": "#34EB6B",
|
||||
"AL": "#3AA2B5",
|
||||
"AMPL": "#E6EFBB",
|
||||
"ANTLR": "#9DC3FF",
|
||||
@ -17,37 +19,61 @@ var LanguagesColor = map[string]string{
|
||||
"ATS": "#1ac620",
|
||||
"ActionScript": "#882B0F",
|
||||
"Ada": "#02f88c",
|
||||
"Adobe Font Metrics": "#fa0f00",
|
||||
"Agda": "#315665",
|
||||
"Alloy": "#64C800",
|
||||
"Alpine Abuild": "#0D597F",
|
||||
"Altium Designer": "#A89663",
|
||||
"AngelScript": "#C7D7DC",
|
||||
"Ant Build System": "#A9157E",
|
||||
"ApacheConf": "#d12127",
|
||||
"Apex": "#1797c0",
|
||||
"Apollo Guidance Computer": "#0B3D91",
|
||||
"AppleScript": "#101F1F",
|
||||
"Arc": "#aa2afe",
|
||||
"AsciiDoc": "#73a0c5",
|
||||
"AspectJ": "#a957b0",
|
||||
"Assembly": "#6E4C13",
|
||||
"Astro": "#ff5a03",
|
||||
"Asymptote": "#ff0000",
|
||||
"Augeas": "#9CC134",
|
||||
"AutoHotkey": "#6594b9",
|
||||
"AutoIt": "#1C3552",
|
||||
"Avro IDL": "#0040FF",
|
||||
"Awk": "#c30e9b",
|
||||
"BASIC": "#ff0000",
|
||||
"Ballerina": "#FF5000",
|
||||
"Batchfile": "#C1F12E",
|
||||
"Beef": "#a52f4e",
|
||||
"BibTeX": "#778899",
|
||||
"Bicep": "#519aba",
|
||||
"Bison": "#6A463F",
|
||||
"BitBake": "#00bce4",
|
||||
"Blade": "#f7523f",
|
||||
"BlitzBasic": "#00FFAE",
|
||||
"BlitzMax": "#cd6400",
|
||||
"Bluespec": "#12223c",
|
||||
"Boo": "#d4bec1",
|
||||
"Boogie": "#c80fa0",
|
||||
"Brainfuck": "#2F2530",
|
||||
"Brightscript": "#662D91",
|
||||
"Browserslist": "#ffd539",
|
||||
"C": "#555555",
|
||||
"C#": "#178600",
|
||||
"C++": "#f34b7d",
|
||||
"CLIPS": "#00A300",
|
||||
"CMake": "#DA3434",
|
||||
"COLLADA": "#F1A42B",
|
||||
"CSON": "#244776",
|
||||
"CSS": "#563d7c",
|
||||
"CSV": "#237346",
|
||||
"CUE": "#5886E1",
|
||||
"CWeb": "#00007a",
|
||||
"Cabal Config": "#483465",
|
||||
"Cap'n Proto": "#c42727",
|
||||
"Ceylon": "#dfa535",
|
||||
"Chapel": "#8dc63f",
|
||||
"ChucK": "#3f8000",
|
||||
"Cirru": "#ccccff",
|
||||
"Clarion": "#db901e",
|
||||
"Classic ASP": "#6a40fd",
|
||||
@ -55,27 +81,40 @@ var LanguagesColor = map[string]string{
|
||||
"Click": "#E4E6F3",
|
||||
"Clojure": "#db5855",
|
||||
"Closure Templates": "#0d948f",
|
||||
"Cloud Firestore Security Rules": "#FFA000",
|
||||
"CodeQL": "#140f46",
|
||||
"CoffeeScript": "#244776",
|
||||
"ColdFusion": "#ed2cd6",
|
||||
"ColdFusion CFC": "#ed2cd6",
|
||||
"Common Lisp": "#3fb68b",
|
||||
"Common Workflow Language": "#B5314C",
|
||||
"Component Pascal": "#B0CE4E",
|
||||
"Coq": "#d0b68c",
|
||||
"Crystal": "#000100",
|
||||
"Csound": "#1a1a1a",
|
||||
"Csound Document": "#1a1a1a",
|
||||
"Csound Score": "#1a1a1a",
|
||||
"Cuda": "#3A4E3A",
|
||||
"Cython": "#fedf5b",
|
||||
"D": "#ba595e",
|
||||
"DM": "#447265",
|
||||
"Dafny": "#FFEC25",
|
||||
"Darcs Patch": "#8eff23",
|
||||
"Dart": "#00B4AB",
|
||||
"DataWeave": "#003a52",
|
||||
"Dhall": "#dfafff",
|
||||
"DirectX 3D File": "#aace60",
|
||||
"Dockerfile": "#384d54",
|
||||
"Dogescript": "#cca760",
|
||||
"Dylan": "#6c616e",
|
||||
"E": "#ccce35",
|
||||
"ECL": "#8a1267",
|
||||
"ECLiPSe": "#001d9d",
|
||||
"EJS": "#a91e50",
|
||||
"EQ": "#a78649",
|
||||
"Easybuild": "#069406",
|
||||
"Ecere Projects": "#913960",
|
||||
"EditorConfig": "#fff1f2",
|
||||
"Eiffel": "#4d6977",
|
||||
"Elixir": "#6e4a7e",
|
||||
"Elm": "#60B5CC",
|
||||
@ -84,33 +123,62 @@ var LanguagesColor = map[string]string{
|
||||
"Erlang": "#B83998",
|
||||
"F#": "#b845fc",
|
||||
"F*": "#572e30",
|
||||
"FIGlet Font": "#FFDDBB",
|
||||
"FLUX": "#88ccff",
|
||||
"Factor": "#636746",
|
||||
"Fancy": "#7b9db4",
|
||||
"Fantom": "#14253c",
|
||||
"Faust": "#c37240",
|
||||
"Fennel": "#fff3d7",
|
||||
"Filebench WML": "#F6B900",
|
||||
"Fluent": "#ffcc33",
|
||||
"Forth": "#341708",
|
||||
"Fortran": "#4d41b1",
|
||||
"Fortran Free Form": "#4d41b1",
|
||||
"FreeBasic": "#867db1",
|
||||
"FreeMarker": "#0050b2",
|
||||
"Frege": "#00cafe",
|
||||
"Futhark": "#5f021f",
|
||||
"G-code": "#D08CF2",
|
||||
"GAML": "#FFC766",
|
||||
"GAMS": "#f49a22",
|
||||
"GAP": "#0000cc",
|
||||
"GCC Machine Description": "#FFCFAB",
|
||||
"GDScript": "#355570",
|
||||
"GEDCOM": "#003058",
|
||||
"GLSL": "#5686a5",
|
||||
"Game Maker Language": "#71b417",
|
||||
"Gemfile.lock": "#701516",
|
||||
"Genie": "#fb855d",
|
||||
"Genshi": "#951531",
|
||||
"Gentoo Ebuild": "#9400ff",
|
||||
"Gentoo Eclass": "#9400ff",
|
||||
"Gerber Image": "#d20b00",
|
||||
"Gherkin": "#5B2063",
|
||||
"Git Attributes": "#F44D27",
|
||||
"Git Config": "#F44D27",
|
||||
"Glyph": "#c1ac7f",
|
||||
"Gnuplot": "#f0a9f0",
|
||||
"Go": "#00ADD8",
|
||||
"Golo": "#88562A",
|
||||
"Gosu": "#82937f",
|
||||
"Grace": "#615f8b",
|
||||
"Gradle": "#02303a",
|
||||
"Grammatical Framework": "#ff0000",
|
||||
"GraphQL": "#e10098",
|
||||
"Groovy": "#e69f56",
|
||||
"Graphviz (DOT)": "#2596be",
|
||||
"Groovy": "#4298b8",
|
||||
"Groovy Server Pages": "#4298b8",
|
||||
"HAProxy": "#106da9",
|
||||
"HLSL": "#aace60",
|
||||
"HTML": "#e34c26",
|
||||
"HTML+ECR": "#2e1052",
|
||||
"HTML+EEX": "#6e4a7e",
|
||||
"HTML+ERB": "#701516",
|
||||
"HTML+PHP": "#4f5d95",
|
||||
"HTML+Razor": "#512be4",
|
||||
"HTTP": "#005C9C",
|
||||
"HXML": "#f68712",
|
||||
"Hack": "#878787",
|
||||
"Haml": "#ece2a9",
|
||||
"Handlebars": "#f7931e",
|
||||
@ -122,35 +190,59 @@ var LanguagesColor = map[string]string{
|
||||
"Hy": "#7790B2",
|
||||
"IDL": "#a3522f",
|
||||
"IGOR Pro": "#0000cc",
|
||||
"INI": "#d1dbe0",
|
||||
"Idris": "#b30000",
|
||||
"Ignore List": "#000000",
|
||||
"ImageJ Macro": "#99AAFF",
|
||||
"Inno Setup": "#264b99",
|
||||
"Io": "#a9188d",
|
||||
"Ioke": "#078193",
|
||||
"Isabelle": "#FEFE00",
|
||||
"Isabelle ROOT": "#FEFE00",
|
||||
"J": "#9EEDFF",
|
||||
"JFlex": "#DBCA00",
|
||||
"JSON": "#292929",
|
||||
"JSON with Comments": "#292929",
|
||||
"JSON5": "#267CB9",
|
||||
"JSONLD": "#0c479c",
|
||||
"JSONiq": "#40d47e",
|
||||
"Jasmin": "#d03600",
|
||||
"Java": "#b07219",
|
||||
"Java Properties": "#2A6277",
|
||||
"Java Server Pages": "#2A6277",
|
||||
"JavaScript": "#f1e05a",
|
||||
"JavaScript+ERB": "#f1e05a",
|
||||
"Jinja": "#a52a22",
|
||||
"Jison": "#56b3cb",
|
||||
"Jison Lex": "#56b3cb",
|
||||
"Jolie": "#843179",
|
||||
"Jsonnet": "#0064bd",
|
||||
"Julia": "#a270ba",
|
||||
"Jupyter Notebook": "#DA5B0B",
|
||||
"KRL": "#28430A",
|
||||
"Kaitai Struct": "#773b37",
|
||||
"Kotlin": "#F18E33",
|
||||
"KakouneScript": "#6f8042",
|
||||
"KiCad Layout": "#2f4aab",
|
||||
"KiCad Legacy Layout": "#2f4aab",
|
||||
"KiCad Schematic": "#2f4aab",
|
||||
"Kotlin": "#A97BFF",
|
||||
"LFE": "#4C3023",
|
||||
"LLVM": "#185619",
|
||||
"LOLCODE": "#cc9900",
|
||||
"LSL": "#3d9970",
|
||||
"LabVIEW": "#fede06",
|
||||
"Lark": "#2980B9",
|
||||
"Lasso": "#999999",
|
||||
"Latte": "#f2a542",
|
||||
"Less": "#1d365d",
|
||||
"Lex": "#DBCA00",
|
||||
"LilyPond": "#9ccc7c",
|
||||
"Liquid": "#67b8de",
|
||||
"Literate Agda": "#315665",
|
||||
"Literate CoffeeScript": "#244776",
|
||||
"Literate Haskell": "#5e5086",
|
||||
"LiveScript": "#499886",
|
||||
"Logtalk": "#295b9a",
|
||||
"LookML": "#652B81",
|
||||
"Lua": "#000080",
|
||||
"MATLAB": "#e16737",
|
||||
@ -161,17 +253,24 @@ var LanguagesColor = map[string]string{
|
||||
"MTML": "#b7e1f4",
|
||||
"Macaulay2": "#d8ffff",
|
||||
"Makefile": "#427819",
|
||||
"Mako": "#7e858d",
|
||||
"Markdown": "#083fa1",
|
||||
"Marko": "#42bff2",
|
||||
"Mask": "#f97732",
|
||||
"Mathematica": "#dd1100",
|
||||
"Max": "#c4a79c",
|
||||
"Mercury": "#ff2b2b",
|
||||
"Meson": "#007800",
|
||||
"Metal": "#8f14e9",
|
||||
"Mirah": "#c7a938",
|
||||
"Modelica": "#de1d31",
|
||||
"Modula-2": "#10253f",
|
||||
"Modula-3": "#223388",
|
||||
"MoonScript": "#ff4585",
|
||||
"Motorola 68K Assembly": "#005daa",
|
||||
"Mustache": "#724b3b",
|
||||
"NCL": "#28431f",
|
||||
"NPM Config": "#cb3837",
|
||||
"NWScript": "#111522",
|
||||
"Nearley": "#990000",
|
||||
"Nemerle": "#3d3c6e",
|
||||
@ -180,6 +279,7 @@ var LanguagesColor = map[string]string{
|
||||
"NetLogo": "#ff6375",
|
||||
"NewLisp": "#87AED7",
|
||||
"Nextflow": "#3ac486",
|
||||
"Nginx": "#009639",
|
||||
"Nim": "#ffc200",
|
||||
"Nit": "#009917",
|
||||
"Nix": "#7e7eff",
|
||||
@ -194,13 +294,20 @@ var LanguagesColor = map[string]string{
|
||||
"Odin": "#60AFFE",
|
||||
"Omgrofl": "#cabbff",
|
||||
"Opal": "#f7ede0",
|
||||
"Open Policy Agent": "#7d9199",
|
||||
"OpenCL": "#ed2e2d",
|
||||
"OpenEdge ABL": "#5ce600",
|
||||
"OpenQASM": "#AA70FF",
|
||||
"OpenSCAD": "#e5cd45",
|
||||
"Org": "#77aa99",
|
||||
"Oxygene": "#cdd0e3",
|
||||
"Oz": "#fab738",
|
||||
"P4": "#7055b5",
|
||||
"PEG.js": "#234d6b",
|
||||
"PHP": "#4F5D95",
|
||||
"PLSQL": "#dad8d8",
|
||||
"PLpgSQL": "#336790",
|
||||
"POV-Ray SDL": "#6bac65",
|
||||
"Pan": "#cc0000",
|
||||
"Papyrus": "#6600cc",
|
||||
"Parrot": "#f3ca0a",
|
||||
@ -208,9 +315,11 @@ var LanguagesColor = map[string]string{
|
||||
"Pawn": "#dbb284",
|
||||
"Pep8": "#C76F5B",
|
||||
"Perl": "#0298c3",
|
||||
"PicoLisp": "#6067af",
|
||||
"PigLatin": "#fcd7de",
|
||||
"Pike": "#005390",
|
||||
"PogoScript": "#d80074",
|
||||
"PostCSS": "#dc3a0c",
|
||||
"PostScript": "#da291c",
|
||||
"PowerBuilder": "#8f0f8d",
|
||||
"PowerShell": "#012456",
|
||||
@ -223,12 +332,17 @@ var LanguagesColor = map[string]string{
|
||||
"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",
|
||||
@ -239,16 +353,22 @@ var LanguagesColor = map[string]string{
|
||||
"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",
|
||||
@ -256,7 +376,9 @@ var LanguagesColor = map[string]string{
|
||||
"Scala": "#c22d40",
|
||||
"Scaml": "#bd181a",
|
||||
"Scheme": "#1e4aec",
|
||||
"Scilab": "#ca0f21",
|
||||
"Self": "#0579aa",
|
||||
"ShaderLab": "#222c37",
|
||||
"Shell": "#89e051",
|
||||
"Shen": "#120F14",
|
||||
"Singularity": "#64E6AD",
|
||||
@ -265,46 +387,72 @@ var LanguagesColor = map[string]string{
|
||||
"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": "#ffac45",
|
||||
"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": "#2c3e50",
|
||||
"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",
|
||||
@ -314,13 +462,18 @@ var LanguagesColor = map[string]string{
|
||||
"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",
|
||||
|
@ -1,7 +1,7 @@
|
||||
// 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
|
||||
|
||||
// linguist's commit from which files were generated.
|
||||
var LinguistCommit = "95636e415749b0bf8fbf3f86922f788cf91c11a2"
|
||||
var LinguistCommit = "cdf42b16b136fc7f0a491d36c415f34fcfb9368a"
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -802,6 +802,12 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
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{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("GAP"),
|
||||
@ -852,6 +858,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
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+`),
|
||||
),
|
||||
rule.Always(
|
||||
rule.MatchingLanguages("C"),
|
||||
),
|
||||
},
|
||||
".hh": &Heuristics{
|
||||
rule.Or(
|
||||
@ -889,12 +898,16 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
),
|
||||
rule.Or(
|
||||
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.MatchingLanguages("POV-Ray SDL"),
|
||||
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{
|
||||
rule.Or(
|
||||
@ -1288,7 +1301,7 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
regexp.MustCompile(`(?m)^[^#!;][^=]*=`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Java properties"),
|
||||
rule.MatchingLanguages("Java Properties"),
|
||||
regexp.MustCompile(`(?m)^[^#!][^:]*:`),
|
||||
),
|
||||
},
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -49,6 +49,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".agda": {"Agda"},
|
||||
".ahk": {"AutoHotkey"},
|
||||
".ahkl": {"AutoHotkey"},
|
||||
".aidl": {"AIDL"},
|
||||
".aj": {"AspectJ"},
|
||||
".al": {"AL", "Perl"},
|
||||
".als": {"Alloy"},
|
||||
@ -80,6 +81,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".asp": {"Classic ASP"},
|
||||
".aspx": {"ASP.NET"},
|
||||
".asset": {"Unity3D Asset"},
|
||||
".astro": {"Astro"},
|
||||
".asy": {"Asymptote", "LTspice Symbol"},
|
||||
".au3": {"AutoIt"},
|
||||
".aug": {"Augeas"},
|
||||
@ -154,6 +156,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".chem": {"Pic"},
|
||||
".chpl": {"Chapel"},
|
||||
".chs": {"C2hs Haskell"},
|
||||
".cil": {"CIL"},
|
||||
".cirru": {"Cirru"},
|
||||
".cjs": {"JavaScript"},
|
||||
".cjsx": {"CoffeeScript"},
|
||||
@ -211,6 +214,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".ct": {"XML"},
|
||||
".ctp": {"PHP"},
|
||||
".cu": {"Cuda"},
|
||||
".cue": {"CUE", "Cue Sheet"},
|
||||
".cuh": {"Cuda"},
|
||||
".cw": {"Redcode"},
|
||||
".cwl": {"Common Workflow Language"},
|
||||
@ -284,7 +288,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".emacs": {"Emacs Lisp"},
|
||||
".emacs.desktop": {"Emacs Lisp"},
|
||||
".emberscript": {"EmberScript"},
|
||||
".eml": {"EML"},
|
||||
".eml": {"E-mail"},
|
||||
".env": {"Shell"},
|
||||
".epj": {"Ecere Projects"},
|
||||
".eps": {"PostScript"},
|
||||
@ -317,6 +321,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".flf": {"FIGlet Font"},
|
||||
".flux": {"FLUX"},
|
||||
".fnc": {"PLSQL"},
|
||||
".fnl": {"Fennel"},
|
||||
".for": {"Formatted", "Forth", "Fortran"},
|
||||
".forth": {"Forth"},
|
||||
".fp": {"GLSL"},
|
||||
@ -335,7 +340,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".fst": {"F*"},
|
||||
".fsx": {"F#"},
|
||||
".fth": {"Forth"},
|
||||
".ftl": {"FreeMarker"},
|
||||
".ftl": {"Fluent", "FreeMarker"},
|
||||
".fun": {"Standard ML"},
|
||||
".fut": {"Futhark"},
|
||||
".fx": {"FLUX", "HLSL"},
|
||||
@ -479,7 +484,9 @@ var LanguagesByExtension = map[string][]string{
|
||||
".j2": {"Jinja"},
|
||||
".jade": {"Pug"},
|
||||
".jake": {"JavaScript"},
|
||||
".jav": {"Java"},
|
||||
".java": {"Java"},
|
||||
".javascript": {"JavaScript"},
|
||||
".jbuilder": {"Ruby"},
|
||||
".jelly": {"XML"},
|
||||
".jflex": {"JFlex"},
|
||||
@ -507,6 +514,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".jss": {"JavaScript"},
|
||||
".jst": {"EJS"},
|
||||
".jsx": {"JavaScript"},
|
||||
".kak": {"KakouneScript"},
|
||||
".kicad_mod": {"KiCad Layout"},
|
||||
".kicad_pcb": {"KiCad Layout"},
|
||||
".kicad_wks": {"KiCad Layout"},
|
||||
@ -583,7 +591,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".maxhelp": {"Max"},
|
||||
".maxpat": {"Max"},
|
||||
".maxproj": {"Max"},
|
||||
".mbox": {"EML"},
|
||||
".mbox": {"E-mail"},
|
||||
".mcfunction": {"mcfunction"},
|
||||
".mcmeta": {"JSON"},
|
||||
".mcr": {"MAXScript"},
|
||||
@ -594,7 +602,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".mdwn": {"Markdown"},
|
||||
".mdx": {"Markdown"},
|
||||
".me": {"Roff"},
|
||||
".mediawiki": {"MediaWiki"},
|
||||
".mediawiki": {"Wikitext"},
|
||||
".meta": {"Unity3D Asset"},
|
||||
".metal": {"Metal"},
|
||||
".mg": {"Modula-3"},
|
||||
@ -737,6 +745,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".pd": {"Pure Data"},
|
||||
".pd_lua": {"Lua"},
|
||||
".pde": {"Processing"},
|
||||
".pegjs": {"PEG.js"},
|
||||
".pep": {"Pep8"},
|
||||
".perl": {"Perl"},
|
||||
".pfa": {"PostScript"},
|
||||
@ -1007,6 +1016,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".tcc": {"C++"},
|
||||
".tcl": {"Tcl"},
|
||||
".tcsh": {"Tcsh"},
|
||||
".te": {"SELinux Policy"},
|
||||
".tea": {"Tea"},
|
||||
".tesc": {"GLSL"},
|
||||
".tese": {"GLSL"},
|
||||
@ -1073,6 +1083,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".vbs": {"VBScript"},
|
||||
".vcl": {"VCL"},
|
||||
".vcxproj": {"XML"},
|
||||
".vdf": {"Valve Data Format"},
|
||||
".veo": {"Verilog"},
|
||||
".vert": {"GLSL"},
|
||||
".vh": {"SystemVerilog"},
|
||||
@ -1109,7 +1120,8 @@ var LanguagesByExtension = map[string][]string{
|
||||
".webidl": {"WebIDL"},
|
||||
".webmanifest": {"JSON"},
|
||||
".weechatlog": {"IRC log"},
|
||||
".wiki": {"MediaWiki"},
|
||||
".wiki": {"Wikitext"},
|
||||
".wikitext": {"Wikitext"},
|
||||
".wisp": {"wisp"},
|
||||
".wixproj": {"XML"},
|
||||
".wl": {"Mathematica"},
|
||||
@ -1209,6 +1221,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"ABAP CDS": {".asddls"},
|
||||
"ABNF": {".abnf"},
|
||||
"AGS Script": {".asc", ".ash"},
|
||||
"AIDL": {".aidl"},
|
||||
"AL": {".al"},
|
||||
"AMPL": {".ampl", ".mod"},
|
||||
"ANTLR": {".g4"},
|
||||
@ -1233,6 +1246,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"AsciiDoc": {".asciidoc", ".adoc", ".asc"},
|
||||
"AspectJ": {".aj"},
|
||||
"Assembly": {".asm", ".a51", ".i", ".inc", ".nasm"},
|
||||
"Astro": {".astro"},
|
||||
"Asymptote": {".asy"},
|
||||
"Augeas": {".aug"},
|
||||
"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-ObjDump": {".c-objdump"},
|
||||
"C2hs Haskell": {".chs"},
|
||||
"CIL": {".cil"},
|
||||
"CLIPS": {".clp"},
|
||||
"CMake": {".cmake", ".cmake.in"},
|
||||
"COBOL": {".cob", ".cbl", ".ccp", ".cobol", ".cpy"},
|
||||
@ -1268,6 +1283,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"CSON": {".cson"},
|
||||
"CSS": {".css"},
|
||||
"CSV": {".csv"},
|
||||
"CUE": {".cue"},
|
||||
"CWeb": {".w"},
|
||||
"Cabal Config": {".cabal"},
|
||||
"Cap'n Proto": {".capnp"},
|
||||
@ -1300,6 +1316,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Csound Document": {".csd"},
|
||||
"Csound Score": {".sco"},
|
||||
"Cuda": {".cu", ".cuh"},
|
||||
"Cue Sheet": {".cue"},
|
||||
"Cycript": {".cy"},
|
||||
"Cython": {".pyx", ".pxd", ".pxi"},
|
||||
"D": {".d", ".di"},
|
||||
@ -1319,11 +1336,11 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Dogescript": {".djs"},
|
||||
"Dylan": {".dylan", ".dyl", ".intr", ".lid"},
|
||||
"E": {".e"},
|
||||
"E-mail": {".eml", ".mbox"},
|
||||
"EBNF": {".ebnf"},
|
||||
"ECL": {".ecl", ".eclxml"},
|
||||
"ECLiPSe": {".ecl"},
|
||||
"EJS": {".ejs", ".ect", ".jst"},
|
||||
"EML": {".eml", ".mbox"},
|
||||
"EQ": {".eq"},
|
||||
"Eagle": {".sch", ".brd"},
|
||||
"Easybuild": {".eb"},
|
||||
@ -1343,8 +1360,10 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Fancy": {".fy", ".fancypack"},
|
||||
"Fantom": {".fan"},
|
||||
"Faust": {".dsp"},
|
||||
"Fennel": {".fnl"},
|
||||
"Filebench WML": {".f"},
|
||||
"Filterscript": {".fs"},
|
||||
"Fluent": {".ftl"},
|
||||
"Formatted": {".for", ".eam.fs"},
|
||||
"Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"},
|
||||
"Fortran": {".f", ".f77", ".for", ".fpp"},
|
||||
@ -1427,10 +1446,10 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"JSONLD": {".jsonld"},
|
||||
"JSONiq": {".jq"},
|
||||
"Jasmin": {".j"},
|
||||
"Java": {".java"},
|
||||
"Java": {".java", ".jav"},
|
||||
"Java Properties": {".properties"},
|
||||
"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"},
|
||||
"Jinja": {".jinja", ".j2", ".jinja2"},
|
||||
"Jison": {".jison"},
|
||||
@ -1441,6 +1460,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Jupyter Notebook": {".ipynb"},
|
||||
"KRL": {".krl"},
|
||||
"Kaitai Struct": {".ksy"},
|
||||
"KakouneScript": {".kak"},
|
||||
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
|
||||
"KiCad Legacy Layout": {".brd"},
|
||||
"KiCad Schematic": {".sch"},
|
||||
@ -1491,7 +1511,6 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Mask": {".mask"},
|
||||
"Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"},
|
||||
"Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"},
|
||||
"MediaWiki": {".mediawiki", ".wiki"},
|
||||
"Mercury": {".m", ".moo"},
|
||||
"Metal": {".metal"},
|
||||
"Microsoft Developer Studio Project": {".dsp"},
|
||||
@ -1553,6 +1572,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Oxygene": {".oxygene"},
|
||||
"Oz": {".oz"},
|
||||
"P4": {".p4"},
|
||||
"PEG.js": {".pegjs"},
|
||||
"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"},
|
||||
"PLpgSQL": {".pgsql", ".sql"},
|
||||
@ -1631,6 +1651,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Rust": {".rs", ".rs.in"},
|
||||
"SAS": {".sas"},
|
||||
"SCSS": {".scss"},
|
||||
"SELinux Policy": {".te"},
|
||||
"SMT": {".smt2", ".smt"},
|
||||
"SPARQL": {".sparql", ".rq"},
|
||||
"SQF": {".sqf", ".hqf"},
|
||||
@ -1709,6 +1730,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"VCL": {".vcl"},
|
||||
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
|
||||
"Vala": {".vala", ".vapi"},
|
||||
"Valve Data Format": {".vdf"},
|
||||
"Verilog": {".v", ".veo"},
|
||||
"Vim Help File": {".txt"},
|
||||
"Vim Snippet": {".snip", ".snippet", ".snippets"},
|
||||
@ -1722,6 +1744,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"WebAssembly": {".wast", ".wat"},
|
||||
"WebIDL": {".webidl"},
|
||||
"WebVTT": {".vtt"},
|
||||
"Wikitext": {".mediawiki", ".wiki", ".wikitext"},
|
||||
"Windows Registry Entries": {".reg"},
|
||||
"Wollok": {".wlk"},
|
||||
"World of Warcraft Addon Data": {".toc"},
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -9,6 +9,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".abbrev_defs": {"Emacs Lisp"},
|
||||
".arcconfig": {"JSON"},
|
||||
".atomignore": {"Ignore List"},
|
||||
".auto-changelog": {"JSON"},
|
||||
".babelignore": {"Ignore List"},
|
||||
".babelrc": {"JSON with Comments"},
|
||||
".bash_aliases": {"Shell"},
|
||||
@ -18,6 +19,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".bashrc": {"Shell"},
|
||||
".browserslistrc": {"Browserslist"},
|
||||
".bzrignore": {"Ignore List"},
|
||||
".c8rc": {"JSON"},
|
||||
".clang-format": {"YAML"},
|
||||
".clang-tidy": {"YAML"},
|
||||
".classpath": {"XML"},
|
||||
@ -52,6 +54,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".gvimrc": {"Vim script"},
|
||||
".htaccess": {"ApacheConf"},
|
||||
".htmlhintrc": {"JSON"},
|
||||
".imgbotconfig": {"JSON"},
|
||||
".inputrc": {"Readline Config"},
|
||||
".irbrc": {"Ruby"},
|
||||
".jscsrc": {"JSON with Comments"},
|
||||
@ -64,6 +67,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".npmignore": {"Ignore List"},
|
||||
".npmrc": {"NPM Config"},
|
||||
".nvimrc": {"Vim script"},
|
||||
".nycrc": {"JSON"},
|
||||
".php": {"PHP"},
|
||||
".php_cs": {"PHP"},
|
||||
".php_cs.dist": {"PHP"},
|
||||
@ -76,6 +80,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".stylelintignore": {"Ignore List"},
|
||||
".tern-config": {"JSON"},
|
||||
".tern-project": {"JSON"},
|
||||
".tm_properties": {"TextMate Properties"},
|
||||
".vimrc": {"Vim script"},
|
||||
".viper": {"Emacs Lisp"},
|
||||
".vscodeignore": {"Ignore List"},
|
||||
@ -88,6 +93,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".zshrc": {"Shell"},
|
||||
"9fs": {"Shell"},
|
||||
"APKBUILD": {"Alpine Abuild"},
|
||||
"Android.bp": {"Soong"},
|
||||
"App.config": {"XML"},
|
||||
"Appraisals": {"Ruby"},
|
||||
"BSDmakefile": {"Makefile"},
|
||||
@ -182,6 +188,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"ack": {"Perl"},
|
||||
"ant.xml": {"Ant Build System"},
|
||||
"apache2.conf": {"ApacheConf"},
|
||||
"api-extractor.json": {"JSON with Comments"},
|
||||
"bash_aliases": {"Shell"},
|
||||
"bash_logout": {"Shell"},
|
||||
"bash_profile": {"Shell"},
|
||||
@ -206,11 +213,13 @@ var LanguagesByFilename = map[string][]string{
|
||||
"encodings.dir": {"X Font Directory Index"},
|
||||
"eqnrc": {"Roff"},
|
||||
"expr-dist": {"R"},
|
||||
"file_contexts": {"SELinux Policy"},
|
||||
"firestore.rules": {"Cloud Firestore Security Rules"},
|
||||
"fonts.alias": {"X Font Directory Index"},
|
||||
"fonts.dir": {"X Font Directory Index"},
|
||||
"fonts.scale": {"X Font Directory Index"},
|
||||
"fp-lib-table": {"KiCad Layout"},
|
||||
"genfs_contexts": {"SELinux Policy"},
|
||||
"gitignore-global": {"Ignore List"},
|
||||
"gitignore_global": {"Ignore List"},
|
||||
"glide.lock": {"YAML"},
|
||||
@ -220,9 +229,11 @@ var LanguagesByFilename = map[string][]string{
|
||||
"gvimrc": {"Vim script"},
|
||||
"haproxy.cfg": {"HAProxy"},
|
||||
"httpd.conf": {"ApacheConf"},
|
||||
"initial_sids": {"SELinux Policy"},
|
||||
"inputrc": {"Readline Config"},
|
||||
"installscript.qs": {"Qt Script"},
|
||||
"jsconfig.json": {"JSON with Comments"},
|
||||
"kakrc": {"KakouneScript"},
|
||||
"keep.me": {"Text"},
|
||||
"language-configuration.json": {"JSON with Comments"},
|
||||
"language-subtag-registry.txt": {"Record Jar"},
|
||||
@ -253,6 +264,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"packages.config": {"XML"},
|
||||
"poetry.lock": {"TOML"},
|
||||
"pom.xml": {"Maven POM"},
|
||||
"port_contexts": {"SELinux Policy"},
|
||||
"profile": {"Shell"},
|
||||
"read.me": {"Text"},
|
||||
"readme.1st": {"Text"},
|
||||
@ -261,6 +273,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"rebar.lock": {"Erlang"},
|
||||
"riemann.config": {"Clojure"},
|
||||
"robots.txt": {"robots.txt"},
|
||||
"security_classes": {"SELinux Policy"},
|
||||
"ssh-config": {"SSH Config"},
|
||||
"ssh_config": {"SSH Config"},
|
||||
"sshconfig": {"SSH Config"},
|
||||
|
29736
data/frequencies.go
29736
data/frequencies.go
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -10,7 +10,6 @@ var LanguagesGroup = map[string]string{
|
||||
"Bison": "Yacc",
|
||||
"C2hs Haskell": "Haskell",
|
||||
"ColdFusion CFC": "ColdFusion",
|
||||
"Cython": "Python",
|
||||
"ECLiPSe": "prolog",
|
||||
"Easybuild": "Python",
|
||||
"Ecere Projects": "JavaScript",
|
||||
|
19
data/id.go
19
data/id.go
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -10,6 +10,7 @@ var IDByLanguage = map[string]int{
|
||||
"ABAP CDS": 452681853,
|
||||
"ABNF": 429,
|
||||
"AGS Script": 2,
|
||||
"AIDL": 451700185,
|
||||
"AL": 658971832,
|
||||
"AMPL": 3,
|
||||
"ANTLR": 4,
|
||||
@ -36,6 +37,7 @@ var IDByLanguage = map[string]int{
|
||||
"AsciiDoc": 22,
|
||||
"AspectJ": 23,
|
||||
"Assembly": 24,
|
||||
"Astro": 578209015,
|
||||
"Asymptote": 591605007,
|
||||
"Augeas": 25,
|
||||
"AutoHotkey": 26,
|
||||
@ -65,6 +67,7 @@ var IDByLanguage = map[string]int{
|
||||
"C++": 43,
|
||||
"C-ObjDump": 44,
|
||||
"C2hs Haskell": 45,
|
||||
"CIL": 29176339,
|
||||
"CLIPS": 46,
|
||||
"CMake": 47,
|
||||
"COBOL": 48,
|
||||
@ -73,6 +76,7 @@ var IDByLanguage = map[string]int{
|
||||
"CSON": 424,
|
||||
"CSS": 50,
|
||||
"CSV": 51,
|
||||
"CUE": 356063509,
|
||||
"CWeb": 657332628,
|
||||
"Cabal Config": 677095381,
|
||||
"Cap'n Proto": 52,
|
||||
@ -106,6 +110,7 @@ var IDByLanguage = map[string]int{
|
||||
"Csound Document": 74,
|
||||
"Csound Score": 75,
|
||||
"Cuda": 77,
|
||||
"Cue Sheet": 942714150,
|
||||
"Cycript": 78,
|
||||
"Cython": 79,
|
||||
"D": 80,
|
||||
@ -125,11 +130,11 @@ var IDByLanguage = map[string]int{
|
||||
"Dogescript": 90,
|
||||
"Dylan": 91,
|
||||
"E": 92,
|
||||
"E-mail": 529653389,
|
||||
"EBNF": 430,
|
||||
"ECL": 93,
|
||||
"ECLiPSe": 94,
|
||||
"EJS": 95,
|
||||
"EML": 529653389,
|
||||
"EQ": 96,
|
||||
"Eagle": 97,
|
||||
"Easybuild": 342840477,
|
||||
@ -150,8 +155,10 @@ var IDByLanguage = map[string]int{
|
||||
"Fancy": 109,
|
||||
"Fantom": 110,
|
||||
"Faust": 622529198,
|
||||
"Fennel": 239946126,
|
||||
"Filebench WML": 111,
|
||||
"Filterscript": 112,
|
||||
"Fluent": 206353404,
|
||||
"Formatted": 113,
|
||||
"Forth": 114,
|
||||
"Fortran": 107,
|
||||
@ -251,6 +258,7 @@ var IDByLanguage = map[string]int{
|
||||
"Jupyter Notebook": 185,
|
||||
"KRL": 186,
|
||||
"Kaitai Struct": 818804755,
|
||||
"KakouneScript": 603336474,
|
||||
"KiCad Layout": 187,
|
||||
"KiCad Legacy Layout": 140848857,
|
||||
"KiCad Schematic": 622447435,
|
||||
@ -302,7 +310,6 @@ var IDByLanguage = map[string]int{
|
||||
"Mathematica": 224,
|
||||
"Maven POM": 226,
|
||||
"Max": 227,
|
||||
"MediaWiki": 228,
|
||||
"Mercury": 229,
|
||||
"Meson": 799141244,
|
||||
"Metal": 230,
|
||||
@ -367,6 +374,7 @@ var IDByLanguage = map[string]int{
|
||||
"Oxygene": 269,
|
||||
"Oz": 270,
|
||||
"P4": 348895984,
|
||||
"PEG.js": 81442128,
|
||||
"PHP": 272,
|
||||
"PLSQL": 273,
|
||||
"PLpgSQL": 274,
|
||||
@ -450,6 +458,7 @@ var IDByLanguage = map[string]int{
|
||||
"Rust": 327,
|
||||
"SAS": 328,
|
||||
"SCSS": 329,
|
||||
"SELinux Policy": 880010326,
|
||||
"SMT": 330,
|
||||
"SPARQL": 331,
|
||||
"SQF": 332,
|
||||
@ -482,6 +491,7 @@ var IDByLanguage = map[string]int{
|
||||
"Smalltalk": 352,
|
||||
"Smarty": 353,
|
||||
"Solidity": 237469032,
|
||||
"Soong": 222900098,
|
||||
"SourcePawn": 354,
|
||||
"Spline Font Database": 767169629,
|
||||
"Squirrel": 355,
|
||||
@ -511,6 +521,7 @@ var IDByLanguage = map[string]int{
|
||||
"Terra": 371,
|
||||
"Texinfo": 988020015,
|
||||
"Text": 372,
|
||||
"TextMate Properties": 981795023,
|
||||
"Textile": 373,
|
||||
"Thrift": 374,
|
||||
"Turing": 375,
|
||||
@ -530,6 +541,7 @@ var IDByLanguage = map[string]int{
|
||||
"VCL": 384,
|
||||
"VHDL": 385,
|
||||
"Vala": 386,
|
||||
"Valve Data Format": 544060961,
|
||||
"Verilog": 387,
|
||||
"Vim Help File": 508563686,
|
||||
"Vim Snippet": 81265970,
|
||||
@ -544,6 +556,7 @@ var IDByLanguage = map[string]int{
|
||||
"WebIDL": 395,
|
||||
"WebVTT": 658679714,
|
||||
"Wget Config": 668457123,
|
||||
"Wikitext": 228,
|
||||
"Windows Registry Entries": 969674868,
|
||||
"Wollok": 632745969,
|
||||
"World of Warcraft Addon Data": 396,
|
||||
|
@ -1,11 +1,12 @@
|
||||
// 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
|
||||
|
||||
var LanguagesByInterpreter = map[string][]string{
|
||||
"M2": {"Macaulay2"},
|
||||
"Rscript": {"R"},
|
||||
"aidl": {"AIDL"},
|
||||
"apl": {"APL"},
|
||||
"aplx": {"APL"},
|
||||
"ash": {"Shell"},
|
||||
@ -36,6 +37,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||
"ecl": {"Common Lisp"},
|
||||
"elixir": {"Elixir"},
|
||||
"escript": {"Erlang"},
|
||||
"fennel": {"Fennel"},
|
||||
"fish": {"fish"},
|
||||
"gawk": {"Awk"},
|
||||
"gerbv": {"Gerber Image"},
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -12,6 +12,7 @@ var LanguagesMime = map[string]string{
|
||||
"AngelScript": "text/x-c++src",
|
||||
"Ant Build System": "application/xml",
|
||||
"Apex": "text/x-java",
|
||||
"Astro": "text/jsx",
|
||||
"Asymptote": "text/x-kotlin",
|
||||
"Beef": "text/x-csharp",
|
||||
"BibTeX": "text/x-stex",
|
||||
@ -45,6 +46,7 @@ var LanguagesMime = map[string]string{
|
||||
"Diff": "text/x-diff",
|
||||
"Dockerfile": "text/x-dockerfile",
|
||||
"Dylan": "text/x-dylan",
|
||||
"E-mail": "application/mbox",
|
||||
"EBNF": "text/x-ebnf",
|
||||
"ECL": "text/x-ecl",
|
||||
"EQ": "text/x-csharp",
|
||||
@ -148,6 +150,7 @@ var LanguagesMime = map[string]string{
|
||||
"OpenCL": "text/x-csrc",
|
||||
"OpenRC runscript": "text/x-sh",
|
||||
"Oz": "text/x-oz",
|
||||
"PEG.js": "text/javascript",
|
||||
"PHP": "application/x-httpd-php",
|
||||
"PLSQL": "text/x-plsql",
|
||||
"PLpgSQL": "text/x-sql",
|
||||
@ -208,6 +211,7 @@ var LanguagesMime = map[string]string{
|
||||
"Tcsh": "text/x-sh",
|
||||
"TeX": "text/x-stex",
|
||||
"Terra": "text/x-lua",
|
||||
"TextMate Properties": "text/x-properties",
|
||||
"Textile": "text/x-textile",
|
||||
"Turtle": "text/turtle",
|
||||
"Twig": "text/x-twig",
|
||||
|
19
data/type.go
19
data/type.go
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -10,6 +10,7 @@ var LanguagesType = map[string]int{
|
||||
"ABAP CDS": 2,
|
||||
"ABNF": 1,
|
||||
"AGS Script": 2,
|
||||
"AIDL": 2,
|
||||
"AL": 2,
|
||||
"AMPL": 2,
|
||||
"ANTLR": 2,
|
||||
@ -36,6 +37,7 @@ var LanguagesType = map[string]int{
|
||||
"AsciiDoc": 4,
|
||||
"AspectJ": 2,
|
||||
"Assembly": 2,
|
||||
"Astro": 3,
|
||||
"Asymptote": 2,
|
||||
"Augeas": 2,
|
||||
"AutoHotkey": 2,
|
||||
@ -65,6 +67,7 @@ var LanguagesType = map[string]int{
|
||||
"C++": 2,
|
||||
"C-ObjDump": 1,
|
||||
"C2hs Haskell": 2,
|
||||
"CIL": 1,
|
||||
"CLIPS": 2,
|
||||
"CMake": 2,
|
||||
"COBOL": 2,
|
||||
@ -73,6 +76,7 @@ var LanguagesType = map[string]int{
|
||||
"CSON": 1,
|
||||
"CSS": 3,
|
||||
"CSV": 1,
|
||||
"CUE": 2,
|
||||
"CWeb": 2,
|
||||
"Cabal Config": 1,
|
||||
"Cap'n Proto": 2,
|
||||
@ -106,6 +110,7 @@ var LanguagesType = map[string]int{
|
||||
"Csound Document": 2,
|
||||
"Csound Score": 2,
|
||||
"Cuda": 2,
|
||||
"Cue Sheet": 1,
|
||||
"Cycript": 2,
|
||||
"Cython": 2,
|
||||
"D": 2,
|
||||
@ -125,11 +130,11 @@ var LanguagesType = map[string]int{
|
||||
"Dogescript": 2,
|
||||
"Dylan": 2,
|
||||
"E": 2,
|
||||
"E-mail": 1,
|
||||
"EBNF": 1,
|
||||
"ECL": 2,
|
||||
"ECLiPSe": 2,
|
||||
"EJS": 3,
|
||||
"EML": 1,
|
||||
"EQ": 2,
|
||||
"Eagle": 1,
|
||||
"Easybuild": 1,
|
||||
@ -150,8 +155,10 @@ var LanguagesType = map[string]int{
|
||||
"Fancy": 2,
|
||||
"Fantom": 2,
|
||||
"Faust": 2,
|
||||
"Fennel": 2,
|
||||
"Filebench WML": 2,
|
||||
"Filterscript": 2,
|
||||
"Fluent": 2,
|
||||
"Formatted": 1,
|
||||
"Forth": 2,
|
||||
"Fortran": 2,
|
||||
@ -251,6 +258,7 @@ var LanguagesType = map[string]int{
|
||||
"Jupyter Notebook": 3,
|
||||
"KRL": 2,
|
||||
"Kaitai Struct": 2,
|
||||
"KakouneScript": 2,
|
||||
"KiCad Layout": 1,
|
||||
"KiCad Legacy Layout": 1,
|
||||
"KiCad Schematic": 1,
|
||||
@ -302,7 +310,6 @@ var LanguagesType = map[string]int{
|
||||
"Mathematica": 2,
|
||||
"Maven POM": 1,
|
||||
"Max": 2,
|
||||
"MediaWiki": 4,
|
||||
"Mercury": 2,
|
||||
"Meson": 2,
|
||||
"Metal": 2,
|
||||
@ -367,6 +374,7 @@ var LanguagesType = map[string]int{
|
||||
"Oxygene": 2,
|
||||
"Oz": 2,
|
||||
"P4": 2,
|
||||
"PEG.js": 2,
|
||||
"PHP": 2,
|
||||
"PLSQL": 2,
|
||||
"PLpgSQL": 2,
|
||||
@ -450,6 +458,7 @@ var LanguagesType = map[string]int{
|
||||
"Rust": 2,
|
||||
"SAS": 2,
|
||||
"SCSS": 3,
|
||||
"SELinux Policy": 1,
|
||||
"SMT": 2,
|
||||
"SPARQL": 1,
|
||||
"SQF": 2,
|
||||
@ -482,6 +491,7 @@ var LanguagesType = map[string]int{
|
||||
"Smalltalk": 2,
|
||||
"Smarty": 2,
|
||||
"Solidity": 2,
|
||||
"Soong": 1,
|
||||
"SourcePawn": 2,
|
||||
"Spline Font Database": 1,
|
||||
"Squirrel": 2,
|
||||
@ -511,6 +521,7 @@ var LanguagesType = map[string]int{
|
||||
"Terra": 2,
|
||||
"Texinfo": 4,
|
||||
"Text": 4,
|
||||
"TextMate Properties": 1,
|
||||
"Textile": 4,
|
||||
"Thrift": 2,
|
||||
"Turing": 2,
|
||||
@ -530,6 +541,7 @@ var LanguagesType = map[string]int{
|
||||
"VCL": 2,
|
||||
"VHDL": 2,
|
||||
"Vala": 2,
|
||||
"Valve Data Format": 1,
|
||||
"Verilog": 2,
|
||||
"Vim Help File": 4,
|
||||
"Vim Snippet": 3,
|
||||
@ -544,6 +556,7 @@ var LanguagesType = map[string]int{
|
||||
"WebIDL": 2,
|
||||
"WebVTT": 1,
|
||||
"Wget Config": 1,
|
||||
"Wikitext": 4,
|
||||
"Windows Registry Entries": 1,
|
||||
"Wollok": 2,
|
||||
"World of Warcraft Addon Data": 1,
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
|
@ -19,7 +19,7 @@ import (
|
||||
var (
|
||||
linguistURL = "https://github.com/github/linguist.git"
|
||||
linguistClonedEnvVar = "ENRY_TEST_REPO"
|
||||
commit = "95636e415749b0bf8fbf3f86922f788cf91c11a2"
|
||||
commit = "cdf42b16b136fc7f0a491d36c415f34fcfb9368a"
|
||||
samplesDir = "samples"
|
||||
languagesFile = filepath.Join("lib", "linguist", "languages.yml")
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -32,6 +32,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"ags": "AGS Script",
|
||||
"ags_script": "AGS Script",
|
||||
"ahk": "AutoHotkey",
|
||||
"aidl": "AIDL",
|
||||
"al": "AL",
|
||||
"alloy": "Alloy",
|
||||
"alpine_abuild": "Alpine Abuild",
|
||||
@ -64,6 +65,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"aspx": "ASP.NET",
|
||||
"aspx-vb": "ASP.NET",
|
||||
"assembly": "Assembly",
|
||||
"astro": "Astro",
|
||||
"asymptote": "Asymptote",
|
||||
"ats": "ATS",
|
||||
"ats2": "ATS",
|
||||
@ -130,6 +132,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"charity": "Charity",
|
||||
"chpl": "Chapel",
|
||||
"chuck": "ChucK",
|
||||
"cil": "CIL",
|
||||
"cirru": "Cirru",
|
||||
"clarion": "Clarion",
|
||||
"classic_asp": "Classic ASP",
|
||||
@ -178,6 +181,8 @@ var LanguageByAliasMap = map[string]string{
|
||||
"csv": "CSV",
|
||||
"cucumber": "Gherkin",
|
||||
"cuda": "Cuda",
|
||||
"cue": "CUE",
|
||||
"cue_sheet": "Cue Sheet",
|
||||
"curl_config": "cURL Config",
|
||||
"curlrc": "cURL Config",
|
||||
"cweb": "CWeb",
|
||||
@ -211,6 +216,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"dtrace-script": "DTrace",
|
||||
"dylan": "Dylan",
|
||||
"e": "E",
|
||||
"e-mail": "E-mail",
|
||||
"eagle": "Eagle",
|
||||
"easybuild": "Easybuild",
|
||||
"ebnf": "EBNF",
|
||||
@ -233,8 +239,9 @@ var LanguageByAliasMap = map[string]string{
|
||||
"emacs": "Emacs Lisp",
|
||||
"emacs_lisp": "Emacs Lisp",
|
||||
"emacs_muse": "Muse",
|
||||
"email": "E-mail",
|
||||
"emberscript": "EmberScript",
|
||||
"eml": "EML",
|
||||
"eml": "E-mail",
|
||||
"eq": "EQ",
|
||||
"erb": "HTML+ERB",
|
||||
"erlang": "Erlang",
|
||||
@ -245,12 +252,14 @@ var LanguageByAliasMap = map[string]string{
|
||||
"fantom": "Fantom",
|
||||
"faust": "Faust",
|
||||
"fb": "FreeBasic",
|
||||
"fennel": "Fennel",
|
||||
"figfont": "FIGlet Font",
|
||||
"figlet_font": "FIGlet Font",
|
||||
"filebench_wml": "Filebench WML",
|
||||
"filterscript": "Filterscript",
|
||||
"fish": "fish",
|
||||
"flex": "Lex",
|
||||
"fluent": "Fluent",
|
||||
"flux": "FLUX",
|
||||
"formatted": "Formatted",
|
||||
"forth": "Forth",
|
||||
@ -319,6 +328,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"haxe": "Haxe",
|
||||
"hbs": "Handlebars",
|
||||
"hcl": "HCL",
|
||||
"help": "Vim Help File",
|
||||
"hiveql": "HiveQL",
|
||||
"hlsl": "HLSL",
|
||||
"holyc": "HolyC",
|
||||
@ -389,6 +399,10 @@ var LanguageByAliasMap = map[string]string{
|
||||
"julia": "Julia",
|
||||
"jupyter_notebook": "Jupyter Notebook",
|
||||
"kaitai_struct": "Kaitai Struct",
|
||||
"kak": "KakouneScript",
|
||||
"kakounescript": "KakouneScript",
|
||||
"kakscript": "KakouneScript",
|
||||
"keyvalues": "Valve Data Format",
|
||||
"kicad_layout": "KiCad Layout",
|
||||
"kicad_legacy_layout": "KiCad Legacy Layout",
|
||||
"kicad_schematic": "KiCad Schematic",
|
||||
@ -439,6 +453,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"m68k": "Motorola 68K Assembly",
|
||||
"macaulay2": "Macaulay2",
|
||||
"macruby": "Ruby",
|
||||
"mail": "E-mail",
|
||||
"make": "Makefile",
|
||||
"makefile": "Makefile",
|
||||
"mako": "Mako",
|
||||
@ -457,9 +472,10 @@ var LanguageByAliasMap = map[string]string{
|
||||
"max/msp": "Max",
|
||||
"maxmsp": "Max",
|
||||
"maxscript": "MAXScript",
|
||||
"mbox": "E-mail",
|
||||
"mcfunction": "mcfunction",
|
||||
"mdoc": "Roff",
|
||||
"mediawiki": "MediaWiki",
|
||||
"mediawiki": "Wikitext",
|
||||
"mercury": "Mercury",
|
||||
"meson": "Meson",
|
||||
"metal": "Metal",
|
||||
@ -576,6 +592,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"pasm": "Parrot Assembly",
|
||||
"pawn": "Pawn",
|
||||
"pcbnew": "KiCad Layout",
|
||||
"peg.js": "PEG.js",
|
||||
"pep8": "Pep8",
|
||||
"perl": "Perl",
|
||||
"perl-6": "Raku",
|
||||
@ -685,6 +702,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"rpc": "RPC",
|
||||
"rpcgen": "RPC",
|
||||
"rpm_spec": "RPM Spec",
|
||||
"rs": "Rust",
|
||||
"rs-274x": "Gerber Image",
|
||||
"rscript": "R",
|
||||
"rss": "XML",
|
||||
@ -706,6 +724,9 @@ var LanguageByAliasMap = map[string]string{
|
||||
"scss": "SCSS",
|
||||
"sed": "sed",
|
||||
"self": "Self",
|
||||
"selinux_kernel_policy_language": "SELinux Policy",
|
||||
"selinux_policy": "SELinux Policy",
|
||||
"sepolicy": "SELinux Policy",
|
||||
"sh": "Shell",
|
||||
"shaderlab": "ShaderLab",
|
||||
"shell": "Shell",
|
||||
@ -726,6 +747,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"snipmate": "Vim Snippet",
|
||||
"snippet": "YASnippet",
|
||||
"solidity": "Solidity",
|
||||
"soong": "Soong",
|
||||
"sourcemod": "SourcePawn",
|
||||
"sourcepawn": "SourcePawn",
|
||||
"soy": "Closure Templates",
|
||||
@ -764,10 +786,12 @@ var LanguageByAliasMap = map[string]string{
|
||||
"texinfo": "Texinfo",
|
||||
"text": "Text",
|
||||
"textile": "Textile",
|
||||
"textmate_properties": "TextMate Properties",
|
||||
"thrift": "Thrift",
|
||||
"ti_program": "TI Program",
|
||||
"tl": "Type Language",
|
||||
"tla": "TLA",
|
||||
"tm-properties": "TextMate Properties",
|
||||
"toml": "TOML",
|
||||
"troff": "Roff",
|
||||
"ts": "TypeScript",
|
||||
@ -793,6 +817,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"urweb": "UrWeb",
|
||||
"v": "V",
|
||||
"vala": "Vala",
|
||||
"valve_data_format": "Valve Data Format",
|
||||
"vb.net": "Visual Basic .NET",
|
||||
"vb6": "VBA",
|
||||
"vb_.net": "Visual Basic .NET",
|
||||
@ -800,6 +825,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"vbnet": "Visual Basic .NET",
|
||||
"vbscript": "VBScript",
|
||||
"vcl": "VCL",
|
||||
"vdf": "Valve Data Format",
|
||||
"verilog": "Verilog",
|
||||
"vhdl": "VHDL",
|
||||
"vim": "Vim script",
|
||||
@ -826,6 +852,8 @@ var LanguageByAliasMap = map[string]string{
|
||||
"webvtt": "WebVTT",
|
||||
"wget_config": "Wget Config",
|
||||
"wgetrc": "Wget Config",
|
||||
"wiki": "Wikitext",
|
||||
"wikitext": "Wikitext",
|
||||
"winbatch": "Batchfile",
|
||||
"windows_registry_entries": "Windows Registry Entries",
|
||||
"wisp": "wisp",
|
||||
|
@ -1,13 +1,15 @@
|
||||
// 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
|
||||
|
||||
var LanguagesColor = map[string]string{
|
||||
"1C Enterprise": "#814CCC",
|
||||
"4D": "#004289",
|
||||
"ABAP": "#E8274B",
|
||||
"ABAP CDS": "#555e25",
|
||||
"AGS Script": "#B9D9FF",
|
||||
"AIDL": "#34EB6B",
|
||||
"AL": "#3AA2B5",
|
||||
"AMPL": "#E6EFBB",
|
||||
"ANTLR": "#9DC3FF",
|
||||
@ -17,37 +19,61 @@ var LanguagesColor = map[string]string{
|
||||
"ATS": "#1ac620",
|
||||
"ActionScript": "#882B0F",
|
||||
"Ada": "#02f88c",
|
||||
"Adobe Font Metrics": "#fa0f00",
|
||||
"Agda": "#315665",
|
||||
"Alloy": "#64C800",
|
||||
"Alpine Abuild": "#0D597F",
|
||||
"Altium Designer": "#A89663",
|
||||
"AngelScript": "#C7D7DC",
|
||||
"Ant Build System": "#A9157E",
|
||||
"ApacheConf": "#d12127",
|
||||
"Apex": "#1797c0",
|
||||
"Apollo Guidance Computer": "#0B3D91",
|
||||
"AppleScript": "#101F1F",
|
||||
"Arc": "#aa2afe",
|
||||
"AsciiDoc": "#73a0c5",
|
||||
"AspectJ": "#a957b0",
|
||||
"Assembly": "#6E4C13",
|
||||
"Astro": "#ff5a03",
|
||||
"Asymptote": "#ff0000",
|
||||
"Augeas": "#9CC134",
|
||||
"AutoHotkey": "#6594b9",
|
||||
"AutoIt": "#1C3552",
|
||||
"Avro IDL": "#0040FF",
|
||||
"Awk": "#c30e9b",
|
||||
"BASIC": "#ff0000",
|
||||
"Ballerina": "#FF5000",
|
||||
"Batchfile": "#C1F12E",
|
||||
"Beef": "#a52f4e",
|
||||
"BibTeX": "#778899",
|
||||
"Bicep": "#519aba",
|
||||
"Bison": "#6A463F",
|
||||
"BitBake": "#00bce4",
|
||||
"Blade": "#f7523f",
|
||||
"BlitzBasic": "#00FFAE",
|
||||
"BlitzMax": "#cd6400",
|
||||
"Bluespec": "#12223c",
|
||||
"Boo": "#d4bec1",
|
||||
"Boogie": "#c80fa0",
|
||||
"Brainfuck": "#2F2530",
|
||||
"Brightscript": "#662D91",
|
||||
"Browserslist": "#ffd539",
|
||||
"C": "#555555",
|
||||
"C#": "#178600",
|
||||
"C++": "#f34b7d",
|
||||
"CLIPS": "#00A300",
|
||||
"CMake": "#DA3434",
|
||||
"COLLADA": "#F1A42B",
|
||||
"CSON": "#244776",
|
||||
"CSS": "#563d7c",
|
||||
"CSV": "#237346",
|
||||
"CUE": "#5886E1",
|
||||
"CWeb": "#00007a",
|
||||
"Cabal Config": "#483465",
|
||||
"Cap'n Proto": "#c42727",
|
||||
"Ceylon": "#dfa535",
|
||||
"Chapel": "#8dc63f",
|
||||
"ChucK": "#3f8000",
|
||||
"Cirru": "#ccccff",
|
||||
"Clarion": "#db901e",
|
||||
"Classic ASP": "#6a40fd",
|
||||
@ -55,27 +81,40 @@ var LanguagesColor = map[string]string{
|
||||
"Click": "#E4E6F3",
|
||||
"Clojure": "#db5855",
|
||||
"Closure Templates": "#0d948f",
|
||||
"Cloud Firestore Security Rules": "#FFA000",
|
||||
"CodeQL": "#140f46",
|
||||
"CoffeeScript": "#244776",
|
||||
"ColdFusion": "#ed2cd6",
|
||||
"ColdFusion CFC": "#ed2cd6",
|
||||
"Common Lisp": "#3fb68b",
|
||||
"Common Workflow Language": "#B5314C",
|
||||
"Component Pascal": "#B0CE4E",
|
||||
"Coq": "#d0b68c",
|
||||
"Crystal": "#000100",
|
||||
"Csound": "#1a1a1a",
|
||||
"Csound Document": "#1a1a1a",
|
||||
"Csound Score": "#1a1a1a",
|
||||
"Cuda": "#3A4E3A",
|
||||
"Cython": "#fedf5b",
|
||||
"D": "#ba595e",
|
||||
"DM": "#447265",
|
||||
"Dafny": "#FFEC25",
|
||||
"Darcs Patch": "#8eff23",
|
||||
"Dart": "#00B4AB",
|
||||
"DataWeave": "#003a52",
|
||||
"Dhall": "#dfafff",
|
||||
"DirectX 3D File": "#aace60",
|
||||
"Dockerfile": "#384d54",
|
||||
"Dogescript": "#cca760",
|
||||
"Dylan": "#6c616e",
|
||||
"E": "#ccce35",
|
||||
"ECL": "#8a1267",
|
||||
"ECLiPSe": "#001d9d",
|
||||
"EJS": "#a91e50",
|
||||
"EQ": "#a78649",
|
||||
"Easybuild": "#069406",
|
||||
"Ecere Projects": "#913960",
|
||||
"EditorConfig": "#fff1f2",
|
||||
"Eiffel": "#4d6977",
|
||||
"Elixir": "#6e4a7e",
|
||||
"Elm": "#60B5CC",
|
||||
@ -84,33 +123,62 @@ var LanguagesColor = map[string]string{
|
||||
"Erlang": "#B83998",
|
||||
"F#": "#b845fc",
|
||||
"F*": "#572e30",
|
||||
"FIGlet Font": "#FFDDBB",
|
||||
"FLUX": "#88ccff",
|
||||
"Factor": "#636746",
|
||||
"Fancy": "#7b9db4",
|
||||
"Fantom": "#14253c",
|
||||
"Faust": "#c37240",
|
||||
"Fennel": "#fff3d7",
|
||||
"Filebench WML": "#F6B900",
|
||||
"Fluent": "#ffcc33",
|
||||
"Forth": "#341708",
|
||||
"Fortran": "#4d41b1",
|
||||
"Fortran Free Form": "#4d41b1",
|
||||
"FreeBasic": "#867db1",
|
||||
"FreeMarker": "#0050b2",
|
||||
"Frege": "#00cafe",
|
||||
"Futhark": "#5f021f",
|
||||
"G-code": "#D08CF2",
|
||||
"GAML": "#FFC766",
|
||||
"GAMS": "#f49a22",
|
||||
"GAP": "#0000cc",
|
||||
"GCC Machine Description": "#FFCFAB",
|
||||
"GDScript": "#355570",
|
||||
"GEDCOM": "#003058",
|
||||
"GLSL": "#5686a5",
|
||||
"Game Maker Language": "#71b417",
|
||||
"Gemfile.lock": "#701516",
|
||||
"Genie": "#fb855d",
|
||||
"Genshi": "#951531",
|
||||
"Gentoo Ebuild": "#9400ff",
|
||||
"Gentoo Eclass": "#9400ff",
|
||||
"Gerber Image": "#d20b00",
|
||||
"Gherkin": "#5B2063",
|
||||
"Git Attributes": "#F44D27",
|
||||
"Git Config": "#F44D27",
|
||||
"Glyph": "#c1ac7f",
|
||||
"Gnuplot": "#f0a9f0",
|
||||
"Go": "#00ADD8",
|
||||
"Golo": "#88562A",
|
||||
"Gosu": "#82937f",
|
||||
"Grace": "#615f8b",
|
||||
"Gradle": "#02303a",
|
||||
"Grammatical Framework": "#ff0000",
|
||||
"GraphQL": "#e10098",
|
||||
"Groovy": "#e69f56",
|
||||
"Graphviz (DOT)": "#2596be",
|
||||
"Groovy": "#4298b8",
|
||||
"Groovy Server Pages": "#4298b8",
|
||||
"HAProxy": "#106da9",
|
||||
"HLSL": "#aace60",
|
||||
"HTML": "#e34c26",
|
||||
"HTML+ECR": "#2e1052",
|
||||
"HTML+EEX": "#6e4a7e",
|
||||
"HTML+ERB": "#701516",
|
||||
"HTML+PHP": "#4f5d95",
|
||||
"HTML+Razor": "#512be4",
|
||||
"HTTP": "#005C9C",
|
||||
"HXML": "#f68712",
|
||||
"Hack": "#878787",
|
||||
"Haml": "#ece2a9",
|
||||
"Handlebars": "#f7931e",
|
||||
@ -122,35 +190,59 @@ var LanguagesColor = map[string]string{
|
||||
"Hy": "#7790B2",
|
||||
"IDL": "#a3522f",
|
||||
"IGOR Pro": "#0000cc",
|
||||
"INI": "#d1dbe0",
|
||||
"Idris": "#b30000",
|
||||
"Ignore List": "#000000",
|
||||
"ImageJ Macro": "#99AAFF",
|
||||
"Inno Setup": "#264b99",
|
||||
"Io": "#a9188d",
|
||||
"Ioke": "#078193",
|
||||
"Isabelle": "#FEFE00",
|
||||
"Isabelle ROOT": "#FEFE00",
|
||||
"J": "#9EEDFF",
|
||||
"JFlex": "#DBCA00",
|
||||
"JSON": "#292929",
|
||||
"JSON with Comments": "#292929",
|
||||
"JSON5": "#267CB9",
|
||||
"JSONLD": "#0c479c",
|
||||
"JSONiq": "#40d47e",
|
||||
"Jasmin": "#d03600",
|
||||
"Java": "#b07219",
|
||||
"Java Properties": "#2A6277",
|
||||
"Java Server Pages": "#2A6277",
|
||||
"JavaScript": "#f1e05a",
|
||||
"JavaScript+ERB": "#f1e05a",
|
||||
"Jinja": "#a52a22",
|
||||
"Jison": "#56b3cb",
|
||||
"Jison Lex": "#56b3cb",
|
||||
"Jolie": "#843179",
|
||||
"Jsonnet": "#0064bd",
|
||||
"Julia": "#a270ba",
|
||||
"Jupyter Notebook": "#DA5B0B",
|
||||
"KRL": "#28430A",
|
||||
"Kaitai Struct": "#773b37",
|
||||
"Kotlin": "#F18E33",
|
||||
"KakouneScript": "#6f8042",
|
||||
"KiCad Layout": "#2f4aab",
|
||||
"KiCad Legacy Layout": "#2f4aab",
|
||||
"KiCad Schematic": "#2f4aab",
|
||||
"Kotlin": "#A97BFF",
|
||||
"LFE": "#4C3023",
|
||||
"LLVM": "#185619",
|
||||
"LOLCODE": "#cc9900",
|
||||
"LSL": "#3d9970",
|
||||
"LabVIEW": "#fede06",
|
||||
"Lark": "#2980B9",
|
||||
"Lasso": "#999999",
|
||||
"Latte": "#f2a542",
|
||||
"Less": "#1d365d",
|
||||
"Lex": "#DBCA00",
|
||||
"LilyPond": "#9ccc7c",
|
||||
"Liquid": "#67b8de",
|
||||
"Literate Agda": "#315665",
|
||||
"Literate CoffeeScript": "#244776",
|
||||
"Literate Haskell": "#5e5086",
|
||||
"LiveScript": "#499886",
|
||||
"Logtalk": "#295b9a",
|
||||
"LookML": "#652B81",
|
||||
"Lua": "#000080",
|
||||
"MATLAB": "#e16737",
|
||||
@ -161,17 +253,24 @@ var LanguagesColor = map[string]string{
|
||||
"MTML": "#b7e1f4",
|
||||
"Macaulay2": "#d8ffff",
|
||||
"Makefile": "#427819",
|
||||
"Mako": "#7e858d",
|
||||
"Markdown": "#083fa1",
|
||||
"Marko": "#42bff2",
|
||||
"Mask": "#f97732",
|
||||
"Mathematica": "#dd1100",
|
||||
"Max": "#c4a79c",
|
||||
"Mercury": "#ff2b2b",
|
||||
"Meson": "#007800",
|
||||
"Metal": "#8f14e9",
|
||||
"Mirah": "#c7a938",
|
||||
"Modelica": "#de1d31",
|
||||
"Modula-2": "#10253f",
|
||||
"Modula-3": "#223388",
|
||||
"MoonScript": "#ff4585",
|
||||
"Motorola 68K Assembly": "#005daa",
|
||||
"Mustache": "#724b3b",
|
||||
"NCL": "#28431f",
|
||||
"NPM Config": "#cb3837",
|
||||
"NWScript": "#111522",
|
||||
"Nearley": "#990000",
|
||||
"Nemerle": "#3d3c6e",
|
||||
@ -180,6 +279,7 @@ var LanguagesColor = map[string]string{
|
||||
"NetLogo": "#ff6375",
|
||||
"NewLisp": "#87AED7",
|
||||
"Nextflow": "#3ac486",
|
||||
"Nginx": "#009639",
|
||||
"Nim": "#ffc200",
|
||||
"Nit": "#009917",
|
||||
"Nix": "#7e7eff",
|
||||
@ -194,13 +294,20 @@ var LanguagesColor = map[string]string{
|
||||
"Odin": "#60AFFE",
|
||||
"Omgrofl": "#cabbff",
|
||||
"Opal": "#f7ede0",
|
||||
"Open Policy Agent": "#7d9199",
|
||||
"OpenCL": "#ed2e2d",
|
||||
"OpenEdge ABL": "#5ce600",
|
||||
"OpenQASM": "#AA70FF",
|
||||
"OpenSCAD": "#e5cd45",
|
||||
"Org": "#77aa99",
|
||||
"Oxygene": "#cdd0e3",
|
||||
"Oz": "#fab738",
|
||||
"P4": "#7055b5",
|
||||
"PEG.js": "#234d6b",
|
||||
"PHP": "#4F5D95",
|
||||
"PLSQL": "#dad8d8",
|
||||
"PLpgSQL": "#336790",
|
||||
"POV-Ray SDL": "#6bac65",
|
||||
"Pan": "#cc0000",
|
||||
"Papyrus": "#6600cc",
|
||||
"Parrot": "#f3ca0a",
|
||||
@ -208,9 +315,11 @@ var LanguagesColor = map[string]string{
|
||||
"Pawn": "#dbb284",
|
||||
"Pep8": "#C76F5B",
|
||||
"Perl": "#0298c3",
|
||||
"PicoLisp": "#6067af",
|
||||
"PigLatin": "#fcd7de",
|
||||
"Pike": "#005390",
|
||||
"PogoScript": "#d80074",
|
||||
"PostCSS": "#dc3a0c",
|
||||
"PostScript": "#da291c",
|
||||
"PowerBuilder": "#8f0f8d",
|
||||
"PowerShell": "#012456",
|
||||
@ -223,12 +332,17 @@ var LanguagesColor = map[string]string{
|
||||
"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",
|
||||
@ -239,16 +353,22 @@ var LanguagesColor = map[string]string{
|
||||
"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",
|
||||
@ -256,7 +376,9 @@ var LanguagesColor = map[string]string{
|
||||
"Scala": "#c22d40",
|
||||
"Scaml": "#bd181a",
|
||||
"Scheme": "#1e4aec",
|
||||
"Scilab": "#ca0f21",
|
||||
"Self": "#0579aa",
|
||||
"ShaderLab": "#222c37",
|
||||
"Shell": "#89e051",
|
||||
"Shen": "#120F14",
|
||||
"Singularity": "#64E6AD",
|
||||
@ -265,46 +387,72 @@ var LanguagesColor = map[string]string{
|
||||
"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": "#ffac45",
|
||||
"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": "#2c3e50",
|
||||
"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",
|
||||
@ -314,13 +462,18 @@ var LanguagesColor = map[string]string{
|
||||
"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",
|
||||
|
@ -1,7 +1,7 @@
|
||||
// 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
|
||||
|
||||
// linguist's commit from which files were generated.
|
||||
var LinguistCommit = "95636e415749b0bf8fbf3f86922f788cf91c11a2"
|
||||
var LinguistCommit = "cdf42b16b136fc7f0a491d36c415f34fcfb9368a"
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -802,6 +802,12 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
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{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("GAP"),
|
||||
@ -852,6 +858,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
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+`),
|
||||
),
|
||||
rule.Always(
|
||||
rule.MatchingLanguages("C"),
|
||||
),
|
||||
},
|
||||
".hh": &Heuristics{
|
||||
rule.Or(
|
||||
@ -889,12 +898,16 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
),
|
||||
rule.Or(
|
||||
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.MatchingLanguages("POV-Ray SDL"),
|
||||
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{
|
||||
rule.Or(
|
||||
@ -1288,7 +1301,7 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
regexp.MustCompile(`(?m)^[^#!;][^=]*=`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Java properties"),
|
||||
rule.MatchingLanguages("Java Properties"),
|
||||
regexp.MustCompile(`(?m)^[^#!][^:]*:`),
|
||||
),
|
||||
},
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -49,6 +49,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".agda": {"Agda"},
|
||||
".ahk": {"AutoHotkey"},
|
||||
".ahkl": {"AutoHotkey"},
|
||||
".aidl": {"AIDL"},
|
||||
".aj": {"AspectJ"},
|
||||
".al": {"AL", "Perl"},
|
||||
".als": {"Alloy"},
|
||||
@ -80,6 +81,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".asp": {"Classic ASP"},
|
||||
".aspx": {"ASP.NET"},
|
||||
".asset": {"Unity3D Asset"},
|
||||
".astro": {"Astro"},
|
||||
".asy": {"Asymptote", "LTspice Symbol"},
|
||||
".au3": {"AutoIt"},
|
||||
".aug": {"Augeas"},
|
||||
@ -154,6 +156,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".chem": {"Pic"},
|
||||
".chpl": {"Chapel"},
|
||||
".chs": {"C2hs Haskell"},
|
||||
".cil": {"CIL"},
|
||||
".cirru": {"Cirru"},
|
||||
".cjs": {"JavaScript"},
|
||||
".cjsx": {"CoffeeScript"},
|
||||
@ -211,6 +214,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".ct": {"XML"},
|
||||
".ctp": {"PHP"},
|
||||
".cu": {"Cuda"},
|
||||
".cue": {"CUE", "Cue Sheet"},
|
||||
".cuh": {"Cuda"},
|
||||
".cw": {"Redcode"},
|
||||
".cwl": {"Common Workflow Language"},
|
||||
@ -284,7 +288,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".emacs": {"Emacs Lisp"},
|
||||
".emacs.desktop": {"Emacs Lisp"},
|
||||
".emberscript": {"EmberScript"},
|
||||
".eml": {"EML"},
|
||||
".eml": {"E-mail"},
|
||||
".env": {"Shell"},
|
||||
".epj": {"Ecere Projects"},
|
||||
".eps": {"PostScript"},
|
||||
@ -317,6 +321,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".flf": {"FIGlet Font"},
|
||||
".flux": {"FLUX"},
|
||||
".fnc": {"PLSQL"},
|
||||
".fnl": {"Fennel"},
|
||||
".for": {"Formatted", "Forth", "Fortran"},
|
||||
".forth": {"Forth"},
|
||||
".fp": {"GLSL"},
|
||||
@ -335,7 +340,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".fst": {"F*"},
|
||||
".fsx": {"F#"},
|
||||
".fth": {"Forth"},
|
||||
".ftl": {"FreeMarker"},
|
||||
".ftl": {"Fluent", "FreeMarker"},
|
||||
".fun": {"Standard ML"},
|
||||
".fut": {"Futhark"},
|
||||
".fx": {"FLUX", "HLSL"},
|
||||
@ -479,7 +484,9 @@ var LanguagesByExtension = map[string][]string{
|
||||
".j2": {"Jinja"},
|
||||
".jade": {"Pug"},
|
||||
".jake": {"JavaScript"},
|
||||
".jav": {"Java"},
|
||||
".java": {"Java"},
|
||||
".javascript": {"JavaScript"},
|
||||
".jbuilder": {"Ruby"},
|
||||
".jelly": {"XML"},
|
||||
".jflex": {"JFlex"},
|
||||
@ -507,6 +514,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".jss": {"JavaScript"},
|
||||
".jst": {"EJS"},
|
||||
".jsx": {"JavaScript"},
|
||||
".kak": {"KakouneScript"},
|
||||
".kicad_mod": {"KiCad Layout"},
|
||||
".kicad_pcb": {"KiCad Layout"},
|
||||
".kicad_wks": {"KiCad Layout"},
|
||||
@ -583,7 +591,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".maxhelp": {"Max"},
|
||||
".maxpat": {"Max"},
|
||||
".maxproj": {"Max"},
|
||||
".mbox": {"EML"},
|
||||
".mbox": {"E-mail"},
|
||||
".mcfunction": {"mcfunction"},
|
||||
".mcmeta": {"JSON"},
|
||||
".mcr": {"MAXScript"},
|
||||
@ -594,7 +602,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".mdwn": {"Markdown"},
|
||||
".mdx": {"Markdown"},
|
||||
".me": {"Roff"},
|
||||
".mediawiki": {"MediaWiki"},
|
||||
".mediawiki": {"Wikitext"},
|
||||
".meta": {"Unity3D Asset"},
|
||||
".metal": {"Metal"},
|
||||
".mg": {"Modula-3"},
|
||||
@ -737,6 +745,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".pd": {"Pure Data"},
|
||||
".pd_lua": {"Lua"},
|
||||
".pde": {"Processing"},
|
||||
".pegjs": {"PEG.js"},
|
||||
".pep": {"Pep8"},
|
||||
".perl": {"Perl"},
|
||||
".pfa": {"PostScript"},
|
||||
@ -1007,6 +1016,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".tcc": {"C++"},
|
||||
".tcl": {"Tcl"},
|
||||
".tcsh": {"Tcsh"},
|
||||
".te": {"SELinux Policy"},
|
||||
".tea": {"Tea"},
|
||||
".tesc": {"GLSL"},
|
||||
".tese": {"GLSL"},
|
||||
@ -1073,6 +1083,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".vbs": {"VBScript"},
|
||||
".vcl": {"VCL"},
|
||||
".vcxproj": {"XML"},
|
||||
".vdf": {"Valve Data Format"},
|
||||
".veo": {"Verilog"},
|
||||
".vert": {"GLSL"},
|
||||
".vh": {"SystemVerilog"},
|
||||
@ -1109,7 +1120,8 @@ var LanguagesByExtension = map[string][]string{
|
||||
".webidl": {"WebIDL"},
|
||||
".webmanifest": {"JSON"},
|
||||
".weechatlog": {"IRC log"},
|
||||
".wiki": {"MediaWiki"},
|
||||
".wiki": {"Wikitext"},
|
||||
".wikitext": {"Wikitext"},
|
||||
".wisp": {"wisp"},
|
||||
".wixproj": {"XML"},
|
||||
".wl": {"Mathematica"},
|
||||
@ -1209,6 +1221,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"ABAP CDS": {".asddls"},
|
||||
"ABNF": {".abnf"},
|
||||
"AGS Script": {".asc", ".ash"},
|
||||
"AIDL": {".aidl"},
|
||||
"AL": {".al"},
|
||||
"AMPL": {".ampl", ".mod"},
|
||||
"ANTLR": {".g4"},
|
||||
@ -1233,6 +1246,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"AsciiDoc": {".asciidoc", ".adoc", ".asc"},
|
||||
"AspectJ": {".aj"},
|
||||
"Assembly": {".asm", ".a51", ".i", ".inc", ".nasm"},
|
||||
"Astro": {".astro"},
|
||||
"Asymptote": {".asy"},
|
||||
"Augeas": {".aug"},
|
||||
"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-ObjDump": {".c-objdump"},
|
||||
"C2hs Haskell": {".chs"},
|
||||
"CIL": {".cil"},
|
||||
"CLIPS": {".clp"},
|
||||
"CMake": {".cmake", ".cmake.in"},
|
||||
"COBOL": {".cob", ".cbl", ".ccp", ".cobol", ".cpy"},
|
||||
@ -1268,6 +1283,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"CSON": {".cson"},
|
||||
"CSS": {".css"},
|
||||
"CSV": {".csv"},
|
||||
"CUE": {".cue"},
|
||||
"CWeb": {".w"},
|
||||
"Cabal Config": {".cabal"},
|
||||
"Cap'n Proto": {".capnp"},
|
||||
@ -1300,6 +1316,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Csound Document": {".csd"},
|
||||
"Csound Score": {".sco"},
|
||||
"Cuda": {".cu", ".cuh"},
|
||||
"Cue Sheet": {".cue"},
|
||||
"Cycript": {".cy"},
|
||||
"Cython": {".pyx", ".pxd", ".pxi"},
|
||||
"D": {".d", ".di"},
|
||||
@ -1319,11 +1336,11 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Dogescript": {".djs"},
|
||||
"Dylan": {".dylan", ".dyl", ".intr", ".lid"},
|
||||
"E": {".e"},
|
||||
"E-mail": {".eml", ".mbox"},
|
||||
"EBNF": {".ebnf"},
|
||||
"ECL": {".ecl", ".eclxml"},
|
||||
"ECLiPSe": {".ecl"},
|
||||
"EJS": {".ejs", ".ect", ".jst"},
|
||||
"EML": {".eml", ".mbox"},
|
||||
"EQ": {".eq"},
|
||||
"Eagle": {".sch", ".brd"},
|
||||
"Easybuild": {".eb"},
|
||||
@ -1343,8 +1360,10 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Fancy": {".fy", ".fancypack"},
|
||||
"Fantom": {".fan"},
|
||||
"Faust": {".dsp"},
|
||||
"Fennel": {".fnl"},
|
||||
"Filebench WML": {".f"},
|
||||
"Filterscript": {".fs"},
|
||||
"Fluent": {".ftl"},
|
||||
"Formatted": {".for", ".eam.fs"},
|
||||
"Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"},
|
||||
"Fortran": {".f", ".f77", ".for", ".fpp"},
|
||||
@ -1427,10 +1446,10 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"JSONLD": {".jsonld"},
|
||||
"JSONiq": {".jq"},
|
||||
"Jasmin": {".j"},
|
||||
"Java": {".java"},
|
||||
"Java": {".java", ".jav"},
|
||||
"Java Properties": {".properties"},
|
||||
"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"},
|
||||
"Jinja": {".jinja", ".j2", ".jinja2"},
|
||||
"Jison": {".jison"},
|
||||
@ -1441,6 +1460,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Jupyter Notebook": {".ipynb"},
|
||||
"KRL": {".krl"},
|
||||
"Kaitai Struct": {".ksy"},
|
||||
"KakouneScript": {".kak"},
|
||||
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
|
||||
"KiCad Legacy Layout": {".brd"},
|
||||
"KiCad Schematic": {".sch"},
|
||||
@ -1491,7 +1511,6 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Mask": {".mask"},
|
||||
"Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"},
|
||||
"Max": {".maxpat", ".maxhelp", ".maxproj", ".mxt", ".pat"},
|
||||
"MediaWiki": {".mediawiki", ".wiki"},
|
||||
"Mercury": {".m", ".moo"},
|
||||
"Metal": {".metal"},
|
||||
"Microsoft Developer Studio Project": {".dsp"},
|
||||
@ -1553,6 +1572,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Oxygene": {".oxygene"},
|
||||
"Oz": {".oz"},
|
||||
"P4": {".p4"},
|
||||
"PEG.js": {".pegjs"},
|
||||
"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"},
|
||||
"PLpgSQL": {".pgsql", ".sql"},
|
||||
@ -1631,6 +1651,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Rust": {".rs", ".rs.in"},
|
||||
"SAS": {".sas"},
|
||||
"SCSS": {".scss"},
|
||||
"SELinux Policy": {".te"},
|
||||
"SMT": {".smt2", ".smt"},
|
||||
"SPARQL": {".sparql", ".rq"},
|
||||
"SQF": {".sqf", ".hqf"},
|
||||
@ -1709,6 +1730,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"VCL": {".vcl"},
|
||||
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
|
||||
"Vala": {".vala", ".vapi"},
|
||||
"Valve Data Format": {".vdf"},
|
||||
"Verilog": {".v", ".veo"},
|
||||
"Vim Help File": {".txt"},
|
||||
"Vim Snippet": {".snip", ".snippet", ".snippets"},
|
||||
@ -1722,6 +1744,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"WebAssembly": {".wast", ".wat"},
|
||||
"WebIDL": {".webidl"},
|
||||
"WebVTT": {".vtt"},
|
||||
"Wikitext": {".mediawiki", ".wiki", ".wikitext"},
|
||||
"Windows Registry Entries": {".reg"},
|
||||
"Wollok": {".wlk"},
|
||||
"World of Warcraft Addon Data": {".toc"},
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -9,6 +9,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".abbrev_defs": {"Emacs Lisp"},
|
||||
".arcconfig": {"JSON"},
|
||||
".atomignore": {"Ignore List"},
|
||||
".auto-changelog": {"JSON"},
|
||||
".babelignore": {"Ignore List"},
|
||||
".babelrc": {"JSON with Comments"},
|
||||
".bash_aliases": {"Shell"},
|
||||
@ -18,6 +19,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".bashrc": {"Shell"},
|
||||
".browserslistrc": {"Browserslist"},
|
||||
".bzrignore": {"Ignore List"},
|
||||
".c8rc": {"JSON"},
|
||||
".clang-format": {"YAML"},
|
||||
".clang-tidy": {"YAML"},
|
||||
".classpath": {"XML"},
|
||||
@ -52,6 +54,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".gvimrc": {"Vim script"},
|
||||
".htaccess": {"ApacheConf"},
|
||||
".htmlhintrc": {"JSON"},
|
||||
".imgbotconfig": {"JSON"},
|
||||
".inputrc": {"Readline Config"},
|
||||
".irbrc": {"Ruby"},
|
||||
".jscsrc": {"JSON with Comments"},
|
||||
@ -64,6 +67,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".npmignore": {"Ignore List"},
|
||||
".npmrc": {"NPM Config"},
|
||||
".nvimrc": {"Vim script"},
|
||||
".nycrc": {"JSON"},
|
||||
".php": {"PHP"},
|
||||
".php_cs": {"PHP"},
|
||||
".php_cs.dist": {"PHP"},
|
||||
@ -76,6 +80,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".stylelintignore": {"Ignore List"},
|
||||
".tern-config": {"JSON"},
|
||||
".tern-project": {"JSON"},
|
||||
".tm_properties": {"TextMate Properties"},
|
||||
".vimrc": {"Vim script"},
|
||||
".viper": {"Emacs Lisp"},
|
||||
".vscodeignore": {"Ignore List"},
|
||||
@ -88,6 +93,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".zshrc": {"Shell"},
|
||||
"9fs": {"Shell"},
|
||||
"APKBUILD": {"Alpine Abuild"},
|
||||
"Android.bp": {"Soong"},
|
||||
"App.config": {"XML"},
|
||||
"Appraisals": {"Ruby"},
|
||||
"BSDmakefile": {"Makefile"},
|
||||
@ -182,6 +188,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"ack": {"Perl"},
|
||||
"ant.xml": {"Ant Build System"},
|
||||
"apache2.conf": {"ApacheConf"},
|
||||
"api-extractor.json": {"JSON with Comments"},
|
||||
"bash_aliases": {"Shell"},
|
||||
"bash_logout": {"Shell"},
|
||||
"bash_profile": {"Shell"},
|
||||
@ -206,11 +213,13 @@ var LanguagesByFilename = map[string][]string{
|
||||
"encodings.dir": {"X Font Directory Index"},
|
||||
"eqnrc": {"Roff"},
|
||||
"expr-dist": {"R"},
|
||||
"file_contexts": {"SELinux Policy"},
|
||||
"firestore.rules": {"Cloud Firestore Security Rules"},
|
||||
"fonts.alias": {"X Font Directory Index"},
|
||||
"fonts.dir": {"X Font Directory Index"},
|
||||
"fonts.scale": {"X Font Directory Index"},
|
||||
"fp-lib-table": {"KiCad Layout"},
|
||||
"genfs_contexts": {"SELinux Policy"},
|
||||
"gitignore-global": {"Ignore List"},
|
||||
"gitignore_global": {"Ignore List"},
|
||||
"glide.lock": {"YAML"},
|
||||
@ -220,9 +229,11 @@ var LanguagesByFilename = map[string][]string{
|
||||
"gvimrc": {"Vim script"},
|
||||
"haproxy.cfg": {"HAProxy"},
|
||||
"httpd.conf": {"ApacheConf"},
|
||||
"initial_sids": {"SELinux Policy"},
|
||||
"inputrc": {"Readline Config"},
|
||||
"installscript.qs": {"Qt Script"},
|
||||
"jsconfig.json": {"JSON with Comments"},
|
||||
"kakrc": {"KakouneScript"},
|
||||
"keep.me": {"Text"},
|
||||
"language-configuration.json": {"JSON with Comments"},
|
||||
"language-subtag-registry.txt": {"Record Jar"},
|
||||
@ -253,6 +264,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"packages.config": {"XML"},
|
||||
"poetry.lock": {"TOML"},
|
||||
"pom.xml": {"Maven POM"},
|
||||
"port_contexts": {"SELinux Policy"},
|
||||
"profile": {"Shell"},
|
||||
"read.me": {"Text"},
|
||||
"readme.1st": {"Text"},
|
||||
@ -261,6 +273,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"rebar.lock": {"Erlang"},
|
||||
"riemann.config": {"Clojure"},
|
||||
"robots.txt": {"robots.txt"},
|
||||
"security_classes": {"SELinux Policy"},
|
||||
"ssh-config": {"SSH Config"},
|
||||
"ssh_config": {"SSH Config"},
|
||||
"sshconfig": {"SSH Config"},
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -10,7 +10,6 @@ var LanguagesGroup = map[string]string{
|
||||
"Bison": "Yacc",
|
||||
"C2hs Haskell": "Haskell",
|
||||
"ColdFusion CFC": "ColdFusion",
|
||||
"Cython": "Python",
|
||||
"ECLiPSe": "prolog",
|
||||
"Easybuild": "Python",
|
||||
"Ecere Projects": "JavaScript",
|
||||
|
@ -1,11 +1,12 @@
|
||||
// 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
|
||||
|
||||
var LanguagesByInterpreter = map[string][]string{
|
||||
"M2": {"Macaulay2"},
|
||||
"Rscript": {"R"},
|
||||
"aidl": {"AIDL"},
|
||||
"apl": {"APL"},
|
||||
"aplx": {"APL"},
|
||||
"ash": {"Shell"},
|
||||
@ -36,6 +37,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||
"ecl": {"Common Lisp"},
|
||||
"elixir": {"Elixir"},
|
||||
"escript": {"Erlang"},
|
||||
"fennel": {"Fennel"},
|
||||
"fish": {"fish"},
|
||||
"gawk": {"Awk"},
|
||||
"gerbv": {"Gerber Image"},
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -12,6 +12,7 @@ var LanguagesMime = map[string]string{
|
||||
"AngelScript": "text/x-c++src",
|
||||
"Ant Build System": "application/xml",
|
||||
"Apex": "text/x-java",
|
||||
"Astro": "text/jsx",
|
||||
"Asymptote": "text/x-kotlin",
|
||||
"Beef": "text/x-csharp",
|
||||
"BibTeX": "text/x-stex",
|
||||
@ -45,6 +46,7 @@ var LanguagesMime = map[string]string{
|
||||
"Diff": "text/x-diff",
|
||||
"Dockerfile": "text/x-dockerfile",
|
||||
"Dylan": "text/x-dylan",
|
||||
"E-mail": "application/mbox",
|
||||
"EBNF": "text/x-ebnf",
|
||||
"ECL": "text/x-ecl",
|
||||
"EQ": "text/x-csharp",
|
||||
@ -148,6 +150,7 @@ var LanguagesMime = map[string]string{
|
||||
"OpenCL": "text/x-csrc",
|
||||
"OpenRC runscript": "text/x-sh",
|
||||
"Oz": "text/x-oz",
|
||||
"PEG.js": "text/javascript",
|
||||
"PHP": "application/x-httpd-php",
|
||||
"PLSQL": "text/x-plsql",
|
||||
"PLpgSQL": "text/x-sql",
|
||||
@ -208,6 +211,7 @@ var LanguagesMime = map[string]string{
|
||||
"Tcsh": "text/x-sh",
|
||||
"TeX": "text/x-stex",
|
||||
"Terra": "text/x-lua",
|
||||
"TextMate Properties": "text/x-properties",
|
||||
"Textile": "text/x-textile",
|
||||
"Turtle": "text/turtle",
|
||||
"Twig": "text/x-twig",
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
@ -10,6 +10,7 @@ var LanguagesType = map[string]int{
|
||||
"ABAP CDS": 2,
|
||||
"ABNF": 1,
|
||||
"AGS Script": 2,
|
||||
"AIDL": 2,
|
||||
"AL": 2,
|
||||
"AMPL": 2,
|
||||
"ANTLR": 2,
|
||||
@ -36,6 +37,7 @@ var LanguagesType = map[string]int{
|
||||
"AsciiDoc": 4,
|
||||
"AspectJ": 2,
|
||||
"Assembly": 2,
|
||||
"Astro": 3,
|
||||
"Asymptote": 2,
|
||||
"Augeas": 2,
|
||||
"AutoHotkey": 2,
|
||||
@ -65,6 +67,7 @@ var LanguagesType = map[string]int{
|
||||
"C++": 2,
|
||||
"C-ObjDump": 1,
|
||||
"C2hs Haskell": 2,
|
||||
"CIL": 1,
|
||||
"CLIPS": 2,
|
||||
"CMake": 2,
|
||||
"COBOL": 2,
|
||||
@ -73,6 +76,7 @@ var LanguagesType = map[string]int{
|
||||
"CSON": 1,
|
||||
"CSS": 3,
|
||||
"CSV": 1,
|
||||
"CUE": 2,
|
||||
"CWeb": 2,
|
||||
"Cabal Config": 1,
|
||||
"Cap'n Proto": 2,
|
||||
@ -106,6 +110,7 @@ var LanguagesType = map[string]int{
|
||||
"Csound Document": 2,
|
||||
"Csound Score": 2,
|
||||
"Cuda": 2,
|
||||
"Cue Sheet": 1,
|
||||
"Cycript": 2,
|
||||
"Cython": 2,
|
||||
"D": 2,
|
||||
@ -125,11 +130,11 @@ var LanguagesType = map[string]int{
|
||||
"Dogescript": 2,
|
||||
"Dylan": 2,
|
||||
"E": 2,
|
||||
"E-mail": 1,
|
||||
"EBNF": 1,
|
||||
"ECL": 2,
|
||||
"ECLiPSe": 2,
|
||||
"EJS": 3,
|
||||
"EML": 1,
|
||||
"EQ": 2,
|
||||
"Eagle": 1,
|
||||
"Easybuild": 1,
|
||||
@ -150,8 +155,10 @@ var LanguagesType = map[string]int{
|
||||
"Fancy": 2,
|
||||
"Fantom": 2,
|
||||
"Faust": 2,
|
||||
"Fennel": 2,
|
||||
"Filebench WML": 2,
|
||||
"Filterscript": 2,
|
||||
"Fluent": 2,
|
||||
"Formatted": 1,
|
||||
"Forth": 2,
|
||||
"Fortran": 2,
|
||||
@ -251,6 +258,7 @@ var LanguagesType = map[string]int{
|
||||
"Jupyter Notebook": 3,
|
||||
"KRL": 2,
|
||||
"Kaitai Struct": 2,
|
||||
"KakouneScript": 2,
|
||||
"KiCad Layout": 1,
|
||||
"KiCad Legacy Layout": 1,
|
||||
"KiCad Schematic": 1,
|
||||
@ -302,7 +310,6 @@ var LanguagesType = map[string]int{
|
||||
"Mathematica": 2,
|
||||
"Maven POM": 1,
|
||||
"Max": 2,
|
||||
"MediaWiki": 4,
|
||||
"Mercury": 2,
|
||||
"Meson": 2,
|
||||
"Metal": 2,
|
||||
@ -367,6 +374,7 @@ var LanguagesType = map[string]int{
|
||||
"Oxygene": 2,
|
||||
"Oz": 2,
|
||||
"P4": 2,
|
||||
"PEG.js": 2,
|
||||
"PHP": 2,
|
||||
"PLSQL": 2,
|
||||
"PLpgSQL": 2,
|
||||
@ -450,6 +458,7 @@ var LanguagesType = map[string]int{
|
||||
"Rust": 2,
|
||||
"SAS": 2,
|
||||
"SCSS": 3,
|
||||
"SELinux Policy": 1,
|
||||
"SMT": 2,
|
||||
"SPARQL": 1,
|
||||
"SQF": 2,
|
||||
@ -482,6 +491,7 @@ var LanguagesType = map[string]int{
|
||||
"Smalltalk": 2,
|
||||
"Smarty": 2,
|
||||
"Solidity": 2,
|
||||
"Soong": 1,
|
||||
"SourcePawn": 2,
|
||||
"Spline Font Database": 1,
|
||||
"Squirrel": 2,
|
||||
@ -511,6 +521,7 @@ var LanguagesType = map[string]int{
|
||||
"Terra": 2,
|
||||
"Texinfo": 4,
|
||||
"Text": 4,
|
||||
"TextMate Properties": 1,
|
||||
"Textile": 4,
|
||||
"Thrift": 2,
|
||||
"Turing": 2,
|
||||
@ -530,6 +541,7 @@ var LanguagesType = map[string]int{
|
||||
"VCL": 2,
|
||||
"VHDL": 2,
|
||||
"Vala": 2,
|
||||
"Valve Data Format": 1,
|
||||
"Verilog": 2,
|
||||
"Vim Help File": 4,
|
||||
"Vim Snippet": 3,
|
||||
@ -544,6 +556,7 @@ var LanguagesType = map[string]int{
|
||||
"WebIDL": 2,
|
||||
"WebVTT": 1,
|
||||
"Wget Config": 1,
|
||||
"Wikitext": 4,
|
||||
"Windows Registry Entries": 1,
|
||||
"Wollok": 2,
|
||||
"World of Warcraft Addon Data": 1,
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 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
|
||||
|
||||
|
@ -217,7 +217,7 @@ func TestGetColor(t *testing.T) {
|
||||
{name: "TestGetColor_1", language: "Go", expected: "#00ADD8"},
|
||||
{name: "TestGetColor_2", language: "SomeRandom", expected: "#cccccc"},
|
||||
{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 {
|
||||
|
Loading…
Reference in New Issue
Block a user