Merge pull request #182 from go-enry/feature/sync-linguist-4ac734c1

Update Linguist to v7.30.0
This commit is contained in:
Alex 2024-08-25 13:31:58 +02:00 committed by GitHub
commit 7e3a9a7241
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
30 changed files with 14839 additions and 11974 deletions

View File

@ -156,7 +156,7 @@ Generated Rust bindings using a C static library are available at https://github
## Divergences from Linguist ## Divergences from Linguist
The `enry` library is based on the data from `github/linguist` version **v7.29.0**. The `enry` library is based on the data from `github/linguist` version **v7.30.0**.
Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist: Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist:

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -119,6 +119,7 @@ var LanguageByAliasMap = map[string]string{
"boo": "Boo", "boo": "Boo",
"boogie": "Boogie", "boogie": "Boogie",
"bplus": "BlitzBasic", "bplus": "BlitzBasic",
"bqn": "BQN",
"brainfuck": "Brainfuck", "brainfuck": "Brainfuck",
"brighterscript": "BrighterScript", "brighterscript": "BrighterScript",
"brightscript": "Brightscript", "brightscript": "Brightscript",
@ -137,6 +138,8 @@ var LanguageByAliasMap = map[string]string{
"c2hs_haskell": "C2hs Haskell", "c2hs_haskell": "C2hs Haskell",
"cabal": "Cabal Config", "cabal": "Cabal Config",
"cabal_config": "Cabal Config", "cabal_config": "Cabal Config",
"caddy": "Caddyfile",
"caddyfile": "Caddyfile",
"cadence": "Cadence", "cadence": "Cadence",
"cairo": "Cairo", "cairo": "Cairo",
"cake": "C#", "cake": "C#",
@ -197,6 +200,9 @@ var LanguageByAliasMap = map[string]string{
"cpp": "C++", "cpp": "C++",
"cpp-objdump": "Cpp-ObjDump", "cpp-objdump": "Cpp-ObjDump",
"creole": "Creole", "creole": "Creole",
"cron": "crontab",
"cron_table": "crontab",
"crontab": "crontab",
"crystal": "Crystal", "crystal": "Crystal",
"csharp": "C#", "csharp": "C#",
"cson": "CSON", "cson": "CSON",
@ -286,6 +292,7 @@ var LanguageByAliasMap = map[string]string{
"email": "E-mail", "email": "E-mail",
"emberscript": "EmberScript", "emberscript": "EmberScript",
"eml": "E-mail", "eml": "E-mail",
"envrc": "Shell",
"eq": "EQ", "eq": "EQ",
"erb": "HTML+ERB", "erb": "HTML+ERB",
"erlang": "Erlang", "erlang": "Erlang",
@ -303,6 +310,7 @@ var LanguageByAliasMap = map[string]string{
"figlet_font": "FIGlet Font", "figlet_font": "FIGlet Font",
"filebench_wml": "Filebench WML", "filebench_wml": "Filebench WML",
"filterscript": "Filterscript", "filterscript": "Filterscript",
"firrtl": "FIRRTL",
"fish": "fish", "fish": "fish",
"flex": "Lex", "flex": "Lex",
"fluent": "Fluent", "fluent": "Fluent",
@ -485,6 +493,7 @@ var LanguageByAliasMap = map[string]string{
"jsonnet": "Jsonnet", "jsonnet": "Jsonnet",
"jsp": "Java Server Pages", "jsp": "Java Server Pages",
"julia": "Julia", "julia": "Julia",
"julia_repl": "Julia REPL",
"jupyter_notebook": "Jupyter Notebook", "jupyter_notebook": "Jupyter Notebook",
"just": "Just", "just": "Just",
"justfile": "Just", "justfile": "Just",
@ -542,6 +551,7 @@ var LanguageByAliasMap = map[string]string{
"lsl": "LSL", "lsl": "LSL",
"ltspice_symbol": "LTspice Symbol", "ltspice_symbol": "LTspice Symbol",
"lua": "Lua", "lua": "Lua",
"luau": "Luau",
"m": "M", "m": "M",
"m2": "Macaulay2", "m2": "Macaulay2",
"m4": "M4", "m4": "M4",
@ -637,6 +647,7 @@ var LanguageByAliasMap = map[string]string{
"nixos": "Nix", "nixos": "Nix",
"njk": "Nunjucks", "njk": "Nunjucks",
"nl": "NL", "nl": "NL",
"nmodl": "NMODL",
"node": "JavaScript", "node": "JavaScript",
"npm_config": "NPM Config", "npm_config": "NPM Config",
"npmrc": "NPM Config", "npmrc": "NPM Config",
@ -730,6 +741,7 @@ var LanguageByAliasMap = map[string]string{
"pike": "Pike", "pike": "Pike",
"pip_requirements": "Pip Requirements", "pip_requirements": "Pip Requirements",
"pir": "Parrot Internal Representation", "pir": "Parrot Internal Representation",
"pkl": "Pkl",
"plain_text": "Text", "plain_text": "Text",
"plantuml": "PlantUML", "plantuml": "PlantUML",
"plpgsql": "PLpgSQL", "plpgsql": "PLpgSQL",
@ -837,6 +849,7 @@ var LanguageByAliasMap = map[string]string{
"roc": "Roc", "roc": "Roc",
"roff": "Roff", "roff": "Roff",
"roff_manpage": "Roff Manpage", "roff_manpage": "Roff Manpage",
"ron": "RON",
"rouge": "Rouge", "rouge": "Rouge",
"routeros_script": "RouterOS Script", "routeros_script": "RouterOS Script",
"rpc": "RPC", "rpc": "RPC",
@ -941,6 +954,7 @@ var LanguageByAliasMap = map[string]string{
"tcl": "Tcl", "tcl": "Tcl",
"tcsh": "Tcsh", "tcsh": "Tcsh",
"tea": "Tea", "tea": "Tea",
"templ": "templ",
"terra": "Terra", "terra": "Terra",
"terraform": "HCL", "terraform": "HCL",
"terraform_template": "Terraform Template", "terraform_template": "Terraform Template",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -45,6 +45,7 @@ var LanguagesColor = map[string]string{
"Avro IDL": "#0040FF", "Avro IDL": "#0040FF",
"Awk": "#c30e9b", "Awk": "#c30e9b",
"BASIC": "#ff0000", "BASIC": "#ff0000",
"BQN": "#2b7067",
"Ballerina": "#FF5000", "Ballerina": "#FF5000",
"Batchfile": "#C1F12E", "Batchfile": "#C1F12E",
"Beef": "#a52f4e", "Beef": "#a52f4e",
@ -78,6 +79,7 @@ var LanguagesColor = map[string]string{
"CUE": "#5886E1", "CUE": "#5886E1",
"CWeb": "#00007a", "CWeb": "#00007a",
"Cabal Config": "#483465", "Cabal Config": "#483465",
"Caddyfile": "#22b638",
"Cadence": "#00ef8b", "Cadence": "#00ef8b",
"Cairo": "#ff4a48", "Cairo": "#ff4a48",
"CameLIGO": "#3be133", "CameLIGO": "#3be133",
@ -150,6 +152,7 @@ var LanguagesColor = map[string]string{
"F#": "#b845fc", "F#": "#b845fc",
"F*": "#572e30", "F*": "#572e30",
"FIGlet Font": "#FFDDBB", "FIGlet Font": "#FFDDBB",
"FIRRTL": "#2f632f",
"FLUX": "#88ccff", "FLUX": "#88ccff",
"Factor": "#636746", "Factor": "#636746",
"Fancy": "#7b9db4", "Fancy": "#7b9db4",
@ -266,6 +269,7 @@ var LanguagesColor = map[string]string{
"Jolie": "#843179", "Jolie": "#843179",
"Jsonnet": "#0064bd", "Jsonnet": "#0064bd",
"Julia": "#a270ba", "Julia": "#a270ba",
"Julia REPL": "#a270ba",
"Jupyter Notebook": "#DA5B0B", "Jupyter Notebook": "#DA5B0B",
"Just": "#384d54", "Just": "#384d54",
"KRL": "#28430A", "KRL": "#28430A",
@ -296,6 +300,7 @@ var LanguagesColor = map[string]string{
"Logtalk": "#295b9a", "Logtalk": "#295b9a",
"LookML": "#652B81", "LookML": "#652B81",
"Lua": "#000080", "Lua": "#000080",
"Luau": "#00A2FF",
"MATLAB": "#e16737", "MATLAB": "#e16737",
"MAXScript": "#00a6a6", "MAXScript": "#00a6a6",
"MDX": "#fcb32c", "MDX": "#fcb32c",
@ -329,6 +334,7 @@ var LanguagesColor = map[string]string{
"Move": "#4a137a", "Move": "#4a137a",
"Mustache": "#724b3b", "Mustache": "#724b3b",
"NCL": "#28431f", "NCL": "#28431f",
"NMODL": "#00356B",
"NPM Config": "#cb3837", "NPM Config": "#cb3837",
"NWScript": "#111522", "NWScript": "#111522",
"Nasal": "#1d2c4e", "Nasal": "#1d2c4e",
@ -389,6 +395,7 @@ var LanguagesColor = map[string]string{
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"Pip Requirements": "#FFD343", "Pip Requirements": "#FFD343",
"Pkl": "#6b9543",
"PlantUML": "#fbbd16", "PlantUML": "#fbbd16",
"PogoScript": "#d80074", "PogoScript": "#d80074",
"Polar": "#ae81ff", "Polar": "#ae81ff",
@ -422,6 +429,7 @@ var LanguagesColor = map[string]string{
"RDoc": "#701516", "RDoc": "#701516",
"REXX": "#d90e09", "REXX": "#d90e09",
"RMarkdown": "#198ce7", "RMarkdown": "#198ce7",
"RON": "#a62c00",
"RPGLE": "#2BDE21", "RPGLE": "#2BDE21",
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#3c5caa", "Racket": "#3c5caa",
@ -572,6 +580,7 @@ var LanguagesColor = map[string]string{
"Zephir": "#118f9e", "Zephir": "#118f9e",
"Zig": "#ec915c", "Zig": "#ec915c",
"Zimpl": "#d67711", "Zimpl": "#d67711",
"crontab": "#ead7ac",
"eC": "#913960", "eC": "#913960",
"fish": "#4aae47", "fish": "#4aae47",
"hoon": "#00b171", "hoon": "#00b171",
@ -586,6 +595,7 @@ var LanguagesColor = map[string]string{
"q": "#0040cd", "q": "#0040cd",
"reStructuredText": "#141414", "reStructuredText": "#141414",
"sed": "#64b970", "sed": "#64b970",
"templ": "#66D0DD",
"wisp": "#7582D1", "wisp": "#7582D1",
"xBase": "#403a40", "xBase": "#403a40",
} }

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "4ac734c15a96f9e16fd12330d0cb8de82274f700" var LinguistCommit = "42fd3c2514375fc6ad281552368edd3fb9f6ee7f"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -1318,6 +1318,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
regex.MustCompileMultiline(`<!ENTITY `), regex.MustCompileMultiline(`<!ENTITY `),
), ),
rule.Or(
rule.MatchingLanguages("NMODL"),
regex.MustCompileMultiline(`\b(NEURON|INITIAL|UNITS)\b`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("Modula-2"), rule.MatchingLanguages("Modula-2"),
regex.MustCompileMultiline(`^\s*(?i:MODULE|END) [\w\.]+;`), regex.MustCompileMultiline(`^\s*(?i:MODULE|END) [\w\.]+;`),
@ -1427,6 +1431,15 @@ var ContentHeuristics = map[string]*Heuristics{
regex.MustCompileMultiline(`<\?[^h]`), regex.MustCompileMultiline(`<\?[^h]`),
), ),
}, },
".pkl": &Heuristics{
rule.Or(
rule.MatchingLanguages("Pkl"),
regex.MustCompileMultiline(`^\s*(module|import|amends|extends|local|const|fixed|abstract|open|class|typealias|@\w+)\b|^\s*[a-zA-Z0-9_$]+\s*(=|{|:)|^\s*`+"`"+`[^`+"`"+`]+`+"`"+`\s*(=|{|:)|for\s*\(|when\s*\(`),
),
rule.Always(
rule.MatchingLanguages("Pickle"),
),
},
".pl": &Heuristics{ ".pl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Prolog"), rule.MatchingLanguages("Prolog"),

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,11 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
var LanguagesByFilename = map[string][]string{ var LanguagesByFilename = map[string][]string{
".JUSTFILE": {"Just"},
".Justfile": {"Just"},
".Rprofile": {"R"}, ".Rprofile": {"R"},
".XCompose": {"XCompose"}, ".XCompose": {"XCompose"},
".abbrev_defs": {"Emacs Lisp"}, ".abbrev_defs": {"Emacs Lisp"},
@ -53,6 +55,7 @@ var LanguagesByFilename = map[string][]string{
".env.staging": {"Dotenv"}, ".env.staging": {"Dotenv"},
".env.test": {"Dotenv"}, ".env.test": {"Dotenv"},
".env.testing": {"Dotenv"}, ".env.testing": {"Dotenv"},
".envrc": {"Shell"},
".eslintignore": {"Ignore List"}, ".eslintignore": {"Ignore List"},
".eslintrc.json": {"JSON with Comments"}, ".eslintrc.json": {"JSON with Comments"},
".exrc": {"Vim Script"}, ".exrc": {"Vim Script"},
@ -78,6 +81,7 @@ var LanguagesByFilename = map[string][]string{
".jscsrc": {"JSON with Comments"}, ".jscsrc": {"JSON with Comments"},
".jshintrc": {"JSON with Comments"}, ".jshintrc": {"JSON with Comments"},
".jslintrc": {"JSON with Comments"}, ".jslintrc": {"JSON with Comments"},
".justfile": {"Just"},
".kshrc": {"Shell"}, ".kshrc": {"Shell"},
".latexmkrc": {"Perl"}, ".latexmkrc": {"Perl"},
".login": {"Shell"}, ".login": {"Shell"},
@ -141,9 +145,11 @@ var LanguagesByFilename = map[string][]string{
"COPYING": {"Text"}, "COPYING": {"Text"},
"COPYING.regex": {"Text"}, "COPYING.regex": {"Text"},
"COPYRIGHT.regex": {"Text"}, "COPYRIGHT.regex": {"Text"},
"Caddyfile": {"Caddyfile"},
"Cakefile": {"CoffeeScript"}, "Cakefile": {"CoffeeScript"},
"Capfile": {"Ruby"}, "Capfile": {"Ruby"},
"Cargo.lock": {"TOML"}, "Cargo.lock": {"TOML"},
"Cargo.toml.orig": {"TOML"},
"Cask": {"Emacs Lisp"}, "Cask": {"Emacs Lisp"},
"Containerfile": {"Dockerfile"}, "Containerfile": {"Dockerfile"},
"DEPS": {"Python"}, "DEPS": {"Python"},
@ -176,6 +182,7 @@ var LanguagesByFilename = map[string][]string{
"MANIFEST.MF": {"JAR Manifest"}, "MANIFEST.MF": {"JAR Manifest"},
"MD5SUMS": {"Checksums"}, "MD5SUMS": {"Checksums"},
"MODULE.bazel": {"Starlark"}, "MODULE.bazel": {"Starlark"},
"MODULE.bazel.lock": {"JSON"},
"Makefile": {"Makefile"}, "Makefile": {"Makefile"},
"Makefile.PL": {"Perl"}, "Makefile.PL": {"Perl"},
"Makefile.am": {"Makefile"}, "Makefile.am": {"Makefile"},
@ -254,6 +261,7 @@ var LanguagesByFilename = map[string][]string{
"configure.ac": {"M4Sugar"}, "configure.ac": {"M4Sugar"},
"contents.lr": {"Markdown"}, "contents.lr": {"Markdown"},
"cpanfile": {"Perl"}, "cpanfile": {"Perl"},
"crontab": {"crontab"},
"cshrc": {"Shell"}, "cshrc": {"Shell"},
"delete.me": {"Text"}, "delete.me": {"Text"},
"deno.lock": {"JSON"}, "deno.lock": {"JSON"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -40,6 +40,7 @@ var LanguagesGroup = map[string]string{
"JavaScript+ERB": "JavaScript", "JavaScript+ERB": "JavaScript",
"Jison": "Yacc", "Jison": "Yacc",
"Jison Lex": "Lex", "Jison Lex": "Lex",
"Julia REPL": "Julia",
"Lean 4": "Lean", "Lean 4": "Lean",
"LigoLANG": "LigoLANG", "LigoLANG": "LigoLANG",
"Literate Agda": "Agda", "Literate Agda": "Agda",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -48,6 +48,7 @@ var IDByLanguage = map[string]int{
"Avro IDL": 785497837, "Avro IDL": 785497837,
"Awk": 28, "Awk": 28,
"BASIC": 28923963, "BASIC": 28923963,
"BQN": 330386870,
"Ballerina": 720859680, "Ballerina": 720859680,
"Batchfile": 29, "Batchfile": 29,
"Beef": 545626333, "Beef": 545626333,
@ -87,6 +88,7 @@ var IDByLanguage = map[string]int{
"CUE": 356063509, "CUE": 356063509,
"CWeb": 657332628, "CWeb": 657332628,
"Cabal Config": 677095381, "Cabal Config": 677095381,
"Caddyfile": 615465151,
"Cadence": 270184138, "Cadence": 270184138,
"Cairo": 620599567, "Cairo": 620599567,
"CameLIGO": 829207807, "CameLIGO": 829207807,
@ -177,6 +179,7 @@ var IDByLanguage = map[string]int{
"F#": 105, "F#": 105,
"F*": 336943375, "F*": 336943375,
"FIGlet Font": 686129783, "FIGlet Font": 686129783,
"FIRRTL": 906694254,
"FLUX": 106, "FLUX": 106,
"Factor": 108, "Factor": 108,
"Fancy": 109, "Fancy": 109,
@ -304,6 +307,7 @@ var IDByLanguage = map[string]int{
"Jolie": 998078858, "Jolie": 998078858,
"Jsonnet": 664885656, "Jsonnet": 664885656,
"Julia": 184, "Julia": 184,
"Julia REPL": 220689142,
"Jupyter Notebook": 185, "Jupyter Notebook": 185,
"Just": 128447695, "Just": 128447695,
"KRL": 186, "KRL": 186,
@ -345,6 +349,7 @@ var IDByLanguage = map[string]int{
"LookML": 211, "LookML": 211,
"LoomScript": 212, "LoomScript": 212,
"Lua": 213, "Lua": 213,
"Luau": 365050359,
"M": 214, "M": 214,
"M4": 215, "M4": 215,
"M4Sugar": 216, "M4Sugar": 216,
@ -394,6 +399,7 @@ var IDByLanguage = map[string]int{
"NCL": 240, "NCL": 240,
"NEON": 481192983, "NEON": 481192983,
"NL": 241, "NL": 241,
"NMODL": 136456478,
"NPM Config": 685022663, "NPM Config": 685022663,
"NSIS": 242, "NSIS": 242,
"NWScript": 731233819, "NWScript": 731233819,
@ -468,6 +474,7 @@ var IDByLanguage = map[string]int{
"PigLatin": 286, "PigLatin": 286,
"Pike": 287, "Pike": 287,
"Pip Requirements": 684385621, "Pip Requirements": 684385621,
"Pkl": 288822799,
"PlantUML": 833504686, "PlantUML": 833504686,
"Pod": 288, "Pod": 288,
"Pod 6": 155357471, "Pod 6": 155357471,
@ -511,6 +518,7 @@ var IDByLanguage = map[string]int{
"REALbasic": 310, "REALbasic": 310,
"REXX": 311, "REXX": 311,
"RMarkdown": 313, "RMarkdown": 313,
"RON": 587855233,
"RPC": 1031374237, "RPC": 1031374237,
"RPGLE": 609977990, "RPGLE": 609977990,
"RPM Spec": 314, "RPM Spec": 314,
@ -704,6 +712,7 @@ var IDByLanguage = map[string]int{
"Zig": 646424281, "Zig": 646424281,
"Zimpl": 411, "Zimpl": 411,
"cURL Config": 992375436, "cURL Config": 992375436,
"crontab": 705203557,
"desktop": 412, "desktop": 412,
"dircolors": 691605112, "dircolors": 691605112,
"eC": 413, "eC": 413,
@ -722,6 +731,7 @@ var IDByLanguage = map[string]int{
"reStructuredText": 419, "reStructuredText": 419,
"robots.txt": 674736065, "robots.txt": 674736065,
"sed": 847830017, "sed": 847830017,
"templ": 795579337,
"wisp": 420, "wisp": 420,
"xBase": 421, "xBase": 421,
} }

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -73,6 +73,7 @@ var LanguagesByInterpreter = map[string][]string{
"lisp": {"Common Lisp"}, "lisp": {"Common Lisp"},
"lsl": {"LSL"}, "lsl": {"LSL"},
"lua": {"Lua", "Terra"}, "lua": {"Lua", "Terra"},
"luau": {"Luau"},
"macruby": {"Ruby"}, "macruby": {"Ruby"},
"make": {"Makefile"}, "make": {"Makefile"},
"makeinfo": {"Texinfo"}, "makeinfo": {"Texinfo"},
@ -103,6 +104,7 @@ var LanguagesByInterpreter = map[string][]string{
"picolisp": {"PicoLisp"}, "picolisp": {"PicoLisp"},
"pike": {"Pike"}, "pike": {"Pike"},
"pil": {"PicoLisp"}, "pil": {"PicoLisp"},
"pkl": {"Pkl"},
"pwsh": {"PowerShell"}, "pwsh": {"PowerShell"},
"py": {"Python"}, "py": {"Python"},
"pypy": {"Python"}, "pypy": {"Python"},
@ -146,6 +148,7 @@ var LanguagesByInterpreter = map[string][]string{
"tclsh": {"Tcl"}, "tclsh": {"Tcl"},
"tcsh": {"Tcsh"}, "tcsh": {"Tcsh"},
"ts-node": {"TypeScript"}, "ts-node": {"TypeScript"},
"tsx": {"TypeScript"},
"v8": {"JavaScript"}, "v8": {"JavaScript"},
"v8-shell": {"JavaScript"}, "v8-shell": {"JavaScript"},
"verit": {"SMT"}, "verit": {"SMT"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -975,6 +975,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 28923963, LanguageID: 28923963,
}, },
330386870: LanguageInfo{
Name: "BQN",
FSName: "",
Type: TypeForString("programming"),
Color: "#2b7067",
Group: "",
Aliases: []string{},
Extensions: []string{
".bqn",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.bqn",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 330386870,
},
720859680: LanguageInfo{ 720859680: LanguageInfo{
Name: "Ballerina", Name: "Ballerina",
FSName: "", FSName: "",
@ -1799,6 +1818,29 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 677095381, LanguageID: 677095381,
}, },
615465151: LanguageInfo{
Name: "Caddyfile",
FSName: "",
Type: TypeForString("data"),
Color: "#22b638",
Group: "",
Aliases: []string{
"Caddy",
},
Extensions: []string{
".caddyfile",
},
Interpreters: []string{},
Filenames: []string{
"Caddyfile",
},
MimeType: "",
TMScope: "source.Caddyfile",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 615465151,
},
270184138: LanguageInfo{ 270184138: LanguageInfo{
Name: "Cadence", Name: "Cadence",
FSName: "", FSName: "",
@ -3743,6 +3785,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 686129783, LanguageID: 686129783,
}, },
906694254: LanguageInfo{
Name: "FIRRTL",
FSName: "",
Type: TypeForString("programming"),
Color: "#2f632f",
Group: "",
Aliases: []string{},
Extensions: []string{
".fir",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.firrtl",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 906694254,
},
106: LanguageInfo{ 106: LanguageInfo{
Name: "FLUX", Name: "FLUX",
FSName: "", FSName: "",
@ -5169,7 +5230,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{}, Filenames: []string{},
MimeType: "text/x-ruby", MimeType: "text/x-ruby",
TMScope: "source.terraform", TMScope: "source.hcl",
AceMode: "ruby", AceMode: "ruby",
CodeMirrorMode: "ruby", CodeMirrorMode: "ruby",
Wrap: false, Wrap: false,
@ -6100,6 +6161,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".tern-config", ".tern-config",
".tern-project", ".tern-project",
".watchmanconfig", ".watchmanconfig",
"MODULE.bazel.lock",
"Pipfile.lock", "Pipfile.lock",
"composer.lock", "composer.lock",
"deno.lock", "deno.lock",
@ -6127,6 +6189,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".code-snippets", ".code-snippets",
".code-workspace", ".code-workspace",
".sublime-build", ".sublime-build",
".sublime-color-scheme",
".sublime-commands", ".sublime-commands",
".sublime-completions", ".sublime-completions",
".sublime-keymap", ".sublime-keymap",
@ -6569,6 +6632,23 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 184, LanguageID: 184,
}, },
220689142: LanguageInfo{
Name: "Julia REPL",
FSName: "",
Type: TypeForString("programming"),
Color: "#a270ba",
Group: "Julia",
Aliases: []string{},
Extensions: []string{},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.julia.console",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 220689142,
},
185: LanguageInfo{ 185: LanguageInfo{
Name: "Jupyter Notebook", Name: "Jupyter Notebook",
FSName: "", FSName: "",
@ -6601,9 +6681,14 @@ var LanguageInfoByID = map[int]LanguageInfo{
Aliases: []string{ Aliases: []string{
"Justfile", "Justfile",
}, },
Extensions: []string{}, Extensions: []string{
".just",
},
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{ Filenames: []string{
".JUSTFILE",
".Justfile",
".justfile",
"JUSTFILE", "JUSTFILE",
"Justfile", "Justfile",
"justfile", "justfile",
@ -7427,6 +7512,27 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 213, LanguageID: 213,
}, },
365050359: LanguageInfo{
Name: "Luau",
FSName: "",
Type: TypeForString("programming"),
Color: "#00A2FF",
Group: "",
Aliases: []string{},
Extensions: []string{
".luau",
},
Interpreters: []string{
"luau",
},
Filenames: []string{},
MimeType: "text/x-lua",
TMScope: "source.luau",
AceMode: "lua",
CodeMirrorMode: "lua",
Wrap: false,
LanguageID: 365050359,
},
214: LanguageInfo{ 214: LanguageInfo{
Name: "M", Name: "M",
FSName: "", FSName: "",
@ -8474,6 +8580,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 241, LanguageID: 241,
}, },
136456478: LanguageInfo{
Name: "NMODL",
FSName: "",
Type: TypeForString("programming"),
Color: "#00356B",
Group: "",
Aliases: []string{},
Extensions: []string{
".mod",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "none",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 136456478,
},
685022663: LanguageInfo{ 685022663: LanguageInfo{
Name: "NPM Config", Name: "NPM Config",
FSName: "", FSName: "",
@ -10063,6 +10188,27 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 684385621, LanguageID: 684385621,
}, },
288822799: LanguageInfo{
Name: "Pkl",
FSName: "",
Type: TypeForString("programming"),
Color: "#6b9543",
Group: "",
Aliases: []string{},
Extensions: []string{
".pkl",
},
Interpreters: []string{
"pkl",
},
Filenames: []string{},
MimeType: "",
TMScope: "source.pkl",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 288822799,
},
833504686: LanguageInfo{ 833504686: LanguageInfo{
Name: "PlantUML", Name: "PlantUML",
FSName: "", FSName: "",
@ -10989,6 +11135,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: true, Wrap: true,
LanguageID: 313, LanguageID: 313,
}, },
587855233: LanguageInfo{
Name: "RON",
FSName: "",
Type: TypeForString("data"),
Color: "#a62c00",
Group: "",
Aliases: []string{},
Extensions: []string{
".ron",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.ron",
AceMode: "rust",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 587855233,
},
1031374237: LanguageInfo{ 1031374237: LanguageInfo{
Name: "RPC", Name: "RPC",
FSName: "", FSName: "",
@ -12356,6 +12521,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
"shell-script", "shell-script",
"bash", "bash",
"zsh", "zsh",
"envrc",
}, },
Extensions: []string{ Extensions: []string{
".sh", ".sh",
@ -12391,6 +12557,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".bash_profile", ".bash_profile",
".bashrc", ".bashrc",
".cshrc", ".cshrc",
".envrc",
".flaskenv", ".flaskenv",
".kshrc", ".kshrc",
".login", ".login",
@ -13212,6 +13379,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{ Filenames: []string{
"Cargo.lock", "Cargo.lock",
"Cargo.toml.orig",
"Gopkg.lock", "Gopkg.lock",
"Pipfile", "Pipfile",
"pdm.lock", "pdm.lock",
@ -13736,6 +13904,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Interpreters: []string{ Interpreters: []string{
"deno", "deno",
"ts-node", "ts-node",
"tsx",
}, },
Filenames: []string{}, Filenames: []string{},
MimeType: "application/typescript", MimeType: "application/typescript",
@ -15346,6 +15515,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Aliases: []string{}, Aliases: []string{},
Extensions: []string{ Extensions: []string{
".zig", ".zig",
".zig.zon",
}, },
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{}, Filenames: []string{},
@ -15399,6 +15569,28 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 992375436, LanguageID: 992375436,
}, },
705203557: LanguageInfo{
Name: "crontab",
FSName: "",
Type: TypeForString("data"),
Color: "#ead7ac",
Group: "",
Aliases: []string{
"cron",
"cron table",
},
Extensions: []string{},
Interpreters: []string{},
Filenames: []string{
"crontab",
},
MimeType: "",
TMScope: "text.crontab",
AceMode: "tcl",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 705203557,
},
412: LanguageInfo{ 412: LanguageInfo{
Name: "desktop", Name: "desktop",
FSName: "", FSName: "",
@ -15776,6 +15968,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 847830017, LanguageID: 847830017,
}, },
795579337: LanguageInfo{
Name: "templ",
FSName: "",
Type: TypeForString("markup"),
Color: "#66D0DD",
Group: "",
Aliases: []string{},
Extensions: []string{
".templ",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.templ",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 795579337,
},
420: LanguageInfo{ 420: LanguageInfo{
Name: "wisp", Name: "wisp",
FSName: "", FSName: "",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -134,6 +134,7 @@ var LanguagesMime = map[string]string{
"LiveScript": "text/x-livescript", "LiveScript": "text/x-livescript",
"LookML": "text/x-yaml", "LookML": "text/x-yaml",
"Lua": "text/x-lua", "Lua": "text/x-lua",
"Luau": "text/x-lua",
"M": "text/x-mumps", "M": "text/x-mumps",
"MATLAB": "text/x-octave", "MATLAB": "text/x-octave",
"MDX": "text/x-gfm", "MDX": "text/x-gfm",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -90,6 +90,7 @@ var LanguagesType = map[string]int{
"Avro IDL": 1, "Avro IDL": 1,
"Awk": 2, "Awk": 2,
"BASIC": 2, "BASIC": 2,
"BQN": 2,
"Ballerina": 2, "Ballerina": 2,
"Batchfile": 2, "Batchfile": 2,
"Beef": 2, "Beef": 2,
@ -129,6 +130,7 @@ var LanguagesType = map[string]int{
"CUE": 2, "CUE": 2,
"CWeb": 2, "CWeb": 2,
"Cabal Config": 1, "Cabal Config": 1,
"Caddyfile": 1,
"Cadence": 2, "Cadence": 2,
"Cairo": 2, "Cairo": 2,
"CameLIGO": 2, "CameLIGO": 2,
@ -219,6 +221,7 @@ var LanguagesType = map[string]int{
"F#": 2, "F#": 2,
"F*": 2, "F*": 2,
"FIGlet Font": 1, "FIGlet Font": 1,
"FIRRTL": 2,
"FLUX": 2, "FLUX": 2,
"Factor": 2, "Factor": 2,
"Fancy": 2, "Fancy": 2,
@ -346,6 +349,7 @@ var LanguagesType = map[string]int{
"Jolie": 2, "Jolie": 2,
"Jsonnet": 2, "Jsonnet": 2,
"Julia": 2, "Julia": 2,
"Julia REPL": 2,
"Jupyter Notebook": 3, "Jupyter Notebook": 3,
"Just": 2, "Just": 2,
"KRL": 2, "KRL": 2,
@ -387,6 +391,7 @@ var LanguagesType = map[string]int{
"LookML": 2, "LookML": 2,
"LoomScript": 2, "LoomScript": 2,
"Lua": 2, "Lua": 2,
"Luau": 2,
"M": 2, "M": 2,
"M4": 2, "M4": 2,
"M4Sugar": 2, "M4Sugar": 2,
@ -436,6 +441,7 @@ var LanguagesType = map[string]int{
"NCL": 2, "NCL": 2,
"NEON": 1, "NEON": 1,
"NL": 1, "NL": 1,
"NMODL": 2,
"NPM Config": 1, "NPM Config": 1,
"NSIS": 2, "NSIS": 2,
"NWScript": 2, "NWScript": 2,
@ -510,6 +516,7 @@ var LanguagesType = map[string]int{
"PigLatin": 2, "PigLatin": 2,
"Pike": 2, "Pike": 2,
"Pip Requirements": 1, "Pip Requirements": 1,
"Pkl": 2,
"PlantUML": 1, "PlantUML": 1,
"Pod": 4, "Pod": 4,
"Pod 6": 4, "Pod 6": 4,
@ -553,6 +560,7 @@ var LanguagesType = map[string]int{
"REALbasic": 2, "REALbasic": 2,
"REXX": 2, "REXX": 2,
"RMarkdown": 4, "RMarkdown": 4,
"RON": 1,
"RPC": 2, "RPC": 2,
"RPGLE": 2, "RPGLE": 2,
"RPM Spec": 1, "RPM Spec": 1,
@ -746,6 +754,7 @@ var LanguagesType = map[string]int{
"Zig": 2, "Zig": 2,
"Zimpl": 2, "Zimpl": 2,
"cURL Config": 1, "cURL Config": 1,
"crontab": 1,
"desktop": 1, "desktop": 1,
"dircolors": 1, "dircolors": 1,
"eC": 2, "eC": 2,
@ -764,6 +773,7 @@ var LanguagesType = map[string]int{
"reStructuredText": 4, "reStructuredText": 4,
"robots.txt": 1, "robots.txt": 1,
"sed": 2, "sed": 2,
"templ": 3,
"wisp": 2, "wisp": 2,
"xBase": 2, "xBase": 2,
} }

View File

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

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -119,6 +119,7 @@ var LanguageByAliasMap = map[string]string{
"boo": "Boo", "boo": "Boo",
"boogie": "Boogie", "boogie": "Boogie",
"bplus": "BlitzBasic", "bplus": "BlitzBasic",
"bqn": "BQN",
"brainfuck": "Brainfuck", "brainfuck": "Brainfuck",
"brighterscript": "BrighterScript", "brighterscript": "BrighterScript",
"brightscript": "Brightscript", "brightscript": "Brightscript",
@ -137,6 +138,8 @@ var LanguageByAliasMap = map[string]string{
"c2hs_haskell": "C2hs Haskell", "c2hs_haskell": "C2hs Haskell",
"cabal": "Cabal Config", "cabal": "Cabal Config",
"cabal_config": "Cabal Config", "cabal_config": "Cabal Config",
"caddy": "Caddyfile",
"caddyfile": "Caddyfile",
"cadence": "Cadence", "cadence": "Cadence",
"cairo": "Cairo", "cairo": "Cairo",
"cake": "C#", "cake": "C#",
@ -197,6 +200,9 @@ var LanguageByAliasMap = map[string]string{
"cpp": "C++", "cpp": "C++",
"cpp-objdump": "Cpp-ObjDump", "cpp-objdump": "Cpp-ObjDump",
"creole": "Creole", "creole": "Creole",
"cron": "crontab",
"cron_table": "crontab",
"crontab": "crontab",
"crystal": "Crystal", "crystal": "Crystal",
"csharp": "C#", "csharp": "C#",
"cson": "CSON", "cson": "CSON",
@ -286,6 +292,7 @@ var LanguageByAliasMap = map[string]string{
"email": "E-mail", "email": "E-mail",
"emberscript": "EmberScript", "emberscript": "EmberScript",
"eml": "E-mail", "eml": "E-mail",
"envrc": "Shell",
"eq": "EQ", "eq": "EQ",
"erb": "HTML+ERB", "erb": "HTML+ERB",
"erlang": "Erlang", "erlang": "Erlang",
@ -303,6 +310,7 @@ var LanguageByAliasMap = map[string]string{
"figlet_font": "FIGlet Font", "figlet_font": "FIGlet Font",
"filebench_wml": "Filebench WML", "filebench_wml": "Filebench WML",
"filterscript": "Filterscript", "filterscript": "Filterscript",
"firrtl": "FIRRTL",
"fish": "fish", "fish": "fish",
"flex": "Lex", "flex": "Lex",
"fluent": "Fluent", "fluent": "Fluent",
@ -485,6 +493,7 @@ var LanguageByAliasMap = map[string]string{
"jsonnet": "Jsonnet", "jsonnet": "Jsonnet",
"jsp": "Java Server Pages", "jsp": "Java Server Pages",
"julia": "Julia", "julia": "Julia",
"julia_repl": "Julia REPL",
"jupyter_notebook": "Jupyter Notebook", "jupyter_notebook": "Jupyter Notebook",
"just": "Just", "just": "Just",
"justfile": "Just", "justfile": "Just",
@ -542,6 +551,7 @@ var LanguageByAliasMap = map[string]string{
"lsl": "LSL", "lsl": "LSL",
"ltspice_symbol": "LTspice Symbol", "ltspice_symbol": "LTspice Symbol",
"lua": "Lua", "lua": "Lua",
"luau": "Luau",
"m": "M", "m": "M",
"m2": "Macaulay2", "m2": "Macaulay2",
"m4": "M4", "m4": "M4",
@ -637,6 +647,7 @@ var LanguageByAliasMap = map[string]string{
"nixos": "Nix", "nixos": "Nix",
"njk": "Nunjucks", "njk": "Nunjucks",
"nl": "NL", "nl": "NL",
"nmodl": "NMODL",
"node": "JavaScript", "node": "JavaScript",
"npm_config": "NPM Config", "npm_config": "NPM Config",
"npmrc": "NPM Config", "npmrc": "NPM Config",
@ -730,6 +741,7 @@ var LanguageByAliasMap = map[string]string{
"pike": "Pike", "pike": "Pike",
"pip_requirements": "Pip Requirements", "pip_requirements": "Pip Requirements",
"pir": "Parrot Internal Representation", "pir": "Parrot Internal Representation",
"pkl": "Pkl",
"plain_text": "Text", "plain_text": "Text",
"plantuml": "PlantUML", "plantuml": "PlantUML",
"plpgsql": "PLpgSQL", "plpgsql": "PLpgSQL",
@ -837,6 +849,7 @@ var LanguageByAliasMap = map[string]string{
"roc": "Roc", "roc": "Roc",
"roff": "Roff", "roff": "Roff",
"roff_manpage": "Roff Manpage", "roff_manpage": "Roff Manpage",
"ron": "RON",
"rouge": "Rouge", "rouge": "Rouge",
"routeros_script": "RouterOS Script", "routeros_script": "RouterOS Script",
"rpc": "RPC", "rpc": "RPC",
@ -941,6 +954,7 @@ var LanguageByAliasMap = map[string]string{
"tcl": "Tcl", "tcl": "Tcl",
"tcsh": "Tcsh", "tcsh": "Tcsh",
"tea": "Tea", "tea": "Tea",
"templ": "templ",
"terra": "Terra", "terra": "Terra",
"terraform": "HCL", "terraform": "HCL",
"terraform_template": "Terraform Template", "terraform_template": "Terraform Template",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -45,6 +45,7 @@ var LanguagesColor = map[string]string{
"Avro IDL": "#0040FF", "Avro IDL": "#0040FF",
"Awk": "#c30e9b", "Awk": "#c30e9b",
"BASIC": "#ff0000", "BASIC": "#ff0000",
"BQN": "#2b7067",
"Ballerina": "#FF5000", "Ballerina": "#FF5000",
"Batchfile": "#C1F12E", "Batchfile": "#C1F12E",
"Beef": "#a52f4e", "Beef": "#a52f4e",
@ -78,6 +79,7 @@ var LanguagesColor = map[string]string{
"CUE": "#5886E1", "CUE": "#5886E1",
"CWeb": "#00007a", "CWeb": "#00007a",
"Cabal Config": "#483465", "Cabal Config": "#483465",
"Caddyfile": "#22b638",
"Cadence": "#00ef8b", "Cadence": "#00ef8b",
"Cairo": "#ff4a48", "Cairo": "#ff4a48",
"CameLIGO": "#3be133", "CameLIGO": "#3be133",
@ -150,6 +152,7 @@ var LanguagesColor = map[string]string{
"F#": "#b845fc", "F#": "#b845fc",
"F*": "#572e30", "F*": "#572e30",
"FIGlet Font": "#FFDDBB", "FIGlet Font": "#FFDDBB",
"FIRRTL": "#2f632f",
"FLUX": "#88ccff", "FLUX": "#88ccff",
"Factor": "#636746", "Factor": "#636746",
"Fancy": "#7b9db4", "Fancy": "#7b9db4",
@ -266,6 +269,7 @@ var LanguagesColor = map[string]string{
"Jolie": "#843179", "Jolie": "#843179",
"Jsonnet": "#0064bd", "Jsonnet": "#0064bd",
"Julia": "#a270ba", "Julia": "#a270ba",
"Julia REPL": "#a270ba",
"Jupyter Notebook": "#DA5B0B", "Jupyter Notebook": "#DA5B0B",
"Just": "#384d54", "Just": "#384d54",
"KRL": "#28430A", "KRL": "#28430A",
@ -296,6 +300,7 @@ var LanguagesColor = map[string]string{
"Logtalk": "#295b9a", "Logtalk": "#295b9a",
"LookML": "#652B81", "LookML": "#652B81",
"Lua": "#000080", "Lua": "#000080",
"Luau": "#00A2FF",
"MATLAB": "#e16737", "MATLAB": "#e16737",
"MAXScript": "#00a6a6", "MAXScript": "#00a6a6",
"MDX": "#fcb32c", "MDX": "#fcb32c",
@ -329,6 +334,7 @@ var LanguagesColor = map[string]string{
"Move": "#4a137a", "Move": "#4a137a",
"Mustache": "#724b3b", "Mustache": "#724b3b",
"NCL": "#28431f", "NCL": "#28431f",
"NMODL": "#00356B",
"NPM Config": "#cb3837", "NPM Config": "#cb3837",
"NWScript": "#111522", "NWScript": "#111522",
"Nasal": "#1d2c4e", "Nasal": "#1d2c4e",
@ -389,6 +395,7 @@ var LanguagesColor = map[string]string{
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"Pip Requirements": "#FFD343", "Pip Requirements": "#FFD343",
"Pkl": "#6b9543",
"PlantUML": "#fbbd16", "PlantUML": "#fbbd16",
"PogoScript": "#d80074", "PogoScript": "#d80074",
"Polar": "#ae81ff", "Polar": "#ae81ff",
@ -422,6 +429,7 @@ var LanguagesColor = map[string]string{
"RDoc": "#701516", "RDoc": "#701516",
"REXX": "#d90e09", "REXX": "#d90e09",
"RMarkdown": "#198ce7", "RMarkdown": "#198ce7",
"RON": "#a62c00",
"RPGLE": "#2BDE21", "RPGLE": "#2BDE21",
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#3c5caa", "Racket": "#3c5caa",
@ -572,6 +580,7 @@ var LanguagesColor = map[string]string{
"Zephir": "#118f9e", "Zephir": "#118f9e",
"Zig": "#ec915c", "Zig": "#ec915c",
"Zimpl": "#d67711", "Zimpl": "#d67711",
"crontab": "#ead7ac",
"eC": "#913960", "eC": "#913960",
"fish": "#4aae47", "fish": "#4aae47",
"hoon": "#00b171", "hoon": "#00b171",
@ -586,6 +595,7 @@ var LanguagesColor = map[string]string{
"q": "#0040cd", "q": "#0040cd",
"reStructuredText": "#141414", "reStructuredText": "#141414",
"sed": "#64b970", "sed": "#64b970",
"templ": "#66D0DD",
"wisp": "#7582D1", "wisp": "#7582D1",
"xBase": "#403a40", "xBase": "#403a40",
} }

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "4ac734c15a96f9e16fd12330d0cb8de82274f700" var LinguistCommit = "42fd3c2514375fc6ad281552368edd3fb9f6ee7f"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -1318,6 +1318,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
regex.MustCompileMultiline(`<!ENTITY `), regex.MustCompileMultiline(`<!ENTITY `),
), ),
rule.Or(
rule.MatchingLanguages("NMODL"),
regex.MustCompileMultiline(`\b(NEURON|INITIAL|UNITS)\b`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("Modula-2"), rule.MatchingLanguages("Modula-2"),
regex.MustCompileMultiline(`^\s*(?i:MODULE|END) [\w\.]+;`), regex.MustCompileMultiline(`^\s*(?i:MODULE|END) [\w\.]+;`),
@ -1427,6 +1431,15 @@ var ContentHeuristics = map[string]*Heuristics{
regex.MustCompileMultiline(`<\?[^h]`), regex.MustCompileMultiline(`<\?[^h]`),
), ),
}, },
".pkl": &Heuristics{
rule.Or(
rule.MatchingLanguages("Pkl"),
regex.MustCompileMultiline(`^\s*(module|import|amends|extends|local|const|fixed|abstract|open|class|typealias|@\w+)\b|^\s*[a-zA-Z0-9_$]+\s*(=|{|:)|^\s*`+"`"+`[^`+"`"+`]+`+"`"+`\s*(=|{|:)|for\s*\(|when\s*\(`),
),
rule.Always(
rule.MatchingLanguages("Pickle"),
),
},
".pl": &Heuristics{ ".pl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Prolog"), rule.MatchingLanguages("Prolog"),

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,11 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
var LanguagesByFilename = map[string][]string{ var LanguagesByFilename = map[string][]string{
".JUSTFILE": {"Just"},
".Justfile": {"Just"},
".Rprofile": {"R"}, ".Rprofile": {"R"},
".XCompose": {"XCompose"}, ".XCompose": {"XCompose"},
".abbrev_defs": {"Emacs Lisp"}, ".abbrev_defs": {"Emacs Lisp"},
@ -53,6 +55,7 @@ var LanguagesByFilename = map[string][]string{
".env.staging": {"Dotenv"}, ".env.staging": {"Dotenv"},
".env.test": {"Dotenv"}, ".env.test": {"Dotenv"},
".env.testing": {"Dotenv"}, ".env.testing": {"Dotenv"},
".envrc": {"Shell"},
".eslintignore": {"Ignore List"}, ".eslintignore": {"Ignore List"},
".eslintrc.json": {"JSON with Comments"}, ".eslintrc.json": {"JSON with Comments"},
".exrc": {"Vim Script"}, ".exrc": {"Vim Script"},
@ -78,6 +81,7 @@ var LanguagesByFilename = map[string][]string{
".jscsrc": {"JSON with Comments"}, ".jscsrc": {"JSON with Comments"},
".jshintrc": {"JSON with Comments"}, ".jshintrc": {"JSON with Comments"},
".jslintrc": {"JSON with Comments"}, ".jslintrc": {"JSON with Comments"},
".justfile": {"Just"},
".kshrc": {"Shell"}, ".kshrc": {"Shell"},
".latexmkrc": {"Perl"}, ".latexmkrc": {"Perl"},
".login": {"Shell"}, ".login": {"Shell"},
@ -141,9 +145,11 @@ var LanguagesByFilename = map[string][]string{
"COPYING": {"Text"}, "COPYING": {"Text"},
"COPYING.regex": {"Text"}, "COPYING.regex": {"Text"},
"COPYRIGHT.regex": {"Text"}, "COPYRIGHT.regex": {"Text"},
"Caddyfile": {"Caddyfile"},
"Cakefile": {"CoffeeScript"}, "Cakefile": {"CoffeeScript"},
"Capfile": {"Ruby"}, "Capfile": {"Ruby"},
"Cargo.lock": {"TOML"}, "Cargo.lock": {"TOML"},
"Cargo.toml.orig": {"TOML"},
"Cask": {"Emacs Lisp"}, "Cask": {"Emacs Lisp"},
"Containerfile": {"Dockerfile"}, "Containerfile": {"Dockerfile"},
"DEPS": {"Python"}, "DEPS": {"Python"},
@ -176,6 +182,7 @@ var LanguagesByFilename = map[string][]string{
"MANIFEST.MF": {"JAR Manifest"}, "MANIFEST.MF": {"JAR Manifest"},
"MD5SUMS": {"Checksums"}, "MD5SUMS": {"Checksums"},
"MODULE.bazel": {"Starlark"}, "MODULE.bazel": {"Starlark"},
"MODULE.bazel.lock": {"JSON"},
"Makefile": {"Makefile"}, "Makefile": {"Makefile"},
"Makefile.PL": {"Perl"}, "Makefile.PL": {"Perl"},
"Makefile.am": {"Makefile"}, "Makefile.am": {"Makefile"},
@ -254,6 +261,7 @@ var LanguagesByFilename = map[string][]string{
"configure.ac": {"M4Sugar"}, "configure.ac": {"M4Sugar"},
"contents.lr": {"Markdown"}, "contents.lr": {"Markdown"},
"cpanfile": {"Perl"}, "cpanfile": {"Perl"},
"crontab": {"crontab"},
"cshrc": {"Shell"}, "cshrc": {"Shell"},
"delete.me": {"Text"}, "delete.me": {"Text"},
"deno.lock": {"JSON"}, "deno.lock": {"JSON"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -40,6 +40,7 @@ var LanguagesGroup = map[string]string{
"JavaScript+ERB": "JavaScript", "JavaScript+ERB": "JavaScript",
"Jison": "Yacc", "Jison": "Yacc",
"Jison Lex": "Lex", "Jison Lex": "Lex",
"Julia REPL": "Julia",
"Lean 4": "Lean", "Lean 4": "Lean",
"LigoLANG": "LigoLANG", "LigoLANG": "LigoLANG",
"Literate Agda": "Agda", "Literate Agda": "Agda",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -73,6 +73,7 @@ var LanguagesByInterpreter = map[string][]string{
"lisp": {"Common Lisp"}, "lisp": {"Common Lisp"},
"lsl": {"LSL"}, "lsl": {"LSL"},
"lua": {"Lua", "Terra"}, "lua": {"Lua", "Terra"},
"luau": {"Luau"},
"macruby": {"Ruby"}, "macruby": {"Ruby"},
"make": {"Makefile"}, "make": {"Makefile"},
"makeinfo": {"Texinfo"}, "makeinfo": {"Texinfo"},
@ -103,6 +104,7 @@ var LanguagesByInterpreter = map[string][]string{
"picolisp": {"PicoLisp"}, "picolisp": {"PicoLisp"},
"pike": {"Pike"}, "pike": {"Pike"},
"pil": {"PicoLisp"}, "pil": {"PicoLisp"},
"pkl": {"Pkl"},
"pwsh": {"PowerShell"}, "pwsh": {"PowerShell"},
"py": {"Python"}, "py": {"Python"},
"pypy": {"Python"}, "pypy": {"Python"},
@ -146,6 +148,7 @@ var LanguagesByInterpreter = map[string][]string{
"tclsh": {"Tcl"}, "tclsh": {"Tcl"},
"tcsh": {"Tcsh"}, "tcsh": {"Tcsh"},
"ts-node": {"TypeScript"}, "ts-node": {"TypeScript"},
"tsx": {"TypeScript"},
"v8": {"JavaScript"}, "v8": {"JavaScript"},
"v8-shell": {"JavaScript"}, "v8-shell": {"JavaScript"},
"verit": {"SMT"}, "verit": {"SMT"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -134,6 +134,7 @@ var LanguagesMime = map[string]string{
"LiveScript": "text/x-livescript", "LiveScript": "text/x-livescript",
"LookML": "text/x-yaml", "LookML": "text/x-yaml",
"Lua": "text/x-lua", "Lua": "text/x-lua",
"Luau": "text/x-lua",
"M": "text/x-mumps", "M": "text/x-mumps",
"MATLAB": "text/x-octave", "MATLAB": "text/x-octave",
"MDX": "text/x-gfm", "MDX": "text/x-gfm",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700 // Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
package data package data
@ -90,6 +90,7 @@ var LanguagesType = map[string]int{
"Avro IDL": 1, "Avro IDL": 1,
"Awk": 2, "Awk": 2,
"BASIC": 2, "BASIC": 2,
"BQN": 2,
"Ballerina": 2, "Ballerina": 2,
"Batchfile": 2, "Batchfile": 2,
"Beef": 2, "Beef": 2,
@ -129,6 +130,7 @@ var LanguagesType = map[string]int{
"CUE": 2, "CUE": 2,
"CWeb": 2, "CWeb": 2,
"Cabal Config": 1, "Cabal Config": 1,
"Caddyfile": 1,
"Cadence": 2, "Cadence": 2,
"Cairo": 2, "Cairo": 2,
"CameLIGO": 2, "CameLIGO": 2,
@ -219,6 +221,7 @@ var LanguagesType = map[string]int{
"F#": 2, "F#": 2,
"F*": 2, "F*": 2,
"FIGlet Font": 1, "FIGlet Font": 1,
"FIRRTL": 2,
"FLUX": 2, "FLUX": 2,
"Factor": 2, "Factor": 2,
"Fancy": 2, "Fancy": 2,
@ -346,6 +349,7 @@ var LanguagesType = map[string]int{
"Jolie": 2, "Jolie": 2,
"Jsonnet": 2, "Jsonnet": 2,
"Julia": 2, "Julia": 2,
"Julia REPL": 2,
"Jupyter Notebook": 3, "Jupyter Notebook": 3,
"Just": 2, "Just": 2,
"KRL": 2, "KRL": 2,
@ -387,6 +391,7 @@ var LanguagesType = map[string]int{
"LookML": 2, "LookML": 2,
"LoomScript": 2, "LoomScript": 2,
"Lua": 2, "Lua": 2,
"Luau": 2,
"M": 2, "M": 2,
"M4": 2, "M4": 2,
"M4Sugar": 2, "M4Sugar": 2,
@ -436,6 +441,7 @@ var LanguagesType = map[string]int{
"NCL": 2, "NCL": 2,
"NEON": 1, "NEON": 1,
"NL": 1, "NL": 1,
"NMODL": 2,
"NPM Config": 1, "NPM Config": 1,
"NSIS": 2, "NSIS": 2,
"NWScript": 2, "NWScript": 2,
@ -510,6 +516,7 @@ var LanguagesType = map[string]int{
"PigLatin": 2, "PigLatin": 2,
"Pike": 2, "Pike": 2,
"Pip Requirements": 1, "Pip Requirements": 1,
"Pkl": 2,
"PlantUML": 1, "PlantUML": 1,
"Pod": 4, "Pod": 4,
"Pod 6": 4, "Pod 6": 4,
@ -553,6 +560,7 @@ var LanguagesType = map[string]int{
"REALbasic": 2, "REALbasic": 2,
"REXX": 2, "REXX": 2,
"RMarkdown": 4, "RMarkdown": 4,
"RON": 1,
"RPC": 2, "RPC": 2,
"RPGLE": 2, "RPGLE": 2,
"RPM Spec": 1, "RPM Spec": 1,
@ -746,6 +754,7 @@ var LanguagesType = map[string]int{
"Zig": 2, "Zig": 2,
"Zimpl": 2, "Zimpl": 2,
"cURL Config": 1, "cURL Config": 1,
"crontab": 1,
"desktop": 1, "desktop": 1,
"dircolors": 1, "dircolors": 1,
"eC": 2, "eC": 2,
@ -764,6 +773,7 @@ var LanguagesType = map[string]int{
"reStructuredText": 4, "reStructuredText": 4,
"robots.txt": 1, "robots.txt": 1,
"sed": 2, "sed": 2,
"templ": 3,
"wisp": 2, "wisp": 2,
"xBase": 2, "xBase": 2,
} }

View File

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