Merge pull request #234 from lafriks/feat/update_linguist

Sync to linguist v7.5.1
This commit is contained in:
Alexander 2019-08-06 17:16:57 +02:00 committed by GitHub
commit f608f8d773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 240502 additions and 227816 deletions

View File

@ -161,7 +161,7 @@ Generated Python bindings using a C shared library and cffi are not available ye
Divergences from linguist Divergences from linguist
------------ ------------
The `enry` library is based on the data from `github/linguist` version **v7.2.0**. The `enry` library is based on the data from `github/linguist` version **v7.5.1**.
As opposed to linguist, `enry` [CLI tool](#cli) does *not* require a full Git repository in the filesystem in order to report languages. As opposed to linguist, `enry` [CLI tool](#cli) does *not* require a full Git repository in the filesystem in order to report languages.
@ -169,6 +169,8 @@ Parsing [linguist/samples](https://github.com/github/linguist/tree/master/sample
* [Heuristics for ".es" extension](https://github.com/github/linguist/blob/e761f9b013e5b61161481fcb898b59721ee40e3d/lib/linguist/heuristics.yml#L103) in JavaScript could not be parsed, due to unsupported backreference in RE2 regexp engine. * [Heuristics for ".es" extension](https://github.com/github/linguist/blob/e761f9b013e5b61161481fcb898b59721ee40e3d/lib/linguist/heuristics.yml#L103) in JavaScript could not be parsed, due to unsupported backreference in RE2 regexp engine.
* [Heuristics for ".rno" extension](https://github.com/github/linguist/blob/3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d/lib/linguist/heuristics.yml#L365) in RUNOFF could not be parsed, due to unsupported lookahead in RE2 regexp engine.
* As of [Linguist v5.3.2](https://github.com/github/linguist/releases/tag/v5.3.2) it is using [flex-based scanner in C for tokenization](https://github.com/github/linguist/pull/3846). Enry still uses [extract_token](https://github.com/github/linguist/pull/3846/files#diff-d5179df0b71620e3fac4535cd1368d15L60) regex-based algorithm. See [#193](https://github.com/src-d/enry/issues/193). * As of [Linguist v5.3.2](https://github.com/github/linguist/releases/tag/v5.3.2) it is using [flex-based scanner in C for tokenization](https://github.com/github/linguist/pull/3846). Enry still uses [extract_token](https://github.com/github/linguist/pull/3846/files#diff-d5179df0b71620e3fac4535cd1368d15L60) regex-based algorithm. See [#193](https://github.com/src-d/enry/issues/193).
* Bayesian classifier can't distinguish "SQL" from "PLpgSQL. See [#194](https://github.com/src-d/enry/issues/194). * Bayesian classifier can't distinguish "SQL" from "PLpgSQL. See [#194](https://github.com/src-d/enry/issues/194).

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -32,6 +32,8 @@ var LanguageByAliasMap = map[string]string{
"ahk": "AutoHotkey", "ahk": "AutoHotkey",
"alloy": "Alloy", "alloy": "Alloy",
"alpine_abuild": "Alpine Abuild", "alpine_abuild": "Alpine Abuild",
"altium": "Altium Designer",
"altium_designer": "Altium Designer",
"amfm": "Adobe Font Metrics", "amfm": "Adobe Font Metrics",
"ampl": "AMPL", "ampl": "AMPL",
"angelscript": "AngelScript", "angelscript": "AngelScript",
@ -88,7 +90,7 @@ var LanguageByAliasMap = map[string]string{
"bplus": "BlitzBasic", "bplus": "BlitzBasic",
"brainfuck": "Brainfuck", "brainfuck": "Brainfuck",
"brightscript": "Brightscript", "brightscript": "Brightscript",
"bro": "Bro", "bro": "Zeek",
"bsdmake": "Makefile", "bsdmake": "Makefile",
"byond": "DM", "byond": "DM",
"c": "C", "c": "C",
@ -98,6 +100,8 @@ var LanguageByAliasMap = map[string]string{
"c-objdump": "C-ObjDump", "c-objdump": "C-ObjDump",
"c2hs": "C2hs Haskell", "c2hs": "C2hs Haskell",
"c2hs_haskell": "C2hs Haskell", "c2hs_haskell": "C2hs Haskell",
"cabal": "Cabal Config",
"cabal_config": "Cabal Config",
"cap'n_proto": "Cap'n Proto", "cap'n_proto": "Cap'n Proto",
"carto": "CartoCSS", "carto": "CartoCSS",
"cartocss": "CartoCSS", "cartocss": "CartoCSS",
@ -165,6 +169,7 @@ var LanguageByAliasMap = map[string]string{
"dcl": "DIGITAL Command Language", "dcl": "DIGITAL Command Language",
"delphi": "Component Pascal", "delphi": "Component Pascal",
"desktop": "desktop", "desktop": "desktop",
"dhall": "Dhall",
"diff": "Diff", "diff": "Diff",
"digital_command_language": "DIGITAL Command Language", "digital_command_language": "DIGITAL Command Language",
"django": "HTML+Django", "django": "HTML+Django",
@ -187,6 +192,8 @@ var LanguageByAliasMap = map[string]string{
"ecl": "ECL", "ecl": "ECL",
"eclipse": "ECLiPSe", "eclipse": "ECLiPSe",
"ecr": "HTML+ECR", "ecr": "HTML+ECR",
"editor-config": "EditorConfig",
"editorconfig": "EditorConfig",
"edje_data_collection": "Edje Data Collection", "edje_data_collection": "Edje Data Collection",
"edn": "edn", "edn": "edn",
"eeschema_schematic": "KiCad Schematic", "eeschema_schematic": "KiCad Schematic",
@ -277,6 +284,7 @@ var LanguageByAliasMap = map[string]string{
"hcl": "HCL", "hcl": "HCL",
"hiveql": "HiveQL", "hiveql": "HiveQL",
"hlsl": "HLSL", "hlsl": "HLSL",
"holyc": "HolyC",
"html": "HTML", "html": "HTML",
"html+django": "HTML+Django", "html+django": "HTML+Django",
"html+django/jinja": "HTML+Django", "html+django/jinja": "HTML+Django",
@ -322,6 +330,7 @@ var LanguageByAliasMap = map[string]string{
"java_server_page": "Groovy Server Pages", "java_server_page": "Groovy Server Pages",
"java_server_pages": "Java Server Pages", "java_server_pages": "Java Server Pages",
"javascript": "JavaScript", "javascript": "JavaScript",
"javascript+erb": "JavaScript+ERB",
"jflex": "JFlex", "jflex": "JFlex",
"jison": "Jison", "jison": "Jison",
"jison_lex": "Jison Lex", "jison_lex": "Jison Lex",
@ -334,6 +343,7 @@ var LanguageByAliasMap = map[string]string{
"jsonc": "JSON with Comments", "jsonc": "JSON with Comments",
"jsoniq": "JSONiq", "jsoniq": "JSONiq",
"jsonld": "JSONLD", "jsonld": "JSONLD",
"jsonnet": "Jsonnet",
"jsp": "Java Server Pages", "jsp": "Java Server Pages",
"jsx": "JSX", "jsx": "JSX",
"julia": "Julia", "julia": "Julia",
@ -399,6 +409,7 @@ var LanguageByAliasMap = map[string]string{
"max/msp": "Max", "max/msp": "Max",
"maxmsp": "Max", "maxmsp": "Max",
"maxscript": "MAXScript", "maxscript": "MAXScript",
"mcfunction": "mcfunction",
"mdoc": "Roff", "mdoc": "Roff",
"mediawiki": "MediaWiki", "mediawiki": "MediaWiki",
"mercury": "Mercury", "mercury": "Mercury",
@ -415,6 +426,7 @@ var LanguageByAliasMap = map[string]string{
"monkey": "Monkey", "monkey": "Monkey",
"moocode": "Moocode", "moocode": "Moocode",
"moonscript": "MoonScript", "moonscript": "MoonScript",
"motorola_68k_assembly": "Motorola 68K Assembly",
"mql4": "MQL4", "mql4": "MQL4",
"mql5": "MQL5", "mql5": "MQL5",
"mtml": "MTML", "mtml": "MTML",
@ -463,6 +475,7 @@ var LanguageByAliasMap = map[string]string{
"objectivec++": "Objective-C++", "objectivec++": "Objective-C++",
"objectivej": "Objective-J", "objectivej": "Objective-J",
"objectpascal": "Component Pascal", "objectpascal": "Component Pascal",
"objectscript": "ObjectScript",
"objj": "Objective-J", "objj": "Objective-J",
"ocaml": "OCaml", "ocaml": "OCaml",
"octave": "MATLAB", "octave": "MATLAB",
@ -574,6 +587,7 @@ var LanguageByAliasMap = map[string]string{
"restructuredtext": "reStructuredText", "restructuredtext": "reStructuredText",
"rexx": "REXX", "rexx": "REXX",
"rhtml": "RHTML", "rhtml": "RHTML",
"rich_text_format": "Rich Text Format",
"ring": "Ring", "ring": "Ring",
"rmarkdown": "RMarkdown", "rmarkdown": "RMarkdown",
"robotframework": "RobotFramework", "robotframework": "RobotFramework",
@ -633,6 +647,7 @@ var LanguageByAliasMap = map[string]string{
"squeak": "Smalltalk", "squeak": "Smalltalk",
"squirrel": "Squirrel", "squirrel": "Squirrel",
"srecode_template": "SRecode Template", "srecode_template": "SRecode Template",
"ssh_config": "SSH Config",
"stan": "Stan", "stan": "Stan",
"standard_ml": "Standard ML", "standard_ml": "Standard ML",
"stata": "Stata", "stata": "Stata",
@ -641,6 +656,7 @@ var LanguageByAliasMap = map[string]string{
"subrip_text": "SubRip Text", "subrip_text": "SubRip Text",
"sugarss": "SugarSS", "sugarss": "SugarSS",
"supercollider": "SuperCollider", "supercollider": "SuperCollider",
"svelte": "Svelte",
"svg": "SVG", "svg": "SVG",
"swift": "Swift", "swift": "Swift",
"systemverilog": "SystemVerilog", "systemverilog": "SystemVerilog",
@ -659,6 +675,8 @@ var LanguageByAliasMap = map[string]string{
"toml": "TOML", "toml": "TOML",
"troff": "Roff", "troff": "Roff",
"ts": "TypeScript", "ts": "TypeScript",
"tsql": "TSQL",
"tsx": "TSX",
"turing": "Turing", "turing": "Turing",
"turtle": "Turtle", "turtle": "Turtle",
"twig": "Twig", "twig": "Twig",
@ -694,9 +712,11 @@ var LanguageByAliasMap = map[string]string{
"web_ontology_language": "Web Ontology Language", "web_ontology_language": "Web Ontology Language",
"webassembly": "WebAssembly", "webassembly": "WebAssembly",
"webidl": "WebIDL", "webidl": "WebIDL",
"webvtt": "WebVTT",
"winbatch": "Batchfile", "winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries", "windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp", "wisp": "wisp",
"wollok": "Wollok",
"world_of_warcraft_addon_data": "World of Warcraft Addon Data", "world_of_warcraft_addon_data": "World of Warcraft Addon Data",
"wsdl": "XML", "wsdl": "XML",
"x10": "X10", "x10": "X10",
@ -730,8 +750,12 @@ var LanguageByAliasMap = map[string]string{
"yas": "YASnippet", "yas": "YASnippet",
"yasnippet": "YASnippet", "yasnippet": "YASnippet",
"yml": "YAML", "yml": "YAML",
"zap": "ZAP",
"zeek": "Zeek",
"zenscript": "ZenScript",
"zephir": "Zephir", "zephir": "Zephir",
"zig": "Zig", "zig": "Zig",
"zil": "ZIL",
"zimpl": "Zimpl", "zimpl": "Zimpl",
"zsh": "Shell", "zsh": "Shell",
} }

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -52,6 +52,7 @@ var LanguagesColor = map[string]string{
"DM": "#447265", "DM": "#447265",
"Dart": "#00B4AB", "Dart": "#00B4AB",
"DataWeave": "#003a52", "DataWeave": "#003a52",
"Dhall": "#dfafff",
"Dockerfile": "#384d54", "Dockerfile": "#384d54",
"Dogescript": "#cca760", "Dogescript": "#cca760",
"Dylan": "#6c616e", "Dylan": "#6c616e",
@ -74,6 +75,7 @@ var LanguagesColor = map[string]string{
"Fortran": "#4d41b1", "Fortran": "#4d41b1",
"FreeMarker": "#0050b2", "FreeMarker": "#0050b2",
"Frege": "#00cafe", "Frege": "#00cafe",
"G-code": "#D08CF2",
"GDScript": "#355570", "GDScript": "#355570",
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Genie": "#fb855d", "Genie": "#fb855d",
@ -91,6 +93,7 @@ var LanguagesColor = map[string]string{
"Haskell": "#5e5086", "Haskell": "#5e5086",
"Haxe": "#df7900", "Haxe": "#df7900",
"HiveQL": "#dce200", "HiveQL": "#dce200",
"HolyC": "#ffefaf",
"Hy": "#7790B2", "Hy": "#7790B2",
"IDL": "#a3522f", "IDL": "#a3522f",
"Idris": "#b30000", "Idris": "#b30000",
@ -102,6 +105,7 @@ var LanguagesColor = map[string]string{
"Java": "#b07219", "Java": "#b07219",
"JavaScript": "#f1e05a", "JavaScript": "#f1e05a",
"Jolie": "#843179", "Jolie": "#843179",
"Jsonnet": "#0064bd",
"Julia": "#a270ba", "Julia": "#a270ba",
"Jupyter Notebook": "#DA5B0B", "Jupyter Notebook": "#DA5B0B",
"KRL": "#28430A", "KRL": "#28430A",
@ -141,6 +145,7 @@ var LanguagesColor = map[string]string{
"Nix": "#7e7eff", "Nix": "#7e7eff",
"Nu": "#c9df40", "Nu": "#c9df40",
"OCaml": "#3be133", "OCaml": "#3be133",
"ObjectScript": "#424893",
"Objective-C": "#438eff", "Objective-C": "#438eff",
"Objective-C++": "#6866fb", "Objective-C++": "#6866fb",
"Objective-J": "#ff0c5a", "Objective-J": "#ff0c5a",
@ -177,7 +182,7 @@ var LanguagesColor = map[string]string{
"R": "#198CE7", "R": "#198CE7",
"RAML": "#77d9fb", "RAML": "#77d9fb",
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#22228f", "Racket": "#3c5caa",
"Ragel": "#9d5200", "Ragel": "#9d5200",
"Rascal": "#fffaa0", "Rascal": "#fffaa0",
"Rebol": "#358a5b", "Rebol": "#358a5b",
@ -224,6 +229,7 @@ var LanguagesColor = map[string]string{
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#2c3e50", "Vue": "#2c3e50",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
"Wollok": "#a23738",
"X10": "#4B6BEF", "X10": "#4B6BEF",
"XC": "#99DA07", "XC": "#99DA07",
"XQuery": "#5232e7", "XQuery": "#5232e7",
@ -231,9 +237,13 @@ var LanguagesColor = map[string]string{
"YARA": "#220000", "YARA": "#220000",
"YASnippet": "#32AB90", "YASnippet": "#32AB90",
"Yacc": "#4B6C4B", "Yacc": "#4B6C4B",
"ZAP": "#0d665e",
"ZIL": "#dc75e5",
"ZenScript": "#00BCD1",
"Zephir": "#118f9e", "Zephir": "#118f9e",
"Zig": "#ec915c", "Zig": "#ec915c",
"eC": "#913960", "eC": "#913960",
"mcfunction": "#E22837",
"nesC": "#94B0C7", "nesC": "#94B0C7",
"ooc": "#b0b77e", "ooc": "#b0b77e",
"q": "#0040cd", "q": "#0040cd",

View File

@ -1,7 +1,7 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "e4560984058b4726010ca4b8f03ed9d0f8f464db" var LinguistCommit = "3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -644,6 +644,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("TeX"), rule.MatchingLanguages("TeX"),
regexp.MustCompile(`(?m)\\\w+{`), regexp.MustCompile(`(?m)\\\w+{`),
), ),
rule.Or(
rule.MatchingLanguages("ObjectScript"),
regexp.MustCompile(`(?m)^Class\s`),
),
}, },
".cs": &Heuristics{ ".cs": &Heuristics{
rule.Or( rule.Or(
@ -666,7 +670,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Makefile"), rule.MatchingLanguages("Makefile"),
regexp.MustCompile(`(?m)([\/\\].*:\s+.*\s\\$|: \\$|^ : |^[\w\s\/\\.]+\w+\.\w+\s*:\s+[\w\s\/\\.]+\w+\.\w+)`), regexp.MustCompile(`(?m)([\/\\].*:\s+.*\s\\$|: \\$|^[ %]:|^[\w\s\/\\.]+\w+\.\w+\s*:\s+[\w\s\/\\.]+\w+\.\w+)`),
), ),
}, },
".ecl": &Heuristics{ ".ecl": &Heuristics{
@ -759,6 +763,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Graph Modeling Language"), rule.MatchingLanguages("Graph Modeling Language"),
regexp.MustCompile(`(?m)(?i:^\s*(graph|node)\s+\[$)`), regexp.MustCompile(`(?m)(?i:^\s*(graph|node)\s+\[$)`),
), ),
rule.Or(
rule.MatchingLanguages("Gerber Image"),
regexp.MustCompile(`(?m)\*\%$`),
),
rule.Always( rule.Always(
rule.MatchingLanguages("Game Maker Language"), rule.MatchingLanguages("Game Maker Language"),
), ),
@ -776,7 +784,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("C++"), rule.MatchingLanguages("C++"),
regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>|^\s*template\s*<|^[ \t]*try|^[ \t]*catch\s*\(|^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+|^[ \t]*(private|public|protected):$|std::\w+`), regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>|^\s*template\s*<|^[ \t]*(try|constexpr)|^[ \t]*catch\s*\(|^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+|^[ \t]*(private|public|protected):$|std::\w+`),
), ),
}, },
".hh": &Heuristics{ ".hh": &Heuristics{
@ -799,6 +807,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("PHP"), rule.MatchingLanguages("PHP"),
regexp.MustCompile(`(?m)^<\?(?:php)?`), regexp.MustCompile(`(?m)^<\?(?:php)?`),
), ),
rule.Or(
rule.MatchingLanguages("SourcePawn"),
regexp.MustCompile(`(?m)^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*{)?)`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("POV-Ray SDL"), rule.MatchingLanguages("POV-Ray SDL"),
regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`), regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`),
@ -868,10 +880,17 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("M"), rule.MatchingLanguages("M"),
regexp.MustCompile(`(?m)^\s*;`), regexp.MustCompile(`(?m)^\s*;`),
), ),
rule.Or( rule.And(
rule.MatchingLanguages("Mathematica"), rule.MatchingLanguages("Mathematica"),
rule.Or(
rule.MatchingLanguages(""),
regexp.MustCompile(`(?m)\(\*`),
),
rule.Or(
rule.MatchingLanguages(""),
regexp.MustCompile(`(?m)\*\)$`), regexp.MustCompile(`(?m)\*\)$`),
), ),
),
rule.Or( rule.Or(
rule.MatchingLanguages("MATLAB"), rule.MatchingLanguages("MATLAB"),
regexp.MustCompile(`(?m)^\s*%`), regexp.MustCompile(`(?m)^\s*%`),
@ -1062,7 +1081,7 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`), regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("XPM"), rule.MatchingLanguages("X PixMap"),
regexp.MustCompile(`(?m)^\s*\/\* XPM \*\/`), regexp.MustCompile(`(?m)^\s*\/\* XPM \*\/`),
), ),
}, },
@ -1145,7 +1164,7 @@ var ContentHeuristics = map[string]*Heuristics{
".props": &Heuristics{ ".props": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
regexp.MustCompile(`(?m)^(\s*)(?i:<Project|<Import|<Property|<?xml|xmlns)`), regexp.MustCompile(`(?m)^(\s*)(?i:<Project|<Import|<Property|<\?xml|xmlns)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("INI"), rule.MatchingLanguages("INI"),
@ -1173,10 +1192,6 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".rno": &Heuristics{ ".rno": &Heuristics{
rule.Or(
rule.MatchingLanguages("RUNOFF"),
regexp.MustCompile(`(?m)(?i:^\.!|^\.end lit(?:eral)?\b)`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("Roff"), rule.MatchingLanguages("Roff"),
regexp.MustCompile(`(?m)^\.\\" `), regexp.MustCompile(`(?m)^\.\\" `),
@ -1214,7 +1229,7 @@ var ContentHeuristics = map[string]*Heuristics{
".sql": &Heuristics{ ".sql": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("PLpgSQL"), rule.MatchingLanguages("PLpgSQL"),
regexp.MustCompile(`(?m)(?i:^\\i\b|AS \$\$|LANGUAGE '?plpgsql'?|SECURITY (DEFINER|INVOKER)|BEGIN( WORK| TRANSACTION)?;)`), regexp.MustCompile(`(?m)(?i:^\\i\b|AS \$\$|LANGUAGE '?plpgsql'?|SECURITY (DEFINER|INVOKER)|BEGIN( WORK )?;)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("SQLPL"), rule.MatchingLanguages("SQLPL"),
@ -1224,6 +1239,17 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("PLSQL"), rule.MatchingLanguages("PLSQL"),
regexp.MustCompile(`(?m)(?i:\$\$PLSQL_|XMLTYPE|sysdate|systimestamp|\.nextval|connect by|AUTHID (DEFINER|CURRENT_USER)|constructor\W+function)`), regexp.MustCompile(`(?m)(?i:\$\$PLSQL_|XMLTYPE|sysdate|systimestamp|\.nextval|connect by|AUTHID (DEFINER|CURRENT_USER)|constructor\W+function)`),
), ),
rule.And(
rule.MatchingLanguages("TSQL"),
rule.Not(
rule.MatchingLanguages(""),
regexp.MustCompile(`(?m)(?i:IDENTIFIED|NUMBER|VARCHAR2|REPEAT|UNTIL|IMMEDIATE)`),
),
rule.Or(
rule.MatchingLanguages(""),
regexp.MustCompile(`(?m)(?i:(GO)|(@@)|(CREATE PROCEDURE)|BEGIN( TRY| CATCH)|OUTPUT( INSERTED)|IF|ELSE|IIF|CHOOSE|CURSOR|FETCH|DEALLOCATE|DECLARE)`),
),
),
rule.Not( rule.Not(
rule.MatchingLanguages("SQL"), rule.MatchingLanguages("SQL"),
regexp.MustCompile(`(?m)(?i:begin|boolean|package|exception)`), regexp.MustCompile(`(?m)(?i:begin|boolean|package|exception)`),
@ -1279,7 +1305,7 @@ var ContentHeuristics = map[string]*Heuristics{
}, },
".tsx": &Heuristics{ ".tsx": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("TypeScript"), rule.MatchingLanguages("TSX"),
regexp.MustCompile(`(?m)^\s*(import.+(from\s+|require\()['"]react|\/\/\/\s*<reference\s)`), regexp.MustCompile(`(?m)^\s*(import.+(from\s+|require\()['"]react|\/\/\/\s*<reference\s)`),
), ),
rule.Or( rule.Or(
@ -1287,6 +1313,15 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`), regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`),
), ),
}, },
".vba": &Heuristics{
rule.Or(
rule.MatchingLanguages("Vim script"),
regexp.MustCompile(`(?m)^UseVimball`),
),
rule.Always(
rule.MatchingLanguages("Visual Basic"),
),
},
".w": &Heuristics{ ".w": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("OpenEdge ABL"), rule.MatchingLanguages("OpenEdge ABL"),
@ -1307,7 +1342,7 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^%(end|ctor|hook|group)\b`), regexp.MustCompile(`(?m)^%(end|ctor|hook|group)\b`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Linked Script"), rule.MatchingLanguages("Linker Script"),
regexp.MustCompile(`(?m)OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS`), regexp.MustCompile(`(?m)OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS`),
), ),
}, },

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -112,7 +112,7 @@ var LanguagesByExtension = map[string][]string{
".boo": {"Boo"}, ".boo": {"Boo"},
".boot": {"Clojure"}, ".boot": {"Clojure"},
".brd": {"Eagle", "KiCad Legacy Layout"}, ".brd": {"Eagle", "KiCad Legacy Layout"},
".bro": {"Bro"}, ".bro": {"Zeek"},
".brs": {"Brightscript"}, ".brs": {"Brightscript"},
".bsl": {"1C Enterprise"}, ".bsl": {"1C Enterprise"},
".bsv": {"Bluespec"}, ".bsv": {"Bluespec"},
@ -124,6 +124,7 @@ var LanguagesByExtension = map[string][]string{
".c++-objdump": {"Cpp-ObjDump"}, ".c++-objdump": {"Cpp-ObjDump"},
".c++objdump": {"Cpp-ObjDump"}, ".c++objdump": {"Cpp-ObjDump"},
".c-objdump": {"C-ObjDump"}, ".c-objdump": {"C-ObjDump"},
".cabal": {"Cabal Config"},
".cake": {"C#", "CoffeeScript"}, ".cake": {"C#", "CoffeeScript"},
".capnp": {"Cap'n Proto"}, ".capnp": {"Cap'n Proto"},
".cats": {"C"}, ".cats": {"C"},
@ -159,11 +160,12 @@ var LanguagesByExtension = map[string][]string{
".cljscm": {"Clojure"}, ".cljscm": {"Clojure"},
".cljx": {"Clojure"}, ".cljx": {"Clojure"},
".clp": {"CLIPS"}, ".clp": {"CLIPS"},
".cls": {"Apex", "OpenEdge ABL", "TeX", "Visual Basic"}, ".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "Visual Basic"},
".clw": {"Clarion"}, ".clw": {"Clarion"},
".cmake": {"CMake"}, ".cmake": {"CMake"},
".cmake.in": {"CMake"}, ".cmake.in": {"CMake"},
".cmd": {"Batchfile"}, ".cmd": {"Batchfile"},
".cnc": {"G-code"},
".cob": {"COBOL"}, ".cob": {"COBOL"},
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".coffee": {"CoffeeScript"}, ".coffee": {"CoffeeScript"},
@ -217,6 +219,7 @@ var LanguagesByExtension = map[string][]string{
".desktop": {"desktop"}, ".desktop": {"desktop"},
".desktop.in": {"desktop"}, ".desktop.in": {"desktop"},
".dfm": {"Pascal"}, ".dfm": {"Pascal"},
".dhall": {"Dhall"},
".di": {"D"}, ".di": {"D"},
".diff": {"Diff"}, ".diff": {"Diff"},
".dita": {"XML"}, ".dita": {"XML"},
@ -346,7 +349,7 @@ var LanguagesByExtension = map[string][]string{
".glsl": {"GLSL"}, ".glsl": {"GLSL"},
".glslv": {"GLSL"}, ".glslv": {"GLSL"},
".gltf": {"JSON"}, ".gltf": {"JSON"},
".gml": {"Game Maker Language", "Graph Modeling Language", "XML"}, ".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"},
".gms": {"GAMS"}, ".gms": {"GAMS"},
".gmx": {"XML"}, ".gmx": {"XML"},
".gn": {"GN"}, ".gn": {"GN"},
@ -363,6 +366,7 @@ var LanguagesByExtension = map[string][]string{
".grace": {"Grace"}, ".grace": {"Grace"},
".gradle": {"Gradle"}, ".gradle": {"Gradle"},
".graphql": {"GraphQL"}, ".graphql": {"GraphQL"},
".graphqls": {"GraphQL"},
".groovy": {"Groovy"}, ".groovy": {"Groovy"},
".grt": {"Groovy"}, ".grt": {"Groovy"},
".grxml": {"XML"}, ".grxml": {"XML"},
@ -389,6 +393,7 @@ var LanguagesByExtension = map[string][]string{
".hats": {"ATS"}, ".hats": {"ATS"},
".hb": {"Harbour"}, ".hb": {"Harbour"},
".hbs": {"Handlebars"}, ".hbs": {"Handlebars"},
".hc": {"HolyC"},
".hcl": {"HCL"}, ".hcl": {"HCL"},
".hh": {"C++", "Hack"}, ".hh": {"C++", "Hack"},
".hic": {"Clojure"}, ".hic": {"Clojure"},
@ -450,6 +455,7 @@ var LanguagesByExtension = map[string][]string{
".jl": {"Julia"}, ".jl": {"Julia"},
".jq": {"JSONiq"}, ".jq": {"JSONiq"},
".js": {"JavaScript"}, ".js": {"JavaScript"},
".js.erb": {"JavaScript+ERB"},
".jsb": {"JavaScript"}, ".jsb": {"JavaScript"},
".jscad": {"JavaScript"}, ".jscad": {"JavaScript"},
".jsfl": {"JavaScript"}, ".jsfl": {"JavaScript"},
@ -459,6 +465,7 @@ var LanguagesByExtension = map[string][]string{
".json5": {"JSON5"}, ".json5": {"JSON5"},
".jsonl": {"JSON"}, ".jsonl": {"JSON"},
".jsonld": {"JSONLD"}, ".jsonld": {"JSONLD"},
".jsonnet": {"Jsonnet"},
".jsp": {"Java Server Pages"}, ".jsp": {"Java Server Pages"},
".jsproj": {"XML"}, ".jsproj": {"XML"},
".jss": {"JavaScript"}, ".jss": {"JavaScript"},
@ -494,6 +501,7 @@ var LanguagesByExtension = map[string][]string{
".lfe": {"LFE"}, ".lfe": {"LFE"},
".lgt": {"Logtalk"}, ".lgt": {"Logtalk"},
".lhs": {"Literate Haskell"}, ".lhs": {"Literate Haskell"},
".libsonnet": {"Jsonnet"},
".lid": {"Dylan"}, ".lid": {"Dylan"},
".lidr": {"Idris"}, ".lidr": {"Idris"},
".liquid": {"Liquid"}, ".liquid": {"Liquid"},
@ -535,12 +543,15 @@ var LanguagesByExtension = map[string][]string{
".maxpat": {"Max"}, ".maxpat": {"Max"},
".maxproj": {"Max"}, ".maxproj": {"Max"},
".mbox": {"EML"}, ".mbox": {"EML"},
".mcfunction": {"mcfunction"},
".mcmeta": {"JSON"},
".mcr": {"MAXScript"}, ".mcr": {"MAXScript"},
".md": {"GCC Machine Description", "Markdown"}, ".md": {"GCC Machine Description", "Markdown"},
".mdoc": {"Roff", "Roff Manpage"}, ".mdoc": {"Roff", "Roff Manpage"},
".mdown": {"Markdown"}, ".mdown": {"Markdown"},
".mdpolicy": {"XML"}, ".mdpolicy": {"XML"},
".mdwn": {"Markdown"}, ".mdwn": {"Markdown"},
".mdx": {"Markdown"},
".me": {"Roff"}, ".me": {"Roff"},
".mediawiki": {"MediaWiki"}, ".mediawiki": {"MediaWiki"},
".meta": {"Unity3D Asset"}, ".meta": {"Unity3D Asset"},
@ -584,6 +595,7 @@ var LanguagesByExtension = map[string][]string{
".mtl": {"Wavefront Material"}, ".mtl": {"Wavefront Material"},
".mtml": {"MTML"}, ".mtml": {"MTML"},
".mu": {"mupad"}, ".mu": {"mupad"},
".mud": {"ZIL"},
".muf": {"MUF"}, ".muf": {"MUF"},
".mumps": {"M"}, ".mumps": {"M"},
".mustache": {"HTML+Django"}, ".mustache": {"HTML+Django"},
@ -645,6 +657,7 @@ var LanguagesByExtension = map[string][]string{
".org": {"Org"}, ".org": {"Org"},
".os": {"1C Enterprise"}, ".os": {"1C Enterprise"},
".osm": {"XML"}, ".osm": {"XML"},
".outjob": {"Altium Designer"},
".owl": {"Web Ontology Language"}, ".owl": {"Web Ontology Language"},
".ox": {"Ox"}, ".ox": {"Ox"},
".oxh": {"Ox"}, ".oxh": {"Ox"},
@ -668,6 +681,7 @@ var LanguagesByExtension = map[string][]string{
".pb": {"PureBasic"}, ".pb": {"PureBasic"},
".pbi": {"PureBasic"}, ".pbi": {"PureBasic"},
".pbt": {"PowerBuilder"}, ".pbt": {"PowerBuilder"},
".pcbdoc": {"Altium Designer"},
".pck": {"PLSQL"}, ".pck": {"PLSQL"},
".pcss": {"PostCSS"}, ".pcss": {"PostCSS"},
".pd": {"Pure Data"}, ".pd": {"Pure Data"},
@ -722,6 +736,7 @@ var LanguagesByExtension = map[string][]string{
".prefs": {"INI"}, ".prefs": {"INI"},
".prg": {"xBase"}, ".prg": {"xBase"},
".pri": {"QMake"}, ".pri": {"QMake"},
".prjpcb": {"Altium Designer"},
".pro": {"IDL", "INI", "Prolog", "QMake"}, ".pro": {"IDL", "INI", "Prolog", "QMake"},
".proj": {"XML"}, ".proj": {"XML"},
".prolog": {"Prolog"}, ".prolog": {"Prolog"},
@ -763,6 +778,7 @@ var LanguagesByExtension = map[string][]string{
".rake": {"Ruby"}, ".rake": {"Ruby"},
".raml": {"RAML"}, ".raml": {"RAML"},
".raw": {"Raw token data"}, ".raw": {"Raw token data"},
".razor": {"HTML+Razor"},
".rb": {"Ruby"}, ".rb": {"Ruby"},
".rbbas": {"REALbasic"}, ".rbbas": {"REALbasic"},
".rbfrm": {"REALbasic"}, ".rbfrm": {"REALbasic"},
@ -815,6 +831,7 @@ var LanguagesByExtension = map[string][]string{
".rst": {"reStructuredText"}, ".rst": {"reStructuredText"},
".rst.txt": {"reStructuredText"}, ".rst.txt": {"reStructuredText"},
".rsx": {"R"}, ".rsx": {"R"},
".rtf": {"Rich Text Format"},
".ru": {"Ruby"}, ".ru": {"Ruby"},
".ruby": {"Ruby"}, ".ruby": {"Ruby"},
".rviz": {"YAML"}, ".rviz": {"YAML"},
@ -832,6 +849,7 @@ var LanguagesByExtension = map[string][]string{
".scd": {"SuperCollider"}, ".scd": {"SuperCollider"},
".sce": {"Scilab"}, ".sce": {"Scilab"},
".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"}, ".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"},
".schdoc": {"Altium Designer"},
".sci": {"Scilab"}, ".sci": {"Scilab"},
".scm": {"Scheme"}, ".scm": {"Scheme"},
".sco": {"Csound Score"}, ".sco": {"Csound Score"},
@ -857,7 +875,7 @@ var LanguagesByExtension = map[string][]string{
".sld": {"Scheme"}, ".sld": {"Scheme"},
".slim": {"Slim"}, ".slim": {"Slim"},
".sls": {"SaltStack", "Scheme"}, ".sls": {"SaltStack", "Scheme"},
".sma": {"SourcePawn"}, ".sma": {"Pawn"},
".smali": {"Smali"}, ".smali": {"Smali"},
".sml": {"Standard ML"}, ".sml": {"Standard ML"},
".smt": {"SMT"}, ".smt": {"SMT"},
@ -870,7 +888,7 @@ var LanguagesByExtension = map[string][]string{
".spin": {"Propeller Spin"}, ".spin": {"Propeller Spin"},
".sps": {"Scheme"}, ".sps": {"Scheme"},
".sqf": {"SQF"}, ".sqf": {"SQF"},
".sql": {"PLSQL", "PLpgSQL", "SQL", "SQLPL"}, ".sql": {"PLSQL", "PLpgSQL", "SQL", "SQLPL", "TSQL"},
".sra": {"PowerBuilder"}, ".sra": {"PowerBuilder"},
".srdf": {"XML"}, ".srdf": {"XML"},
".srt": {"SRecode Template", "SubRip Text"}, ".srt": {"SRecode Template", "SubRip Text"},
@ -903,6 +921,7 @@ var LanguagesByExtension = map[string][]string{
".sublime_metrics": {"JSON with Comments"}, ".sublime_metrics": {"JSON with Comments"},
".sublime_session": {"JSON with Comments"}, ".sublime_session": {"JSON with Comments"},
".sv": {"SystemVerilog"}, ".sv": {"SystemVerilog"},
".svelte": {"Svelte"},
".svg": {"SVG"}, ".svg": {"SVG"},
".svh": {"SystemVerilog"}, ".svh": {"SystemVerilog"},
".swift": {"Swift"}, ".swift": {"Swift"},
@ -948,7 +967,7 @@ var LanguagesByExtension = map[string][]string{
".trg": {"PLSQL"}, ".trg": {"PLSQL"},
".ts": {"TypeScript", "XML"}, ".ts": {"TypeScript", "XML"},
".tst": {"GAP", "Scilab"}, ".tst": {"GAP", "Scilab"},
".tsx": {"TypeScript", "XML"}, ".tsx": {"TSX", "XML"},
".ttl": {"Turtle"}, ".ttl": {"Turtle"},
".tu": {"Turing"}, ".tu": {"Turing"},
".twig": {"Twig"}, ".twig": {"Twig"},
@ -970,7 +989,7 @@ var LanguagesByExtension = map[string][]string{
".vapi": {"Vala"}, ".vapi": {"Vala"},
".vark": {"Gosu"}, ".vark": {"Gosu"},
".vb": {"Visual Basic"}, ".vb": {"Visual Basic"},
".vba": {"Visual Basic"}, ".vba": {"Vim script", "Visual Basic"},
".vbhtml": {"Visual Basic"}, ".vbhtml": {"Visual Basic"},
".vbproj": {"XML"}, ".vbproj": {"XML"},
".vbs": {"Visual Basic"}, ".vbs": {"Visual Basic"},
@ -991,6 +1010,7 @@ var LanguagesByExtension = map[string][]string{
".view.lkml": {"LookML"}, ".view.lkml": {"LookML"},
".vim": {"Vim script"}, ".vim": {"Vim script"},
".viw": {"SQL"}, ".viw": {"SQL"},
".vmb": {"Vim script"},
".volt": {"Volt"}, ".volt": {"Volt"},
".vrx": {"GLSL"}, ".vrx": {"GLSL"},
".vsh": {"GLSL"}, ".vsh": {"GLSL"},
@ -998,6 +1018,7 @@ var LanguagesByExtension = map[string][]string{
".vsixmanifest": {"XML"}, ".vsixmanifest": {"XML"},
".vssettings": {"XML"}, ".vssettings": {"XML"},
".vstemplate": {"XML"}, ".vstemplate": {"XML"},
".vtt": {"WebVTT"},
".vue": {"Vue"}, ".vue": {"Vue"},
".vw": {"PLSQL"}, ".vw": {"PLSQL"},
".vxml": {"XML"}, ".vxml": {"XML"},
@ -1014,6 +1035,7 @@ var LanguagesByExtension = map[string][]string{
".wisp": {"wisp"}, ".wisp": {"wisp"},
".wixproj": {"XML"}, ".wixproj": {"XML"},
".wl": {"Mathematica"}, ".wl": {"Mathematica"},
".wlk": {"Wollok"},
".wlt": {"Mathematica"}, ".wlt": {"Mathematica"},
".wlua": {"Lua"}, ".wlua": {"Lua"},
".workbook": {"Markdown"}, ".workbook": {"Markdown"},
@ -1027,6 +1049,7 @@ var LanguagesByExtension = map[string][]string{
".x": {"Linker Script", "Logos", "RPC"}, ".x": {"Linker Script", "Logos", "RPC"},
".x10": {"X10"}, ".x10": {"X10"},
".x3d": {"XML"}, ".x3d": {"XML"},
".x68": {"Motorola 68K Assembly"},
".xacro": {"XML"}, ".xacro": {"XML"},
".xaml": {"XML"}, ".xaml": {"XML"},
".xbm": {"X BitMap"}, ".xbm": {"X BitMap"},
@ -1069,6 +1092,7 @@ var LanguagesByExtension = map[string][]string{
".xspec": {"XML"}, ".xspec": {"XML"},
".xtend": {"Xtend"}, ".xtend": {"Xtend"},
".xul": {"XML"}, ".xul": {"XML"},
".xzap": {"ZAP"},
".y": {"Yacc"}, ".y": {"Yacc"},
".yacc": {"Yacc"}, ".yacc": {"Yacc"},
".yaml": {"YAML"}, ".yaml": {"YAML"},
@ -1083,13 +1107,17 @@ var LanguagesByExtension = map[string][]string{
".yrl": {"Erlang"}, ".yrl": {"Erlang"},
".yy": {"JSON", "Yacc"}, ".yy": {"JSON", "Yacc"},
".yyp": {"JSON"}, ".yyp": {"JSON"},
".zap": {"ZAP"},
".zcml": {"XML"}, ".zcml": {"XML"},
".zeek": {"Zeek"},
".zep": {"Zephir"}, ".zep": {"Zephir"},
".zig": {"Zig"}, ".zig": {"Zig"},
".zil": {"ZIL"},
".zimpl": {"Zimpl"}, ".zimpl": {"Zimpl"},
".zmpl": {"Zimpl"}, ".zmpl": {"Zimpl"},
".zone": {"DNS Zone"}, ".zone": {"DNS Zone"},
".zpl": {"Zimpl"}, ".zpl": {"Zimpl"},
".zs": {"ZenScript"},
".zsh": {"Shell"}, ".zsh": {"Shell"},
} }
@ -1110,6 +1138,7 @@ var ExtensionsByLanguage = map[string][]string{
"Adobe Font Metrics": {".afm"}, "Adobe Font Metrics": {".afm"},
"Agda": {".agda"}, "Agda": {".agda"},
"Alloy": {".als"}, "Alloy": {".als"},
"Altium Designer": {".outjob", ".pcbdoc", ".prjpcb", ".schdoc"},
"AngelScript": {".as", ".angelscript"}, "AngelScript": {".as", ".angelscript"},
"ApacheConf": {".apacheconf", ".vhost"}, "ApacheConf": {".apacheconf", ".vhost"},
"Apex": {".cls"}, "Apex": {".cls"},
@ -1136,7 +1165,6 @@ var ExtensionsByLanguage = map[string][]string{
"Boo": {".boo"}, "Boo": {".boo"},
"Brainfuck": {".b", ".bf"}, "Brainfuck": {".b", ".bf"},
"Brightscript": {".brs"}, "Brightscript": {".brs"},
"Bro": {".bro"},
"C": {".c", ".cats", ".h", ".idc"}, "C": {".c", ".cats", ".h", ".idc"},
"C#": {".cs", ".cake", ".csx"}, "C#": {".cs", ".cake", ".csx"},
"C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"}, "C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"},
@ -1150,6 +1178,7 @@ var ExtensionsByLanguage = map[string][]string{
"CSS": {".css"}, "CSS": {".css"},
"CSV": {".csv"}, "CSV": {".csv"},
"CWeb": {".w"}, "CWeb": {".w"},
"Cabal Config": {".cabal"},
"Cap'n Proto": {".capnp"}, "Cap'n Proto": {".capnp"},
"CartoCSS": {".mss"}, "CartoCSS": {".mss"},
"Ceylon": {".ceylon"}, "Ceylon": {".ceylon"},
@ -1189,6 +1218,7 @@ var ExtensionsByLanguage = map[string][]string{
"Darcs Patch": {".darcspatch", ".dpatch"}, "Darcs Patch": {".darcspatch", ".dpatch"},
"Dart": {".dart"}, "Dart": {".dart"},
"DataWeave": {".dwl"}, "DataWeave": {".dwl"},
"Dhall": {".dhall"},
"Diff": {".diff", ".patch"}, "Diff": {".diff", ".patch"},
"Dockerfile": {".dockerfile"}, "Dockerfile": {".dockerfile"},
"Dogescript": {".djs"}, "Dogescript": {".djs"},
@ -1224,7 +1254,7 @@ var ExtensionsByLanguage = map[string][]string{
"Fortran": {".f90", ".f", ".f03", ".f08", ".f77", ".f95", ".for", ".fpp"}, "Fortran": {".f90", ".f", ".f03", ".f08", ".f77", ".f95", ".for", ".fpp"},
"FreeMarker": {".ftl"}, "FreeMarker": {".ftl"},
"Frege": {".fr"}, "Frege": {".fr"},
"G-code": {".g", ".gco", ".gcode"}, "G-code": {".g", ".cnc", ".gco", ".gcode"},
"GAMS": {".gms"}, "GAMS": {".gms"},
"GAP": {".g", ".gap", ".gd", ".gi", ".tst"}, "GAP": {".g", ".gap", ".gd", ".gi", ".tst"},
"GCC Machine Description": {".md"}, "GCC Machine Description": {".md"},
@ -1237,7 +1267,7 @@ var ExtensionsByLanguage = map[string][]string{
"Genshi": {".kid"}, "Genshi": {".kid"},
"Gentoo Ebuild": {".ebuild"}, "Gentoo Ebuild": {".ebuild"},
"Gentoo Eclass": {".eclass"}, "Gentoo Eclass": {".eclass"},
"Gerber Image": {".gbr", ".gbl", ".gbo", ".gbp", ".gbs", ".gko", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts"}, "Gerber Image": {".gbr", ".gbl", ".gbo", ".gbp", ".gbs", ".gko", ".gml", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts"},
"Gettext Catalog": {".po", ".pot"}, "Gettext Catalog": {".po", ".pot"},
"Gherkin": {".feature"}, "Gherkin": {".feature"},
"Git Config": {".gitconfig"}, "Git Config": {".gitconfig"},
@ -1251,7 +1281,7 @@ var ExtensionsByLanguage = map[string][]string{
"Gradle": {".gradle"}, "Gradle": {".gradle"},
"Grammatical Framework": {".gf"}, "Grammatical Framework": {".gf"},
"Graph Modeling Language": {".gml"}, "Graph Modeling Language": {".gml"},
"GraphQL": {".graphql", ".gql"}, "GraphQL": {".graphql", ".gql", ".graphqls"},
"Graphviz (DOT)": {".dot", ".gv"}, "Graphviz (DOT)": {".dot", ".gv"},
"Groovy": {".groovy", ".grt", ".gtpl", ".gvy"}, "Groovy": {".groovy", ".grt", ".gtpl", ".gvy"},
"Groovy Server Pages": {".gsp"}, "Groovy Server Pages": {".gsp"},
@ -1264,7 +1294,7 @@ var ExtensionsByLanguage = map[string][]string{
"HTML+EEX": {".eex"}, "HTML+EEX": {".eex"},
"HTML+ERB": {".erb", ".erb.deface"}, "HTML+ERB": {".erb", ".erb.deface"},
"HTML+PHP": {".phtml"}, "HTML+PHP": {".phtml"},
"HTML+Razor": {".cshtml"}, "HTML+Razor": {".cshtml", ".razor"},
"HTTP": {".http"}, "HTTP": {".http"},
"HXML": {".hxml"}, "HXML": {".hxml"},
"Hack": {".hh", ".php"}, "Hack": {".hh", ".php"},
@ -1274,6 +1304,7 @@ var ExtensionsByLanguage = map[string][]string{
"Haskell": {".hs", ".hsc"}, "Haskell": {".hs", ".hsc"},
"Haxe": {".hx", ".hxsl"}, "Haxe": {".hx", ".hxsl"},
"HiveQL": {".q"}, "HiveQL": {".q"},
"HolyC": {".hc"},
"Hy": {".hy"}, "Hy": {".hy"},
"HyPhy": {".bf"}, "HyPhy": {".bf"},
"IDL": {".pro", ".dlm"}, "IDL": {".pro", ".dlm"},
@ -1289,7 +1320,7 @@ var ExtensionsByLanguage = map[string][]string{
"Isabelle": {".thy"}, "Isabelle": {".thy"},
"J": {".ijs"}, "J": {".ijs"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"}, "JSON with Comments": {".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"},
"JSON5": {".json5"}, "JSON5": {".json5"},
"JSONLD": {".jsonld"}, "JSONLD": {".jsonld"},
@ -1300,9 +1331,11 @@ var ExtensionsByLanguage = map[string][]string{
"Java Properties": {".properties"}, "Java Properties": {".properties"},
"Java Server Pages": {".jsp"}, "Java Server Pages": {".jsp"},
"JavaScript": {".js", "._js", ".bones", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"}, "JavaScript": {".js", "._js", ".bones", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript+ERB": {".js.erb"},
"Jison": {".jison"}, "Jison": {".jison"},
"Jison Lex": {".jisonlex"}, "Jison Lex": {".jisonlex"},
"Jolie": {".ol", ".iol"}, "Jolie": {".ol", ".iol"},
"Jsonnet": {".jsonnet", ".libsonnet"},
"Julia": {".jl"}, "Julia": {".jl"},
"Jupyter Notebook": {".ipynb"}, "Jupyter Notebook": {".ipynb"},
"KRL": {".krl"}, "KRL": {".krl"},
@ -1347,7 +1380,7 @@ var ExtensionsByLanguage = map[string][]string{
"MUF": {".muf", ".m"}, "MUF": {".muf", ".m"},
"Makefile": {".mak", ".d", ".make", ".mk", ".mkfile"}, "Makefile": {".mak", ".d", ".make", ".mk", ".mkfile"},
"Mako": {".mako", ".mao"}, "Mako": {".mako", ".mao"},
"Markdown": {".md", ".markdown", ".mdown", ".mdwn", ".mkd", ".mkdn", ".mkdown", ".ronn", ".workbook"}, "Markdown": {".md", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".workbook"},
"Marko": {".marko"}, "Marko": {".marko"},
"Mask": {".mask"}, "Mask": {".mask"},
"Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"}, "Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"},
@ -1364,6 +1397,7 @@ var ExtensionsByLanguage = map[string][]string{
"Monkey": {".monkey", ".monkey2"}, "Monkey": {".monkey", ".monkey2"},
"Moocode": {".moo"}, "Moocode": {".moo"},
"MoonScript": {".moon"}, "MoonScript": {".moon"},
"Motorola 68K Assembly": {".x68"},
"Myghty": {".myt"}, "Myghty": {".myt"},
"NCL": {".ncl"}, "NCL": {".ncl"},
"NL": {".nl"}, "NL": {".nl"},
@ -1384,6 +1418,7 @@ var ExtensionsByLanguage = map[string][]string{
"NumPy": {".numpy", ".numpyw", ".numsc"}, "NumPy": {".numpy", ".numpyw", ".numsc"},
"OCaml": {".ml", ".eliom", ".eliomi", ".ml4", ".mli", ".mll", ".mly"}, "OCaml": {".ml", ".eliom", ".eliomi", ".ml4", ".mli", ".mll", ".mly"},
"ObjDump": {".objdump"}, "ObjDump": {".objdump"},
"ObjectScript": {".cls"},
"Objective-C": {".m", ".h"}, "Objective-C": {".m", ".h"},
"Objective-C++": {".mm"}, "Objective-C++": {".mm"},
"Objective-J": {".j", ".sj"}, "Objective-J": {".j", ".sj"},
@ -1409,7 +1444,7 @@ var ExtensionsByLanguage = map[string][]string{
"Parrot Assembly": {".pasm"}, "Parrot Assembly": {".pasm"},
"Parrot Internal Representation": {".pir"}, "Parrot Internal Representation": {".pir"},
"Pascal": {".pas", ".dfm", ".dpr", ".inc", ".lpr", ".pascal", ".pp"}, "Pascal": {".pas", ".dfm", ".dpr", ".inc", ".lpr", ".pascal", ".pp"},
"Pawn": {".pwn", ".inc"}, "Pawn": {".pwn", ".inc", ".sma"},
"Pep8": {".pep"}, "Pep8": {".pep"},
"Perl": {".pl", ".al", ".cgi", ".fcgi", ".perl", ".ph", ".plx", ".pm", ".psgi", ".t"}, "Perl": {".pl", ".al", ".cgi", ".fcgi", ".perl", ".ph", ".plx", ".pm", ".psgi", ".t"},
"Perl 6": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"}, "Perl 6": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
@ -1461,6 +1496,7 @@ var ExtensionsByLanguage = map[string][]string{
"Regular Expression": {".regexp", ".regex"}, "Regular Expression": {".regexp", ".regex"},
"Ren'Py": {".rpy"}, "Ren'Py": {".rpy"},
"RenderScript": {".rs", ".rsh"}, "RenderScript": {".rs", ".rsh"},
"Rich Text Format": {".rtf"},
"Ring": {".ring"}, "Ring": {".ring"},
"RobotFramework": {".robot"}, "RobotFramework": {".robot"},
"Roff": {".roff", ".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".l", ".man", ".mdoc", ".me", ".ms", ".n", ".nr", ".rno", ".tmac"}, "Roff": {".roff", ".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".l", ".man", ".mdoc", ".me", ".ms", ".n", ".nr", ".rno", ".tmac"},
@ -1496,7 +1532,7 @@ var ExtensionsByLanguage = map[string][]string{
"Smali": {".smali"}, "Smali": {".smali"},
"Smalltalk": {".st", ".cs"}, "Smalltalk": {".st", ".cs"},
"Smarty": {".tpl"}, "Smarty": {".tpl"},
"SourcePawn": {".sp", ".inc", ".sma"}, "SourcePawn": {".sp", ".inc"},
"Spline Font Database": {".sfd"}, "Spline Font Database": {".sfd"},
"Squirrel": {".nut"}, "Squirrel": {".nut"},
"Stan": {".stan"}, "Stan": {".stan"},
@ -1506,11 +1542,14 @@ var ExtensionsByLanguage = map[string][]string{
"SubRip Text": {".srt"}, "SubRip Text": {".srt"},
"SugarSS": {".sss"}, "SugarSS": {".sss"},
"SuperCollider": {".sc", ".scd"}, "SuperCollider": {".sc", ".scd"},
"Svelte": {".svelte"},
"Swift": {".swift"}, "Swift": {".swift"},
"SystemVerilog": {".sv", ".svh", ".vh"}, "SystemVerilog": {".sv", ".svh", ".vh"},
"TI Program": {".8xp", ".8xk", ".8xk.txt", ".8xp.txt"}, "TI Program": {".8xp", ".8xk", ".8xk.txt", ".8xp.txt"},
"TLA": {".tla"}, "TLA": {".tla"},
"TOML": {".toml"}, "TOML": {".toml"},
"TSQL": {".sql"},
"TSX": {".tsx"},
"TXL": {".txl"}, "TXL": {".txl"},
"Tcl": {".tcl", ".adp", ".tm"}, "Tcl": {".tcl", ".adp", ".tm"},
"Tcsh": {".tcsh", ".csh"}, "Tcsh": {".tcsh", ".csh"},
@ -1524,7 +1563,7 @@ var ExtensionsByLanguage = map[string][]string{
"Turtle": {".ttl"}, "Turtle": {".ttl"},
"Twig": {".twig"}, "Twig": {".twig"},
"Type Language": {".tl"}, "Type Language": {".tl"},
"TypeScript": {".ts", ".tsx"}, "TypeScript": {".ts"},
"Unified Parallel C": {".upc"}, "Unified Parallel C": {".upc"},
"Unity3D Asset": {".anim", ".asset", ".mat", ".meta", ".prefab", ".unity"}, "Unity3D Asset": {".anim", ".asset", ".mat", ".meta", ".prefab", ".unity"},
"Unix Assembly": {".s", ".ms"}, "Unix Assembly": {".s", ".ms"},
@ -1535,7 +1574,7 @@ var ExtensionsByLanguage = map[string][]string{
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
"Vala": {".vala", ".vapi"}, "Vala": {".vala", ".vapi"},
"Verilog": {".v", ".veo"}, "Verilog": {".v", ".veo"},
"Vim script": {".vim"}, "Vim script": {".vim", ".vba", ".vmb"},
"Visual Basic": {".vb", ".bas", ".cls", ".frm", ".frx", ".vba", ".vbhtml", ".vbs"}, "Visual Basic": {".vb", ".bas", ".cls", ".frm", ".frx", ".vba", ".vbhtml", ".vbs"},
"Volt": {".volt"}, "Volt": {".volt"},
"Vue": {".vue"}, "Vue": {".vue"},
@ -1544,7 +1583,9 @@ var ExtensionsByLanguage = map[string][]string{
"Web Ontology Language": {".owl"}, "Web Ontology Language": {".owl"},
"WebAssembly": {".wast", ".wat"}, "WebAssembly": {".wast", ".wat"},
"WebIDL": {".webidl"}, "WebIDL": {".webidl"},
"WebVTT": {".vtt"},
"Windows Registry Entries": {".reg"}, "Windows Registry Entries": {".reg"},
"Wollok": {".wlk"},
"World of Warcraft Addon Data": {".toc"}, "World of Warcraft Addon Data": {".toc"},
"X BitMap": {".xbm"}, "X BitMap": {".xbm"},
"X PixMap": {".xpm", ".pm"}, "X PixMap": {".xpm", ".pm"},
@ -1563,6 +1604,10 @@ var ExtensionsByLanguage = map[string][]string{
"YARA": {".yar", ".yara"}, "YARA": {".yar", ".yara"},
"YASnippet": {".yasnippet"}, "YASnippet": {".yasnippet"},
"Yacc": {".y", ".yacc", ".yy"}, "Yacc": {".y", ".yacc", ".yy"},
"ZAP": {".zap", ".xzap"},
"ZIL": {".zil", ".mud"},
"Zeek": {".zeek", ".bro"},
"ZenScript": {".zs"},
"Zephir": {".zep"}, "Zephir": {".zep"},
"Zig": {".zig"}, "Zig": {".zig"},
"Zimpl": {".zimpl", ".zmpl", ".zpl"}, "Zimpl": {".zimpl", ".zmpl", ".zpl"},
@ -1570,6 +1615,7 @@ var ExtensionsByLanguage = map[string][]string{
"eC": {".ec", ".eh"}, "eC": {".ec", ".eh"},
"edn": {".edn"}, "edn": {".edn"},
"fish": {".fish"}, "fish": {".fish"},
"mcfunction": {".mcfunction"},
"mupad": {".mu"}, "mupad": {".mu"},
"nanorc": {".nanorc"}, "nanorc": {".nanorc"},
"nesC": {".nc"}, "nesC": {".nc"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -25,7 +25,7 @@ var LanguagesByFilename = map[string][]string{
".cshrc": {"Shell"}, ".cshrc": {"Shell"},
".cvsignore": {"Ignore List"}, ".cvsignore": {"Ignore List"},
".dockerignore": {"Ignore List"}, ".dockerignore": {"Ignore List"},
".editorconfig": {"INI"}, ".editorconfig": {"EditorConfig"},
".emacs": {"Emacs Lisp"}, ".emacs": {"Emacs Lisp"},
".emacs.desktop": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"},
".eslintignore": {"Ignore List"}, ".eslintignore": {"Ignore List"},
@ -162,6 +162,8 @@ var LanguagesByFilename = map[string][]string{
"build.xml": {"Ant Build System"}, "build.xml": {"Ant Build System"},
"buildfile": {"Ruby"}, "buildfile": {"Ruby"},
"buildozer.spec": {"INI"}, "buildozer.spec": {"INI"},
"cabal.config": {"Cabal Config"},
"cabal.project": {"Cabal Config"},
"click.me": {"Text"}, "click.me": {"Text"},
"composer.lock": {"JSON"}, "composer.lock": {"JSON"},
"configure.ac": {"M4Sugar"}, "configure.ac": {"M4Sugar"},
@ -189,6 +191,7 @@ var LanguagesByFilename = map[string][]string{
"httpd.conf": {"ApacheConf"}, "httpd.conf": {"ApacheConf"},
"jsconfig.json": {"JSON with Comments"}, "jsconfig.json": {"JSON with Comments"},
"keep.me": {"Text"}, "keep.me": {"Text"},
"language-configuration.json": {"JSON with Comments"},
"ld.script": {"Linker Script"}, "ld.script": {"Linker Script"},
"login": {"Shell"}, "login": {"Shell"},
"m3makefile": {"Quake"}, "m3makefile": {"Quake"},
@ -218,6 +221,12 @@ var LanguagesByFilename = map[string][]string{
"rebar.config.lock": {"Erlang"}, "rebar.config.lock": {"Erlang"},
"rebar.lock": {"Erlang"}, "rebar.lock": {"Erlang"},
"riemann.config": {"Clojure"}, "riemann.config": {"Clojure"},
"ssh-config": {"SSH Config"},
"ssh_config": {"SSH Config"},
"sshconfig": {"SSH Config"},
"sshconfig.snip": {"SSH Config"},
"sshd-config": {"SSH Config"},
"sshd_config": {"SSH Config"},
"starfield": {"Tcl"}, "starfield": {"Tcl"},
"test.me": {"Text"}, "test.me": {"Text"},
"tsconfig.json": {"JSON with Comments"}, "tsconfig.json": {"JSON with Comments"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -14,6 +14,7 @@ var LanguagesByInterpreter = map[string][]string{
"bigloo": {"Scheme"}, "bigloo": {"Scheme"},
"boolector": {"SMT"}, "boolector": {"SMT"},
"ccl": {"Common Lisp"}, "ccl": {"Common Lisp"},
"chakra": {"JavaScript"},
"chicken": {"Scheme"}, "chicken": {"Scheme"},
"clisp": {"Common Lisp"}, "clisp": {"Common Lisp"},
"coffee": {"CoffeeScript"}, "coffee": {"CoffeeScript"},
@ -22,8 +23,10 @@ var LanguagesByInterpreter = map[string][]string{
"csi": {"Scheme"}, "csi": {"Scheme"},
"cvc4": {"SMT"}, "cvc4": {"SMT"},
"cwl-runner": {"Common Workflow Language"}, "cwl-runner": {"Common Workflow Language"},
"d8": {"JavaScript"},
"dart": {"Dart"}, "dart": {"Dart"},
"dash": {"Shell"}, "dash": {"Shell"},
"deno": {"TypeScript"},
"dtrace": {"DTrace"}, "dtrace": {"DTrace"},
"dyalog": {"APL"}, "dyalog": {"APL"},
"ecl": {"Common Lisp"}, "ecl": {"Common Lisp"},
@ -46,6 +49,7 @@ var LanguagesByInterpreter = map[string][]string{
"jconsole": {"J"}, "jconsole": {"J"},
"jolie": {"Jolie"}, "jolie": {"Jolie"},
"jruby": {"Ruby"}, "jruby": {"Ruby"},
"js": {"JavaScript"},
"julia": {"Julia"}, "julia": {"Julia"},
"ksh": {"Shell"}, "ksh": {"Shell"},
"lisp": {"Common Lisp"}, "lisp": {"Common Lisp"},
@ -62,7 +66,7 @@ var LanguagesByInterpreter = map[string][]string{
"nawk": {"Awk"}, "nawk": {"Awk"},
"newlisp": {"NewLisp"}, "newlisp": {"NewLisp"},
"nextflow": {"Nextflow"}, "nextflow": {"Nextflow"},
"node": {"JavaScript", "TypeScript"}, "node": {"JavaScript"},
"nush": {"Nu"}, "nush": {"Nu"},
"ocaml": {"OCaml", "Reason"}, "ocaml": {"OCaml", "Reason"},
"ocamlrun": {"OCaml"}, "ocamlrun": {"OCaml"},
@ -90,6 +94,7 @@ var LanguagesByInterpreter = map[string][]string{
"rc": {"Shell"}, "rc": {"Shell"},
"regina": {"REXX"}, "regina": {"REXX"},
"rexx": {"REXX"}, "rexx": {"REXX"},
"rhino": {"JavaScript"},
"ruby": {"Ruby"}, "ruby": {"Ruby"},
"rune": {"E"}, "rune": {"E"},
"runhaskell": {"Haskell"}, "runhaskell": {"Haskell"},
@ -107,6 +112,9 @@ var LanguagesByInterpreter = map[string][]string{
"swipl": {"Prolog"}, "swipl": {"Prolog"},
"tcc": {"C"}, "tcc": {"C"},
"tclsh": {"Tcl"}, "tclsh": {"Tcl"},
"ts-node": {"TypeScript"},
"v8": {"JavaScript"},
"v8-shell": {"JavaScript"},
"verit": {"SMT"}, "verit": {"SMT"},
"wish": {"Tcl"}, "wish": {"Tcl"},
"yap": {"Prolog"}, "yap": {"Prolog"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -23,6 +23,7 @@ var LanguagesMime = map[string]string{
"COLLADA": "text/xml", "COLLADA": "text/xml",
"CSON": "text/x-coffeescript", "CSON": "text/x-coffeescript",
"CSS": "text/css", "CSS": "text/css",
"Cabal Config": "text/x-haskell",
"ChucK": "text/x-java", "ChucK": "text/x-java",
"Clojure": "text/x-clojure", "Clojure": "text/x-clojure",
"Closure Templates": "text/x-soy", "Closure Templates": "text/x-soy",
@ -38,6 +39,7 @@ var LanguagesMime = map[string]string{
"D": "text/x-d", "D": "text/x-d",
"DTrace": "text/x-csrc", "DTrace": "text/x-csrc",
"Dart": "application/dart", "Dart": "application/dart",
"Dhall": "text/x-haskell",
"Diff": "text/x-diff", "Diff": "text/x-diff",
"Dockerfile": "text/x-dockerfile", "Dockerfile": "text/x-dockerfile",
"Dylan": "text/x-dylan", "Dylan": "text/x-dylan",
@ -47,6 +49,7 @@ var LanguagesMime = map[string]string{
"Eagle": "text/xml", "Eagle": "text/xml",
"Easybuild": "text/x-python", "Easybuild": "text/x-python",
"Ecere Projects": "application/json", "Ecere Projects": "application/json",
"EditorConfig": "text/x-properties",
"Edje Data Collection": "application/json", "Edje Data Collection": "application/json",
"Eiffel": "text/x-eiffel", "Eiffel": "text/x-eiffel",
"Elm": "text/x-elm", "Elm": "text/x-elm",
@ -83,6 +86,7 @@ var LanguagesMime = map[string]string{
"Haml": "text/x-haml", "Haml": "text/x-haml",
"Haskell": "text/x-haskell", "Haskell": "text/x-haskell",
"Haxe": "text/x-haxe", "Haxe": "text/x-haxe",
"HolyC": "text/x-csrc",
"IDL": "text/x-idl", "IDL": "text/x-idl",
"INI": "text/x-properties", "INI": "text/x-properties",
"IRC log": "text/mirc", "IRC log": "text/mirc",
@ -97,6 +101,7 @@ var LanguagesMime = map[string]string{
"Java Properties": "text/x-properties", "Java Properties": "text/x-properties",
"Java Server Pages": "application/x-jsp", "Java Server Pages": "application/x-jsp",
"JavaScript": "text/javascript", "JavaScript": "text/javascript",
"JavaScript+ERB": "application/javascript",
"Julia": "text/x-julia", "Julia": "text/x-julia",
"Jupyter Notebook": "application/json", "Jupyter Notebook": "application/json",
"KiCad Layout": "text/x-common-lisp", "KiCad Layout": "text/x-common-lisp",
@ -181,9 +186,11 @@ var LanguagesMime = map[string]string{
"Smarty": "text/x-smarty", "Smarty": "text/x-smarty",
"Squirrel": "text/x-c++src", "Squirrel": "text/x-c++src",
"Standard ML": "text/x-ocaml", "Standard ML": "text/x-ocaml",
"Svelte": "text/html",
"Swift": "text/x-swift", "Swift": "text/x-swift",
"SystemVerilog": "text/x-systemverilog", "SystemVerilog": "text/x-systemverilog",
"TOML": "text/x-toml", "TOML": "text/x-toml",
"TSX": "text/jsx",
"Tcl": "text/x-tcl", "Tcl": "text/x-tcl",
"Tcsh": "text/x-sh", "Tcsh": "text/x-sh",
"TeX": "text/x-stex", "TeX": "text/x-stex",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -21,6 +21,7 @@ var LanguagesType = map[string]int{
"Agda": 2, "Agda": 2,
"Alloy": 2, "Alloy": 2,
"Alpine Abuild": 2, "Alpine Abuild": 2,
"Altium Designer": 1,
"AngelScript": 2, "AngelScript": 2,
"Ant Build System": 1, "Ant Build System": 1,
"ApacheConf": 1, "ApacheConf": 1,
@ -48,7 +49,6 @@ var LanguagesType = map[string]int{
"Boo": 2, "Boo": 2,
"Brainfuck": 2, "Brainfuck": 2,
"Brightscript": 2, "Brightscript": 2,
"Bro": 2,
"C": 2, "C": 2,
"C#": 2, "C#": 2,
"C++": 2, "C++": 2,
@ -62,6 +62,7 @@ var LanguagesType = map[string]int{
"CSS": 3, "CSS": 3,
"CSV": 1, "CSV": 1,
"CWeb": 2, "CWeb": 2,
"Cabal Config": 1,
"Cap'n Proto": 2, "Cap'n Proto": 2,
"CartoCSS": 2, "CartoCSS": 2,
"Ceylon": 2, "Ceylon": 2,
@ -102,6 +103,7 @@ var LanguagesType = map[string]int{
"Darcs Patch": 1, "Darcs Patch": 1,
"Dart": 2, "Dart": 2,
"DataWeave": 2, "DataWeave": 2,
"Dhall": 2,
"Diff": 1, "Diff": 1,
"Dockerfile": 2, "Dockerfile": 2,
"Dogescript": 2, "Dogescript": 2,
@ -116,6 +118,7 @@ var LanguagesType = map[string]int{
"Eagle": 1, "Eagle": 1,
"Easybuild": 1, "Easybuild": 1,
"Ecere Projects": 1, "Ecere Projects": 1,
"EditorConfig": 1,
"Edje Data Collection": 1, "Edje Data Collection": 1,
"Eiffel": 2, "Eiffel": 2,
"Elixir": 2, "Elixir": 2,
@ -137,7 +140,7 @@ var LanguagesType = map[string]int{
"Fortran": 2, "Fortran": 2,
"FreeMarker": 2, "FreeMarker": 2,
"Frege": 2, "Frege": 2,
"G-code": 1, "G-code": 2,
"GAMS": 2, "GAMS": 2,
"GAP": 2, "GAP": 2,
"GCC Machine Description": 2, "GCC Machine Description": 2,
@ -188,6 +191,7 @@ var LanguagesType = map[string]int{
"Haskell": 2, "Haskell": 2,
"Haxe": 2, "Haxe": 2,
"HiveQL": 2, "HiveQL": 2,
"HolyC": 2,
"Hy": 2, "Hy": 2,
"HyPhy": 2, "HyPhy": 2,
"IDL": 2, "IDL": 2,
@ -215,9 +219,11 @@ var LanguagesType = map[string]int{
"Java Properties": 1, "Java Properties": 1,
"Java Server Pages": 2, "Java Server Pages": 2,
"JavaScript": 2, "JavaScript": 2,
"JavaScript+ERB": 2,
"Jison": 2, "Jison": 2,
"Jison Lex": 2, "Jison Lex": 2,
"Jolie": 2, "Jolie": 2,
"Jsonnet": 2,
"Julia": 2, "Julia": 2,
"Jupyter Notebook": 3, "Jupyter Notebook": 3,
"KRL": 2, "KRL": 2,
@ -281,6 +287,7 @@ var LanguagesType = map[string]int{
"Monkey": 2, "Monkey": 2,
"Moocode": 2, "Moocode": 2,
"MoonScript": 2, "MoonScript": 2,
"Motorola 68K Assembly": 2,
"Myghty": 2, "Myghty": 2,
"NCL": 2, "NCL": 2,
"NL": 1, "NL": 1,
@ -301,6 +308,7 @@ var LanguagesType = map[string]int{
"NumPy": 2, "NumPy": 2,
"OCaml": 2, "OCaml": 2,
"ObjDump": 1, "ObjDump": 1,
"ObjectScript": 2,
"Objective-C": 2, "Objective-C": 2,
"Objective-C++": 2, "Objective-C++": 2,
"Objective-J": 2, "Objective-J": 2,
@ -381,6 +389,7 @@ var LanguagesType = map[string]int{
"Regular Expression": 1, "Regular Expression": 1,
"Ren'Py": 2, "Ren'Py": 2,
"RenderScript": 2, "RenderScript": 2,
"Rich Text Format": 3,
"Ring": 2, "Ring": 2,
"RobotFramework": 2, "RobotFramework": 2,
"Roff": 3, "Roff": 3,
@ -396,6 +405,7 @@ var LanguagesType = map[string]int{
"SQL": 1, "SQL": 1,
"SQLPL": 2, "SQLPL": 2,
"SRecode Template": 3, "SRecode Template": 3,
"SSH Config": 1,
"STON": 1, "STON": 1,
"SVG": 1, "SVG": 1,
"Sage": 2, "Sage": 2,
@ -427,11 +437,14 @@ var LanguagesType = map[string]int{
"SubRip Text": 1, "SubRip Text": 1,
"SugarSS": 3, "SugarSS": 3,
"SuperCollider": 2, "SuperCollider": 2,
"Svelte": 3,
"Swift": 2, "Swift": 2,
"SystemVerilog": 2, "SystemVerilog": 2,
"TI Program": 2, "TI Program": 2,
"TLA": 2, "TLA": 2,
"TOML": 1, "TOML": 1,
"TSQL": 2,
"TSX": 2,
"TXL": 2, "TXL": 2,
"Tcl": 2, "Tcl": 2,
"Tcsh": 2, "Tcsh": 2,
@ -465,7 +478,9 @@ var LanguagesType = map[string]int{
"Web Ontology Language": 1, "Web Ontology Language": 1,
"WebAssembly": 2, "WebAssembly": 2,
"WebIDL": 2, "WebIDL": 2,
"WebVTT": 1,
"Windows Registry Entries": 1, "Windows Registry Entries": 1,
"Wollok": 2,
"World of Warcraft Addon Data": 1, "World of Warcraft Addon Data": 1,
"X BitMap": 1, "X BitMap": 1,
"X Font Directory Index": 1, "X Font Directory Index": 1,
@ -486,6 +501,10 @@ var LanguagesType = map[string]int{
"YARA": 2, "YARA": 2,
"YASnippet": 3, "YASnippet": 3,
"Yacc": 2, "Yacc": 2,
"ZAP": 2,
"ZIL": 2,
"Zeek": 2,
"ZenScript": 2,
"Zephir": 2, "Zephir": 2,
"Zig": 2, "Zig": 2,
"Zimpl": 2, "Zimpl": 2,
@ -493,6 +512,7 @@ var LanguagesType = map[string]int{
"eC": 2, "eC": 2,
"edn": 1, "edn": 1,
"fish": 2, "fish": 2,
"mcfunction": 2,
"mupad": 2, "mupad": 2,
"nanorc": 1, "nanorc": 1,
"nesC": 2, "nesC": 2,

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -25,13 +25,14 @@ var VendorMatchers = substring.Or(
substring.Regexp(`^rebar$`), substring.Regexp(`^rebar$`),
substring.Regexp(`erlang.mk`), substring.Regexp(`erlang.mk`),
substring.Regexp(`Godeps/_workspace/`), substring.Regexp(`Godeps/_workspace/`),
substring.Regexp(`(^|/)testdata/`),
substring.Regexp(`.indent.pro`), substring.Regexp(`.indent.pro`),
substring.Regexp(`(\.|-)min\.(js|css)$`), substring.Regexp(`(\.|-)min\.(js|css)$`),
substring.Regexp(`([^\s]*)import\.(css|less|scss|styl)$`), substring.Regexp(`([^\s]*)import\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$`), substring.Regexp(`(^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$`),
substring.Regexp(`(^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$`), substring.Regexp(`(^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$`),
substring.Regexp(`(^|/)font-awesome\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)font-?awesome\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)font-awesome/.*\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)font-?awesome/.*\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)foundation\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)foundation\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)normalize\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)normalize\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)skeleton\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)skeleton\.(css|less|scss|styl)$`),
@ -39,6 +40,7 @@ var VendorMatchers = substring.Or(
substring.Regexp(`(^|/)animate\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)animate\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)materialize\.(css|less|scss|styl|js)$`), substring.Regexp(`(^|/)materialize\.(css|less|scss|styl|js)$`),
substring.Regexp(`(^|/)select2/.*\.(css|scss|js)$`), substring.Regexp(`(^|/)select2/.*\.(css|scss|js)$`),
substring.Regexp(`(^|/)bulma\.(css|sass|scss)$`),
substring.Regexp(`(3rd|[Tt]hird)[-_]?[Pp]arty/`), substring.Regexp(`(3rd|[Tt]hird)[-_]?[Pp]arty/`),
substring.Regexp(`vendors?/`), substring.Regexp(`vendors?/`),
substring.Regexp(`extern(al)?/`), substring.Regexp(`extern(al)?/`),

View File

@ -16,7 +16,7 @@ import (
const ( const (
linguistURL = "https://github.com/github/linguist.git" linguistURL = "https://github.com/github/linguist.git"
linguistClonedEnvVar = "ENRY_TEST_REPO" linguistClonedEnvVar = "ENRY_TEST_REPO"
commit = "e4560984058b4726010ca4b8f03ed9d0f8f464db" commit = "3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d"
samplesDir = "samples" samplesDir = "samples"
languagesFile = "lib/linguist/languages.yml" languagesFile = "lib/linguist/languages.yml"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -32,6 +32,8 @@ var LanguageByAliasMap = map[string]string{
"ahk": "AutoHotkey", "ahk": "AutoHotkey",
"alloy": "Alloy", "alloy": "Alloy",
"alpine_abuild": "Alpine Abuild", "alpine_abuild": "Alpine Abuild",
"altium": "Altium Designer",
"altium_designer": "Altium Designer",
"amfm": "Adobe Font Metrics", "amfm": "Adobe Font Metrics",
"ampl": "AMPL", "ampl": "AMPL",
"angelscript": "AngelScript", "angelscript": "AngelScript",
@ -88,7 +90,7 @@ var LanguageByAliasMap = map[string]string{
"bplus": "BlitzBasic", "bplus": "BlitzBasic",
"brainfuck": "Brainfuck", "brainfuck": "Brainfuck",
"brightscript": "Brightscript", "brightscript": "Brightscript",
"bro": "Bro", "bro": "Zeek",
"bsdmake": "Makefile", "bsdmake": "Makefile",
"byond": "DM", "byond": "DM",
"c": "C", "c": "C",
@ -98,6 +100,8 @@ var LanguageByAliasMap = map[string]string{
"c-objdump": "C-ObjDump", "c-objdump": "C-ObjDump",
"c2hs": "C2hs Haskell", "c2hs": "C2hs Haskell",
"c2hs_haskell": "C2hs Haskell", "c2hs_haskell": "C2hs Haskell",
"cabal": "Cabal Config",
"cabal_config": "Cabal Config",
"cap'n_proto": "Cap'n Proto", "cap'n_proto": "Cap'n Proto",
"carto": "CartoCSS", "carto": "CartoCSS",
"cartocss": "CartoCSS", "cartocss": "CartoCSS",
@ -165,6 +169,7 @@ var LanguageByAliasMap = map[string]string{
"dcl": "DIGITAL Command Language", "dcl": "DIGITAL Command Language",
"delphi": "Component Pascal", "delphi": "Component Pascal",
"desktop": "desktop", "desktop": "desktop",
"dhall": "Dhall",
"diff": "Diff", "diff": "Diff",
"digital_command_language": "DIGITAL Command Language", "digital_command_language": "DIGITAL Command Language",
"django": "HTML+Django", "django": "HTML+Django",
@ -187,6 +192,8 @@ var LanguageByAliasMap = map[string]string{
"ecl": "ECL", "ecl": "ECL",
"eclipse": "ECLiPSe", "eclipse": "ECLiPSe",
"ecr": "HTML+ECR", "ecr": "HTML+ECR",
"editor-config": "EditorConfig",
"editorconfig": "EditorConfig",
"edje_data_collection": "Edje Data Collection", "edje_data_collection": "Edje Data Collection",
"edn": "edn", "edn": "edn",
"eeschema_schematic": "KiCad Schematic", "eeschema_schematic": "KiCad Schematic",
@ -277,6 +284,7 @@ var LanguageByAliasMap = map[string]string{
"hcl": "HCL", "hcl": "HCL",
"hiveql": "HiveQL", "hiveql": "HiveQL",
"hlsl": "HLSL", "hlsl": "HLSL",
"holyc": "HolyC",
"html": "HTML", "html": "HTML",
"html+django": "HTML+Django", "html+django": "HTML+Django",
"html+django/jinja": "HTML+Django", "html+django/jinja": "HTML+Django",
@ -322,6 +330,7 @@ var LanguageByAliasMap = map[string]string{
"java_server_page": "Groovy Server Pages", "java_server_page": "Groovy Server Pages",
"java_server_pages": "Java Server Pages", "java_server_pages": "Java Server Pages",
"javascript": "JavaScript", "javascript": "JavaScript",
"javascript+erb": "JavaScript+ERB",
"jflex": "JFlex", "jflex": "JFlex",
"jison": "Jison", "jison": "Jison",
"jison_lex": "Jison Lex", "jison_lex": "Jison Lex",
@ -334,6 +343,7 @@ var LanguageByAliasMap = map[string]string{
"jsonc": "JSON with Comments", "jsonc": "JSON with Comments",
"jsoniq": "JSONiq", "jsoniq": "JSONiq",
"jsonld": "JSONLD", "jsonld": "JSONLD",
"jsonnet": "Jsonnet",
"jsp": "Java Server Pages", "jsp": "Java Server Pages",
"jsx": "JSX", "jsx": "JSX",
"julia": "Julia", "julia": "Julia",
@ -399,6 +409,7 @@ var LanguageByAliasMap = map[string]string{
"max/msp": "Max", "max/msp": "Max",
"maxmsp": "Max", "maxmsp": "Max",
"maxscript": "MAXScript", "maxscript": "MAXScript",
"mcfunction": "mcfunction",
"mdoc": "Roff", "mdoc": "Roff",
"mediawiki": "MediaWiki", "mediawiki": "MediaWiki",
"mercury": "Mercury", "mercury": "Mercury",
@ -415,6 +426,7 @@ var LanguageByAliasMap = map[string]string{
"monkey": "Monkey", "monkey": "Monkey",
"moocode": "Moocode", "moocode": "Moocode",
"moonscript": "MoonScript", "moonscript": "MoonScript",
"motorola_68k_assembly": "Motorola 68K Assembly",
"mql4": "MQL4", "mql4": "MQL4",
"mql5": "MQL5", "mql5": "MQL5",
"mtml": "MTML", "mtml": "MTML",
@ -463,6 +475,7 @@ var LanguageByAliasMap = map[string]string{
"objectivec++": "Objective-C++", "objectivec++": "Objective-C++",
"objectivej": "Objective-J", "objectivej": "Objective-J",
"objectpascal": "Component Pascal", "objectpascal": "Component Pascal",
"objectscript": "ObjectScript",
"objj": "Objective-J", "objj": "Objective-J",
"ocaml": "OCaml", "ocaml": "OCaml",
"octave": "MATLAB", "octave": "MATLAB",
@ -574,6 +587,7 @@ var LanguageByAliasMap = map[string]string{
"restructuredtext": "reStructuredText", "restructuredtext": "reStructuredText",
"rexx": "REXX", "rexx": "REXX",
"rhtml": "RHTML", "rhtml": "RHTML",
"rich_text_format": "Rich Text Format",
"ring": "Ring", "ring": "Ring",
"rmarkdown": "RMarkdown", "rmarkdown": "RMarkdown",
"robotframework": "RobotFramework", "robotframework": "RobotFramework",
@ -633,6 +647,7 @@ var LanguageByAliasMap = map[string]string{
"squeak": "Smalltalk", "squeak": "Smalltalk",
"squirrel": "Squirrel", "squirrel": "Squirrel",
"srecode_template": "SRecode Template", "srecode_template": "SRecode Template",
"ssh_config": "SSH Config",
"stan": "Stan", "stan": "Stan",
"standard_ml": "Standard ML", "standard_ml": "Standard ML",
"stata": "Stata", "stata": "Stata",
@ -641,6 +656,7 @@ var LanguageByAliasMap = map[string]string{
"subrip_text": "SubRip Text", "subrip_text": "SubRip Text",
"sugarss": "SugarSS", "sugarss": "SugarSS",
"supercollider": "SuperCollider", "supercollider": "SuperCollider",
"svelte": "Svelte",
"svg": "SVG", "svg": "SVG",
"swift": "Swift", "swift": "Swift",
"systemverilog": "SystemVerilog", "systemverilog": "SystemVerilog",
@ -659,6 +675,8 @@ var LanguageByAliasMap = map[string]string{
"toml": "TOML", "toml": "TOML",
"troff": "Roff", "troff": "Roff",
"ts": "TypeScript", "ts": "TypeScript",
"tsql": "TSQL",
"tsx": "TSX",
"turing": "Turing", "turing": "Turing",
"turtle": "Turtle", "turtle": "Turtle",
"twig": "Twig", "twig": "Twig",
@ -694,9 +712,11 @@ var LanguageByAliasMap = map[string]string{
"web_ontology_language": "Web Ontology Language", "web_ontology_language": "Web Ontology Language",
"webassembly": "WebAssembly", "webassembly": "WebAssembly",
"webidl": "WebIDL", "webidl": "WebIDL",
"webvtt": "WebVTT",
"winbatch": "Batchfile", "winbatch": "Batchfile",
"windows_registry_entries": "Windows Registry Entries", "windows_registry_entries": "Windows Registry Entries",
"wisp": "wisp", "wisp": "wisp",
"wollok": "Wollok",
"world_of_warcraft_addon_data": "World of Warcraft Addon Data", "world_of_warcraft_addon_data": "World of Warcraft Addon Data",
"wsdl": "XML", "wsdl": "XML",
"x10": "X10", "x10": "X10",
@ -730,8 +750,12 @@ var LanguageByAliasMap = map[string]string{
"yas": "YASnippet", "yas": "YASnippet",
"yasnippet": "YASnippet", "yasnippet": "YASnippet",
"yml": "YAML", "yml": "YAML",
"zap": "ZAP",
"zeek": "Zeek",
"zenscript": "ZenScript",
"zephir": "Zephir", "zephir": "Zephir",
"zig": "Zig", "zig": "Zig",
"zil": "ZIL",
"zimpl": "Zimpl", "zimpl": "Zimpl",
"zsh": "Shell", "zsh": "Shell",
} }

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -52,6 +52,7 @@ var LanguagesColor = map[string]string{
"DM": "#447265", "DM": "#447265",
"Dart": "#00B4AB", "Dart": "#00B4AB",
"DataWeave": "#003a52", "DataWeave": "#003a52",
"Dhall": "#dfafff",
"Dockerfile": "#384d54", "Dockerfile": "#384d54",
"Dogescript": "#cca760", "Dogescript": "#cca760",
"Dylan": "#6c616e", "Dylan": "#6c616e",
@ -74,6 +75,7 @@ var LanguagesColor = map[string]string{
"Fortran": "#4d41b1", "Fortran": "#4d41b1",
"FreeMarker": "#0050b2", "FreeMarker": "#0050b2",
"Frege": "#00cafe", "Frege": "#00cafe",
"G-code": "#D08CF2",
"GDScript": "#355570", "GDScript": "#355570",
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Genie": "#fb855d", "Genie": "#fb855d",
@ -91,6 +93,7 @@ var LanguagesColor = map[string]string{
"Haskell": "#5e5086", "Haskell": "#5e5086",
"Haxe": "#df7900", "Haxe": "#df7900",
"HiveQL": "#dce200", "HiveQL": "#dce200",
"HolyC": "#ffefaf",
"Hy": "#7790B2", "Hy": "#7790B2",
"IDL": "#a3522f", "IDL": "#a3522f",
"Idris": "#b30000", "Idris": "#b30000",
@ -102,6 +105,7 @@ var LanguagesColor = map[string]string{
"Java": "#b07219", "Java": "#b07219",
"JavaScript": "#f1e05a", "JavaScript": "#f1e05a",
"Jolie": "#843179", "Jolie": "#843179",
"Jsonnet": "#0064bd",
"Julia": "#a270ba", "Julia": "#a270ba",
"Jupyter Notebook": "#DA5B0B", "Jupyter Notebook": "#DA5B0B",
"KRL": "#28430A", "KRL": "#28430A",
@ -141,6 +145,7 @@ var LanguagesColor = map[string]string{
"Nix": "#7e7eff", "Nix": "#7e7eff",
"Nu": "#c9df40", "Nu": "#c9df40",
"OCaml": "#3be133", "OCaml": "#3be133",
"ObjectScript": "#424893",
"Objective-C": "#438eff", "Objective-C": "#438eff",
"Objective-C++": "#6866fb", "Objective-C++": "#6866fb",
"Objective-J": "#ff0c5a", "Objective-J": "#ff0c5a",
@ -177,7 +182,7 @@ var LanguagesColor = map[string]string{
"R": "#198CE7", "R": "#198CE7",
"RAML": "#77d9fb", "RAML": "#77d9fb",
"RUNOFF": "#665a4e", "RUNOFF": "#665a4e",
"Racket": "#22228f", "Racket": "#3c5caa",
"Ragel": "#9d5200", "Ragel": "#9d5200",
"Rascal": "#fffaa0", "Rascal": "#fffaa0",
"Rebol": "#358a5b", "Rebol": "#358a5b",
@ -224,6 +229,7 @@ var LanguagesColor = map[string]string{
"Volt": "#1F1F1F", "Volt": "#1F1F1F",
"Vue": "#2c3e50", "Vue": "#2c3e50",
"WebAssembly": "#04133b", "WebAssembly": "#04133b",
"Wollok": "#a23738",
"X10": "#4B6BEF", "X10": "#4B6BEF",
"XC": "#99DA07", "XC": "#99DA07",
"XQuery": "#5232e7", "XQuery": "#5232e7",
@ -231,9 +237,13 @@ var LanguagesColor = map[string]string{
"YARA": "#220000", "YARA": "#220000",
"YASnippet": "#32AB90", "YASnippet": "#32AB90",
"Yacc": "#4B6C4B", "Yacc": "#4B6C4B",
"ZAP": "#0d665e",
"ZIL": "#dc75e5",
"ZenScript": "#00BCD1",
"Zephir": "#118f9e", "Zephir": "#118f9e",
"Zig": "#ec915c", "Zig": "#ec915c",
"eC": "#913960", "eC": "#913960",
"mcfunction": "#E22837",
"nesC": "#94B0C7", "nesC": "#94B0C7",
"ooc": "#b0b77e", "ooc": "#b0b77e",
"q": "#0040cd", "q": "#0040cd",

View File

@ -1,7 +1,7 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
// linguist's commit from which files were generated. // linguist's commit from which files were generated.
var LinguistCommit = "e4560984058b4726010ca4b8f03ed9d0f8f464db" var LinguistCommit = "3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -644,6 +644,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("TeX"), rule.MatchingLanguages("TeX"),
regexp.MustCompile(`(?m)\\\w+{`), regexp.MustCompile(`(?m)\\\w+{`),
), ),
rule.Or(
rule.MatchingLanguages("ObjectScript"),
regexp.MustCompile(`(?m)^Class\s`),
),
}, },
".cs": &Heuristics{ ".cs": &Heuristics{
rule.Or( rule.Or(
@ -666,7 +670,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Makefile"), rule.MatchingLanguages("Makefile"),
regexp.MustCompile(`(?m)([\/\\].*:\s+.*\s\\$|: \\$|^ : |^[\w\s\/\\.]+\w+\.\w+\s*:\s+[\w\s\/\\.]+\w+\.\w+)`), regexp.MustCompile(`(?m)([\/\\].*:\s+.*\s\\$|: \\$|^[ %]:|^[\w\s\/\\.]+\w+\.\w+\s*:\s+[\w\s\/\\.]+\w+\.\w+)`),
), ),
}, },
".ecl": &Heuristics{ ".ecl": &Heuristics{
@ -759,6 +763,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Graph Modeling Language"), rule.MatchingLanguages("Graph Modeling Language"),
regexp.MustCompile(`(?m)(?i:^\s*(graph|node)\s+\[$)`), regexp.MustCompile(`(?m)(?i:^\s*(graph|node)\s+\[$)`),
), ),
rule.Or(
rule.MatchingLanguages("Gerber Image"),
regexp.MustCompile(`(?m)\*\%$`),
),
rule.Always( rule.Always(
rule.MatchingLanguages("Game Maker Language"), rule.MatchingLanguages("Game Maker Language"),
), ),
@ -776,7 +784,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("C++"), rule.MatchingLanguages("C++"),
regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>|^\s*template\s*<|^[ \t]*try|^[ \t]*catch\s*\(|^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+|^[ \t]*(private|public|protected):$|std::\w+`), regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>|^\s*template\s*<|^[ \t]*(try|constexpr)|^[ \t]*catch\s*\(|^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+|^[ \t]*(private|public|protected):$|std::\w+`),
), ),
}, },
".hh": &Heuristics{ ".hh": &Heuristics{
@ -799,6 +807,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("PHP"), rule.MatchingLanguages("PHP"),
regexp.MustCompile(`(?m)^<\?(?:php)?`), regexp.MustCompile(`(?m)^<\?(?:php)?`),
), ),
rule.Or(
rule.MatchingLanguages("SourcePawn"),
regexp.MustCompile(`(?m)^public\s+(?:SharedPlugin(?:\s+|:)__pl_\w+\s*=(?:\s*{)?|(?:void\s+)?__pl_\w+_SetNTVOptional\(\)(?:\s*{)?)`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("POV-Ray SDL"), rule.MatchingLanguages("POV-Ray SDL"),
regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`), regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`),
@ -868,10 +880,17 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("M"), rule.MatchingLanguages("M"),
regexp.MustCompile(`(?m)^\s*;`), regexp.MustCompile(`(?m)^\s*;`),
), ),
rule.Or( rule.And(
rule.MatchingLanguages("Mathematica"), rule.MatchingLanguages("Mathematica"),
rule.Or(
rule.MatchingLanguages(""),
regexp.MustCompile(`(?m)\(\*`),
),
rule.Or(
rule.MatchingLanguages(""),
regexp.MustCompile(`(?m)\*\)$`), regexp.MustCompile(`(?m)\*\)$`),
), ),
),
rule.Or( rule.Or(
rule.MatchingLanguages("MATLAB"), rule.MatchingLanguages("MATLAB"),
regexp.MustCompile(`(?m)^\s*%`), regexp.MustCompile(`(?m)^\s*%`),
@ -1062,7 +1081,7 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`), regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("XPM"), rule.MatchingLanguages("X PixMap"),
regexp.MustCompile(`(?m)^\s*\/\* XPM \*\/`), regexp.MustCompile(`(?m)^\s*\/\* XPM \*\/`),
), ),
}, },
@ -1145,7 +1164,7 @@ var ContentHeuristics = map[string]*Heuristics{
".props": &Heuristics{ ".props": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("XML"), rule.MatchingLanguages("XML"),
regexp.MustCompile(`(?m)^(\s*)(?i:<Project|<Import|<Property|<?xml|xmlns)`), regexp.MustCompile(`(?m)^(\s*)(?i:<Project|<Import|<Property|<\?xml|xmlns)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("INI"), rule.MatchingLanguages("INI"),
@ -1173,10 +1192,6 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
}, },
".rno": &Heuristics{ ".rno": &Heuristics{
rule.Or(
rule.MatchingLanguages("RUNOFF"),
regexp.MustCompile(`(?m)(?i:^\.!|^\.end lit(?:eral)?\b)`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("Roff"), rule.MatchingLanguages("Roff"),
regexp.MustCompile(`(?m)^\.\\" `), regexp.MustCompile(`(?m)^\.\\" `),
@ -1214,7 +1229,7 @@ var ContentHeuristics = map[string]*Heuristics{
".sql": &Heuristics{ ".sql": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("PLpgSQL"), rule.MatchingLanguages("PLpgSQL"),
regexp.MustCompile(`(?m)(?i:^\\i\b|AS \$\$|LANGUAGE '?plpgsql'?|SECURITY (DEFINER|INVOKER)|BEGIN( WORK| TRANSACTION)?;)`), regexp.MustCompile(`(?m)(?i:^\\i\b|AS \$\$|LANGUAGE '?plpgsql'?|SECURITY (DEFINER|INVOKER)|BEGIN( WORK )?;)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("SQLPL"), rule.MatchingLanguages("SQLPL"),
@ -1224,6 +1239,17 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("PLSQL"), rule.MatchingLanguages("PLSQL"),
regexp.MustCompile(`(?m)(?i:\$\$PLSQL_|XMLTYPE|sysdate|systimestamp|\.nextval|connect by|AUTHID (DEFINER|CURRENT_USER)|constructor\W+function)`), regexp.MustCompile(`(?m)(?i:\$\$PLSQL_|XMLTYPE|sysdate|systimestamp|\.nextval|connect by|AUTHID (DEFINER|CURRENT_USER)|constructor\W+function)`),
), ),
rule.And(
rule.MatchingLanguages("TSQL"),
rule.Not(
rule.MatchingLanguages(""),
regexp.MustCompile(`(?m)(?i:IDENTIFIED|NUMBER|VARCHAR2|REPEAT|UNTIL|IMMEDIATE)`),
),
rule.Or(
rule.MatchingLanguages(""),
regexp.MustCompile(`(?m)(?i:(GO)|(@@)|(CREATE PROCEDURE)|BEGIN( TRY| CATCH)|OUTPUT( INSERTED)|IF|ELSE|IIF|CHOOSE|CURSOR|FETCH|DEALLOCATE|DECLARE)`),
),
),
rule.Not( rule.Not(
rule.MatchingLanguages("SQL"), rule.MatchingLanguages("SQL"),
regexp.MustCompile(`(?m)(?i:begin|boolean|package|exception)`), regexp.MustCompile(`(?m)(?i:begin|boolean|package|exception)`),
@ -1279,7 +1305,7 @@ var ContentHeuristics = map[string]*Heuristics{
}, },
".tsx": &Heuristics{ ".tsx": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("TypeScript"), rule.MatchingLanguages("TSX"),
regexp.MustCompile(`(?m)^\s*(import.+(from\s+|require\()['"]react|\/\/\/\s*<reference\s)`), regexp.MustCompile(`(?m)^\s*(import.+(from\s+|require\()['"]react|\/\/\/\s*<reference\s)`),
), ),
rule.Or( rule.Or(
@ -1287,6 +1313,15 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`), regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`),
), ),
}, },
".vba": &Heuristics{
rule.Or(
rule.MatchingLanguages("Vim script"),
regexp.MustCompile(`(?m)^UseVimball`),
),
rule.Always(
rule.MatchingLanguages("Visual Basic"),
),
},
".w": &Heuristics{ ".w": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("OpenEdge ABL"), rule.MatchingLanguages("OpenEdge ABL"),
@ -1307,7 +1342,7 @@ var ContentHeuristics = map[string]*Heuristics{
regexp.MustCompile(`(?m)^%(end|ctor|hook|group)\b`), regexp.MustCompile(`(?m)^%(end|ctor|hook|group)\b`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Linked Script"), rule.MatchingLanguages("Linker Script"),
regexp.MustCompile(`(?m)OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS`), regexp.MustCompile(`(?m)OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS`),
), ),
}, },

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -112,7 +112,7 @@ var LanguagesByExtension = map[string][]string{
".boo": {"Boo"}, ".boo": {"Boo"},
".boot": {"Clojure"}, ".boot": {"Clojure"},
".brd": {"Eagle", "KiCad Legacy Layout"}, ".brd": {"Eagle", "KiCad Legacy Layout"},
".bro": {"Bro"}, ".bro": {"Zeek"},
".brs": {"Brightscript"}, ".brs": {"Brightscript"},
".bsl": {"1C Enterprise"}, ".bsl": {"1C Enterprise"},
".bsv": {"Bluespec"}, ".bsv": {"Bluespec"},
@ -124,6 +124,7 @@ var LanguagesByExtension = map[string][]string{
".c++-objdump": {"Cpp-ObjDump"}, ".c++-objdump": {"Cpp-ObjDump"},
".c++objdump": {"Cpp-ObjDump"}, ".c++objdump": {"Cpp-ObjDump"},
".c-objdump": {"C-ObjDump"}, ".c-objdump": {"C-ObjDump"},
".cabal": {"Cabal Config"},
".cake": {"C#", "CoffeeScript"}, ".cake": {"C#", "CoffeeScript"},
".capnp": {"Cap'n Proto"}, ".capnp": {"Cap'n Proto"},
".cats": {"C"}, ".cats": {"C"},
@ -159,11 +160,12 @@ var LanguagesByExtension = map[string][]string{
".cljscm": {"Clojure"}, ".cljscm": {"Clojure"},
".cljx": {"Clojure"}, ".cljx": {"Clojure"},
".clp": {"CLIPS"}, ".clp": {"CLIPS"},
".cls": {"Apex", "OpenEdge ABL", "TeX", "Visual Basic"}, ".cls": {"Apex", "ObjectScript", "OpenEdge ABL", "TeX", "Visual Basic"},
".clw": {"Clarion"}, ".clw": {"Clarion"},
".cmake": {"CMake"}, ".cmake": {"CMake"},
".cmake.in": {"CMake"}, ".cmake.in": {"CMake"},
".cmd": {"Batchfile"}, ".cmd": {"Batchfile"},
".cnc": {"G-code"},
".cob": {"COBOL"}, ".cob": {"COBOL"},
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".coffee": {"CoffeeScript"}, ".coffee": {"CoffeeScript"},
@ -217,6 +219,7 @@ var LanguagesByExtension = map[string][]string{
".desktop": {"desktop"}, ".desktop": {"desktop"},
".desktop.in": {"desktop"}, ".desktop.in": {"desktop"},
".dfm": {"Pascal"}, ".dfm": {"Pascal"},
".dhall": {"Dhall"},
".di": {"D"}, ".di": {"D"},
".diff": {"Diff"}, ".diff": {"Diff"},
".dita": {"XML"}, ".dita": {"XML"},
@ -346,7 +349,7 @@ var LanguagesByExtension = map[string][]string{
".glsl": {"GLSL"}, ".glsl": {"GLSL"},
".glslv": {"GLSL"}, ".glslv": {"GLSL"},
".gltf": {"JSON"}, ".gltf": {"JSON"},
".gml": {"Game Maker Language", "Graph Modeling Language", "XML"}, ".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"},
".gms": {"GAMS"}, ".gms": {"GAMS"},
".gmx": {"XML"}, ".gmx": {"XML"},
".gn": {"GN"}, ".gn": {"GN"},
@ -363,6 +366,7 @@ var LanguagesByExtension = map[string][]string{
".grace": {"Grace"}, ".grace": {"Grace"},
".gradle": {"Gradle"}, ".gradle": {"Gradle"},
".graphql": {"GraphQL"}, ".graphql": {"GraphQL"},
".graphqls": {"GraphQL"},
".groovy": {"Groovy"}, ".groovy": {"Groovy"},
".grt": {"Groovy"}, ".grt": {"Groovy"},
".grxml": {"XML"}, ".grxml": {"XML"},
@ -389,6 +393,7 @@ var LanguagesByExtension = map[string][]string{
".hats": {"ATS"}, ".hats": {"ATS"},
".hb": {"Harbour"}, ".hb": {"Harbour"},
".hbs": {"Handlebars"}, ".hbs": {"Handlebars"},
".hc": {"HolyC"},
".hcl": {"HCL"}, ".hcl": {"HCL"},
".hh": {"C++", "Hack"}, ".hh": {"C++", "Hack"},
".hic": {"Clojure"}, ".hic": {"Clojure"},
@ -450,6 +455,7 @@ var LanguagesByExtension = map[string][]string{
".jl": {"Julia"}, ".jl": {"Julia"},
".jq": {"JSONiq"}, ".jq": {"JSONiq"},
".js": {"JavaScript"}, ".js": {"JavaScript"},
".js.erb": {"JavaScript+ERB"},
".jsb": {"JavaScript"}, ".jsb": {"JavaScript"},
".jscad": {"JavaScript"}, ".jscad": {"JavaScript"},
".jsfl": {"JavaScript"}, ".jsfl": {"JavaScript"},
@ -459,6 +465,7 @@ var LanguagesByExtension = map[string][]string{
".json5": {"JSON5"}, ".json5": {"JSON5"},
".jsonl": {"JSON"}, ".jsonl": {"JSON"},
".jsonld": {"JSONLD"}, ".jsonld": {"JSONLD"},
".jsonnet": {"Jsonnet"},
".jsp": {"Java Server Pages"}, ".jsp": {"Java Server Pages"},
".jsproj": {"XML"}, ".jsproj": {"XML"},
".jss": {"JavaScript"}, ".jss": {"JavaScript"},
@ -494,6 +501,7 @@ var LanguagesByExtension = map[string][]string{
".lfe": {"LFE"}, ".lfe": {"LFE"},
".lgt": {"Logtalk"}, ".lgt": {"Logtalk"},
".lhs": {"Literate Haskell"}, ".lhs": {"Literate Haskell"},
".libsonnet": {"Jsonnet"},
".lid": {"Dylan"}, ".lid": {"Dylan"},
".lidr": {"Idris"}, ".lidr": {"Idris"},
".liquid": {"Liquid"}, ".liquid": {"Liquid"},
@ -535,12 +543,15 @@ var LanguagesByExtension = map[string][]string{
".maxpat": {"Max"}, ".maxpat": {"Max"},
".maxproj": {"Max"}, ".maxproj": {"Max"},
".mbox": {"EML"}, ".mbox": {"EML"},
".mcfunction": {"mcfunction"},
".mcmeta": {"JSON"},
".mcr": {"MAXScript"}, ".mcr": {"MAXScript"},
".md": {"GCC Machine Description", "Markdown"}, ".md": {"GCC Machine Description", "Markdown"},
".mdoc": {"Roff", "Roff Manpage"}, ".mdoc": {"Roff", "Roff Manpage"},
".mdown": {"Markdown"}, ".mdown": {"Markdown"},
".mdpolicy": {"XML"}, ".mdpolicy": {"XML"},
".mdwn": {"Markdown"}, ".mdwn": {"Markdown"},
".mdx": {"Markdown"},
".me": {"Roff"}, ".me": {"Roff"},
".mediawiki": {"MediaWiki"}, ".mediawiki": {"MediaWiki"},
".meta": {"Unity3D Asset"}, ".meta": {"Unity3D Asset"},
@ -584,6 +595,7 @@ var LanguagesByExtension = map[string][]string{
".mtl": {"Wavefront Material"}, ".mtl": {"Wavefront Material"},
".mtml": {"MTML"}, ".mtml": {"MTML"},
".mu": {"mupad"}, ".mu": {"mupad"},
".mud": {"ZIL"},
".muf": {"MUF"}, ".muf": {"MUF"},
".mumps": {"M"}, ".mumps": {"M"},
".mustache": {"HTML+Django"}, ".mustache": {"HTML+Django"},
@ -645,6 +657,7 @@ var LanguagesByExtension = map[string][]string{
".org": {"Org"}, ".org": {"Org"},
".os": {"1C Enterprise"}, ".os": {"1C Enterprise"},
".osm": {"XML"}, ".osm": {"XML"},
".outjob": {"Altium Designer"},
".owl": {"Web Ontology Language"}, ".owl": {"Web Ontology Language"},
".ox": {"Ox"}, ".ox": {"Ox"},
".oxh": {"Ox"}, ".oxh": {"Ox"},
@ -668,6 +681,7 @@ var LanguagesByExtension = map[string][]string{
".pb": {"PureBasic"}, ".pb": {"PureBasic"},
".pbi": {"PureBasic"}, ".pbi": {"PureBasic"},
".pbt": {"PowerBuilder"}, ".pbt": {"PowerBuilder"},
".pcbdoc": {"Altium Designer"},
".pck": {"PLSQL"}, ".pck": {"PLSQL"},
".pcss": {"PostCSS"}, ".pcss": {"PostCSS"},
".pd": {"Pure Data"}, ".pd": {"Pure Data"},
@ -722,6 +736,7 @@ var LanguagesByExtension = map[string][]string{
".prefs": {"INI"}, ".prefs": {"INI"},
".prg": {"xBase"}, ".prg": {"xBase"},
".pri": {"QMake"}, ".pri": {"QMake"},
".prjpcb": {"Altium Designer"},
".pro": {"IDL", "INI", "Prolog", "QMake"}, ".pro": {"IDL", "INI", "Prolog", "QMake"},
".proj": {"XML"}, ".proj": {"XML"},
".prolog": {"Prolog"}, ".prolog": {"Prolog"},
@ -763,6 +778,7 @@ var LanguagesByExtension = map[string][]string{
".rake": {"Ruby"}, ".rake": {"Ruby"},
".raml": {"RAML"}, ".raml": {"RAML"},
".raw": {"Raw token data"}, ".raw": {"Raw token data"},
".razor": {"HTML+Razor"},
".rb": {"Ruby"}, ".rb": {"Ruby"},
".rbbas": {"REALbasic"}, ".rbbas": {"REALbasic"},
".rbfrm": {"REALbasic"}, ".rbfrm": {"REALbasic"},
@ -815,6 +831,7 @@ var LanguagesByExtension = map[string][]string{
".rst": {"reStructuredText"}, ".rst": {"reStructuredText"},
".rst.txt": {"reStructuredText"}, ".rst.txt": {"reStructuredText"},
".rsx": {"R"}, ".rsx": {"R"},
".rtf": {"Rich Text Format"},
".ru": {"Ruby"}, ".ru": {"Ruby"},
".ruby": {"Ruby"}, ".ruby": {"Ruby"},
".rviz": {"YAML"}, ".rviz": {"YAML"},
@ -832,6 +849,7 @@ var LanguagesByExtension = map[string][]string{
".scd": {"SuperCollider"}, ".scd": {"SuperCollider"},
".sce": {"Scilab"}, ".sce": {"Scilab"},
".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"}, ".sch": {"Eagle", "KiCad Schematic", "Scheme", "XML"},
".schdoc": {"Altium Designer"},
".sci": {"Scilab"}, ".sci": {"Scilab"},
".scm": {"Scheme"}, ".scm": {"Scheme"},
".sco": {"Csound Score"}, ".sco": {"Csound Score"},
@ -857,7 +875,7 @@ var LanguagesByExtension = map[string][]string{
".sld": {"Scheme"}, ".sld": {"Scheme"},
".slim": {"Slim"}, ".slim": {"Slim"},
".sls": {"SaltStack", "Scheme"}, ".sls": {"SaltStack", "Scheme"},
".sma": {"SourcePawn"}, ".sma": {"Pawn"},
".smali": {"Smali"}, ".smali": {"Smali"},
".sml": {"Standard ML"}, ".sml": {"Standard ML"},
".smt": {"SMT"}, ".smt": {"SMT"},
@ -870,7 +888,7 @@ var LanguagesByExtension = map[string][]string{
".spin": {"Propeller Spin"}, ".spin": {"Propeller Spin"},
".sps": {"Scheme"}, ".sps": {"Scheme"},
".sqf": {"SQF"}, ".sqf": {"SQF"},
".sql": {"PLSQL", "PLpgSQL", "SQL", "SQLPL"}, ".sql": {"PLSQL", "PLpgSQL", "SQL", "SQLPL", "TSQL"},
".sra": {"PowerBuilder"}, ".sra": {"PowerBuilder"},
".srdf": {"XML"}, ".srdf": {"XML"},
".srt": {"SRecode Template", "SubRip Text"}, ".srt": {"SRecode Template", "SubRip Text"},
@ -903,6 +921,7 @@ var LanguagesByExtension = map[string][]string{
".sublime_metrics": {"JSON with Comments"}, ".sublime_metrics": {"JSON with Comments"},
".sublime_session": {"JSON with Comments"}, ".sublime_session": {"JSON with Comments"},
".sv": {"SystemVerilog"}, ".sv": {"SystemVerilog"},
".svelte": {"Svelte"},
".svg": {"SVG"}, ".svg": {"SVG"},
".svh": {"SystemVerilog"}, ".svh": {"SystemVerilog"},
".swift": {"Swift"}, ".swift": {"Swift"},
@ -948,7 +967,7 @@ var LanguagesByExtension = map[string][]string{
".trg": {"PLSQL"}, ".trg": {"PLSQL"},
".ts": {"TypeScript", "XML"}, ".ts": {"TypeScript", "XML"},
".tst": {"GAP", "Scilab"}, ".tst": {"GAP", "Scilab"},
".tsx": {"TypeScript", "XML"}, ".tsx": {"TSX", "XML"},
".ttl": {"Turtle"}, ".ttl": {"Turtle"},
".tu": {"Turing"}, ".tu": {"Turing"},
".twig": {"Twig"}, ".twig": {"Twig"},
@ -970,7 +989,7 @@ var LanguagesByExtension = map[string][]string{
".vapi": {"Vala"}, ".vapi": {"Vala"},
".vark": {"Gosu"}, ".vark": {"Gosu"},
".vb": {"Visual Basic"}, ".vb": {"Visual Basic"},
".vba": {"Visual Basic"}, ".vba": {"Vim script", "Visual Basic"},
".vbhtml": {"Visual Basic"}, ".vbhtml": {"Visual Basic"},
".vbproj": {"XML"}, ".vbproj": {"XML"},
".vbs": {"Visual Basic"}, ".vbs": {"Visual Basic"},
@ -991,6 +1010,7 @@ var LanguagesByExtension = map[string][]string{
".view.lkml": {"LookML"}, ".view.lkml": {"LookML"},
".vim": {"Vim script"}, ".vim": {"Vim script"},
".viw": {"SQL"}, ".viw": {"SQL"},
".vmb": {"Vim script"},
".volt": {"Volt"}, ".volt": {"Volt"},
".vrx": {"GLSL"}, ".vrx": {"GLSL"},
".vsh": {"GLSL"}, ".vsh": {"GLSL"},
@ -998,6 +1018,7 @@ var LanguagesByExtension = map[string][]string{
".vsixmanifest": {"XML"}, ".vsixmanifest": {"XML"},
".vssettings": {"XML"}, ".vssettings": {"XML"},
".vstemplate": {"XML"}, ".vstemplate": {"XML"},
".vtt": {"WebVTT"},
".vue": {"Vue"}, ".vue": {"Vue"},
".vw": {"PLSQL"}, ".vw": {"PLSQL"},
".vxml": {"XML"}, ".vxml": {"XML"},
@ -1014,6 +1035,7 @@ var LanguagesByExtension = map[string][]string{
".wisp": {"wisp"}, ".wisp": {"wisp"},
".wixproj": {"XML"}, ".wixproj": {"XML"},
".wl": {"Mathematica"}, ".wl": {"Mathematica"},
".wlk": {"Wollok"},
".wlt": {"Mathematica"}, ".wlt": {"Mathematica"},
".wlua": {"Lua"}, ".wlua": {"Lua"},
".workbook": {"Markdown"}, ".workbook": {"Markdown"},
@ -1027,6 +1049,7 @@ var LanguagesByExtension = map[string][]string{
".x": {"Linker Script", "Logos", "RPC"}, ".x": {"Linker Script", "Logos", "RPC"},
".x10": {"X10"}, ".x10": {"X10"},
".x3d": {"XML"}, ".x3d": {"XML"},
".x68": {"Motorola 68K Assembly"},
".xacro": {"XML"}, ".xacro": {"XML"},
".xaml": {"XML"}, ".xaml": {"XML"},
".xbm": {"X BitMap"}, ".xbm": {"X BitMap"},
@ -1069,6 +1092,7 @@ var LanguagesByExtension = map[string][]string{
".xspec": {"XML"}, ".xspec": {"XML"},
".xtend": {"Xtend"}, ".xtend": {"Xtend"},
".xul": {"XML"}, ".xul": {"XML"},
".xzap": {"ZAP"},
".y": {"Yacc"}, ".y": {"Yacc"},
".yacc": {"Yacc"}, ".yacc": {"Yacc"},
".yaml": {"YAML"}, ".yaml": {"YAML"},
@ -1083,13 +1107,17 @@ var LanguagesByExtension = map[string][]string{
".yrl": {"Erlang"}, ".yrl": {"Erlang"},
".yy": {"JSON", "Yacc"}, ".yy": {"JSON", "Yacc"},
".yyp": {"JSON"}, ".yyp": {"JSON"},
".zap": {"ZAP"},
".zcml": {"XML"}, ".zcml": {"XML"},
".zeek": {"Zeek"},
".zep": {"Zephir"}, ".zep": {"Zephir"},
".zig": {"Zig"}, ".zig": {"Zig"},
".zil": {"ZIL"},
".zimpl": {"Zimpl"}, ".zimpl": {"Zimpl"},
".zmpl": {"Zimpl"}, ".zmpl": {"Zimpl"},
".zone": {"DNS Zone"}, ".zone": {"DNS Zone"},
".zpl": {"Zimpl"}, ".zpl": {"Zimpl"},
".zs": {"ZenScript"},
".zsh": {"Shell"}, ".zsh": {"Shell"},
} }
@ -1110,6 +1138,7 @@ var ExtensionsByLanguage = map[string][]string{
"Adobe Font Metrics": {".afm"}, "Adobe Font Metrics": {".afm"},
"Agda": {".agda"}, "Agda": {".agda"},
"Alloy": {".als"}, "Alloy": {".als"},
"Altium Designer": {".outjob", ".pcbdoc", ".prjpcb", ".schdoc"},
"AngelScript": {".as", ".angelscript"}, "AngelScript": {".as", ".angelscript"},
"ApacheConf": {".apacheconf", ".vhost"}, "ApacheConf": {".apacheconf", ".vhost"},
"Apex": {".cls"}, "Apex": {".cls"},
@ -1136,7 +1165,6 @@ var ExtensionsByLanguage = map[string][]string{
"Boo": {".boo"}, "Boo": {".boo"},
"Brainfuck": {".b", ".bf"}, "Brainfuck": {".b", ".bf"},
"Brightscript": {".brs"}, "Brightscript": {".brs"},
"Bro": {".bro"},
"C": {".c", ".cats", ".h", ".idc"}, "C": {".c", ".cats", ".h", ".idc"},
"C#": {".cs", ".cake", ".csx"}, "C#": {".cs", ".cake", ".csx"},
"C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"}, "C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"},
@ -1150,6 +1178,7 @@ var ExtensionsByLanguage = map[string][]string{
"CSS": {".css"}, "CSS": {".css"},
"CSV": {".csv"}, "CSV": {".csv"},
"CWeb": {".w"}, "CWeb": {".w"},
"Cabal Config": {".cabal"},
"Cap'n Proto": {".capnp"}, "Cap'n Proto": {".capnp"},
"CartoCSS": {".mss"}, "CartoCSS": {".mss"},
"Ceylon": {".ceylon"}, "Ceylon": {".ceylon"},
@ -1189,6 +1218,7 @@ var ExtensionsByLanguage = map[string][]string{
"Darcs Patch": {".darcspatch", ".dpatch"}, "Darcs Patch": {".darcspatch", ".dpatch"},
"Dart": {".dart"}, "Dart": {".dart"},
"DataWeave": {".dwl"}, "DataWeave": {".dwl"},
"Dhall": {".dhall"},
"Diff": {".diff", ".patch"}, "Diff": {".diff", ".patch"},
"Dockerfile": {".dockerfile"}, "Dockerfile": {".dockerfile"},
"Dogescript": {".djs"}, "Dogescript": {".djs"},
@ -1224,7 +1254,7 @@ var ExtensionsByLanguage = map[string][]string{
"Fortran": {".f90", ".f", ".f03", ".f08", ".f77", ".f95", ".for", ".fpp"}, "Fortran": {".f90", ".f", ".f03", ".f08", ".f77", ".f95", ".for", ".fpp"},
"FreeMarker": {".ftl"}, "FreeMarker": {".ftl"},
"Frege": {".fr"}, "Frege": {".fr"},
"G-code": {".g", ".gco", ".gcode"}, "G-code": {".g", ".cnc", ".gco", ".gcode"},
"GAMS": {".gms"}, "GAMS": {".gms"},
"GAP": {".g", ".gap", ".gd", ".gi", ".tst"}, "GAP": {".g", ".gap", ".gd", ".gi", ".tst"},
"GCC Machine Description": {".md"}, "GCC Machine Description": {".md"},
@ -1237,7 +1267,7 @@ var ExtensionsByLanguage = map[string][]string{
"Genshi": {".kid"}, "Genshi": {".kid"},
"Gentoo Ebuild": {".ebuild"}, "Gentoo Ebuild": {".ebuild"},
"Gentoo Eclass": {".eclass"}, "Gentoo Eclass": {".eclass"},
"Gerber Image": {".gbr", ".gbl", ".gbo", ".gbp", ".gbs", ".gko", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts"}, "Gerber Image": {".gbr", ".gbl", ".gbo", ".gbp", ".gbs", ".gko", ".gml", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts"},
"Gettext Catalog": {".po", ".pot"}, "Gettext Catalog": {".po", ".pot"},
"Gherkin": {".feature"}, "Gherkin": {".feature"},
"Git Config": {".gitconfig"}, "Git Config": {".gitconfig"},
@ -1251,7 +1281,7 @@ var ExtensionsByLanguage = map[string][]string{
"Gradle": {".gradle"}, "Gradle": {".gradle"},
"Grammatical Framework": {".gf"}, "Grammatical Framework": {".gf"},
"Graph Modeling Language": {".gml"}, "Graph Modeling Language": {".gml"},
"GraphQL": {".graphql", ".gql"}, "GraphQL": {".graphql", ".gql", ".graphqls"},
"Graphviz (DOT)": {".dot", ".gv"}, "Graphviz (DOT)": {".dot", ".gv"},
"Groovy": {".groovy", ".grt", ".gtpl", ".gvy"}, "Groovy": {".groovy", ".grt", ".gtpl", ".gvy"},
"Groovy Server Pages": {".gsp"}, "Groovy Server Pages": {".gsp"},
@ -1264,7 +1294,7 @@ var ExtensionsByLanguage = map[string][]string{
"HTML+EEX": {".eex"}, "HTML+EEX": {".eex"},
"HTML+ERB": {".erb", ".erb.deface"}, "HTML+ERB": {".erb", ".erb.deface"},
"HTML+PHP": {".phtml"}, "HTML+PHP": {".phtml"},
"HTML+Razor": {".cshtml"}, "HTML+Razor": {".cshtml", ".razor"},
"HTTP": {".http"}, "HTTP": {".http"},
"HXML": {".hxml"}, "HXML": {".hxml"},
"Hack": {".hh", ".php"}, "Hack": {".hh", ".php"},
@ -1274,6 +1304,7 @@ var ExtensionsByLanguage = map[string][]string{
"Haskell": {".hs", ".hsc"}, "Haskell": {".hs", ".hsc"},
"Haxe": {".hx", ".hxsl"}, "Haxe": {".hx", ".hxsl"},
"HiveQL": {".q"}, "HiveQL": {".q"},
"HolyC": {".hc"},
"Hy": {".hy"}, "Hy": {".hy"},
"HyPhy": {".bf"}, "HyPhy": {".bf"},
"IDL": {".pro", ".dlm"}, "IDL": {".pro", ".dlm"},
@ -1289,7 +1320,7 @@ var ExtensionsByLanguage = map[string][]string{
"Isabelle": {".thy"}, "Isabelle": {".thy"},
"J": {".ijs"}, "J": {".ijs"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"}, "JSON with Comments": {".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"},
"JSON5": {".json5"}, "JSON5": {".json5"},
"JSONLD": {".jsonld"}, "JSONLD": {".jsonld"},
@ -1300,9 +1331,11 @@ var ExtensionsByLanguage = map[string][]string{
"Java Properties": {".properties"}, "Java Properties": {".properties"},
"Java Server Pages": {".jsp"}, "Java Server Pages": {".jsp"},
"JavaScript": {".js", "._js", ".bones", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"}, "JavaScript": {".js", "._js", ".bones", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"},
"JavaScript+ERB": {".js.erb"},
"Jison": {".jison"}, "Jison": {".jison"},
"Jison Lex": {".jisonlex"}, "Jison Lex": {".jisonlex"},
"Jolie": {".ol", ".iol"}, "Jolie": {".ol", ".iol"},
"Jsonnet": {".jsonnet", ".libsonnet"},
"Julia": {".jl"}, "Julia": {".jl"},
"Jupyter Notebook": {".ipynb"}, "Jupyter Notebook": {".ipynb"},
"KRL": {".krl"}, "KRL": {".krl"},
@ -1347,7 +1380,7 @@ var ExtensionsByLanguage = map[string][]string{
"MUF": {".muf", ".m"}, "MUF": {".muf", ".m"},
"Makefile": {".mak", ".d", ".make", ".mk", ".mkfile"}, "Makefile": {".mak", ".d", ".make", ".mk", ".mkfile"},
"Mako": {".mako", ".mao"}, "Mako": {".mako", ".mao"},
"Markdown": {".md", ".markdown", ".mdown", ".mdwn", ".mkd", ".mkdn", ".mkdown", ".ronn", ".workbook"}, "Markdown": {".md", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".workbook"},
"Marko": {".marko"}, "Marko": {".marko"},
"Mask": {".mask"}, "Mask": {".mask"},
"Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"}, "Mathematica": {".mathematica", ".cdf", ".m", ".ma", ".mt", ".nb", ".nbp", ".wl", ".wlt"},
@ -1364,6 +1397,7 @@ var ExtensionsByLanguage = map[string][]string{
"Monkey": {".monkey", ".monkey2"}, "Monkey": {".monkey", ".monkey2"},
"Moocode": {".moo"}, "Moocode": {".moo"},
"MoonScript": {".moon"}, "MoonScript": {".moon"},
"Motorola 68K Assembly": {".x68"},
"Myghty": {".myt"}, "Myghty": {".myt"},
"NCL": {".ncl"}, "NCL": {".ncl"},
"NL": {".nl"}, "NL": {".nl"},
@ -1384,6 +1418,7 @@ var ExtensionsByLanguage = map[string][]string{
"NumPy": {".numpy", ".numpyw", ".numsc"}, "NumPy": {".numpy", ".numpyw", ".numsc"},
"OCaml": {".ml", ".eliom", ".eliomi", ".ml4", ".mli", ".mll", ".mly"}, "OCaml": {".ml", ".eliom", ".eliomi", ".ml4", ".mli", ".mll", ".mly"},
"ObjDump": {".objdump"}, "ObjDump": {".objdump"},
"ObjectScript": {".cls"},
"Objective-C": {".m", ".h"}, "Objective-C": {".m", ".h"},
"Objective-C++": {".mm"}, "Objective-C++": {".mm"},
"Objective-J": {".j", ".sj"}, "Objective-J": {".j", ".sj"},
@ -1409,7 +1444,7 @@ var ExtensionsByLanguage = map[string][]string{
"Parrot Assembly": {".pasm"}, "Parrot Assembly": {".pasm"},
"Parrot Internal Representation": {".pir"}, "Parrot Internal Representation": {".pir"},
"Pascal": {".pas", ".dfm", ".dpr", ".inc", ".lpr", ".pascal", ".pp"}, "Pascal": {".pas", ".dfm", ".dpr", ".inc", ".lpr", ".pascal", ".pp"},
"Pawn": {".pwn", ".inc"}, "Pawn": {".pwn", ".inc", ".sma"},
"Pep8": {".pep"}, "Pep8": {".pep"},
"Perl": {".pl", ".al", ".cgi", ".fcgi", ".perl", ".ph", ".plx", ".pm", ".psgi", ".t"}, "Perl": {".pl", ".al", ".cgi", ".fcgi", ".perl", ".ph", ".plx", ".pm", ".psgi", ".t"},
"Perl 6": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"}, "Perl 6": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
@ -1461,6 +1496,7 @@ var ExtensionsByLanguage = map[string][]string{
"Regular Expression": {".regexp", ".regex"}, "Regular Expression": {".regexp", ".regex"},
"Ren'Py": {".rpy"}, "Ren'Py": {".rpy"},
"RenderScript": {".rs", ".rsh"}, "RenderScript": {".rs", ".rsh"},
"Rich Text Format": {".rtf"},
"Ring": {".ring"}, "Ring": {".ring"},
"RobotFramework": {".robot"}, "RobotFramework": {".robot"},
"Roff": {".roff", ".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".l", ".man", ".mdoc", ".me", ".ms", ".n", ".nr", ".rno", ".tmac"}, "Roff": {".roff", ".1", ".1in", ".1m", ".1x", ".2", ".3", ".3in", ".3m", ".3p", ".3pm", ".3qt", ".3x", ".4", ".5", ".6", ".7", ".8", ".9", ".l", ".man", ".mdoc", ".me", ".ms", ".n", ".nr", ".rno", ".tmac"},
@ -1496,7 +1532,7 @@ var ExtensionsByLanguage = map[string][]string{
"Smali": {".smali"}, "Smali": {".smali"},
"Smalltalk": {".st", ".cs"}, "Smalltalk": {".st", ".cs"},
"Smarty": {".tpl"}, "Smarty": {".tpl"},
"SourcePawn": {".sp", ".inc", ".sma"}, "SourcePawn": {".sp", ".inc"},
"Spline Font Database": {".sfd"}, "Spline Font Database": {".sfd"},
"Squirrel": {".nut"}, "Squirrel": {".nut"},
"Stan": {".stan"}, "Stan": {".stan"},
@ -1506,11 +1542,14 @@ var ExtensionsByLanguage = map[string][]string{
"SubRip Text": {".srt"}, "SubRip Text": {".srt"},
"SugarSS": {".sss"}, "SugarSS": {".sss"},
"SuperCollider": {".sc", ".scd"}, "SuperCollider": {".sc", ".scd"},
"Svelte": {".svelte"},
"Swift": {".swift"}, "Swift": {".swift"},
"SystemVerilog": {".sv", ".svh", ".vh"}, "SystemVerilog": {".sv", ".svh", ".vh"},
"TI Program": {".8xp", ".8xk", ".8xk.txt", ".8xp.txt"}, "TI Program": {".8xp", ".8xk", ".8xk.txt", ".8xp.txt"},
"TLA": {".tla"}, "TLA": {".tla"},
"TOML": {".toml"}, "TOML": {".toml"},
"TSQL": {".sql"},
"TSX": {".tsx"},
"TXL": {".txl"}, "TXL": {".txl"},
"Tcl": {".tcl", ".adp", ".tm"}, "Tcl": {".tcl", ".adp", ".tm"},
"Tcsh": {".tcsh", ".csh"}, "Tcsh": {".tcsh", ".csh"},
@ -1524,7 +1563,7 @@ var ExtensionsByLanguage = map[string][]string{
"Turtle": {".ttl"}, "Turtle": {".ttl"},
"Twig": {".twig"}, "Twig": {".twig"},
"Type Language": {".tl"}, "Type Language": {".tl"},
"TypeScript": {".ts", ".tsx"}, "TypeScript": {".ts"},
"Unified Parallel C": {".upc"}, "Unified Parallel C": {".upc"},
"Unity3D Asset": {".anim", ".asset", ".mat", ".meta", ".prefab", ".unity"}, "Unity3D Asset": {".anim", ".asset", ".mat", ".meta", ".prefab", ".unity"},
"Unix Assembly": {".s", ".ms"}, "Unix Assembly": {".s", ".ms"},
@ -1535,7 +1574,7 @@ var ExtensionsByLanguage = map[string][]string{
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
"Vala": {".vala", ".vapi"}, "Vala": {".vala", ".vapi"},
"Verilog": {".v", ".veo"}, "Verilog": {".v", ".veo"},
"Vim script": {".vim"}, "Vim script": {".vim", ".vba", ".vmb"},
"Visual Basic": {".vb", ".bas", ".cls", ".frm", ".frx", ".vba", ".vbhtml", ".vbs"}, "Visual Basic": {".vb", ".bas", ".cls", ".frm", ".frx", ".vba", ".vbhtml", ".vbs"},
"Volt": {".volt"}, "Volt": {".volt"},
"Vue": {".vue"}, "Vue": {".vue"},
@ -1544,7 +1583,9 @@ var ExtensionsByLanguage = map[string][]string{
"Web Ontology Language": {".owl"}, "Web Ontology Language": {".owl"},
"WebAssembly": {".wast", ".wat"}, "WebAssembly": {".wast", ".wat"},
"WebIDL": {".webidl"}, "WebIDL": {".webidl"},
"WebVTT": {".vtt"},
"Windows Registry Entries": {".reg"}, "Windows Registry Entries": {".reg"},
"Wollok": {".wlk"},
"World of Warcraft Addon Data": {".toc"}, "World of Warcraft Addon Data": {".toc"},
"X BitMap": {".xbm"}, "X BitMap": {".xbm"},
"X PixMap": {".xpm", ".pm"}, "X PixMap": {".xpm", ".pm"},
@ -1563,6 +1604,10 @@ var ExtensionsByLanguage = map[string][]string{
"YARA": {".yar", ".yara"}, "YARA": {".yar", ".yara"},
"YASnippet": {".yasnippet"}, "YASnippet": {".yasnippet"},
"Yacc": {".y", ".yacc", ".yy"}, "Yacc": {".y", ".yacc", ".yy"},
"ZAP": {".zap", ".xzap"},
"ZIL": {".zil", ".mud"},
"Zeek": {".zeek", ".bro"},
"ZenScript": {".zs"},
"Zephir": {".zep"}, "Zephir": {".zep"},
"Zig": {".zig"}, "Zig": {".zig"},
"Zimpl": {".zimpl", ".zmpl", ".zpl"}, "Zimpl": {".zimpl", ".zmpl", ".zpl"},
@ -1570,6 +1615,7 @@ var ExtensionsByLanguage = map[string][]string{
"eC": {".ec", ".eh"}, "eC": {".ec", ".eh"},
"edn": {".edn"}, "edn": {".edn"},
"fish": {".fish"}, "fish": {".fish"},
"mcfunction": {".mcfunction"},
"mupad": {".mu"}, "mupad": {".mu"},
"nanorc": {".nanorc"}, "nanorc": {".nanorc"},
"nesC": {".nc"}, "nesC": {".nc"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -25,7 +25,7 @@ var LanguagesByFilename = map[string][]string{
".cshrc": {"Shell"}, ".cshrc": {"Shell"},
".cvsignore": {"Ignore List"}, ".cvsignore": {"Ignore List"},
".dockerignore": {"Ignore List"}, ".dockerignore": {"Ignore List"},
".editorconfig": {"INI"}, ".editorconfig": {"EditorConfig"},
".emacs": {"Emacs Lisp"}, ".emacs": {"Emacs Lisp"},
".emacs.desktop": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"},
".eslintignore": {"Ignore List"}, ".eslintignore": {"Ignore List"},
@ -162,6 +162,8 @@ var LanguagesByFilename = map[string][]string{
"build.xml": {"Ant Build System"}, "build.xml": {"Ant Build System"},
"buildfile": {"Ruby"}, "buildfile": {"Ruby"},
"buildozer.spec": {"INI"}, "buildozer.spec": {"INI"},
"cabal.config": {"Cabal Config"},
"cabal.project": {"Cabal Config"},
"click.me": {"Text"}, "click.me": {"Text"},
"composer.lock": {"JSON"}, "composer.lock": {"JSON"},
"configure.ac": {"M4Sugar"}, "configure.ac": {"M4Sugar"},
@ -189,6 +191,7 @@ var LanguagesByFilename = map[string][]string{
"httpd.conf": {"ApacheConf"}, "httpd.conf": {"ApacheConf"},
"jsconfig.json": {"JSON with Comments"}, "jsconfig.json": {"JSON with Comments"},
"keep.me": {"Text"}, "keep.me": {"Text"},
"language-configuration.json": {"JSON with Comments"},
"ld.script": {"Linker Script"}, "ld.script": {"Linker Script"},
"login": {"Shell"}, "login": {"Shell"},
"m3makefile": {"Quake"}, "m3makefile": {"Quake"},
@ -218,6 +221,12 @@ var LanguagesByFilename = map[string][]string{
"rebar.config.lock": {"Erlang"}, "rebar.config.lock": {"Erlang"},
"rebar.lock": {"Erlang"}, "rebar.lock": {"Erlang"},
"riemann.config": {"Clojure"}, "riemann.config": {"Clojure"},
"ssh-config": {"SSH Config"},
"ssh_config": {"SSH Config"},
"sshconfig": {"SSH Config"},
"sshconfig.snip": {"SSH Config"},
"sshd-config": {"SSH Config"},
"sshd_config": {"SSH Config"},
"starfield": {"Tcl"}, "starfield": {"Tcl"},
"test.me": {"Text"}, "test.me": {"Text"},
"tsconfig.json": {"JSON with Comments"}, "tsconfig.json": {"JSON with Comments"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -14,6 +14,7 @@ var LanguagesByInterpreter = map[string][]string{
"bigloo": {"Scheme"}, "bigloo": {"Scheme"},
"boolector": {"SMT"}, "boolector": {"SMT"},
"ccl": {"Common Lisp"}, "ccl": {"Common Lisp"},
"chakra": {"JavaScript"},
"chicken": {"Scheme"}, "chicken": {"Scheme"},
"clisp": {"Common Lisp"}, "clisp": {"Common Lisp"},
"coffee": {"CoffeeScript"}, "coffee": {"CoffeeScript"},
@ -22,8 +23,10 @@ var LanguagesByInterpreter = map[string][]string{
"csi": {"Scheme"}, "csi": {"Scheme"},
"cvc4": {"SMT"}, "cvc4": {"SMT"},
"cwl-runner": {"Common Workflow Language"}, "cwl-runner": {"Common Workflow Language"},
"d8": {"JavaScript"},
"dart": {"Dart"}, "dart": {"Dart"},
"dash": {"Shell"}, "dash": {"Shell"},
"deno": {"TypeScript"},
"dtrace": {"DTrace"}, "dtrace": {"DTrace"},
"dyalog": {"APL"}, "dyalog": {"APL"},
"ecl": {"Common Lisp"}, "ecl": {"Common Lisp"},
@ -46,6 +49,7 @@ var LanguagesByInterpreter = map[string][]string{
"jconsole": {"J"}, "jconsole": {"J"},
"jolie": {"Jolie"}, "jolie": {"Jolie"},
"jruby": {"Ruby"}, "jruby": {"Ruby"},
"js": {"JavaScript"},
"julia": {"Julia"}, "julia": {"Julia"},
"ksh": {"Shell"}, "ksh": {"Shell"},
"lisp": {"Common Lisp"}, "lisp": {"Common Lisp"},
@ -62,7 +66,7 @@ var LanguagesByInterpreter = map[string][]string{
"nawk": {"Awk"}, "nawk": {"Awk"},
"newlisp": {"NewLisp"}, "newlisp": {"NewLisp"},
"nextflow": {"Nextflow"}, "nextflow": {"Nextflow"},
"node": {"JavaScript", "TypeScript"}, "node": {"JavaScript"},
"nush": {"Nu"}, "nush": {"Nu"},
"ocaml": {"OCaml", "Reason"}, "ocaml": {"OCaml", "Reason"},
"ocamlrun": {"OCaml"}, "ocamlrun": {"OCaml"},
@ -90,6 +94,7 @@ var LanguagesByInterpreter = map[string][]string{
"rc": {"Shell"}, "rc": {"Shell"},
"regina": {"REXX"}, "regina": {"REXX"},
"rexx": {"REXX"}, "rexx": {"REXX"},
"rhino": {"JavaScript"},
"ruby": {"Ruby"}, "ruby": {"Ruby"},
"rune": {"E"}, "rune": {"E"},
"runhaskell": {"Haskell"}, "runhaskell": {"Haskell"},
@ -107,6 +112,9 @@ var LanguagesByInterpreter = map[string][]string{
"swipl": {"Prolog"}, "swipl": {"Prolog"},
"tcc": {"C"}, "tcc": {"C"},
"tclsh": {"Tcl"}, "tclsh": {"Tcl"},
"ts-node": {"TypeScript"},
"v8": {"JavaScript"},
"v8-shell": {"JavaScript"},
"verit": {"SMT"}, "verit": {"SMT"},
"wish": {"Tcl"}, "wish": {"Tcl"},
"yap": {"Prolog"}, "yap": {"Prolog"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -23,6 +23,7 @@ var LanguagesMime = map[string]string{
"COLLADA": "text/xml", "COLLADA": "text/xml",
"CSON": "text/x-coffeescript", "CSON": "text/x-coffeescript",
"CSS": "text/css", "CSS": "text/css",
"Cabal Config": "text/x-haskell",
"ChucK": "text/x-java", "ChucK": "text/x-java",
"Clojure": "text/x-clojure", "Clojure": "text/x-clojure",
"Closure Templates": "text/x-soy", "Closure Templates": "text/x-soy",
@ -38,6 +39,7 @@ var LanguagesMime = map[string]string{
"D": "text/x-d", "D": "text/x-d",
"DTrace": "text/x-csrc", "DTrace": "text/x-csrc",
"Dart": "application/dart", "Dart": "application/dart",
"Dhall": "text/x-haskell",
"Diff": "text/x-diff", "Diff": "text/x-diff",
"Dockerfile": "text/x-dockerfile", "Dockerfile": "text/x-dockerfile",
"Dylan": "text/x-dylan", "Dylan": "text/x-dylan",
@ -47,6 +49,7 @@ var LanguagesMime = map[string]string{
"Eagle": "text/xml", "Eagle": "text/xml",
"Easybuild": "text/x-python", "Easybuild": "text/x-python",
"Ecere Projects": "application/json", "Ecere Projects": "application/json",
"EditorConfig": "text/x-properties",
"Edje Data Collection": "application/json", "Edje Data Collection": "application/json",
"Eiffel": "text/x-eiffel", "Eiffel": "text/x-eiffel",
"Elm": "text/x-elm", "Elm": "text/x-elm",
@ -83,6 +86,7 @@ var LanguagesMime = map[string]string{
"Haml": "text/x-haml", "Haml": "text/x-haml",
"Haskell": "text/x-haskell", "Haskell": "text/x-haskell",
"Haxe": "text/x-haxe", "Haxe": "text/x-haxe",
"HolyC": "text/x-csrc",
"IDL": "text/x-idl", "IDL": "text/x-idl",
"INI": "text/x-properties", "INI": "text/x-properties",
"IRC log": "text/mirc", "IRC log": "text/mirc",
@ -97,6 +101,7 @@ var LanguagesMime = map[string]string{
"Java Properties": "text/x-properties", "Java Properties": "text/x-properties",
"Java Server Pages": "application/x-jsp", "Java Server Pages": "application/x-jsp",
"JavaScript": "text/javascript", "JavaScript": "text/javascript",
"JavaScript+ERB": "application/javascript",
"Julia": "text/x-julia", "Julia": "text/x-julia",
"Jupyter Notebook": "application/json", "Jupyter Notebook": "application/json",
"KiCad Layout": "text/x-common-lisp", "KiCad Layout": "text/x-common-lisp",
@ -181,9 +186,11 @@ var LanguagesMime = map[string]string{
"Smarty": "text/x-smarty", "Smarty": "text/x-smarty",
"Squirrel": "text/x-c++src", "Squirrel": "text/x-c++src",
"Standard ML": "text/x-ocaml", "Standard ML": "text/x-ocaml",
"Svelte": "text/html",
"Swift": "text/x-swift", "Swift": "text/x-swift",
"SystemVerilog": "text/x-systemverilog", "SystemVerilog": "text/x-systemverilog",
"TOML": "text/x-toml", "TOML": "text/x-toml",
"TSX": "text/jsx",
"Tcl": "text/x-tcl", "Tcl": "text/x-tcl",
"Tcsh": "text/x-sh", "Tcsh": "text/x-sh",
"TeX": "text/x-stex", "TeX": "text/x-stex",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -21,6 +21,7 @@ var LanguagesType = map[string]int{
"Agda": 2, "Agda": 2,
"Alloy": 2, "Alloy": 2,
"Alpine Abuild": 2, "Alpine Abuild": 2,
"Altium Designer": 1,
"AngelScript": 2, "AngelScript": 2,
"Ant Build System": 1, "Ant Build System": 1,
"ApacheConf": 1, "ApacheConf": 1,
@ -48,7 +49,6 @@ var LanguagesType = map[string]int{
"Boo": 2, "Boo": 2,
"Brainfuck": 2, "Brainfuck": 2,
"Brightscript": 2, "Brightscript": 2,
"Bro": 2,
"C": 2, "C": 2,
"C#": 2, "C#": 2,
"C++": 2, "C++": 2,
@ -62,6 +62,7 @@ var LanguagesType = map[string]int{
"CSS": 3, "CSS": 3,
"CSV": 1, "CSV": 1,
"CWeb": 2, "CWeb": 2,
"Cabal Config": 1,
"Cap'n Proto": 2, "Cap'n Proto": 2,
"CartoCSS": 2, "CartoCSS": 2,
"Ceylon": 2, "Ceylon": 2,
@ -102,6 +103,7 @@ var LanguagesType = map[string]int{
"Darcs Patch": 1, "Darcs Patch": 1,
"Dart": 2, "Dart": 2,
"DataWeave": 2, "DataWeave": 2,
"Dhall": 2,
"Diff": 1, "Diff": 1,
"Dockerfile": 2, "Dockerfile": 2,
"Dogescript": 2, "Dogescript": 2,
@ -116,6 +118,7 @@ var LanguagesType = map[string]int{
"Eagle": 1, "Eagle": 1,
"Easybuild": 1, "Easybuild": 1,
"Ecere Projects": 1, "Ecere Projects": 1,
"EditorConfig": 1,
"Edje Data Collection": 1, "Edje Data Collection": 1,
"Eiffel": 2, "Eiffel": 2,
"Elixir": 2, "Elixir": 2,
@ -137,7 +140,7 @@ var LanguagesType = map[string]int{
"Fortran": 2, "Fortran": 2,
"FreeMarker": 2, "FreeMarker": 2,
"Frege": 2, "Frege": 2,
"G-code": 1, "G-code": 2,
"GAMS": 2, "GAMS": 2,
"GAP": 2, "GAP": 2,
"GCC Machine Description": 2, "GCC Machine Description": 2,
@ -188,6 +191,7 @@ var LanguagesType = map[string]int{
"Haskell": 2, "Haskell": 2,
"Haxe": 2, "Haxe": 2,
"HiveQL": 2, "HiveQL": 2,
"HolyC": 2,
"Hy": 2, "Hy": 2,
"HyPhy": 2, "HyPhy": 2,
"IDL": 2, "IDL": 2,
@ -215,9 +219,11 @@ var LanguagesType = map[string]int{
"Java Properties": 1, "Java Properties": 1,
"Java Server Pages": 2, "Java Server Pages": 2,
"JavaScript": 2, "JavaScript": 2,
"JavaScript+ERB": 2,
"Jison": 2, "Jison": 2,
"Jison Lex": 2, "Jison Lex": 2,
"Jolie": 2, "Jolie": 2,
"Jsonnet": 2,
"Julia": 2, "Julia": 2,
"Jupyter Notebook": 3, "Jupyter Notebook": 3,
"KRL": 2, "KRL": 2,
@ -281,6 +287,7 @@ var LanguagesType = map[string]int{
"Monkey": 2, "Monkey": 2,
"Moocode": 2, "Moocode": 2,
"MoonScript": 2, "MoonScript": 2,
"Motorola 68K Assembly": 2,
"Myghty": 2, "Myghty": 2,
"NCL": 2, "NCL": 2,
"NL": 1, "NL": 1,
@ -301,6 +308,7 @@ var LanguagesType = map[string]int{
"NumPy": 2, "NumPy": 2,
"OCaml": 2, "OCaml": 2,
"ObjDump": 1, "ObjDump": 1,
"ObjectScript": 2,
"Objective-C": 2, "Objective-C": 2,
"Objective-C++": 2, "Objective-C++": 2,
"Objective-J": 2, "Objective-J": 2,
@ -381,6 +389,7 @@ var LanguagesType = map[string]int{
"Regular Expression": 1, "Regular Expression": 1,
"Ren'Py": 2, "Ren'Py": 2,
"RenderScript": 2, "RenderScript": 2,
"Rich Text Format": 3,
"Ring": 2, "Ring": 2,
"RobotFramework": 2, "RobotFramework": 2,
"Roff": 3, "Roff": 3,
@ -396,6 +405,7 @@ var LanguagesType = map[string]int{
"SQL": 1, "SQL": 1,
"SQLPL": 2, "SQLPL": 2,
"SRecode Template": 3, "SRecode Template": 3,
"SSH Config": 1,
"STON": 1, "STON": 1,
"SVG": 1, "SVG": 1,
"Sage": 2, "Sage": 2,
@ -427,11 +437,14 @@ var LanguagesType = map[string]int{
"SubRip Text": 1, "SubRip Text": 1,
"SugarSS": 3, "SugarSS": 3,
"SuperCollider": 2, "SuperCollider": 2,
"Svelte": 3,
"Swift": 2, "Swift": 2,
"SystemVerilog": 2, "SystemVerilog": 2,
"TI Program": 2, "TI Program": 2,
"TLA": 2, "TLA": 2,
"TOML": 1, "TOML": 1,
"TSQL": 2,
"TSX": 2,
"TXL": 2, "TXL": 2,
"Tcl": 2, "Tcl": 2,
"Tcsh": 2, "Tcsh": 2,
@ -465,7 +478,9 @@ var LanguagesType = map[string]int{
"Web Ontology Language": 1, "Web Ontology Language": 1,
"WebAssembly": 2, "WebAssembly": 2,
"WebIDL": 2, "WebIDL": 2,
"WebVTT": 1,
"Windows Registry Entries": 1, "Windows Registry Entries": 1,
"Wollok": 2,
"World of Warcraft Addon Data": 1, "World of Warcraft Addon Data": 1,
"X BitMap": 1, "X BitMap": 1,
"X Font Directory Index": 1, "X Font Directory Index": 1,
@ -486,6 +501,10 @@ var LanguagesType = map[string]int{
"YARA": 2, "YARA": 2,
"YASnippet": 3, "YASnippet": 3,
"Yacc": 2, "Yacc": 2,
"ZAP": 2,
"ZIL": 2,
"Zeek": 2,
"ZenScript": 2,
"Zephir": 2, "Zephir": 2,
"Zig": 2, "Zig": 2,
"Zimpl": 2, "Zimpl": 2,
@ -493,6 +512,7 @@ var LanguagesType = map[string]int{
"eC": 2, "eC": 2,
"edn": 1, "edn": 1,
"fish": 2, "fish": 2,
"mcfunction": 2,
"mupad": 2, "mupad": 2,
"nanorc": 1, "nanorc": 1,
"nesC": 2, "nesC": 2,

View File

@ -1,5 +1,5 @@
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db // Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
package data package data
@ -25,13 +25,14 @@ var VendorMatchers = substring.Or(
substring.Regexp(`^rebar$`), substring.Regexp(`^rebar$`),
substring.Regexp(`erlang.mk`), substring.Regexp(`erlang.mk`),
substring.Regexp(`Godeps/_workspace/`), substring.Regexp(`Godeps/_workspace/`),
substring.Regexp(`(^|/)testdata/`),
substring.Regexp(`.indent.pro`), substring.Regexp(`.indent.pro`),
substring.Regexp(`(\.|-)min\.(js|css)$`), substring.Regexp(`(\.|-)min\.(js|css)$`),
substring.Regexp(`([^\s]*)import\.(css|less|scss|styl)$`), substring.Regexp(`([^\s]*)import\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$`), substring.Regexp(`(^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$`),
substring.Regexp(`(^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$`), substring.Regexp(`(^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$`),
substring.Regexp(`(^|/)font-awesome\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)font-?awesome\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)font-awesome/.*\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)font-?awesome/.*\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)foundation\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)foundation\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)normalize\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)normalize\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)skeleton\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)skeleton\.(css|less|scss|styl)$`),
@ -39,6 +40,7 @@ var VendorMatchers = substring.Or(
substring.Regexp(`(^|/)animate\.(css|less|scss|styl)$`), substring.Regexp(`(^|/)animate\.(css|less|scss|styl)$`),
substring.Regexp(`(^|/)materialize\.(css|less|scss|styl|js)$`), substring.Regexp(`(^|/)materialize\.(css|less|scss|styl|js)$`),
substring.Regexp(`(^|/)select2/.*\.(css|scss|js)$`), substring.Regexp(`(^|/)select2/.*\.(css|scss|js)$`),
substring.Regexp(`(^|/)bulma\.(css|sass|scss)$`),
substring.Regexp(`(3rd|[Tt]hird)[-_]?[Pp]arty/`), substring.Regexp(`(3rd|[Tt]hird)[-_]?[Pp]arty/`),
substring.Regexp(`vendors?/`), substring.Regexp(`vendors?/`),
substring.Regexp(`extern(al)?/`), substring.Regexp(`extern(al)?/`),