Merge pull request #124 from go-enry/feature/sync-linguist-1649189530

Update Linguist to v7.20.0
This commit is contained in:
Alex 2022-04-11 20:13:21 +02:00 committed by GitHub
commit ed2adad159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
30 changed files with 5255 additions and 1608 deletions

View File

@ -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.19.0**.
The `enry` library is based on the data from `github/linguist` version **v7.20.0**.
Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist:

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -88,8 +88,10 @@ var LanguageByAliasMap = map[string]string{
"batch": "Batchfile",
"batchfile": "Batchfile",
"bazel": "Starlark",
"be": "Berry",
"beef": "Beef",
"befunge": "Befunge",
"berry": "Berry",
"bibtex": "BibTeX",
"bicep": "Bicep",
"bison": "Bison",
@ -120,8 +122,11 @@ var LanguageByAliasMap = map[string]string{
"c2hs_haskell": "C2hs Haskell",
"cabal": "Cabal Config",
"cabal_config": "Cabal Config",
"cadence": "Cadence",
"cairo": "Cairo",
"cake": "C#",
"cakescript": "C#",
"cameligo": "CameLIGO",
"cap'n_proto": "Cap'n Proto",
"carto": "CartoCSS",
"cartocss": "CartoCSS",
@ -293,6 +298,8 @@ var LanguageByAliasMap = map[string]string{
"gdscript": "GDScript",
"gedcom": "GEDCOM",
"gemfile.lock": "Gemfile.lock",
"genero": "Genero",
"genero_forms": "Genero Forms",
"genie": "Genie",
"genshi": "Genshi",
"gentoo_ebuild": "Gentoo Ebuild",
@ -449,6 +456,7 @@ var LanguageByAliasMap = map[string]string{
"lfe": "LFE",
"lhaskell": "Literate Haskell",
"lhs": "Literate Haskell",
"ligolang": "LigoLANG",
"lilypond": "LilyPond",
"limbo": "Limbo",
"linker_script": "Linker Script",
@ -519,6 +527,7 @@ var LanguageByAliasMap = map[string]string{
"modula-3": "Modula-3",
"module_management_system": "Module Management System",
"monkey": "Monkey",
"monkey_c": "Monkey C",
"moocode": "Moocode",
"moonscript": "MoonScript",
"motoko": "Motoko",
@ -703,6 +712,7 @@ var LanguageByAliasMap = map[string]string{
"readline_config": "Readline Config",
"realbasic": "REALbasic",
"reason": "Reason",
"reasonligo": "ReasonLIGO",
"rebol": "Rebol",
"record_jar": "Record Jar",
"red": "Red",
@ -813,6 +823,7 @@ var LanguageByAliasMap = map[string]string{
"swift": "Swift",
"swig": "SWIG",
"systemverilog": "SystemVerilog",
"talon": "Talon",
"tcl": "Tcl",
"tcsh": "Tcsh",
"tea": "Tea",
@ -892,6 +903,7 @@ var LanguageByAliasMap = map[string]string{
"wgetrc": "Wget Config",
"wiki": "Wikitext",
"wikitext": "Wikitext",
"win32_message_file": "Win32 Message File",
"winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp",

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -46,6 +46,7 @@ var LanguagesColor = map[string]string{
"Ballerina": "#FF5000",
"Batchfile": "#C1F12E",
"Beef": "#a52f4e",
"Berry": "#15A13C",
"BibTeX": "#778899",
"Bicep": "#519aba",
"Bison": "#6A463F",
@ -71,6 +72,9 @@ var LanguagesColor = map[string]string{
"CUE": "#5886E1",
"CWeb": "#00007a",
"Cabal Config": "#483465",
"Cadence": "#00ef8b",
"Cairo": "#ff4a48",
"CameLIGO": "#3be133",
"Cap'n Proto": "#c42727",
"Ceylon": "#dfa535",
"Chapel": "#8dc63f",
@ -157,6 +161,8 @@ var LanguagesColor = map[string]string{
"GSC": "#FF6800",
"Game Maker Language": "#71b417",
"Gemfile.lock": "#701516",
"Genero": "#63408e",
"Genero Forms": "#d8df39",
"Genie": "#fb855d",
"Genshi": "#951531",
"Gentoo Ebuild": "#9400ff",
@ -250,6 +256,7 @@ var LanguagesColor = map[string]string{
"Latte": "#f2a542",
"Less": "#1d365d",
"Lex": "#DBCA00",
"LigoLANG": "#0e74ff",
"LilyPond": "#9ccc7c",
"Liquid": "#67b8de",
"Literate Agda": "#315665",
@ -282,6 +289,7 @@ var LanguagesColor = map[string]string{
"Modelica": "#de1d31",
"Modula-2": "#10253f",
"Modula-3": "#223388",
"Monkey C": "#8D6747",
"MoonScript": "#ff4585",
"Motoko": "#fbb03b",
"Motorola 68K Assembly": "#005daa",
@ -370,6 +378,7 @@ var LanguagesColor = map[string]string{
"Rascal": "#fffaa0",
"ReScript": "#ed5051",
"Reason": "#ff5847",
"ReasonLIGO": "#ff5847",
"Rebol": "#358a5b",
"Record Jar": "#0673ba",
"Red": "#f50000",
@ -431,6 +440,7 @@ var LanguagesColor = map[string]string{
"TSV": "#237346",
"TSX": "#2b7489",
"TXL": "#0178b8",
"Talon": "#333333",
"Tcl": "#e4cc98",
"TeX": "#3D6117",
"Terra": "#00004c",
@ -450,7 +460,7 @@ var LanguagesColor = map[string]string{
"VBScript": "#15dcdc",
"VCL": "#148AA8",
"VHDL": "#adb2cb",
"Vala": "#fbe5cd",
"Vala": "#a56de2",
"Valve Data Format": "#f26025",
"Verilog": "#b2b7f8",
"Vim Help File": "#199f4b",

View File

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

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -1066,6 +1066,16 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)tag:unity3d.com`),
),
},
".mc": &Heuristics{
rule.Or(
rule.MatchingLanguages("M4"),
regexp.MustCompile(`(?m)^dnl|^divert\((?:-?\d+)?\)|^\w+\(`+"`"+`[^\n]*?'[),]`),
),
rule.Or(
rule.MatchingLanguages("Monkey C"),
regexp.MustCompile(`(?m)\b(?:using|module|function|class|var)\s+\w`),
),
},
".md": &Heuristics{
rule.Or(
rule.MatchingLanguages("Markdown"),
@ -1519,6 +1529,7 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Text"),
),
},
".url": &Heuristics{},
".v": &Heuristics{
rule.Or(
rule.MatchingLanguages("Coq"),

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -19,6 +19,7 @@ var LanguagesByExtension = map[string][]string{
".3x": {"Roff", "Roff Manpage"},
".4": {"Roff", "Roff Manpage"},
".4dm": {"4D"},
".4gl": {"Genero"},
".4th": {"Forth"},
".5": {"Roff", "Roff Manpage"},
".6": {"Roff", "Roff Manpage"},
@ -109,6 +110,7 @@ var LanguagesByExtension = map[string][]string{
".bbx": {"TeX"},
".bdf": {"Glyph Bitmap Distribution Format"},
".bdy": {"PLSQL"},
".be": {"Berry"},
".befunge": {"Befunge"},
".bf": {"Beef", "Brainfuck", "HyPhy"},
".bi": {"FreeBasic"},
@ -137,6 +139,7 @@ var LanguagesByExtension = map[string][]string{
".c++objdump": {"Cpp-ObjDump"},
".c-objdump": {"C-ObjDump"},
".cabal": {"Cabal Config"},
".cairo": {"Cairo"},
".cake": {"C#", "CoffeeScript"},
".capnp": {"Cap'n Proto"},
".cats": {"C"},
@ -146,6 +149,7 @@ var LanguagesByExtension = map[string][]string{
".ccp": {"COBOL"},
".ccproj": {"XML"},
".ccxml": {"XML"},
".cdc": {"Cadence"},
".cdf": {"Mathematica"},
".ceylon": {"Ceylon"},
".cfc": {"ColdFusion CFC"},
@ -518,6 +522,7 @@ var LanguagesByExtension = map[string][]string{
".jsb": {"JavaScript"},
".jscad": {"JavaScript"},
".jsfl": {"JavaScript"},
".jslib": {"JavaScript"},
".jsm": {"JavaScript"},
".json": {"JSON"},
".json-tmlanguage": {"JSON"},
@ -527,6 +532,7 @@ var LanguagesByExtension = map[string][]string{
".jsonld": {"JSONLD"},
".jsonnet": {"Jsonnet"},
".jsp": {"Java Server Pages"},
".jspre": {"JavaScript"},
".jsproj": {"XML"},
".jss": {"JavaScript"},
".jst": {"EJS"},
@ -568,6 +574,7 @@ var LanguagesByExtension = map[string][]string{
".libsonnet": {"Jsonnet"},
".lid": {"Dylan"},
".lidr": {"Idris"},
".ligo": {"LigoLANG"},
".linq": {"C#"},
".liquid": {"Liquid"},
".lisp": {"Common Lisp", "NewLisp"},
@ -611,6 +618,7 @@ var LanguagesByExtension = map[string][]string{
".maxpat": {"Max"},
".maxproj": {"Max"},
".mbox": {"E-mail"},
".mc": {"M4", "Monkey C", "Win32 Message File"},
".mcfunction": {"mcfunction"},
".mcmeta": {"JSON"},
".mcr": {"MAXScript"},
@ -642,6 +650,7 @@ var LanguagesByExtension = map[string][]string{
".ml": {"OCaml", "Standard ML"},
".ml4": {"OCaml"},
".mli": {"OCaml"},
".mligo": {"CameLIGO"},
".mlir": {"MLIR"},
".mll": {"OCaml"},
".mly": {"OCaml"},
@ -768,6 +777,7 @@ var LanguagesByExtension = map[string][]string{
".pde": {"Processing"},
".pegjs": {"PEG.js"},
".pep": {"Pep8"},
".per": {"Genero Forms"},
".perl": {"Perl"},
".pfa": {"PostScript"},
".pgsql": {"PLpgSQL"},
@ -859,6 +869,7 @@ var LanguagesByExtension = map[string][]string{
".qbs": {"QML"},
".ql": {"CodeQL"},
".qll": {"CodeQL"},
".qmd": {"RMarkdown"},
".qml": {"QML"},
".qs": {"Q#", "Qt Script"},
".r": {"R", "Rebol"},
@ -898,6 +909,7 @@ var LanguagesByExtension = map[string][]string{
".regexp": {"Regular Expression"},
".rego": {"Open Policy Agent"},
".rei": {"Reason"},
".religo": {"ReasonLIGO"},
".res": {"ReScript", "XML"},
".rest": {"reStructuredText"},
".rest.txt": {"reStructuredText"},
@ -1040,6 +1052,7 @@ var LanguagesByExtension = map[string][]string{
".t": {"Perl", "Raku", "Terra", "Turing"},
".tab": {"SQL"},
".tac": {"Python"},
".talon": {"Talon"},
".targets": {"XML"},
".tcc": {"C++"},
".tcl": {"Tcl"},
@ -1100,6 +1113,7 @@ var LanguagesByExtension = map[string][]string{
".upc": {"Unified Parallel C"},
".ur": {"UrWeb"},
".urdf": {"XML"},
".url": {"INI"},
".urs": {"UrWeb"},
".ux": {"XML"},
".v": {"Coq", "V", "Verilog"},
@ -1293,6 +1307,7 @@ var ExtensionsByLanguage = map[string][]string{
"Batchfile": {".bat", ".cmd"},
"Beef": {".bf"},
"Befunge": {".befunge"},
"Berry": {".be"},
"BibTeX": {".bib", ".bibtex"},
"Bicep": {".bicep"},
"Bison": {".bison"},
@ -1321,6 +1336,9 @@ var ExtensionsByLanguage = map[string][]string{
"CUE": {".cue"},
"CWeb": {".w"},
"Cabal Config": {".cabal"},
"Cadence": {".cdc"},
"Cairo": {".cairo"},
"CameLIGO": {".mligo"},
"Cap'n Proto": {".capnp"},
"CartoCSS": {".mss"},
"Ceylon": {".ceylon"},
@ -1424,6 +1442,8 @@ var ExtensionsByLanguage = map[string][]string{
"GN": {".gn", ".gni"},
"GSC": {".gsc", ".csc", ".gsh"},
"Game Maker Language": {".gml"},
"Genero": {".4gl"},
"Genero Forms": {".per"},
"Genie": {".gs"},
"Genshi": {".kid"},
"Gentoo Ebuild": {".ebuild"},
@ -1470,7 +1490,7 @@ var ExtensionsByLanguage = map[string][]string{
"HyPhy": {".bf"},
"IDL": {".pro", ".dlm"},
"IGOR Pro": {".ipf"},
"INI": {".ini", ".cfg", ".dof", ".lektorproject", ".prefs", ".pro", ".properties"},
"INI": {".ini", ".cfg", ".dof", ".lektorproject", ".prefs", ".pro", ".properties", ".url"},
"IRC log": {".irclog", ".weechatlog"},
"Idris": {".idr", ".lidr"},
"Ignore List": {".gitignore"},
@ -1492,7 +1512,7 @@ var ExtensionsByLanguage = map[string][]string{
"Java": {".java", ".jav"},
"Java Properties": {".properties"},
"Java Server Pages": {".jsp"},
"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": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript+ERB": {".js.erb"},
"Jest Snapshot": {".snap"},
"Jinja": {".jinja", ".j2", ".jinja2"},
@ -1523,6 +1543,7 @@ var ExtensionsByLanguage = map[string][]string{
"Lean": {".lean", ".hlean"},
"Less": {".less"},
"Lex": {".l", ".lex"},
"LigoLANG": {".ligo"},
"LilyPond": {".ly", ".ily"},
"Limbo": {".b", ".m"},
"Linker Script": {".ld", ".lds", ".x"},
@ -1538,7 +1559,7 @@ var ExtensionsByLanguage = map[string][]string{
"LoomScript": {".ls"},
"Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".rockspec", ".wlua"},
"M": {".mumps", ".m"},
"M4": {".m4"},
"M4": {".m4", ".mc"},
"M4Sugar": {".m4"},
"MATLAB": {".matlab", ".m"},
"MAXScript": {".ms", ".mcr"},
@ -1568,6 +1589,7 @@ var ExtensionsByLanguage = map[string][]string{
"Modula-3": {".i3", ".ig", ".m3", ".mg"},
"Module Management System": {".mms", ".mmk"},
"Monkey": {".monkey", ".monkey2"},
"Monkey C": {".mc"},
"Moocode": {".moo"},
"MoonScript": {".moon"},
"Motoko": {".mo"},
@ -1672,7 +1694,7 @@ var ExtensionsByLanguage = map[string][]string{
"RDoc": {".rdoc"},
"REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"},
"REXX": {".rexx", ".pprx", ".rex"},
"RMarkdown": {".rmd"},
"RMarkdown": {".qmd", ".rmd"},
"RPC": {".x"},
"RPGLE": {".rpgle", ".sqlrpgle"},
"RPM Spec": {".spec"},
@ -1684,6 +1706,7 @@ var ExtensionsByLanguage = map[string][]string{
"Raw token data": {".raw"},
"ReScript": {".res"},
"Reason": {".re", ".rei"},
"ReasonLIGO": {".religo"},
"Rebol": {".reb", ".r", ".r2", ".r3", ".rebol"},
"Red": {".red", ".reds"},
"Redcode": {".cw"},
@ -1754,6 +1777,7 @@ var ExtensionsByLanguage = map[string][]string{
"TSV": {".tsv"},
"TSX": {".tsx"},
"TXL": {".txl"},
"Talon": {".talon"},
"Tcl": {".tcl", ".adp", ".tcl.in", ".tm"},
"Tcsh": {".tcsh", ".csh"},
"TeX": {".tex", ".aux", ".bbx", ".cbx", ".cls", ".dtx", ".ins", ".lbx", ".ltx", ".mkii", ".mkiv", ".mkvi", ".sty", ".toc"},
@ -1796,6 +1820,7 @@ var ExtensionsByLanguage = map[string][]string{
"WebIDL": {".webidl"},
"WebVTT": {".vtt"},
"Wikitext": {".mediawiki", ".wiki", ".wikitext"},
"Win32 Message File": {".mc"},
"Windows Registry Entries": {".reg"},
"Witcher Script": {".ws"},
"Wollok": {".wlk"},

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -9,6 +9,7 @@ var LanguagesGroup = map[string]string{
"BibTeX": "TeX",
"Bison": "Yacc",
"C2hs Haskell": "Haskell",
"CameLIGO": "LigoLANG",
"ColdFusion CFC": "ColdFusion",
"ECLiPSe": "prolog",
"Easybuild": "Python",
@ -35,6 +36,7 @@ var LanguagesGroup = map[string]string{
"JavaScript+ERB": "JavaScript",
"Jison": "Yacc",
"Jison Lex": "Lex",
"LigoLANG": "LigoLANG",
"Literate Agda": "Agda",
"Literate CoffeeScript": "CoffeeScript",
"Literate Haskell": "Haskell",
@ -53,6 +55,7 @@ var LanguagesGroup = map[string]string{
"Python console": "Python",
"Python traceback": "Python",
"Readline Config": "INI",
"ReasonLIGO": "LigoLANG",
"Roff Manpage": "Roff",
"SSH Config": "INI",
"STON": "Smalltalk",

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -50,6 +50,7 @@ var IDByLanguage = map[string]int{
"Batchfile": 29,
"Beef": 545626333,
"Befunge": 30,
"Berry": 121855308,
"BibTeX": 982188347,
"Bicep": 321200902,
"Bison": 31,
@ -80,6 +81,9 @@ var IDByLanguage = map[string]int{
"CUE": 356063509,
"CWeb": 657332628,
"Cabal Config": 677095381,
"Cadence": 270184138,
"Cairo": 620599567,
"CameLIGO": 829207807,
"Cap'n Proto": 52,
"CartoCSS": 53,
"Ceylon": 54,
@ -187,6 +191,8 @@ var IDByLanguage = map[string]int{
"GSC": 257856279,
"Game Maker Language": 125,
"Gemfile.lock": 907065713,
"Genero": 986054050,
"Genero Forms": 902995658,
"Genie": 792408528,
"Genshi": 126,
"Gentoo Ebuild": 127,
@ -291,6 +297,7 @@ var IDByLanguage = map[string]int{
"Lean": 197,
"Less": 198,
"Lex": 199,
"LigoLANG": 1040646257,
"LilyPond": 200,
"Limbo": 201,
"Linker Script": 202,
@ -338,6 +345,7 @@ var IDByLanguage = map[string]int{
"Modula-3": 564743864,
"Module Management System": 235,
"Monkey": 236,
"Monkey C": 231751931,
"Moocode": 237,
"MoonScript": 238,
"Motoko": 202937027,
@ -460,6 +468,7 @@ var IDByLanguage = map[string]int{
"ReScript": 501875647,
"Readline Config": 538732839,
"Reason": 869538413,
"ReasonLIGO": 319002153,
"Rebol": 319,
"Record Jar": 865765202,
"Red": 320,
@ -536,6 +545,7 @@ var IDByLanguage = map[string]int{
"TSV": 1035892117,
"TSX": 94901924,
"TXL": 366,
"Talon": 959889508,
"Tcl": 367,
"Tcsh": 368,
"TeX": 369,
@ -580,6 +590,7 @@ var IDByLanguage = map[string]int{
"WebVTT": 658679714,
"Wget Config": 668457123,
"Wikitext": 228,
"Win32 Message File": 950967261,
"Windows Registry Entries": 969674868,
"Witcher Script": 686821385,
"Wollok": 632745969,

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -771,7 +771,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/jsx",
TMScope: "text.html.astro",
TMScope: "source.astro",
AceMode: "html",
CodeMirrorMode: "jsx",
Wrap: false,
@ -1010,6 +1010,27 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false,
LanguageID: 30,
},
121855308: LanguageInfo{
Name: "Berry",
FSName: "",
Type: TypeForString("programming"),
Color: "#15A13C",
Group: "",
Aliases: []string{
"be",
},
Extensions: []string{
".be",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.berry",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 121855308,
},
982188347: LanguageInfo{
Name: "BibTeX",
FSName: "",
@ -1639,6 +1660,63 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false,
LanguageID: 677095381,
},
270184138: LanguageInfo{
Name: "Cadence",
FSName: "",
Type: TypeForString("programming"),
Color: "#00ef8b",
Group: "",
Aliases: []string{},
Extensions: []string{
".cdc",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.cadence",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 270184138,
},
620599567: LanguageInfo{
Name: "Cairo",
FSName: "",
Type: TypeForString("programming"),
Color: "#ff4a48",
Group: "",
Aliases: []string{},
Extensions: []string{
".cairo",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.cairo",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 620599567,
},
829207807: LanguageInfo{
Name: "CameLIGO",
FSName: "",
Type: TypeForString("programming"),
Color: "#3be133",
Group: "LigoLANG",
Aliases: []string{},
Extensions: []string{
".mligo",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-ocaml",
TMScope: "source.mligo",
AceMode: "ocaml",
CodeMirrorMode: "mllike",
Wrap: false,
LanguageID: 829207807,
},
52: LanguageInfo{
Name: "Cap'n Proto",
FSName: "",
@ -3915,6 +3993,44 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false,
LanguageID: 907065713,
},
986054050: LanguageInfo{
Name: "Genero",
FSName: "",
Type: TypeForString("programming"),
Color: "#63408e",
Group: "",
Aliases: []string{},
Extensions: []string{
".4gl",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.genero",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 986054050,
},
902995658: LanguageInfo{
Name: "Genero Forms",
FSName: "",
Type: TypeForString("markup"),
Color: "#d8df39",
Group: "",
Aliases: []string{},
Extensions: []string{
".per",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.genero-forms",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 902995658,
},
792408528: LanguageInfo{
Name: "Genie",
FSName: "",
@ -4995,6 +5111,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".prefs",
".pro",
".properties",
".url",
},
Interpreters: []string{},
Filenames: []string{
@ -5572,7 +5689,9 @@ var LanguageInfoByID = map[int]LanguageInfo{
".jsb",
".jscad",
".jsfl",
".jslib",
".jsm",
".jspre",
".jss",
".jsx",
".mjs",
@ -6227,6 +6346,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false,
LanguageID: 199,
},
1040646257: LanguageInfo{
Name: "LigoLANG",
FSName: "",
Type: TypeForString("programming"),
Color: "#0e74ff",
Group: "LigoLANG",
Aliases: []string{},
Extensions: []string{
".ligo",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-pascal",
TMScope: "source.ligo",
AceMode: "pascal",
CodeMirrorMode: "pascal",
Wrap: false,
LanguageID: 1040646257,
},
200: LanguageInfo{
Name: "LilyPond",
FSName: "",
@ -6558,6 +6696,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Aliases: []string{},
Extensions: []string{
".m4",
".mc",
},
Interpreters: []string{},
Filenames: []string{},
@ -7249,6 +7388,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false,
LanguageID: 236,
},
231751931: LanguageInfo{
Name: "Monkey C",
FSName: "",
Type: TypeForString("programming"),
Color: "#8D6747",
Group: "",
Aliases: []string{},
Extensions: []string{
".mc",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-csrc",
TMScope: "source.mc",
AceMode: "c_cpp",
CodeMirrorMode: "clike",
Wrap: false,
LanguageID: 231751931,
},
237: LanguageInfo{
Name: "Moocode",
FSName: "",
@ -9613,6 +9771,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Group: "",
Aliases: []string{},
Extensions: []string{
".qmd",
".rmd",
},
Interpreters: []string{},
@ -9899,6 +10058,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false,
LanguageID: 869538413,
},
319002153: LanguageInfo{
Name: "ReasonLIGO",
FSName: "",
Type: TypeForString("programming"),
Color: "#ff5847",
Group: "LigoLANG",
Aliases: []string{},
Extensions: []string{
".religo",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-rustsrc",
TMScope: "source.religo",
AceMode: "rust",
CodeMirrorMode: "rust",
Wrap: false,
LanguageID: 319002153,
},
319: LanguageInfo{
Name: "Rebol",
FSName: "",
@ -11650,6 +11828,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false,
LanguageID: 366,
},
959889508: LanguageInfo{
Name: "Talon",
FSName: "",
Type: TypeForString("programming"),
Color: "#333333",
Group: "",
Aliases: []string{},
Extensions: []string{
".talon",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.talon",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 959889508,
},
367: LanguageInfo{
Name: "Tcl",
FSName: "",
@ -12253,7 +12450,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Name: "Vala",
FSName: "",
Type: TypeForString("programming"),
Color: "#fbe5cd",
Color: "#a56de2",
Group: "",
Aliases: []string{},
Extensions: []string{
@ -12639,6 +12836,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: true,
LanguageID: 228,
},
950967261: LanguageInfo{
Name: "Win32 Message File",
FSName: "",
Type: TypeForString("data"),
Color: "",
Group: "",
Aliases: []string{},
Extensions: []string{
".mc",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-properties",
TMScope: "source.win32-messages",
AceMode: "ini",
CodeMirrorMode: "properties",
Wrap: false,
LanguageID: 950967261,
},
969674868: LanguageInfo{
Name: "Windows Registry Entries",
FSName: "",

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -27,6 +27,7 @@ var LanguagesMime = map[string]string{
"CSON": "text/x-coffeescript",
"CSS": "text/css",
"Cabal Config": "text/x-haskell",
"CameLIGO": "text/x-ocaml",
"ChucK": "text/x-java",
"Clojure": "text/x-clojure",
"Closure Templates": "text/x-soy",
@ -123,6 +124,7 @@ var LanguagesMime = map[string]string{
"Lark": "text/x-ebnf",
"Latte": "text/x-smarty",
"Less": "text/css",
"LigoLANG": "text/x-pascal",
"Literate Haskell": "text/x-literate-haskell",
"LiveScript": "text/x-livescript",
"LookML": "text/x-yaml",
@ -141,6 +143,7 @@ var LanguagesMime = map[string]string{
"MiniYAML": "text/x-yaml",
"Mirah": "text/x-ruby",
"Modelica": "text/x-modelica",
"Monkey C": "text/x-csrc",
"Mustache": "text/x-smarty",
"NSIS": "text/x-nsis",
"NWScript": "text/x-csrc",
@ -178,6 +181,7 @@ var LanguagesMime = map[string]string{
"Raku": "text/x-perl",
"ReScript": "text/x-rustsrc",
"Reason": "text/x-rustsrc",
"ReasonLIGO": "text/x-rustsrc",
"Record Jar": "text/x-properties",
"Roff": "text/troff",
"Roff Manpage": "text/troff",
@ -235,6 +239,7 @@ var LanguagesMime = map[string]string{
"Volt": "text/x-d",
"WebAssembly": "text/x-common-lisp",
"WebIDL": "text/x-webidl",
"Win32 Message File": "text/x-properties",
"Windows Registry Entries": "text/x-properties",
"X BitMap": "text/x-csrc",
"X PixMap": "text/x-csrc",

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -92,6 +92,7 @@ var LanguagesType = map[string]int{
"Batchfile": 2,
"Beef": 2,
"Befunge": 2,
"Berry": 2,
"BibTeX": 3,
"Bicep": 2,
"Bison": 2,
@ -122,6 +123,9 @@ var LanguagesType = map[string]int{
"CUE": 2,
"CWeb": 2,
"Cabal Config": 1,
"Cadence": 2,
"Cairo": 2,
"CameLIGO": 2,
"Cap'n Proto": 2,
"CartoCSS": 2,
"Ceylon": 2,
@ -229,6 +233,8 @@ var LanguagesType = map[string]int{
"GSC": 2,
"Game Maker Language": 2,
"Gemfile.lock": 1,
"Genero": 2,
"Genero Forms": 3,
"Genie": 2,
"Genshi": 2,
"Gentoo Ebuild": 2,
@ -333,6 +339,7 @@ var LanguagesType = map[string]int{
"Lean": 2,
"Less": 3,
"Lex": 2,
"LigoLANG": 2,
"LilyPond": 2,
"Limbo": 2,
"Linker Script": 1,
@ -380,6 +387,7 @@ var LanguagesType = map[string]int{
"Modula-3": 2,
"Module Management System": 2,
"Monkey": 2,
"Monkey C": 2,
"Moocode": 2,
"MoonScript": 2,
"Motoko": 2,
@ -502,6 +510,7 @@ var LanguagesType = map[string]int{
"ReScript": 2,
"Readline Config": 1,
"Reason": 2,
"ReasonLIGO": 2,
"Rebol": 2,
"Record Jar": 1,
"Red": 2,
@ -578,6 +587,7 @@ var LanguagesType = map[string]int{
"TSV": 1,
"TSX": 2,
"TXL": 2,
"Talon": 2,
"Tcl": 2,
"Tcsh": 2,
"TeX": 3,
@ -622,6 +632,7 @@ var LanguagesType = map[string]int{
"WebVTT": 1,
"Wget Config": 1,
"Wikitext": 4,
"Win32 Message File": 1,
"Windows Registry Entries": 1,
"Witcher Script": 2,
"Wollok": 2,

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data

View File

@ -19,7 +19,7 @@ import (
var (
linguistURL = "https://github.com/github/linguist.git"
linguistClonedEnvVar = "ENRY_TEST_REPO"
commit = "97bc889ce840208652bf09b45f3b7859de43fe8e"
commit = "4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26"
samplesDir = "samples"
languagesFile = filepath.Join("lib", "linguist", "languages.yml")

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -88,8 +88,10 @@ var LanguageByAliasMap = map[string]string{
"batch": "Batchfile",
"batchfile": "Batchfile",
"bazel": "Starlark",
"be": "Berry",
"beef": "Beef",
"befunge": "Befunge",
"berry": "Berry",
"bibtex": "BibTeX",
"bicep": "Bicep",
"bison": "Bison",
@ -120,8 +122,11 @@ var LanguageByAliasMap = map[string]string{
"c2hs_haskell": "C2hs Haskell",
"cabal": "Cabal Config",
"cabal_config": "Cabal Config",
"cadence": "Cadence",
"cairo": "Cairo",
"cake": "C#",
"cakescript": "C#",
"cameligo": "CameLIGO",
"cap'n_proto": "Cap'n Proto",
"carto": "CartoCSS",
"cartocss": "CartoCSS",
@ -293,6 +298,8 @@ var LanguageByAliasMap = map[string]string{
"gdscript": "GDScript",
"gedcom": "GEDCOM",
"gemfile.lock": "Gemfile.lock",
"genero": "Genero",
"genero_forms": "Genero Forms",
"genie": "Genie",
"genshi": "Genshi",
"gentoo_ebuild": "Gentoo Ebuild",
@ -449,6 +456,7 @@ var LanguageByAliasMap = map[string]string{
"lfe": "LFE",
"lhaskell": "Literate Haskell",
"lhs": "Literate Haskell",
"ligolang": "LigoLANG",
"lilypond": "LilyPond",
"limbo": "Limbo",
"linker_script": "Linker Script",
@ -519,6 +527,7 @@ var LanguageByAliasMap = map[string]string{
"modula-3": "Modula-3",
"module_management_system": "Module Management System",
"monkey": "Monkey",
"monkey_c": "Monkey C",
"moocode": "Moocode",
"moonscript": "MoonScript",
"motoko": "Motoko",
@ -703,6 +712,7 @@ var LanguageByAliasMap = map[string]string{
"readline_config": "Readline Config",
"realbasic": "REALbasic",
"reason": "Reason",
"reasonligo": "ReasonLIGO",
"rebol": "Rebol",
"record_jar": "Record Jar",
"red": "Red",
@ -813,6 +823,7 @@ var LanguageByAliasMap = map[string]string{
"swift": "Swift",
"swig": "SWIG",
"systemverilog": "SystemVerilog",
"talon": "Talon",
"tcl": "Tcl",
"tcsh": "Tcsh",
"tea": "Tea",
@ -892,6 +903,7 @@ var LanguageByAliasMap = map[string]string{
"wgetrc": "Wget Config",
"wiki": "Wikitext",
"wikitext": "Wikitext",
"win32_message_file": "Win32 Message File",
"winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp",

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -46,6 +46,7 @@ var LanguagesColor = map[string]string{
"Ballerina": "#FF5000",
"Batchfile": "#C1F12E",
"Beef": "#a52f4e",
"Berry": "#15A13C",
"BibTeX": "#778899",
"Bicep": "#519aba",
"Bison": "#6A463F",
@ -71,6 +72,9 @@ var LanguagesColor = map[string]string{
"CUE": "#5886E1",
"CWeb": "#00007a",
"Cabal Config": "#483465",
"Cadence": "#00ef8b",
"Cairo": "#ff4a48",
"CameLIGO": "#3be133",
"Cap'n Proto": "#c42727",
"Ceylon": "#dfa535",
"Chapel": "#8dc63f",
@ -157,6 +161,8 @@ var LanguagesColor = map[string]string{
"GSC": "#FF6800",
"Game Maker Language": "#71b417",
"Gemfile.lock": "#701516",
"Genero": "#63408e",
"Genero Forms": "#d8df39",
"Genie": "#fb855d",
"Genshi": "#951531",
"Gentoo Ebuild": "#9400ff",
@ -250,6 +256,7 @@ var LanguagesColor = map[string]string{
"Latte": "#f2a542",
"Less": "#1d365d",
"Lex": "#DBCA00",
"LigoLANG": "#0e74ff",
"LilyPond": "#9ccc7c",
"Liquid": "#67b8de",
"Literate Agda": "#315665",
@ -282,6 +289,7 @@ var LanguagesColor = map[string]string{
"Modelica": "#de1d31",
"Modula-2": "#10253f",
"Modula-3": "#223388",
"Monkey C": "#8D6747",
"MoonScript": "#ff4585",
"Motoko": "#fbb03b",
"Motorola 68K Assembly": "#005daa",
@ -370,6 +378,7 @@ var LanguagesColor = map[string]string{
"Rascal": "#fffaa0",
"ReScript": "#ed5051",
"Reason": "#ff5847",
"ReasonLIGO": "#ff5847",
"Rebol": "#358a5b",
"Record Jar": "#0673ba",
"Red": "#f50000",
@ -431,6 +440,7 @@ var LanguagesColor = map[string]string{
"TSV": "#237346",
"TSX": "#2b7489",
"TXL": "#0178b8",
"Talon": "#333333",
"Tcl": "#e4cc98",
"TeX": "#3D6117",
"Terra": "#00004c",
@ -450,7 +460,7 @@ var LanguagesColor = map[string]string{
"VBScript": "#15dcdc",
"VCL": "#148AA8",
"VHDL": "#adb2cb",
"Vala": "#fbe5cd",
"Vala": "#a56de2",
"Valve Data Format": "#f26025",
"Verilog": "#b2b7f8",
"Vim Help File": "#199f4b",

View File

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

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -1066,6 +1066,16 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)tag:unity3d.com`),
),
},
".mc": &Heuristics{
rule.Or(
rule.MatchingLanguages("M4"),
regexp.MustCompile(`(?m)^dnl|^divert\((?:-?\d+)?\)|^\w+\(`+"`"+`[^\n]*?'[),]`),
),
rule.Or(
rule.MatchingLanguages("Monkey C"),
regexp.MustCompile(`(?m)\b(?:using|module|function|class|var)\s+\w`),
),
},
".md": &Heuristics{
rule.Or(
rule.MatchingLanguages("Markdown"),
@ -1519,6 +1529,7 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Text"),
),
},
".url": &Heuristics{},
".v": &Heuristics{
rule.Or(
rule.MatchingLanguages("Coq"),

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -19,6 +19,7 @@ var LanguagesByExtension = map[string][]string{
".3x": {"Roff", "Roff Manpage"},
".4": {"Roff", "Roff Manpage"},
".4dm": {"4D"},
".4gl": {"Genero"},
".4th": {"Forth"},
".5": {"Roff", "Roff Manpage"},
".6": {"Roff", "Roff Manpage"},
@ -109,6 +110,7 @@ var LanguagesByExtension = map[string][]string{
".bbx": {"TeX"},
".bdf": {"Glyph Bitmap Distribution Format"},
".bdy": {"PLSQL"},
".be": {"Berry"},
".befunge": {"Befunge"},
".bf": {"Beef", "Brainfuck", "HyPhy"},
".bi": {"FreeBasic"},
@ -137,6 +139,7 @@ var LanguagesByExtension = map[string][]string{
".c++objdump": {"Cpp-ObjDump"},
".c-objdump": {"C-ObjDump"},
".cabal": {"Cabal Config"},
".cairo": {"Cairo"},
".cake": {"C#", "CoffeeScript"},
".capnp": {"Cap'n Proto"},
".cats": {"C"},
@ -146,6 +149,7 @@ var LanguagesByExtension = map[string][]string{
".ccp": {"COBOL"},
".ccproj": {"XML"},
".ccxml": {"XML"},
".cdc": {"Cadence"},
".cdf": {"Mathematica"},
".ceylon": {"Ceylon"},
".cfc": {"ColdFusion CFC"},
@ -518,6 +522,7 @@ var LanguagesByExtension = map[string][]string{
".jsb": {"JavaScript"},
".jscad": {"JavaScript"},
".jsfl": {"JavaScript"},
".jslib": {"JavaScript"},
".jsm": {"JavaScript"},
".json": {"JSON"},
".json-tmlanguage": {"JSON"},
@ -527,6 +532,7 @@ var LanguagesByExtension = map[string][]string{
".jsonld": {"JSONLD"},
".jsonnet": {"Jsonnet"},
".jsp": {"Java Server Pages"},
".jspre": {"JavaScript"},
".jsproj": {"XML"},
".jss": {"JavaScript"},
".jst": {"EJS"},
@ -568,6 +574,7 @@ var LanguagesByExtension = map[string][]string{
".libsonnet": {"Jsonnet"},
".lid": {"Dylan"},
".lidr": {"Idris"},
".ligo": {"LigoLANG"},
".linq": {"C#"},
".liquid": {"Liquid"},
".lisp": {"Common Lisp", "NewLisp"},
@ -611,6 +618,7 @@ var LanguagesByExtension = map[string][]string{
".maxpat": {"Max"},
".maxproj": {"Max"},
".mbox": {"E-mail"},
".mc": {"M4", "Monkey C", "Win32 Message File"},
".mcfunction": {"mcfunction"},
".mcmeta": {"JSON"},
".mcr": {"MAXScript"},
@ -642,6 +650,7 @@ var LanguagesByExtension = map[string][]string{
".ml": {"OCaml", "Standard ML"},
".ml4": {"OCaml"},
".mli": {"OCaml"},
".mligo": {"CameLIGO"},
".mlir": {"MLIR"},
".mll": {"OCaml"},
".mly": {"OCaml"},
@ -768,6 +777,7 @@ var LanguagesByExtension = map[string][]string{
".pde": {"Processing"},
".pegjs": {"PEG.js"},
".pep": {"Pep8"},
".per": {"Genero Forms"},
".perl": {"Perl"},
".pfa": {"PostScript"},
".pgsql": {"PLpgSQL"},
@ -859,6 +869,7 @@ var LanguagesByExtension = map[string][]string{
".qbs": {"QML"},
".ql": {"CodeQL"},
".qll": {"CodeQL"},
".qmd": {"RMarkdown"},
".qml": {"QML"},
".qs": {"Q#", "Qt Script"},
".r": {"R", "Rebol"},
@ -898,6 +909,7 @@ var LanguagesByExtension = map[string][]string{
".regexp": {"Regular Expression"},
".rego": {"Open Policy Agent"},
".rei": {"Reason"},
".religo": {"ReasonLIGO"},
".res": {"ReScript", "XML"},
".rest": {"reStructuredText"},
".rest.txt": {"reStructuredText"},
@ -1040,6 +1052,7 @@ var LanguagesByExtension = map[string][]string{
".t": {"Perl", "Raku", "Terra", "Turing"},
".tab": {"SQL"},
".tac": {"Python"},
".talon": {"Talon"},
".targets": {"XML"},
".tcc": {"C++"},
".tcl": {"Tcl"},
@ -1100,6 +1113,7 @@ var LanguagesByExtension = map[string][]string{
".upc": {"Unified Parallel C"},
".ur": {"UrWeb"},
".urdf": {"XML"},
".url": {"INI"},
".urs": {"UrWeb"},
".ux": {"XML"},
".v": {"Coq", "V", "Verilog"},
@ -1293,6 +1307,7 @@ var ExtensionsByLanguage = map[string][]string{
"Batchfile": {".bat", ".cmd"},
"Beef": {".bf"},
"Befunge": {".befunge"},
"Berry": {".be"},
"BibTeX": {".bib", ".bibtex"},
"Bicep": {".bicep"},
"Bison": {".bison"},
@ -1321,6 +1336,9 @@ var ExtensionsByLanguage = map[string][]string{
"CUE": {".cue"},
"CWeb": {".w"},
"Cabal Config": {".cabal"},
"Cadence": {".cdc"},
"Cairo": {".cairo"},
"CameLIGO": {".mligo"},
"Cap'n Proto": {".capnp"},
"CartoCSS": {".mss"},
"Ceylon": {".ceylon"},
@ -1424,6 +1442,8 @@ var ExtensionsByLanguage = map[string][]string{
"GN": {".gn", ".gni"},
"GSC": {".gsc", ".csc", ".gsh"},
"Game Maker Language": {".gml"},
"Genero": {".4gl"},
"Genero Forms": {".per"},
"Genie": {".gs"},
"Genshi": {".kid"},
"Gentoo Ebuild": {".ebuild"},
@ -1470,7 +1490,7 @@ var ExtensionsByLanguage = map[string][]string{
"HyPhy": {".bf"},
"IDL": {".pro", ".dlm"},
"IGOR Pro": {".ipf"},
"INI": {".ini", ".cfg", ".dof", ".lektorproject", ".prefs", ".pro", ".properties"},
"INI": {".ini", ".cfg", ".dof", ".lektorproject", ".prefs", ".pro", ".properties", ".url"},
"IRC log": {".irclog", ".weechatlog"},
"Idris": {".idr", ".lidr"},
"Ignore List": {".gitignore"},
@ -1492,7 +1512,7 @@ var ExtensionsByLanguage = map[string][]string{
"Java": {".java", ".jav"},
"Java Properties": {".properties"},
"Java Server Pages": {".jsp"},
"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": {".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript+ERB": {".js.erb"},
"Jest Snapshot": {".snap"},
"Jinja": {".jinja", ".j2", ".jinja2"},
@ -1523,6 +1543,7 @@ var ExtensionsByLanguage = map[string][]string{
"Lean": {".lean", ".hlean"},
"Less": {".less"},
"Lex": {".l", ".lex"},
"LigoLANG": {".ligo"},
"LilyPond": {".ly", ".ily"},
"Limbo": {".b", ".m"},
"Linker Script": {".ld", ".lds", ".x"},
@ -1538,7 +1559,7 @@ var ExtensionsByLanguage = map[string][]string{
"LoomScript": {".ls"},
"Lua": {".lua", ".fcgi", ".nse", ".p8", ".pd_lua", ".rbxs", ".rockspec", ".wlua"},
"M": {".mumps", ".m"},
"M4": {".m4"},
"M4": {".m4", ".mc"},
"M4Sugar": {".m4"},
"MATLAB": {".matlab", ".m"},
"MAXScript": {".ms", ".mcr"},
@ -1568,6 +1589,7 @@ var ExtensionsByLanguage = map[string][]string{
"Modula-3": {".i3", ".ig", ".m3", ".mg"},
"Module Management System": {".mms", ".mmk"},
"Monkey": {".monkey", ".monkey2"},
"Monkey C": {".mc"},
"Moocode": {".moo"},
"MoonScript": {".moon"},
"Motoko": {".mo"},
@ -1672,7 +1694,7 @@ var ExtensionsByLanguage = map[string][]string{
"RDoc": {".rdoc"},
"REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"},
"REXX": {".rexx", ".pprx", ".rex"},
"RMarkdown": {".rmd"},
"RMarkdown": {".qmd", ".rmd"},
"RPC": {".x"},
"RPGLE": {".rpgle", ".sqlrpgle"},
"RPM Spec": {".spec"},
@ -1684,6 +1706,7 @@ var ExtensionsByLanguage = map[string][]string{
"Raw token data": {".raw"},
"ReScript": {".res"},
"Reason": {".re", ".rei"},
"ReasonLIGO": {".religo"},
"Rebol": {".reb", ".r", ".r2", ".r3", ".rebol"},
"Red": {".red", ".reds"},
"Redcode": {".cw"},
@ -1754,6 +1777,7 @@ var ExtensionsByLanguage = map[string][]string{
"TSV": {".tsv"},
"TSX": {".tsx"},
"TXL": {".txl"},
"Talon": {".talon"},
"Tcl": {".tcl", ".adp", ".tcl.in", ".tm"},
"Tcsh": {".tcsh", ".csh"},
"TeX": {".tex", ".aux", ".bbx", ".cbx", ".cls", ".dtx", ".ins", ".lbx", ".ltx", ".mkii", ".mkiv", ".mkvi", ".sty", ".toc"},
@ -1796,6 +1820,7 @@ var ExtensionsByLanguage = map[string][]string{
"WebIDL": {".webidl"},
"WebVTT": {".vtt"},
"Wikitext": {".mediawiki", ".wiki", ".wikitext"},
"Win32 Message File": {".mc"},
"Windows Registry Entries": {".reg"},
"Witcher Script": {".ws"},
"Wollok": {".wlk"},

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -9,6 +9,7 @@ var LanguagesGroup = map[string]string{
"BibTeX": "TeX",
"Bison": "Yacc",
"C2hs Haskell": "Haskell",
"CameLIGO": "LigoLANG",
"ColdFusion CFC": "ColdFusion",
"ECLiPSe": "prolog",
"Easybuild": "Python",
@ -35,6 +36,7 @@ var LanguagesGroup = map[string]string{
"JavaScript+ERB": "JavaScript",
"Jison": "Yacc",
"Jison Lex": "Lex",
"LigoLANG": "LigoLANG",
"Literate Agda": "Agda",
"Literate CoffeeScript": "CoffeeScript",
"Literate Haskell": "Haskell",
@ -53,6 +55,7 @@ var LanguagesGroup = map[string]string{
"Python console": "Python",
"Python traceback": "Python",
"Readline Config": "INI",
"ReasonLIGO": "LigoLANG",
"Roff Manpage": "Roff",
"SSH Config": "INI",
"STON": "Smalltalk",

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -27,6 +27,7 @@ var LanguagesMime = map[string]string{
"CSON": "text/x-coffeescript",
"CSS": "text/css",
"Cabal Config": "text/x-haskell",
"CameLIGO": "text/x-ocaml",
"ChucK": "text/x-java",
"Clojure": "text/x-clojure",
"Closure Templates": "text/x-soy",
@ -123,6 +124,7 @@ var LanguagesMime = map[string]string{
"Lark": "text/x-ebnf",
"Latte": "text/x-smarty",
"Less": "text/css",
"LigoLANG": "text/x-pascal",
"Literate Haskell": "text/x-literate-haskell",
"LiveScript": "text/x-livescript",
"LookML": "text/x-yaml",
@ -141,6 +143,7 @@ var LanguagesMime = map[string]string{
"MiniYAML": "text/x-yaml",
"Mirah": "text/x-ruby",
"Modelica": "text/x-modelica",
"Monkey C": "text/x-csrc",
"Mustache": "text/x-smarty",
"NSIS": "text/x-nsis",
"NWScript": "text/x-csrc",
@ -178,6 +181,7 @@ var LanguagesMime = map[string]string{
"Raku": "text/x-perl",
"ReScript": "text/x-rustsrc",
"Reason": "text/x-rustsrc",
"ReasonLIGO": "text/x-rustsrc",
"Record Jar": "text/x-properties",
"Roff": "text/troff",
"Roff Manpage": "text/troff",
@ -235,6 +239,7 @@ var LanguagesMime = map[string]string{
"Volt": "text/x-d",
"WebAssembly": "text/x-common-lisp",
"WebIDL": "text/x-webidl",
"Win32 Message File": "text/x-properties",
"Windows Registry Entries": "text/x-properties",
"X BitMap": "text/x-csrc",
"X PixMap": "text/x-csrc",

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data
@ -92,6 +92,7 @@ var LanguagesType = map[string]int{
"Batchfile": 2,
"Beef": 2,
"Befunge": 2,
"Berry": 2,
"BibTeX": 3,
"Bicep": 2,
"Bison": 2,
@ -122,6 +123,9 @@ var LanguagesType = map[string]int{
"CUE": 2,
"CWeb": 2,
"Cabal Config": 1,
"Cadence": 2,
"Cairo": 2,
"CameLIGO": 2,
"Cap'n Proto": 2,
"CartoCSS": 2,
"Ceylon": 2,
@ -229,6 +233,8 @@ var LanguagesType = map[string]int{
"GSC": 2,
"Game Maker Language": 2,
"Gemfile.lock": 1,
"Genero": 2,
"Genero Forms": 3,
"Genie": 2,
"Genshi": 2,
"Gentoo Ebuild": 2,
@ -333,6 +339,7 @@ var LanguagesType = map[string]int{
"Lean": 2,
"Less": 3,
"Lex": 2,
"LigoLANG": 2,
"LilyPond": 2,
"Limbo": 2,
"Linker Script": 1,
@ -380,6 +387,7 @@ var LanguagesType = map[string]int{
"Modula-3": 2,
"Module Management System": 2,
"Monkey": 2,
"Monkey C": 2,
"Moocode": 2,
"MoonScript": 2,
"Motoko": 2,
@ -502,6 +510,7 @@ var LanguagesType = map[string]int{
"ReScript": 2,
"Readline Config": 1,
"Reason": 2,
"ReasonLIGO": 2,
"Rebol": 2,
"Record Jar": 1,
"Red": 2,
@ -578,6 +587,7 @@ var LanguagesType = map[string]int{
"TSV": 1,
"TSX": 2,
"TXL": 2,
"Talon": 2,
"Tcl": 2,
"Tcsh": 2,
"TeX": 3,
@ -622,6 +632,7 @@ var LanguagesType = map[string]int{
"WebVTT": 1,
"Wget Config": 1,
"Wikitext": 4,
"Win32 Message File": 1,
"Windows Registry Entries": 1,
"Witcher Script": 2,
"Wollok": 2,

View File

@ -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: 97bc889ce840208652bf09b45f3b7859de43fe8e
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
package data