mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-12-04 15:50:35 +00:00
Merge pull request #182 from go-enry/feature/sync-linguist-4ac734c1
Update Linguist to v7.30.0
This commit is contained in:
commit
7e3a9a7241
@ -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.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:
|
||||
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -119,6 +119,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"boo": "Boo",
|
||||
"boogie": "Boogie",
|
||||
"bplus": "BlitzBasic",
|
||||
"bqn": "BQN",
|
||||
"brainfuck": "Brainfuck",
|
||||
"brighterscript": "BrighterScript",
|
||||
"brightscript": "Brightscript",
|
||||
@ -137,6 +138,8 @@ var LanguageByAliasMap = map[string]string{
|
||||
"c2hs_haskell": "C2hs Haskell",
|
||||
"cabal": "Cabal Config",
|
||||
"cabal_config": "Cabal Config",
|
||||
"caddy": "Caddyfile",
|
||||
"caddyfile": "Caddyfile",
|
||||
"cadence": "Cadence",
|
||||
"cairo": "Cairo",
|
||||
"cake": "C#",
|
||||
@ -197,6 +200,9 @@ var LanguageByAliasMap = map[string]string{
|
||||
"cpp": "C++",
|
||||
"cpp-objdump": "Cpp-ObjDump",
|
||||
"creole": "Creole",
|
||||
"cron": "crontab",
|
||||
"cron_table": "crontab",
|
||||
"crontab": "crontab",
|
||||
"crystal": "Crystal",
|
||||
"csharp": "C#",
|
||||
"cson": "CSON",
|
||||
@ -286,6 +292,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"email": "E-mail",
|
||||
"emberscript": "EmberScript",
|
||||
"eml": "E-mail",
|
||||
"envrc": "Shell",
|
||||
"eq": "EQ",
|
||||
"erb": "HTML+ERB",
|
||||
"erlang": "Erlang",
|
||||
@ -303,6 +310,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"figlet_font": "FIGlet Font",
|
||||
"filebench_wml": "Filebench WML",
|
||||
"filterscript": "Filterscript",
|
||||
"firrtl": "FIRRTL",
|
||||
"fish": "fish",
|
||||
"flex": "Lex",
|
||||
"fluent": "Fluent",
|
||||
@ -485,6 +493,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"jsonnet": "Jsonnet",
|
||||
"jsp": "Java Server Pages",
|
||||
"julia": "Julia",
|
||||
"julia_repl": "Julia REPL",
|
||||
"jupyter_notebook": "Jupyter Notebook",
|
||||
"just": "Just",
|
||||
"justfile": "Just",
|
||||
@ -542,6 +551,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"lsl": "LSL",
|
||||
"ltspice_symbol": "LTspice Symbol",
|
||||
"lua": "Lua",
|
||||
"luau": "Luau",
|
||||
"m": "M",
|
||||
"m2": "Macaulay2",
|
||||
"m4": "M4",
|
||||
@ -637,6 +647,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"nixos": "Nix",
|
||||
"njk": "Nunjucks",
|
||||
"nl": "NL",
|
||||
"nmodl": "NMODL",
|
||||
"node": "JavaScript",
|
||||
"npm_config": "NPM Config",
|
||||
"npmrc": "NPM Config",
|
||||
@ -730,6 +741,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"pike": "Pike",
|
||||
"pip_requirements": "Pip Requirements",
|
||||
"pir": "Parrot Internal Representation",
|
||||
"pkl": "Pkl",
|
||||
"plain_text": "Text",
|
||||
"plantuml": "PlantUML",
|
||||
"plpgsql": "PLpgSQL",
|
||||
@ -837,6 +849,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"roc": "Roc",
|
||||
"roff": "Roff",
|
||||
"roff_manpage": "Roff Manpage",
|
||||
"ron": "RON",
|
||||
"rouge": "Rouge",
|
||||
"routeros_script": "RouterOS Script",
|
||||
"rpc": "RPC",
|
||||
@ -941,6 +954,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"tcl": "Tcl",
|
||||
"tcsh": "Tcsh",
|
||||
"tea": "Tea",
|
||||
"templ": "templ",
|
||||
"terra": "Terra",
|
||||
"terraform": "HCL",
|
||||
"terraform_template": "Terraform Template",
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -45,6 +45,7 @@ var LanguagesColor = map[string]string{
|
||||
"Avro IDL": "#0040FF",
|
||||
"Awk": "#c30e9b",
|
||||
"BASIC": "#ff0000",
|
||||
"BQN": "#2b7067",
|
||||
"Ballerina": "#FF5000",
|
||||
"Batchfile": "#C1F12E",
|
||||
"Beef": "#a52f4e",
|
||||
@ -78,6 +79,7 @@ var LanguagesColor = map[string]string{
|
||||
"CUE": "#5886E1",
|
||||
"CWeb": "#00007a",
|
||||
"Cabal Config": "#483465",
|
||||
"Caddyfile": "#22b638",
|
||||
"Cadence": "#00ef8b",
|
||||
"Cairo": "#ff4a48",
|
||||
"CameLIGO": "#3be133",
|
||||
@ -150,6 +152,7 @@ var LanguagesColor = map[string]string{
|
||||
"F#": "#b845fc",
|
||||
"F*": "#572e30",
|
||||
"FIGlet Font": "#FFDDBB",
|
||||
"FIRRTL": "#2f632f",
|
||||
"FLUX": "#88ccff",
|
||||
"Factor": "#636746",
|
||||
"Fancy": "#7b9db4",
|
||||
@ -266,6 +269,7 @@ var LanguagesColor = map[string]string{
|
||||
"Jolie": "#843179",
|
||||
"Jsonnet": "#0064bd",
|
||||
"Julia": "#a270ba",
|
||||
"Julia REPL": "#a270ba",
|
||||
"Jupyter Notebook": "#DA5B0B",
|
||||
"Just": "#384d54",
|
||||
"KRL": "#28430A",
|
||||
@ -296,6 +300,7 @@ var LanguagesColor = map[string]string{
|
||||
"Logtalk": "#295b9a",
|
||||
"LookML": "#652B81",
|
||||
"Lua": "#000080",
|
||||
"Luau": "#00A2FF",
|
||||
"MATLAB": "#e16737",
|
||||
"MAXScript": "#00a6a6",
|
||||
"MDX": "#fcb32c",
|
||||
@ -329,6 +334,7 @@ var LanguagesColor = map[string]string{
|
||||
"Move": "#4a137a",
|
||||
"Mustache": "#724b3b",
|
||||
"NCL": "#28431f",
|
||||
"NMODL": "#00356B",
|
||||
"NPM Config": "#cb3837",
|
||||
"NWScript": "#111522",
|
||||
"Nasal": "#1d2c4e",
|
||||
@ -389,6 +395,7 @@ var LanguagesColor = map[string]string{
|
||||
"PigLatin": "#fcd7de",
|
||||
"Pike": "#005390",
|
||||
"Pip Requirements": "#FFD343",
|
||||
"Pkl": "#6b9543",
|
||||
"PlantUML": "#fbbd16",
|
||||
"PogoScript": "#d80074",
|
||||
"Polar": "#ae81ff",
|
||||
@ -422,6 +429,7 @@ var LanguagesColor = map[string]string{
|
||||
"RDoc": "#701516",
|
||||
"REXX": "#d90e09",
|
||||
"RMarkdown": "#198ce7",
|
||||
"RON": "#a62c00",
|
||||
"RPGLE": "#2BDE21",
|
||||
"RUNOFF": "#665a4e",
|
||||
"Racket": "#3c5caa",
|
||||
@ -572,6 +580,7 @@ var LanguagesColor = map[string]string{
|
||||
"Zephir": "#118f9e",
|
||||
"Zig": "#ec915c",
|
||||
"Zimpl": "#d67711",
|
||||
"crontab": "#ead7ac",
|
||||
"eC": "#913960",
|
||||
"fish": "#4aae47",
|
||||
"hoon": "#00b171",
|
||||
@ -586,6 +595,7 @@ var LanguagesColor = map[string]string{
|
||||
"q": "#0040cd",
|
||||
"reStructuredText": "#141414",
|
||||
"sed": "#64b970",
|
||||
"templ": "#66D0DD",
|
||||
"wisp": "#7582D1",
|
||||
"xBase": "#403a40",
|
||||
}
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
// linguist's commit from which files were generated.
|
||||
var LinguistCommit = "4ac734c15a96f9e16fd12330d0cb8de82274f700"
|
||||
var LinguistCommit = "42fd3c2514375fc6ad281552368edd3fb9f6ee7f"
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -1318,6 +1318,10 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
rule.MatchingLanguages("XML"),
|
||||
regex.MustCompileMultiline(`<!ENTITY `),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("NMODL"),
|
||||
regex.MustCompileMultiline(`\b(NEURON|INITIAL|UNITS)\b`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Modula-2"),
|
||||
regex.MustCompileMultiline(`^\s*(?i:MODULE|END) [\w\.]+;`),
|
||||
@ -1427,6 +1431,15 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
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{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Prolog"),
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
|
2734
data/extension.go
2734
data/extension.go
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,11 @@
|
||||
// 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
|
||||
|
||||
var LanguagesByFilename = map[string][]string{
|
||||
".JUSTFILE": {"Just"},
|
||||
".Justfile": {"Just"},
|
||||
".Rprofile": {"R"},
|
||||
".XCompose": {"XCompose"},
|
||||
".abbrev_defs": {"Emacs Lisp"},
|
||||
@ -53,6 +55,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".env.staging": {"Dotenv"},
|
||||
".env.test": {"Dotenv"},
|
||||
".env.testing": {"Dotenv"},
|
||||
".envrc": {"Shell"},
|
||||
".eslintignore": {"Ignore List"},
|
||||
".eslintrc.json": {"JSON with Comments"},
|
||||
".exrc": {"Vim Script"},
|
||||
@ -78,6 +81,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".jscsrc": {"JSON with Comments"},
|
||||
".jshintrc": {"JSON with Comments"},
|
||||
".jslintrc": {"JSON with Comments"},
|
||||
".justfile": {"Just"},
|
||||
".kshrc": {"Shell"},
|
||||
".latexmkrc": {"Perl"},
|
||||
".login": {"Shell"},
|
||||
@ -141,9 +145,11 @@ var LanguagesByFilename = map[string][]string{
|
||||
"COPYING": {"Text"},
|
||||
"COPYING.regex": {"Text"},
|
||||
"COPYRIGHT.regex": {"Text"},
|
||||
"Caddyfile": {"Caddyfile"},
|
||||
"Cakefile": {"CoffeeScript"},
|
||||
"Capfile": {"Ruby"},
|
||||
"Cargo.lock": {"TOML"},
|
||||
"Cargo.toml.orig": {"TOML"},
|
||||
"Cask": {"Emacs Lisp"},
|
||||
"Containerfile": {"Dockerfile"},
|
||||
"DEPS": {"Python"},
|
||||
@ -176,6 +182,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"MANIFEST.MF": {"JAR Manifest"},
|
||||
"MD5SUMS": {"Checksums"},
|
||||
"MODULE.bazel": {"Starlark"},
|
||||
"MODULE.bazel.lock": {"JSON"},
|
||||
"Makefile": {"Makefile"},
|
||||
"Makefile.PL": {"Perl"},
|
||||
"Makefile.am": {"Makefile"},
|
||||
@ -254,6 +261,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"configure.ac": {"M4Sugar"},
|
||||
"contents.lr": {"Markdown"},
|
||||
"cpanfile": {"Perl"},
|
||||
"crontab": {"crontab"},
|
||||
"cshrc": {"Shell"},
|
||||
"delete.me": {"Text"},
|
||||
"deno.lock": {"JSON"},
|
||||
|
10472
data/frequencies.go
10472
data/frequencies.go
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -40,6 +40,7 @@ var LanguagesGroup = map[string]string{
|
||||
"JavaScript+ERB": "JavaScript",
|
||||
"Jison": "Yacc",
|
||||
"Jison Lex": "Lex",
|
||||
"Julia REPL": "Julia",
|
||||
"Lean 4": "Lean",
|
||||
"LigoLANG": "LigoLANG",
|
||||
"Literate Agda": "Agda",
|
||||
|
12
data/id.go
12
data/id.go
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -48,6 +48,7 @@ var IDByLanguage = map[string]int{
|
||||
"Avro IDL": 785497837,
|
||||
"Awk": 28,
|
||||
"BASIC": 28923963,
|
||||
"BQN": 330386870,
|
||||
"Ballerina": 720859680,
|
||||
"Batchfile": 29,
|
||||
"Beef": 545626333,
|
||||
@ -87,6 +88,7 @@ var IDByLanguage = map[string]int{
|
||||
"CUE": 356063509,
|
||||
"CWeb": 657332628,
|
||||
"Cabal Config": 677095381,
|
||||
"Caddyfile": 615465151,
|
||||
"Cadence": 270184138,
|
||||
"Cairo": 620599567,
|
||||
"CameLIGO": 829207807,
|
||||
@ -177,6 +179,7 @@ var IDByLanguage = map[string]int{
|
||||
"F#": 105,
|
||||
"F*": 336943375,
|
||||
"FIGlet Font": 686129783,
|
||||
"FIRRTL": 906694254,
|
||||
"FLUX": 106,
|
||||
"Factor": 108,
|
||||
"Fancy": 109,
|
||||
@ -304,6 +307,7 @@ var IDByLanguage = map[string]int{
|
||||
"Jolie": 998078858,
|
||||
"Jsonnet": 664885656,
|
||||
"Julia": 184,
|
||||
"Julia REPL": 220689142,
|
||||
"Jupyter Notebook": 185,
|
||||
"Just": 128447695,
|
||||
"KRL": 186,
|
||||
@ -345,6 +349,7 @@ var IDByLanguage = map[string]int{
|
||||
"LookML": 211,
|
||||
"LoomScript": 212,
|
||||
"Lua": 213,
|
||||
"Luau": 365050359,
|
||||
"M": 214,
|
||||
"M4": 215,
|
||||
"M4Sugar": 216,
|
||||
@ -394,6 +399,7 @@ var IDByLanguage = map[string]int{
|
||||
"NCL": 240,
|
||||
"NEON": 481192983,
|
||||
"NL": 241,
|
||||
"NMODL": 136456478,
|
||||
"NPM Config": 685022663,
|
||||
"NSIS": 242,
|
||||
"NWScript": 731233819,
|
||||
@ -468,6 +474,7 @@ var IDByLanguage = map[string]int{
|
||||
"PigLatin": 286,
|
||||
"Pike": 287,
|
||||
"Pip Requirements": 684385621,
|
||||
"Pkl": 288822799,
|
||||
"PlantUML": 833504686,
|
||||
"Pod": 288,
|
||||
"Pod 6": 155357471,
|
||||
@ -511,6 +518,7 @@ var IDByLanguage = map[string]int{
|
||||
"REALbasic": 310,
|
||||
"REXX": 311,
|
||||
"RMarkdown": 313,
|
||||
"RON": 587855233,
|
||||
"RPC": 1031374237,
|
||||
"RPGLE": 609977990,
|
||||
"RPM Spec": 314,
|
||||
@ -704,6 +712,7 @@ var IDByLanguage = map[string]int{
|
||||
"Zig": 646424281,
|
||||
"Zimpl": 411,
|
||||
"cURL Config": 992375436,
|
||||
"crontab": 705203557,
|
||||
"desktop": 412,
|
||||
"dircolors": 691605112,
|
||||
"eC": 413,
|
||||
@ -722,6 +731,7 @@ var IDByLanguage = map[string]int{
|
||||
"reStructuredText": 419,
|
||||
"robots.txt": 674736065,
|
||||
"sed": 847830017,
|
||||
"templ": 795579337,
|
||||
"wisp": 420,
|
||||
"xBase": 421,
|
||||
}
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -73,6 +73,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||
"lisp": {"Common Lisp"},
|
||||
"lsl": {"LSL"},
|
||||
"lua": {"Lua", "Terra"},
|
||||
"luau": {"Luau"},
|
||||
"macruby": {"Ruby"},
|
||||
"make": {"Makefile"},
|
||||
"makeinfo": {"Texinfo"},
|
||||
@ -103,6 +104,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||
"picolisp": {"PicoLisp"},
|
||||
"pike": {"Pike"},
|
||||
"pil": {"PicoLisp"},
|
||||
"pkl": {"Pkl"},
|
||||
"pwsh": {"PowerShell"},
|
||||
"py": {"Python"},
|
||||
"pypy": {"Python"},
|
||||
@ -146,6 +148,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||
"tclsh": {"Tcl"},
|
||||
"tcsh": {"Tcsh"},
|
||||
"ts-node": {"TypeScript"},
|
||||
"tsx": {"TypeScript"},
|
||||
"v8": {"JavaScript"},
|
||||
"v8-shell": {"JavaScript"},
|
||||
"verit": {"SMT"},
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -975,6 +975,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "Ballerina",
|
||||
FSName: "",
|
||||
@ -1799,6 +1818,29 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "Cadence",
|
||||
FSName: "",
|
||||
@ -3743,6 +3785,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "FLUX",
|
||||
FSName: "",
|
||||
@ -5169,7 +5230,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "text/x-ruby",
|
||||
TMScope: "source.terraform",
|
||||
TMScope: "source.hcl",
|
||||
AceMode: "ruby",
|
||||
CodeMirrorMode: "ruby",
|
||||
Wrap: false,
|
||||
@ -6100,6 +6161,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
".tern-config",
|
||||
".tern-project",
|
||||
".watchmanconfig",
|
||||
"MODULE.bazel.lock",
|
||||
"Pipfile.lock",
|
||||
"composer.lock",
|
||||
"deno.lock",
|
||||
@ -6127,6 +6189,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
".code-snippets",
|
||||
".code-workspace",
|
||||
".sublime-build",
|
||||
".sublime-color-scheme",
|
||||
".sublime-commands",
|
||||
".sublime-completions",
|
||||
".sublime-keymap",
|
||||
@ -6569,6 +6632,23 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "Jupyter Notebook",
|
||||
FSName: "",
|
||||
@ -6601,9 +6681,14 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Aliases: []string{
|
||||
"Justfile",
|
||||
},
|
||||
Extensions: []string{},
|
||||
Extensions: []string{
|
||||
".just",
|
||||
},
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{
|
||||
".JUSTFILE",
|
||||
".Justfile",
|
||||
".justfile",
|
||||
"JUSTFILE",
|
||||
"Justfile",
|
||||
"justfile",
|
||||
@ -7427,6 +7512,27 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "M",
|
||||
FSName: "",
|
||||
@ -8474,6 +8580,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "NPM Config",
|
||||
FSName: "",
|
||||
@ -10063,6 +10188,27 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "PlantUML",
|
||||
FSName: "",
|
||||
@ -10989,6 +11135,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: true,
|
||||
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{
|
||||
Name: "RPC",
|
||||
FSName: "",
|
||||
@ -12356,6 +12521,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
"shell-script",
|
||||
"bash",
|
||||
"zsh",
|
||||
"envrc",
|
||||
},
|
||||
Extensions: []string{
|
||||
".sh",
|
||||
@ -12391,6 +12557,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
".bash_profile",
|
||||
".bashrc",
|
||||
".cshrc",
|
||||
".envrc",
|
||||
".flaskenv",
|
||||
".kshrc",
|
||||
".login",
|
||||
@ -13212,6 +13379,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{
|
||||
"Cargo.lock",
|
||||
"Cargo.toml.orig",
|
||||
"Gopkg.lock",
|
||||
"Pipfile",
|
||||
"pdm.lock",
|
||||
@ -13736,6 +13904,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Interpreters: []string{
|
||||
"deno",
|
||||
"ts-node",
|
||||
"tsx",
|
||||
},
|
||||
Filenames: []string{},
|
||||
MimeType: "application/typescript",
|
||||
@ -15346,6 +15515,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Aliases: []string{},
|
||||
Extensions: []string{
|
||||
".zig",
|
||||
".zig.zon",
|
||||
},
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
@ -15399,6 +15569,28 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "desktop",
|
||||
FSName: "",
|
||||
@ -15776,6 +15968,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
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{
|
||||
Name: "wisp",
|
||||
FSName: "",
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -134,6 +134,7 @@ var LanguagesMime = map[string]string{
|
||||
"LiveScript": "text/x-livescript",
|
||||
"LookML": "text/x-yaml",
|
||||
"Lua": "text/x-lua",
|
||||
"Luau": "text/x-lua",
|
||||
"M": "text/x-mumps",
|
||||
"MATLAB": "text/x-octave",
|
||||
"MDX": "text/x-gfm",
|
||||
|
12
data/type.go
12
data/type.go
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -90,6 +90,7 @@ var LanguagesType = map[string]int{
|
||||
"Avro IDL": 1,
|
||||
"Awk": 2,
|
||||
"BASIC": 2,
|
||||
"BQN": 2,
|
||||
"Ballerina": 2,
|
||||
"Batchfile": 2,
|
||||
"Beef": 2,
|
||||
@ -129,6 +130,7 @@ var LanguagesType = map[string]int{
|
||||
"CUE": 2,
|
||||
"CWeb": 2,
|
||||
"Cabal Config": 1,
|
||||
"Caddyfile": 1,
|
||||
"Cadence": 2,
|
||||
"Cairo": 2,
|
||||
"CameLIGO": 2,
|
||||
@ -219,6 +221,7 @@ var LanguagesType = map[string]int{
|
||||
"F#": 2,
|
||||
"F*": 2,
|
||||
"FIGlet Font": 1,
|
||||
"FIRRTL": 2,
|
||||
"FLUX": 2,
|
||||
"Factor": 2,
|
||||
"Fancy": 2,
|
||||
@ -346,6 +349,7 @@ var LanguagesType = map[string]int{
|
||||
"Jolie": 2,
|
||||
"Jsonnet": 2,
|
||||
"Julia": 2,
|
||||
"Julia REPL": 2,
|
||||
"Jupyter Notebook": 3,
|
||||
"Just": 2,
|
||||
"KRL": 2,
|
||||
@ -387,6 +391,7 @@ var LanguagesType = map[string]int{
|
||||
"LookML": 2,
|
||||
"LoomScript": 2,
|
||||
"Lua": 2,
|
||||
"Luau": 2,
|
||||
"M": 2,
|
||||
"M4": 2,
|
||||
"M4Sugar": 2,
|
||||
@ -436,6 +441,7 @@ var LanguagesType = map[string]int{
|
||||
"NCL": 2,
|
||||
"NEON": 1,
|
||||
"NL": 1,
|
||||
"NMODL": 2,
|
||||
"NPM Config": 1,
|
||||
"NSIS": 2,
|
||||
"NWScript": 2,
|
||||
@ -510,6 +516,7 @@ var LanguagesType = map[string]int{
|
||||
"PigLatin": 2,
|
||||
"Pike": 2,
|
||||
"Pip Requirements": 1,
|
||||
"Pkl": 2,
|
||||
"PlantUML": 1,
|
||||
"Pod": 4,
|
||||
"Pod 6": 4,
|
||||
@ -553,6 +560,7 @@ var LanguagesType = map[string]int{
|
||||
"REALbasic": 2,
|
||||
"REXX": 2,
|
||||
"RMarkdown": 4,
|
||||
"RON": 1,
|
||||
"RPC": 2,
|
||||
"RPGLE": 2,
|
||||
"RPM Spec": 1,
|
||||
@ -746,6 +754,7 @@ var LanguagesType = map[string]int{
|
||||
"Zig": 2,
|
||||
"Zimpl": 2,
|
||||
"cURL Config": 1,
|
||||
"crontab": 1,
|
||||
"desktop": 1,
|
||||
"dircolors": 1,
|
||||
"eC": 2,
|
||||
@ -764,6 +773,7 @@ var LanguagesType = map[string]int{
|
||||
"reStructuredText": 4,
|
||||
"robots.txt": 1,
|
||||
"sed": 2,
|
||||
"templ": 3,
|
||||
"wisp": 2,
|
||||
"xBase": 2,
|
||||
}
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
|
@ -21,7 +21,7 @@ import (
|
||||
var (
|
||||
linguistClonedEnvVar = "ENRY_TEST_REPO"
|
||||
linguistURL = "https://github.com/github/linguist.git"
|
||||
commit = "4ac734c15a96f9e16fd12330d0cb8de82274f700"
|
||||
commit = "42fd3c2514375fc6ad281552368edd3fb9f6ee7f"
|
||||
samplesDir = "samples"
|
||||
languagesFile = filepath.Join("lib", "linguist", "languages.yml")
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -119,6 +119,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"boo": "Boo",
|
||||
"boogie": "Boogie",
|
||||
"bplus": "BlitzBasic",
|
||||
"bqn": "BQN",
|
||||
"brainfuck": "Brainfuck",
|
||||
"brighterscript": "BrighterScript",
|
||||
"brightscript": "Brightscript",
|
||||
@ -137,6 +138,8 @@ var LanguageByAliasMap = map[string]string{
|
||||
"c2hs_haskell": "C2hs Haskell",
|
||||
"cabal": "Cabal Config",
|
||||
"cabal_config": "Cabal Config",
|
||||
"caddy": "Caddyfile",
|
||||
"caddyfile": "Caddyfile",
|
||||
"cadence": "Cadence",
|
||||
"cairo": "Cairo",
|
||||
"cake": "C#",
|
||||
@ -197,6 +200,9 @@ var LanguageByAliasMap = map[string]string{
|
||||
"cpp": "C++",
|
||||
"cpp-objdump": "Cpp-ObjDump",
|
||||
"creole": "Creole",
|
||||
"cron": "crontab",
|
||||
"cron_table": "crontab",
|
||||
"crontab": "crontab",
|
||||
"crystal": "Crystal",
|
||||
"csharp": "C#",
|
||||
"cson": "CSON",
|
||||
@ -286,6 +292,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"email": "E-mail",
|
||||
"emberscript": "EmberScript",
|
||||
"eml": "E-mail",
|
||||
"envrc": "Shell",
|
||||
"eq": "EQ",
|
||||
"erb": "HTML+ERB",
|
||||
"erlang": "Erlang",
|
||||
@ -303,6 +310,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"figlet_font": "FIGlet Font",
|
||||
"filebench_wml": "Filebench WML",
|
||||
"filterscript": "Filterscript",
|
||||
"firrtl": "FIRRTL",
|
||||
"fish": "fish",
|
||||
"flex": "Lex",
|
||||
"fluent": "Fluent",
|
||||
@ -485,6 +493,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"jsonnet": "Jsonnet",
|
||||
"jsp": "Java Server Pages",
|
||||
"julia": "Julia",
|
||||
"julia_repl": "Julia REPL",
|
||||
"jupyter_notebook": "Jupyter Notebook",
|
||||
"just": "Just",
|
||||
"justfile": "Just",
|
||||
@ -542,6 +551,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"lsl": "LSL",
|
||||
"ltspice_symbol": "LTspice Symbol",
|
||||
"lua": "Lua",
|
||||
"luau": "Luau",
|
||||
"m": "M",
|
||||
"m2": "Macaulay2",
|
||||
"m4": "M4",
|
||||
@ -637,6 +647,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"nixos": "Nix",
|
||||
"njk": "Nunjucks",
|
||||
"nl": "NL",
|
||||
"nmodl": "NMODL",
|
||||
"node": "JavaScript",
|
||||
"npm_config": "NPM Config",
|
||||
"npmrc": "NPM Config",
|
||||
@ -730,6 +741,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"pike": "Pike",
|
||||
"pip_requirements": "Pip Requirements",
|
||||
"pir": "Parrot Internal Representation",
|
||||
"pkl": "Pkl",
|
||||
"plain_text": "Text",
|
||||
"plantuml": "PlantUML",
|
||||
"plpgsql": "PLpgSQL",
|
||||
@ -837,6 +849,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"roc": "Roc",
|
||||
"roff": "Roff",
|
||||
"roff_manpage": "Roff Manpage",
|
||||
"ron": "RON",
|
||||
"rouge": "Rouge",
|
||||
"routeros_script": "RouterOS Script",
|
||||
"rpc": "RPC",
|
||||
@ -941,6 +954,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"tcl": "Tcl",
|
||||
"tcsh": "Tcsh",
|
||||
"tea": "Tea",
|
||||
"templ": "templ",
|
||||
"terra": "Terra",
|
||||
"terraform": "HCL",
|
||||
"terraform_template": "Terraform Template",
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -45,6 +45,7 @@ var LanguagesColor = map[string]string{
|
||||
"Avro IDL": "#0040FF",
|
||||
"Awk": "#c30e9b",
|
||||
"BASIC": "#ff0000",
|
||||
"BQN": "#2b7067",
|
||||
"Ballerina": "#FF5000",
|
||||
"Batchfile": "#C1F12E",
|
||||
"Beef": "#a52f4e",
|
||||
@ -78,6 +79,7 @@ var LanguagesColor = map[string]string{
|
||||
"CUE": "#5886E1",
|
||||
"CWeb": "#00007a",
|
||||
"Cabal Config": "#483465",
|
||||
"Caddyfile": "#22b638",
|
||||
"Cadence": "#00ef8b",
|
||||
"Cairo": "#ff4a48",
|
||||
"CameLIGO": "#3be133",
|
||||
@ -150,6 +152,7 @@ var LanguagesColor = map[string]string{
|
||||
"F#": "#b845fc",
|
||||
"F*": "#572e30",
|
||||
"FIGlet Font": "#FFDDBB",
|
||||
"FIRRTL": "#2f632f",
|
||||
"FLUX": "#88ccff",
|
||||
"Factor": "#636746",
|
||||
"Fancy": "#7b9db4",
|
||||
@ -266,6 +269,7 @@ var LanguagesColor = map[string]string{
|
||||
"Jolie": "#843179",
|
||||
"Jsonnet": "#0064bd",
|
||||
"Julia": "#a270ba",
|
||||
"Julia REPL": "#a270ba",
|
||||
"Jupyter Notebook": "#DA5B0B",
|
||||
"Just": "#384d54",
|
||||
"KRL": "#28430A",
|
||||
@ -296,6 +300,7 @@ var LanguagesColor = map[string]string{
|
||||
"Logtalk": "#295b9a",
|
||||
"LookML": "#652B81",
|
||||
"Lua": "#000080",
|
||||
"Luau": "#00A2FF",
|
||||
"MATLAB": "#e16737",
|
||||
"MAXScript": "#00a6a6",
|
||||
"MDX": "#fcb32c",
|
||||
@ -329,6 +334,7 @@ var LanguagesColor = map[string]string{
|
||||
"Move": "#4a137a",
|
||||
"Mustache": "#724b3b",
|
||||
"NCL": "#28431f",
|
||||
"NMODL": "#00356B",
|
||||
"NPM Config": "#cb3837",
|
||||
"NWScript": "#111522",
|
||||
"Nasal": "#1d2c4e",
|
||||
@ -389,6 +395,7 @@ var LanguagesColor = map[string]string{
|
||||
"PigLatin": "#fcd7de",
|
||||
"Pike": "#005390",
|
||||
"Pip Requirements": "#FFD343",
|
||||
"Pkl": "#6b9543",
|
||||
"PlantUML": "#fbbd16",
|
||||
"PogoScript": "#d80074",
|
||||
"Polar": "#ae81ff",
|
||||
@ -422,6 +429,7 @@ var LanguagesColor = map[string]string{
|
||||
"RDoc": "#701516",
|
||||
"REXX": "#d90e09",
|
||||
"RMarkdown": "#198ce7",
|
||||
"RON": "#a62c00",
|
||||
"RPGLE": "#2BDE21",
|
||||
"RUNOFF": "#665a4e",
|
||||
"Racket": "#3c5caa",
|
||||
@ -572,6 +580,7 @@ var LanguagesColor = map[string]string{
|
||||
"Zephir": "#118f9e",
|
||||
"Zig": "#ec915c",
|
||||
"Zimpl": "#d67711",
|
||||
"crontab": "#ead7ac",
|
||||
"eC": "#913960",
|
||||
"fish": "#4aae47",
|
||||
"hoon": "#00b171",
|
||||
@ -586,6 +595,7 @@ var LanguagesColor = map[string]string{
|
||||
"q": "#0040cd",
|
||||
"reStructuredText": "#141414",
|
||||
"sed": "#64b970",
|
||||
"templ": "#66D0DD",
|
||||
"wisp": "#7582D1",
|
||||
"xBase": "#403a40",
|
||||
}
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
// linguist's commit from which files were generated.
|
||||
var LinguistCommit = "4ac734c15a96f9e16fd12330d0cb8de82274f700"
|
||||
var LinguistCommit = "42fd3c2514375fc6ad281552368edd3fb9f6ee7f"
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -1318,6 +1318,10 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
rule.MatchingLanguages("XML"),
|
||||
regex.MustCompileMultiline(`<!ENTITY `),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("NMODL"),
|
||||
regex.MustCompileMultiline(`\b(NEURON|INITIAL|UNITS)\b`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Modula-2"),
|
||||
regex.MustCompileMultiline(`^\s*(?i:MODULE|END) [\w\.]+;`),
|
||||
@ -1427,6 +1431,15 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
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{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Prolog"),
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,11 @@
|
||||
// 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
|
||||
|
||||
var LanguagesByFilename = map[string][]string{
|
||||
".JUSTFILE": {"Just"},
|
||||
".Justfile": {"Just"},
|
||||
".Rprofile": {"R"},
|
||||
".XCompose": {"XCompose"},
|
||||
".abbrev_defs": {"Emacs Lisp"},
|
||||
@ -53,6 +55,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".env.staging": {"Dotenv"},
|
||||
".env.test": {"Dotenv"},
|
||||
".env.testing": {"Dotenv"},
|
||||
".envrc": {"Shell"},
|
||||
".eslintignore": {"Ignore List"},
|
||||
".eslintrc.json": {"JSON with Comments"},
|
||||
".exrc": {"Vim Script"},
|
||||
@ -78,6 +81,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
".jscsrc": {"JSON with Comments"},
|
||||
".jshintrc": {"JSON with Comments"},
|
||||
".jslintrc": {"JSON with Comments"},
|
||||
".justfile": {"Just"},
|
||||
".kshrc": {"Shell"},
|
||||
".latexmkrc": {"Perl"},
|
||||
".login": {"Shell"},
|
||||
@ -141,9 +145,11 @@ var LanguagesByFilename = map[string][]string{
|
||||
"COPYING": {"Text"},
|
||||
"COPYING.regex": {"Text"},
|
||||
"COPYRIGHT.regex": {"Text"},
|
||||
"Caddyfile": {"Caddyfile"},
|
||||
"Cakefile": {"CoffeeScript"},
|
||||
"Capfile": {"Ruby"},
|
||||
"Cargo.lock": {"TOML"},
|
||||
"Cargo.toml.orig": {"TOML"},
|
||||
"Cask": {"Emacs Lisp"},
|
||||
"Containerfile": {"Dockerfile"},
|
||||
"DEPS": {"Python"},
|
||||
@ -176,6 +182,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"MANIFEST.MF": {"JAR Manifest"},
|
||||
"MD5SUMS": {"Checksums"},
|
||||
"MODULE.bazel": {"Starlark"},
|
||||
"MODULE.bazel.lock": {"JSON"},
|
||||
"Makefile": {"Makefile"},
|
||||
"Makefile.PL": {"Perl"},
|
||||
"Makefile.am": {"Makefile"},
|
||||
@ -254,6 +261,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"configure.ac": {"M4Sugar"},
|
||||
"contents.lr": {"Markdown"},
|
||||
"cpanfile": {"Perl"},
|
||||
"crontab": {"crontab"},
|
||||
"cshrc": {"Shell"},
|
||||
"delete.me": {"Text"},
|
||||
"deno.lock": {"JSON"},
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -40,6 +40,7 @@ var LanguagesGroup = map[string]string{
|
||||
"JavaScript+ERB": "JavaScript",
|
||||
"Jison": "Yacc",
|
||||
"Jison Lex": "Lex",
|
||||
"Julia REPL": "Julia",
|
||||
"Lean 4": "Lean",
|
||||
"LigoLANG": "LigoLANG",
|
||||
"Literate Agda": "Agda",
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -73,6 +73,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||
"lisp": {"Common Lisp"},
|
||||
"lsl": {"LSL"},
|
||||
"lua": {"Lua", "Terra"},
|
||||
"luau": {"Luau"},
|
||||
"macruby": {"Ruby"},
|
||||
"make": {"Makefile"},
|
||||
"makeinfo": {"Texinfo"},
|
||||
@ -103,6 +104,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||
"picolisp": {"PicoLisp"},
|
||||
"pike": {"Pike"},
|
||||
"pil": {"PicoLisp"},
|
||||
"pkl": {"Pkl"},
|
||||
"pwsh": {"PowerShell"},
|
||||
"py": {"Python"},
|
||||
"pypy": {"Python"},
|
||||
@ -146,6 +148,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||
"tclsh": {"Tcl"},
|
||||
"tcsh": {"Tcsh"},
|
||||
"ts-node": {"TypeScript"},
|
||||
"tsx": {"TypeScript"},
|
||||
"v8": {"JavaScript"},
|
||||
"v8-shell": {"JavaScript"},
|
||||
"verit": {"SMT"},
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -134,6 +134,7 @@ var LanguagesMime = map[string]string{
|
||||
"LiveScript": "text/x-livescript",
|
||||
"LookML": "text/x-yaml",
|
||||
"Lua": "text/x-lua",
|
||||
"Luau": "text/x-lua",
|
||||
"M": "text/x-mumps",
|
||||
"MATLAB": "text/x-octave",
|
||||
"MDX": "text/x-gfm",
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
@ -90,6 +90,7 @@ var LanguagesType = map[string]int{
|
||||
"Avro IDL": 1,
|
||||
"Awk": 2,
|
||||
"BASIC": 2,
|
||||
"BQN": 2,
|
||||
"Ballerina": 2,
|
||||
"Batchfile": 2,
|
||||
"Beef": 2,
|
||||
@ -129,6 +130,7 @@ var LanguagesType = map[string]int{
|
||||
"CUE": 2,
|
||||
"CWeb": 2,
|
||||
"Cabal Config": 1,
|
||||
"Caddyfile": 1,
|
||||
"Cadence": 2,
|
||||
"Cairo": 2,
|
||||
"CameLIGO": 2,
|
||||
@ -219,6 +221,7 @@ var LanguagesType = map[string]int{
|
||||
"F#": 2,
|
||||
"F*": 2,
|
||||
"FIGlet Font": 1,
|
||||
"FIRRTL": 2,
|
||||
"FLUX": 2,
|
||||
"Factor": 2,
|
||||
"Fancy": 2,
|
||||
@ -346,6 +349,7 @@ var LanguagesType = map[string]int{
|
||||
"Jolie": 2,
|
||||
"Jsonnet": 2,
|
||||
"Julia": 2,
|
||||
"Julia REPL": 2,
|
||||
"Jupyter Notebook": 3,
|
||||
"Just": 2,
|
||||
"KRL": 2,
|
||||
@ -387,6 +391,7 @@ var LanguagesType = map[string]int{
|
||||
"LookML": 2,
|
||||
"LoomScript": 2,
|
||||
"Lua": 2,
|
||||
"Luau": 2,
|
||||
"M": 2,
|
||||
"M4": 2,
|
||||
"M4Sugar": 2,
|
||||
@ -436,6 +441,7 @@ var LanguagesType = map[string]int{
|
||||
"NCL": 2,
|
||||
"NEON": 1,
|
||||
"NL": 1,
|
||||
"NMODL": 2,
|
||||
"NPM Config": 1,
|
||||
"NSIS": 2,
|
||||
"NWScript": 2,
|
||||
@ -510,6 +516,7 @@ var LanguagesType = map[string]int{
|
||||
"PigLatin": 2,
|
||||
"Pike": 2,
|
||||
"Pip Requirements": 1,
|
||||
"Pkl": 2,
|
||||
"PlantUML": 1,
|
||||
"Pod": 4,
|
||||
"Pod 6": 4,
|
||||
@ -553,6 +560,7 @@ var LanguagesType = map[string]int{
|
||||
"REALbasic": 2,
|
||||
"REXX": 2,
|
||||
"RMarkdown": 4,
|
||||
"RON": 1,
|
||||
"RPC": 2,
|
||||
"RPGLE": 2,
|
||||
"RPM Spec": 1,
|
||||
@ -746,6 +754,7 @@ var LanguagesType = map[string]int{
|
||||
"Zig": 2,
|
||||
"Zimpl": 2,
|
||||
"cURL Config": 1,
|
||||
"crontab": 1,
|
||||
"desktop": 1,
|
||||
"dircolors": 1,
|
||||
"eC": 2,
|
||||
@ -764,6 +773,7 @@ var LanguagesType = map[string]int{
|
||||
"reStructuredText": 4,
|
||||
"robots.txt": 1,
|
||||
"sed": 2,
|
||||
"templ": 3,
|
||||
"wisp": 2,
|
||||
"xBase": 2,
|
||||
}
|
||||
|
@ -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: 4ac734c15a96f9e16fd12330d0cb8de82274f700
|
||||
// Extracted from github/linguist commit: 42fd3c2514375fc6ad281552368edd3fb9f6ee7f
|
||||
|
||||
package data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user