Merge pull request #173 from go-enry/feature/sync-linguist-b5432ebc

Update Linguist to v7.27.0
This commit is contained in:
Alex 2023-09-27 11:48:43 +02:00 committed by GitHub
commit 40f2a1e5b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
30 changed files with 18791 additions and 15634 deletions

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -100,6 +100,7 @@ var LanguageByAliasMap = map[string]string{
"beef": "Beef", "beef": "Beef",
"befunge": "Befunge", "befunge": "Befunge",
"berry": "Berry", "berry": "Berry",
"bh": "Bluespec BH",
"bibtex": "BibTeX", "bibtex": "BibTeX",
"bicep": "Bicep", "bicep": "Bicep",
"bikeshed": "Bikeshed", "bikeshed": "Bikeshed",
@ -111,6 +112,9 @@ var LanguageByAliasMap = map[string]string{
"blitzmax": "BlitzMax", "blitzmax": "BlitzMax",
"blitzplus": "BlitzBasic", "blitzplus": "BlitzBasic",
"bluespec": "Bluespec", "bluespec": "Bluespec",
"bluespec_bh": "Bluespec BH",
"bluespec_bsv": "Bluespec",
"bluespec_classic": "Bluespec BH",
"bmax": "BlitzMax", "bmax": "BlitzMax",
"boo": "Boo", "boo": "Boo",
"boogie": "Boogie", "boogie": "Boogie",
@ -121,6 +125,7 @@ var LanguageByAliasMap = map[string]string{
"bro": "Zeek", "bro": "Zeek",
"browserslist": "Browserslist", "browserslist": "Browserslist",
"bsdmake": "Makefile", "bsdmake": "Makefile",
"bsv": "Bluespec",
"byond": "DM", "byond": "DM",
"bzl": "Starlark", "bzl": "Starlark",
"c": "C", "c": "C",
@ -370,6 +375,7 @@ var LanguageByAliasMap = map[string]string{
"gosu": "Gosu", "gosu": "Gosu",
"grace": "Grace", "grace": "Grace",
"gradle": "Gradle", "gradle": "Gradle",
"gradle_kotlin_dsl": "Gradle Kotlin DSL",
"grammatical_framework": "Grammatical Framework", "grammatical_framework": "Grammatical Framework",
"graph_modeling_language": "Graph Modeling Language", "graph_modeling_language": "Graph Modeling Language",
"graphql": "GraphQL", "graphql": "GraphQL",
@ -398,6 +404,7 @@ var LanguageByAliasMap = map[string]string{
"hocon": "HOCON", "hocon": "HOCON",
"holyc": "HolyC", "holyc": "HolyC",
"hoon": "hoon", "hoon": "hoon",
"hosts": "Hosts File",
"hosts_file": "Hosts File", "hosts_file": "Hosts File",
"html": "HTML", "html": "HTML",
"html+django": "Jinja", "html+django": "Jinja",
@ -711,6 +718,7 @@ var LanguageByAliasMap = map[string]string{
"pickle": "Pickle", "pickle": "Pickle",
"picolisp": "PicoLisp", "picolisp": "PicoLisp",
"piglatin": "PigLatin", "piglatin": "PigLatin",
"pikchr": "Pic",
"pike": "Pike", "pike": "Pike",
"pir": "Parrot Internal Representation", "pir": "Parrot Internal Representation",
"plain_text": "Text", "plain_text": "Text",
@ -806,6 +814,7 @@ var LanguageByAliasMap = map[string]string{
"rescript": "ReScript", "rescript": "ReScript",
"restructuredtext": "reStructuredText", "restructuredtext": "reStructuredText",
"rexx": "REXX", "rexx": "REXX",
"rez": "Rez",
"rhtml": "HTML+ERB", "rhtml": "HTML+ERB",
"rich_text_format": "Rich Text Format", "rich_text_format": "Rich Text Format",
"ring": "Ring", "ring": "Ring",
@ -911,6 +920,7 @@ var LanguageByAliasMap = map[string]string{
"svelte": "Svelte", "svelte": "Svelte",
"svg": "SVG", "svg": "SVG",
"sway": "Sway", "sway": "Sway",
"sweave": "Sweave",
"swift": "Swift", "swift": "Swift",
"swig": "SWIG", "swig": "SWIG",
"systemverilog": "SystemVerilog", "systemverilog": "SystemVerilog",
@ -943,8 +953,10 @@ var LanguageByAliasMap = map[string]string{
"turtle": "Turtle", "turtle": "Turtle",
"twig": "Twig", "twig": "Twig",
"txl": "TXL", "txl": "TXL",
"typ": "Typst",
"type_language": "Type Language", "type_language": "Type Language",
"typescript": "TypeScript", "typescript": "TypeScript",
"typst": "Typst",
"udiff": "Diff", "udiff": "Diff",
"ultisnip": "Vim Snippet", "ultisnip": "Vim Snippet",
"ultisnips": "Vim Snippet", "ultisnips": "Vim Snippet",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -58,6 +58,7 @@ var LanguagesColor = map[string]string{
"BlitzBasic": "#00FFAE", "BlitzBasic": "#00FFAE",
"BlitzMax": "#cd6400", "BlitzMax": "#cd6400",
"Bluespec": "#12223c", "Bluespec": "#12223c",
"Bluespec BH": "#12223c",
"Boo": "#d4bec1", "Boo": "#d4bec1",
"Boogie": "#c80fa0", "Boogie": "#c80fa0",
"Brainfuck": "#2F2530", "Brainfuck": "#2F2530",
@ -197,6 +198,7 @@ var LanguagesColor = map[string]string{
"Gosu": "#82937f", "Gosu": "#82937f",
"Grace": "#615f8b", "Grace": "#615f8b",
"Gradle": "#02303a", "Gradle": "#02303a",
"Gradle Kotlin DSL": "#02303a",
"Grammatical Framework": "#ff0000", "Grammatical Framework": "#ff0000",
"GraphQL": "#e10098", "GraphQL": "#e10098",
"Graphviz (DOT)": "#2596be", "Graphviz (DOT)": "#2596be",
@ -427,6 +429,7 @@ var LanguagesColor = map[string]string{
"Red": "#f50000", "Red": "#f50000",
"Regular Expression": "#009a00", "Regular Expression": "#009a00",
"Ren'Py": "#ff7f7f", "Ren'Py": "#ff7f7f",
"Rez": "#FFDAB3",
"Ring": "#2D54CB", "Ring": "#2D54CB",
"Riot": "#A71E49", "Riot": "#A71E49",
"RobotFramework": "#00c0b5", "RobotFramework": "#00c0b5",
@ -481,6 +484,7 @@ var LanguagesColor = map[string]string{
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Svelte": "#ff3e00", "Svelte": "#ff3e00",
"Sway": "#dea584", "Sway": "#dea584",
"Sweave": "#198ce7",
"Swift": "#F05138", "Swift": "#F05138",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
"TI Program": "#A0AA87", "TI Program": "#A0AA87",
@ -501,6 +505,7 @@ var LanguagesColor = map[string]string{
"Turing": "#cf142b", "Turing": "#cf142b",
"Twig": "#c1d026", "Twig": "#c1d026",
"TypeScript": "#3178c6", "TypeScript": "#3178c6",
"Typst": "#239dad",
"Unified Parallel C": "#4e3617", "Unified Parallel C": "#4e3617",
"Unity3D Asset": "#222c37", "Unity3D Asset": "#222c37",
"Uno": "#9933cc", "Uno": "#9933cc",

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -607,7 +607,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("AsciiDoc"), rule.MatchingLanguages("AsciiDoc"),
regex.MustCompileMultiline(`^[=-]+(\s|\n)|\{\{[A-Za-z]`), regex.MustCompileMultiline(`^[=-]+\s|\{\{[A-Za-z]`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("AGS Script"), rule.MatchingLanguages("AGS Script"),
@ -697,6 +697,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("BrighterScript"), rule.MatchingLanguages("BrighterScript"),
regex.MustCompileRuby(`(?i:^\s*(?=^sub\s)(?:sub\s*\w+\(.*?\))|(?::\s*sub\(.*?\))$)|(?i:^\s*(end\ssub)$)|(?i:^\s*(?=^function\s)(?:function\s*\w+\(.*?\)\s*as\s*\w*)|(?::\s*function\(.*?\)\s*as\s*\w*)$)|(?i:^\s*(end\sfunction)$)`), regex.MustCompileRuby(`(?i:^\s*(?=^sub\s)(?:sub\s*\w+\(.*?\))|(?::\s*sub\(.*?\))$)|(?i:^\s*(end\ssub)$)|(?i:^\s*(?=^function\s)(?:function\s*\w+\(.*?\)\s*as\s*\w*)|(?::\s*function\(.*?\)\s*as\s*\w*)$)|(?i:^\s*(end\sfunction)$)`),
), ),
rule.Or(
rule.MatchingLanguages("Bluespec BH"),
regex.MustCompileMultiline(`^package\s+[A-Za-z_][A-Za-z0-9_']*(?:\s*\(|\s+where)`),
),
}, },
".builds": &Heuristics{ ".builds": &Heuristics{
rule.Or( rule.Or(
@ -752,7 +756,7 @@ var ContentHeuristics = map[string]*Heuristics{
".cmp": &Heuristics{ ".cmp": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Gerber Image"), rule.MatchingLanguages("Gerber Image"),
regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*\r?\n`), regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*(?:\r?\n|\r)`),
), ),
}, },
".cs": &Heuristics{ ".cs": &Heuristics{
@ -931,7 +935,7 @@ var ContentHeuristics = map[string]*Heuristics{
".ftl": &Heuristics{ ".ftl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("FreeMarker"), rule.MatchingLanguages("FreeMarker"),
regex.MustCompileRuby(`^(?:<|[a-zA-Z-][a-zA-Z0-9_-]+[ \t]+\w)|\$\{\w+[^\n]*?\}|^[ \t]*(?:<#--.*?-->|<#([a-z]+)(?=\s|>)[^>]*>.*?</#\1>|\[#--.*?--\]|\[#([a-z]+)(?=\s|\])[^\]]*\].*?\[#\2\])`), regex.MustCompileRuby(`^(?:<|[a-zA-Z-][a-zA-Z0-9_-]+[ \t]+\w)|\$\{\w+[^\r\n]*?\}|^[ \t]*(?:<#--.*?-->|<#([a-z]+)(?=\s|>)[^>]*>.*?</#\1>|\[#--.*?--\]|\[#([a-z]+)(?=\s|\])[^\]]*\].*?\[#\2\])`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Fluent"), rule.MatchingLanguages("Fluent"),
@ -945,7 +949,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("G-code"), rule.MatchingLanguages("G-code"),
regex.MustCompileMultiline(`^[MG][0-9]+\n`), regex.MustCompileMultiline(`^[MG][0-9]+(?:\r?\n|\r)`),
), ),
}, },
".gd": &Heuristics{ ".gd": &Heuristics{
@ -1224,7 +1228,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("M4"), rule.MatchingLanguages("M4"),
regex.MustCompileMultiline(`^dnl|^divert\((?:-?\d+)?\)|^\w+\(`+"`"+`[^\n]*?'[),]`), regex.MustCompileMultiline(`^dnl|^divert\((?:-?\d+)?\)|^\w+\(`+"`"+`[^\r\n]*?'[),]`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Monkey C"), rule.MatchingLanguages("Monkey C"),
@ -1335,7 +1339,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Gerber Image"), rule.MatchingLanguages("Gerber Image"),
regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*\r?\n`), regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*(?:\r?\n|\r)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Text"), rule.MatchingLanguages("Text"),
@ -1449,7 +1453,7 @@ var ContentHeuristics = map[string]*Heuristics{
".pod": &Heuristics{ ".pod": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Pod 6"), rule.MatchingLanguages("Pod 6"),
regex.MustCompileMultiline(`^[\s&&[^\n]]*=(comment|begin pod|begin para|item\d+)`), regex.MustCompileMultiline(`^[\s&&[^\r\n]]*=(comment|begin pod|begin para|item\d+)`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("Pod"), rule.MatchingLanguages("Pod"),
@ -1529,7 +1533,7 @@ var ContentHeuristics = map[string]*Heuristics{
".q": &Heuristics{ ".q": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("q"), rule.MatchingLanguages("q"),
regex.MustCompileMultiline(`((?i:[A-Z.][\w.]*:\{)|(^|\n)\\(cd?|d|l|p|ts?) )`), regex.MustCompileMultiline(`((?i:[A-Z.][\w.]*:\{)|^\\(cd?|d|l|p|ts?) )`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("HiveQL"), rule.MatchingLanguages("HiveQL"),
@ -1551,6 +1555,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Rebol"), rule.MatchingLanguages("Rebol"),
regex.MustCompileMultiline(`(?i:\bRebol\b)`), regex.MustCompileMultiline(`(?i:\bRebol\b)`),
), ),
rule.Or(
rule.MatchingLanguages("Rez"),
regex.MustCompileMultiline(`(#include\s+["<](Types\.r|Carbon\/Carbon\.r)[">])|((resource|data|type)\s+'[A-Za-z0-9]{4}'\s+((\(.*\)\s+){0,1}){)`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("R"), rule.MatchingLanguages("R"),
regex.MustCompileMultiline(`<-|^\s*#`), regex.MustCompileMultiline(`<-|^\s*#`),
@ -1638,7 +1646,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Gerber Image"), rule.MatchingLanguages("Gerber Image"),
regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*\r?\n`), regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*(?:\r?\n|\r)`),
), ),
}, },
".sql": &Heuristics{ ".sql": &Heuristics{
@ -1690,7 +1698,7 @@ var ContentHeuristics = map[string]*Heuristics{
".stl": &Heuristics{ ".stl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("STL"), rule.MatchingLanguages("STL"),
regex.MustCompileRuby(`\A\s*solid(?=$|\s)(?:.|[\r\n])*?^endsolid(?:$|\s)`), regex.MustCompileMultiline(`\A\s*solid(?:$|\s)[\s\S]*^endsolid(?:$|\s)`),
), ),
}, },
".sw": &Heuristics{ ".sw": &Heuristics{
@ -1805,10 +1813,19 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Text"), rule.MatchingLanguages("Text"),
), ),
}, },
".typ": &Heuristics{
rule.Or(
rule.MatchingLanguages("Typst"),
regex.MustCompileMultiline(`^#(import|show|let|set)`),
),
rule.Always(
rule.MatchingLanguages("XML"),
),
},
".url": &Heuristics{ ".url": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("INI"), rule.MatchingLanguages("INI"),
regex.MustCompileRuby(`^\[InternetShortcut\](?:\r?\n|\r)(?>[^\s\[][^\n]*(?:\r?\n|\r))*URL=`), regex.MustCompileRuby(`^\[InternetShortcut\](?:\r?\n|\r)(?>[^\s\[][^\r\n]*(?:\r?\n|\r))*URL=`),
), ),
}, },
".v": &Heuristics{ ".v": &Heuristics{

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -135,7 +135,7 @@ var LanguagesByExtension = map[string][]string{
".brd": {"Eagle", "KiCad Legacy Layout"}, ".brd": {"Eagle", "KiCad Legacy Layout"},
".bro": {"Zeek"}, ".bro": {"Zeek"},
".brs": {"Brightscript"}, ".brs": {"Brightscript"},
".bs": {"Bikeshed", "BrighterScript"}, ".bs": {"Bikeshed", "Bluespec BH", "BrighterScript"},
".bsl": {"1C Enterprise"}, ".bsl": {"1C Enterprise"},
".bsv": {"Bluespec"}, ".bsv": {"Bluespec"},
".builder": {"Ruby"}, ".builder": {"Ruby"},
@ -201,6 +201,7 @@ var LanguagesByExtension = map[string][]string{
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".cocci": {"SmPL"}, ".cocci": {"SmPL"},
".code-snippets": {"JSON with Comments"}, ".code-snippets": {"JSON with Comments"},
".code-workspace": {"JSON with Comments"},
".coffee": {"CoffeeScript"}, ".coffee": {"CoffeeScript"},
".coffee.md": {"Literate CoffeeScript"}, ".coffee.md": {"Literate CoffeeScript"},
".com": {"DIGITAL Command Language"}, ".com": {"DIGITAL Command Language"},
@ -432,6 +433,7 @@ var LanguagesByExtension = map[string][]string{
".gql": {"GraphQL"}, ".gql": {"GraphQL"},
".grace": {"Grace"}, ".grace": {"Grace"},
".gradle": {"Gradle"}, ".gradle": {"Gradle"},
".gradle.kts": {"Gradle Kotlin DSL"},
".graphql": {"GraphQL"}, ".graphql": {"GraphQL"},
".graphqls": {"GraphQL"}, ".graphqls": {"GraphQL"},
".groovy": {"Groovy"}, ".groovy": {"Groovy"},
@ -922,7 +924,7 @@ var LanguagesByExtension = map[string][]string{
".qmd": {"RMarkdown"}, ".qmd": {"RMarkdown"},
".qml": {"QML"}, ".qml": {"QML"},
".qs": {"Q#", "Qt Script"}, ".qs": {"Q#", "Qt Script"},
".r": {"R", "Rebol"}, ".r": {"R", "Rebol", "Rez"},
".r2": {"Rebol"}, ".r2": {"Rebol"},
".r3": {"Rebol"}, ".r3": {"Rebol"},
".rabl": {"Ruby"}, ".rabl": {"Ruby"},
@ -979,6 +981,7 @@ var LanguagesByExtension = map[string][]string{
".rmiss": {"GLSL"}, ".rmiss": {"GLSL"},
".rnh": {"RUNOFF"}, ".rnh": {"RUNOFF"},
".rno": {"RUNOFF", "Roff"}, ".rno": {"RUNOFF", "Roff"},
".rnw": {"Sweave"},
".robot": {"RobotFramework"}, ".robot": {"RobotFramework"},
".rockspec": {"Lua"}, ".rockspec": {"Lua"},
".roff": {"Roff"}, ".roff": {"Roff"},
@ -1177,6 +1180,7 @@ var LanguagesByExtension = map[string][]string{
".txl": {"TXL"}, ".txl": {"TXL"},
".txt": {"Adblock Filter List", "Text", "Vim Help File"}, ".txt": {"Adblock Filter List", "Text", "Vim Help File"},
".txx": {"C++"}, ".txx": {"C++"},
".typ": {"Typst", "XML"},
".uc": {"UnrealScript"}, ".uc": {"UnrealScript"},
".udf": {"SQL"}, ".udf": {"SQL"},
".udo": {"Csound"}, ".udo": {"Csound"},
@ -1219,6 +1223,7 @@ var LanguagesByExtension = map[string][]string{
".vmb": {"Vim Script"}, ".vmb": {"Vim Script"},
".volt": {"Volt"}, ".volt": {"Volt"},
".vrx": {"GLSL"}, ".vrx": {"GLSL"},
".vs": {"GLSL"},
".vsh": {"GLSL"}, ".vsh": {"GLSL"},
".vshader": {"GLSL"}, ".vshader": {"GLSL"},
".vsixmanifest": {"XML"}, ".vsixmanifest": {"XML"},
@ -1398,6 +1403,7 @@ var ExtensionsByLanguage = map[string][]string{
"BlitzBasic": {".bb", ".decls"}, "BlitzBasic": {".bb", ".decls"},
"BlitzMax": {".bmx"}, "BlitzMax": {".bmx"},
"Bluespec": {".bsv"}, "Bluespec": {".bsv"},
"Bluespec BH": {".bs"},
"Boo": {".boo"}, "Boo": {".boo"},
"Boogie": {".bpl"}, "Boogie": {".bpl"},
"Brainfuck": {".b", ".bf"}, "Brainfuck": {".b", ".bf"},
@ -1530,7 +1536,7 @@ var ExtensionsByLanguage = map[string][]string{
"GDB": {".gdb", ".gdbinit"}, "GDB": {".gdb", ".gdbinit"},
"GDScript": {".gd"}, "GDScript": {".gd"},
"GEDCOM": {".ged"}, "GEDCOM": {".ged"},
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".rchit", ".rmiss", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"}, "GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".rchit", ".rmiss", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vs", ".vsh", ".vshader"},
"GN": {".gn", ".gni"}, "GN": {".gn", ".gni"},
"GSC": {".gsc", ".csc", ".gsh"}, "GSC": {".gsc", ".csc", ".gsh"},
"Game Maker Language": {".gml"}, "Game Maker Language": {".gml"},
@ -1555,6 +1561,7 @@ var ExtensionsByLanguage = map[string][]string{
"Gosu": {".gs", ".gst", ".gsx", ".vark"}, "Gosu": {".gs", ".gst", ".gsx", ".vark"},
"Grace": {".grace"}, "Grace": {".grace"},
"Gradle": {".gradle"}, "Gradle": {".gradle"},
"Gradle Kotlin DSL": {".gradle.kts"},
"Grammatical Framework": {".gf"}, "Grammatical Framework": {".gf"},
"Graph Modeling Language": {".gml"}, "Graph Modeling Language": {".gml"},
"GraphQL": {".graphql", ".gql", ".graphqls"}, "GraphQL": {".graphql", ".gql", ".graphqls"},
@ -1601,7 +1608,7 @@ var ExtensionsByLanguage = map[string][]string{
"JCL": {".jcl"}, "JCL": {".jcl"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".4dform", ".4dproject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".4dform", ".4dproject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".jsonc", ".code-snippets", ".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": {".jsonc", ".code-snippets", ".code-workspace", ".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"},
"JSONiq": {".jq"}, "JSONiq": {".jq"},
@ -1829,6 +1836,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"},
"Rez": {".r"},
"Rich Text Format": {".rtf"}, "Rich Text Format": {".rtf"},
"Ring": {".ring"}, "Ring": {".ring"},
"Riot": {".riot"}, "Riot": {".riot"},
@ -1892,6 +1900,7 @@ var ExtensionsByLanguage = map[string][]string{
"SuperCollider": {".sc", ".scd"}, "SuperCollider": {".sc", ".scd"},
"Svelte": {".svelte"}, "Svelte": {".svelte"},
"Sway": {".sw"}, "Sway": {".sw"},
"Sweave": {".rnw"},
"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"},
@ -1917,6 +1926,7 @@ var ExtensionsByLanguage = map[string][]string{
"Twig": {".twig"}, "Twig": {".twig"},
"Type Language": {".tl"}, "Type Language": {".tl"},
"TypeScript": {".ts", ".cts", ".mts"}, "TypeScript": {".ts", ".cts", ".mts"},
"Typst": {".typ"},
"Unified Parallel C": {".upc"}, "Unified Parallel C": {".upc"},
"Unity3D Asset": {".anim", ".asset", ".mask", ".mat", ".meta", ".prefab", ".unity"}, "Unity3D Asset": {".anim", ".asset", ".mask", ".mat", ".meta", ".prefab", ".unity"},
"Unix Assembly": {".s", ".ms"}, "Unix Assembly": {".s", ".ms"},
@ -1961,7 +1971,7 @@ var ExtensionsByLanguage = map[string][]string{
"X PixMap": {".xpm", ".pm"}, "X PixMap": {".xpm", ".pm"},
"X10": {".x10"}, "X10": {".x10"},
"XC": {".xc"}, "XC": {".xc"},
"XML": {".xml", ".adml", ".admx", ".ant", ".axaml", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".gst", ".hzp", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".qhelp", ".rdf", ".res", ".resx", ".rs", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".sw", ".targets", ".tml", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xmp", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"}, "XML": {".xml", ".adml", ".admx", ".ant", ".axaml", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".gst", ".hzp", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".qhelp", ".rdf", ".res", ".resx", ".rs", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".sw", ".targets", ".tml", ".ts", ".tsx", ".typ", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xmp", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
"XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"}, "XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"},
"XPages": {".xsp-config", ".xsp.metadata"}, "XPages": {".xsp-config", ".xsp.metadata"},
"XProc": {".xpl", ".xproc"}, "XProc": {".xpl", ".xproc"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -96,6 +96,7 @@ var LanguagesByFilename = map[string][]string{
".project": {"XML"}, ".project": {"XML"},
".pryrc": {"Ruby"}, ".pryrc": {"Ruby"},
".pylintrc": {"INI"}, ".pylintrc": {"INI"},
".rspec": {"Option List"},
".scalafix.conf": {"HOCON"}, ".scalafix.conf": {"HOCON"},
".scalafmt.conf": {"HOCON"}, ".scalafmt.conf": {"HOCON"},
".shellcheckrc": {"ShellCheck Config"}, ".shellcheckrc": {"ShellCheck Config"},
@ -112,6 +113,7 @@ var LanguagesByFilename = map[string][]string{
".vscodeignore": {"Ignore List"}, ".vscodeignore": {"Ignore List"},
".watchmanconfig": {"JSON"}, ".watchmanconfig": {"JSON"},
".wgetrc": {"Wget Config"}, ".wgetrc": {"Wget Config"},
".yardopts": {"Option List"},
".zlogin": {"Shell"}, ".zlogin": {"Shell"},
".zlogout": {"Shell"}, ".zlogout": {"Shell"},
".zprofile": {"Shell"}, ".zprofile": {"Shell"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -8,6 +8,7 @@ var LanguagesGroup = map[string]string{
"Apollo Guidance Computer": "Assembly", "Apollo Guidance Computer": "Assembly",
"BibTeX": "TeX", "BibTeX": "TeX",
"Bison": "Yacc", "Bison": "Yacc",
"Bluespec BH": "Bluespec",
"C2hs Haskell": "Haskell", "C2hs Haskell": "Haskell",
"CameLIGO": "LigoLANG", "CameLIGO": "LigoLANG",
"ColdFusion CFC": "ColdFusion", "ColdFusion CFC": "ColdFusion",
@ -24,6 +25,7 @@ var LanguagesGroup = map[string]string{
"Gentoo Eclass": "Shell", "Gentoo Eclass": "Shell",
"Git Attributes": "INI", "Git Attributes": "INI",
"Git Config": "INI", "Git Config": "INI",
"Gradle Kotlin DSL": "Gradle",
"Groovy Server Pages": "Groovy", "Groovy Server Pages": "Groovy",
"HTML+ECR": "HTML", "HTML+ECR": "HTML",
"HTML+EEX": "HTML", "HTML+EEX": "HTML",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -62,6 +62,7 @@ var IDByLanguage = map[string]int{
"BlitzBasic": 34, "BlitzBasic": 34,
"BlitzMax": 35, "BlitzMax": 35,
"Bluespec": 36, "Bluespec": 36,
"Bluespec BH": 641580358,
"Boo": 37, "Boo": 37,
"Boogie": 955017407, "Boogie": 955017407,
"Brainfuck": 38, "Brainfuck": 38,
@ -230,6 +231,7 @@ var IDByLanguage = map[string]int{
"Gosu": 134, "Gosu": 134,
"Grace": 135, "Grace": 135,
"Gradle": 136, "Gradle": 136,
"Gradle Kotlin DSL": 432600901,
"Grammatical Framework": 137, "Grammatical Framework": 137,
"Graph Modeling Language": 138, "Graph Modeling Language": 138,
"GraphQL": 139, "GraphQL": 139,
@ -521,6 +523,7 @@ var IDByLanguage = map[string]int{
"Regular Expression": 363378884, "Regular Expression": 363378884,
"Ren'Py": 322, "Ren'Py": 322,
"RenderScript": 323, "RenderScript": 323,
"Rez": 498022874,
"Rich Text Format": 51601661, "Rich Text Format": 51601661,
"Ring": 431, "Ring": 431,
"Riot": 878396783, "Riot": 878396783,
@ -588,6 +591,7 @@ var IDByLanguage = map[string]int{
"SuperCollider": 361, "SuperCollider": 361,
"Svelte": 928734530, "Svelte": 928734530,
"Sway": 271471144, "Sway": 271471144,
"Sweave": 558779190,
"Swift": 362, "Swift": 362,
"SystemVerilog": 363, "SystemVerilog": 363,
"TI Program": 422, "TI Program": 422,
@ -614,6 +618,7 @@ var IDByLanguage = map[string]int{
"Twig": 377, "Twig": 377,
"Type Language": 632765617, "Type Language": 632765617,
"TypeScript": 378, "TypeScript": 378,
"Typst": 704730682,
"Unified Parallel C": 379, "Unified Parallel C": 379,
"Unity3D Asset": 380, "Unity3D Asset": 380,
"Unix Assembly": 120, "Unix Assembly": 120,

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -1242,24 +1242,49 @@ var LanguageInfoByID = map[int]LanguageInfo{
LanguageID: 35, LanguageID: 35,
}, },
36: LanguageInfo{ 36: LanguageInfo{
Name: "Bluespec", Name: "Bluespec",
FSName: "", FSName: "",
Type: TypeForString("programming"), Type: TypeForString("programming"),
Color: "#12223c", Color: "#12223c",
Group: "", Group: "",
Aliases: []string{}, Aliases: []string{
"bluespec bsv",
"bsv",
},
Extensions: []string{ Extensions: []string{
".bsv", ".bsv",
}, },
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{}, Filenames: []string{},
MimeType: "", MimeType: "text/x-systemverilog",
TMScope: "source.bsv", TMScope: "source.bsv",
AceMode: "verilog", AceMode: "verilog",
CodeMirrorMode: "", CodeMirrorMode: "verilog",
Wrap: false, Wrap: false,
LanguageID: 36, LanguageID: 36,
}, },
641580358: LanguageInfo{
Name: "Bluespec BH",
FSName: "",
Type: TypeForString("programming"),
Color: "#12223c",
Group: "Bluespec",
Aliases: []string{
"bh",
"bluespec classic",
},
Extensions: []string{
".bs",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "text/x-haskell",
TMScope: "source.haskell",
AceMode: "haskell",
CodeMirrorMode: "haskell",
Wrap: false,
LanguageID: 641580358,
},
37: LanguageInfo{ 37: LanguageInfo{
Name: "Boo", Name: "Boo",
FSName: "", FSName: "",
@ -4210,6 +4235,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".tese", ".tese",
".vert", ".vert",
".vrx", ".vrx",
".vs",
".vsh", ".vsh",
".vshader", ".vshader",
}, },
@ -4869,6 +4895,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 136, LanguageID: 136,
}, },
432600901: LanguageInfo{
Name: "Gradle Kotlin DSL",
FSName: "",
Type: TypeForString("data"),
Color: "#02303a",
Group: "Gradle",
Aliases: []string{},
Extensions: []string{
".gradle.kts",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.kotlin",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 432600901,
},
137: LanguageInfo{ 137: LanguageInfo{
Name: "Grammatical Framework", Name: "Grammatical Framework",
FSName: "", FSName: "",
@ -5436,12 +5481,14 @@ var LanguageInfoByID = map[int]LanguageInfo{
LanguageID: 928121743, LanguageID: 928121743,
}, },
231021894: LanguageInfo{ 231021894: LanguageInfo{
Name: "Hosts File", Name: "Hosts File",
FSName: "", FSName: "",
Type: TypeForString("data"), Type: TypeForString("data"),
Color: "#308888", Color: "#308888",
Group: "", Group: "",
Aliases: []string{}, Aliases: []string{
"hosts",
},
Extensions: []string{}, Extensions: []string{},
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{ Filenames: []string{
@ -5990,6 +6037,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
Extensions: []string{ Extensions: []string{
".jsonc", ".jsonc",
".code-snippets", ".code-snippets",
".code-workspace",
".sublime-build", ".sublime-build",
".sublime-commands", ".sublime-commands",
".sublime-completions", ".sublime-completions",
@ -9253,6 +9301,8 @@ var LanguageInfoByID = map[int]LanguageInfo{
Interpreters: []string{}, Interpreters: []string{},
Filenames: []string{ Filenames: []string{
".ackrc", ".ackrc",
".rspec",
".yardopts",
"ackrc", "ackrc",
"mocha.opts", "mocha.opts",
}, },
@ -9745,12 +9795,14 @@ var LanguageInfoByID = map[int]LanguageInfo{
LanguageID: 282, LanguageID: 282,
}, },
425: LanguageInfo{ 425: LanguageInfo{
Name: "Pic", Name: "Pic",
FSName: "", FSName: "",
Type: TypeForString("markup"), Type: TypeForString("markup"),
Color: "", Color: "",
Group: "Roff", Group: "Roff",
Aliases: []string{}, Aliases: []string{
"pikchr",
},
Extensions: []string{ Extensions: []string{
".pic", ".pic",
".chem", ".chem",
@ -11216,6 +11268,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 323, LanguageID: 323,
}, },
498022874: LanguageInfo{
Name: "Rez",
FSName: "",
Type: TypeForString("programming"),
Color: "#FFDAB3",
Group: "",
Aliases: []string{},
Extensions: []string{
".r",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.rez",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 498022874,
},
51601661: LanguageInfo{ 51601661: LanguageInfo{
Name: "Rich Text Format", Name: "Rich Text Format",
FSName: "", FSName: "",
@ -12788,6 +12859,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 271471144, LanguageID: 271471144,
}, },
558779190: LanguageInfo{
Name: "Sweave",
FSName: "",
Type: TypeForString("prose"),
Color: "#198ce7",
Group: "",
Aliases: []string{},
Extensions: []string{
".rnw",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "text.tex.latex.sweave",
AceMode: "tex",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 558779190,
},
362: LanguageInfo{ 362: LanguageInfo{
Name: "Swift", Name: "Swift",
FSName: "", FSName: "",
@ -13377,6 +13467,27 @@ var LanguageInfoByID = map[int]LanguageInfo{
Wrap: false, Wrap: false,
LanguageID: 378, LanguageID: 378,
}, },
704730682: LanguageInfo{
Name: "Typst",
FSName: "",
Type: TypeForString("programming"),
Color: "#239dad",
Group: "",
Aliases: []string{
"typ",
},
Extensions: []string{
".typ",
},
Interpreters: []string{},
Filenames: []string{},
MimeType: "",
TMScope: "source.typst",
AceMode: "text",
CodeMirrorMode: "",
Wrap: false,
LanguageID: 704730682,
},
379: LanguageInfo{ 379: LanguageInfo{
Name: "Unified Parallel C", Name: "Unified Parallel C",
FSName: "", FSName: "",
@ -14466,6 +14577,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
".tml", ".tml",
".ts", ".ts",
".tsx", ".tsx",
".typ",
".ui", ".ui",
".urdf", ".urdf",
".ux", ".ux",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -17,6 +17,8 @@ var LanguagesMime = map[string]string{
"Beef": "text/x-csharp", "Beef": "text/x-csharp",
"BibTeX": "text/x-stex", "BibTeX": "text/x-stex",
"Bikeshed": "text/html", "Bikeshed": "text/html",
"Bluespec": "text/x-systemverilog",
"Bluespec BH": "text/x-haskell",
"Brainfuck": "text/x-brainfuck", "Brainfuck": "text/x-brainfuck",
"C": "text/x-csrc", "C": "text/x-csrc",
"C#": "text/x-csharp", "C#": "text/x-csharp",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -104,6 +104,7 @@ var LanguagesType = map[string]int{
"BlitzBasic": 2, "BlitzBasic": 2,
"BlitzMax": 2, "BlitzMax": 2,
"Bluespec": 2, "Bluespec": 2,
"Bluespec BH": 2,
"Boo": 2, "Boo": 2,
"Boogie": 2, "Boogie": 2,
"Brainfuck": 2, "Brainfuck": 2,
@ -272,6 +273,7 @@ var LanguagesType = map[string]int{
"Gosu": 2, "Gosu": 2,
"Grace": 2, "Grace": 2,
"Gradle": 1, "Gradle": 1,
"Gradle Kotlin DSL": 1,
"Grammatical Framework": 2, "Grammatical Framework": 2,
"Graph Modeling Language": 1, "Graph Modeling Language": 1,
"GraphQL": 1, "GraphQL": 1,
@ -563,6 +565,7 @@ var LanguagesType = map[string]int{
"Regular Expression": 1, "Regular Expression": 1,
"Ren'Py": 2, "Ren'Py": 2,
"RenderScript": 2, "RenderScript": 2,
"Rez": 2,
"Rich Text Format": 3, "Rich Text Format": 3,
"Ring": 2, "Ring": 2,
"Riot": 3, "Riot": 3,
@ -630,6 +633,7 @@ var LanguagesType = map[string]int{
"SuperCollider": 2, "SuperCollider": 2,
"Svelte": 3, "Svelte": 3,
"Sway": 2, "Sway": 2,
"Sweave": 4,
"Swift": 2, "Swift": 2,
"SystemVerilog": 2, "SystemVerilog": 2,
"TI Program": 2, "TI Program": 2,
@ -656,6 +660,7 @@ var LanguagesType = map[string]int{
"Twig": 3, "Twig": 3,
"Type Language": 1, "Type Language": 1,
"TypeScript": 2, "TypeScript": 2,
"Typst": 2,
"Unified Parallel C": 2, "Unified Parallel C": 2,
"Unity3D Asset": 1, "Unity3D Asset": 1,
"Unix Assembly": 2, "Unix Assembly": 2,

View File

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

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -100,6 +100,7 @@ var LanguageByAliasMap = map[string]string{
"beef": "Beef", "beef": "Beef",
"befunge": "Befunge", "befunge": "Befunge",
"berry": "Berry", "berry": "Berry",
"bh": "Bluespec BH",
"bibtex": "BibTeX", "bibtex": "BibTeX",
"bicep": "Bicep", "bicep": "Bicep",
"bikeshed": "Bikeshed", "bikeshed": "Bikeshed",
@ -111,6 +112,9 @@ var LanguageByAliasMap = map[string]string{
"blitzmax": "BlitzMax", "blitzmax": "BlitzMax",
"blitzplus": "BlitzBasic", "blitzplus": "BlitzBasic",
"bluespec": "Bluespec", "bluespec": "Bluespec",
"bluespec_bh": "Bluespec BH",
"bluespec_bsv": "Bluespec",
"bluespec_classic": "Bluespec BH",
"bmax": "BlitzMax", "bmax": "BlitzMax",
"boo": "Boo", "boo": "Boo",
"boogie": "Boogie", "boogie": "Boogie",
@ -121,6 +125,7 @@ var LanguageByAliasMap = map[string]string{
"bro": "Zeek", "bro": "Zeek",
"browserslist": "Browserslist", "browserslist": "Browserslist",
"bsdmake": "Makefile", "bsdmake": "Makefile",
"bsv": "Bluespec",
"byond": "DM", "byond": "DM",
"bzl": "Starlark", "bzl": "Starlark",
"c": "C", "c": "C",
@ -370,6 +375,7 @@ var LanguageByAliasMap = map[string]string{
"gosu": "Gosu", "gosu": "Gosu",
"grace": "Grace", "grace": "Grace",
"gradle": "Gradle", "gradle": "Gradle",
"gradle_kotlin_dsl": "Gradle Kotlin DSL",
"grammatical_framework": "Grammatical Framework", "grammatical_framework": "Grammatical Framework",
"graph_modeling_language": "Graph Modeling Language", "graph_modeling_language": "Graph Modeling Language",
"graphql": "GraphQL", "graphql": "GraphQL",
@ -398,6 +404,7 @@ var LanguageByAliasMap = map[string]string{
"hocon": "HOCON", "hocon": "HOCON",
"holyc": "HolyC", "holyc": "HolyC",
"hoon": "hoon", "hoon": "hoon",
"hosts": "Hosts File",
"hosts_file": "Hosts File", "hosts_file": "Hosts File",
"html": "HTML", "html": "HTML",
"html+django": "Jinja", "html+django": "Jinja",
@ -711,6 +718,7 @@ var LanguageByAliasMap = map[string]string{
"pickle": "Pickle", "pickle": "Pickle",
"picolisp": "PicoLisp", "picolisp": "PicoLisp",
"piglatin": "PigLatin", "piglatin": "PigLatin",
"pikchr": "Pic",
"pike": "Pike", "pike": "Pike",
"pir": "Parrot Internal Representation", "pir": "Parrot Internal Representation",
"plain_text": "Text", "plain_text": "Text",
@ -806,6 +814,7 @@ var LanguageByAliasMap = map[string]string{
"rescript": "ReScript", "rescript": "ReScript",
"restructuredtext": "reStructuredText", "restructuredtext": "reStructuredText",
"rexx": "REXX", "rexx": "REXX",
"rez": "Rez",
"rhtml": "HTML+ERB", "rhtml": "HTML+ERB",
"rich_text_format": "Rich Text Format", "rich_text_format": "Rich Text Format",
"ring": "Ring", "ring": "Ring",
@ -911,6 +920,7 @@ var LanguageByAliasMap = map[string]string{
"svelte": "Svelte", "svelte": "Svelte",
"svg": "SVG", "svg": "SVG",
"sway": "Sway", "sway": "Sway",
"sweave": "Sweave",
"swift": "Swift", "swift": "Swift",
"swig": "SWIG", "swig": "SWIG",
"systemverilog": "SystemVerilog", "systemverilog": "SystemVerilog",
@ -943,8 +953,10 @@ var LanguageByAliasMap = map[string]string{
"turtle": "Turtle", "turtle": "Turtle",
"twig": "Twig", "twig": "Twig",
"txl": "TXL", "txl": "TXL",
"typ": "Typst",
"type_language": "Type Language", "type_language": "Type Language",
"typescript": "TypeScript", "typescript": "TypeScript",
"typst": "Typst",
"udiff": "Diff", "udiff": "Diff",
"ultisnip": "Vim Snippet", "ultisnip": "Vim Snippet",
"ultisnips": "Vim Snippet", "ultisnips": "Vim Snippet",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -58,6 +58,7 @@ var LanguagesColor = map[string]string{
"BlitzBasic": "#00FFAE", "BlitzBasic": "#00FFAE",
"BlitzMax": "#cd6400", "BlitzMax": "#cd6400",
"Bluespec": "#12223c", "Bluespec": "#12223c",
"Bluespec BH": "#12223c",
"Boo": "#d4bec1", "Boo": "#d4bec1",
"Boogie": "#c80fa0", "Boogie": "#c80fa0",
"Brainfuck": "#2F2530", "Brainfuck": "#2F2530",
@ -197,6 +198,7 @@ var LanguagesColor = map[string]string{
"Gosu": "#82937f", "Gosu": "#82937f",
"Grace": "#615f8b", "Grace": "#615f8b",
"Gradle": "#02303a", "Gradle": "#02303a",
"Gradle Kotlin DSL": "#02303a",
"Grammatical Framework": "#ff0000", "Grammatical Framework": "#ff0000",
"GraphQL": "#e10098", "GraphQL": "#e10098",
"Graphviz (DOT)": "#2596be", "Graphviz (DOT)": "#2596be",
@ -427,6 +429,7 @@ var LanguagesColor = map[string]string{
"Red": "#f50000", "Red": "#f50000",
"Regular Expression": "#009a00", "Regular Expression": "#009a00",
"Ren'Py": "#ff7f7f", "Ren'Py": "#ff7f7f",
"Rez": "#FFDAB3",
"Ring": "#2D54CB", "Ring": "#2D54CB",
"Riot": "#A71E49", "Riot": "#A71E49",
"RobotFramework": "#00c0b5", "RobotFramework": "#00c0b5",
@ -481,6 +484,7 @@ var LanguagesColor = map[string]string{
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Svelte": "#ff3e00", "Svelte": "#ff3e00",
"Sway": "#dea584", "Sway": "#dea584",
"Sweave": "#198ce7",
"Swift": "#F05138", "Swift": "#F05138",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
"TI Program": "#A0AA87", "TI Program": "#A0AA87",
@ -501,6 +505,7 @@ var LanguagesColor = map[string]string{
"Turing": "#cf142b", "Turing": "#cf142b",
"Twig": "#c1d026", "Twig": "#c1d026",
"TypeScript": "#3178c6", "TypeScript": "#3178c6",
"Typst": "#239dad",
"Unified Parallel C": "#4e3617", "Unified Parallel C": "#4e3617",
"Unity3D Asset": "#222c37", "Unity3D Asset": "#222c37",
"Uno": "#9933cc", "Uno": "#9933cc",

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -607,7 +607,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("AsciiDoc"), rule.MatchingLanguages("AsciiDoc"),
regex.MustCompileMultiline(`^[=-]+(\s|\n)|\{\{[A-Za-z]`), regex.MustCompileMultiline(`^[=-]+\s|\{\{[A-Za-z]`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("AGS Script"), rule.MatchingLanguages("AGS Script"),
@ -697,6 +697,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("BrighterScript"), rule.MatchingLanguages("BrighterScript"),
regex.MustCompileRuby(`(?i:^\s*(?=^sub\s)(?:sub\s*\w+\(.*?\))|(?::\s*sub\(.*?\))$)|(?i:^\s*(end\ssub)$)|(?i:^\s*(?=^function\s)(?:function\s*\w+\(.*?\)\s*as\s*\w*)|(?::\s*function\(.*?\)\s*as\s*\w*)$)|(?i:^\s*(end\sfunction)$)`), regex.MustCompileRuby(`(?i:^\s*(?=^sub\s)(?:sub\s*\w+\(.*?\))|(?::\s*sub\(.*?\))$)|(?i:^\s*(end\ssub)$)|(?i:^\s*(?=^function\s)(?:function\s*\w+\(.*?\)\s*as\s*\w*)|(?::\s*function\(.*?\)\s*as\s*\w*)$)|(?i:^\s*(end\sfunction)$)`),
), ),
rule.Or(
rule.MatchingLanguages("Bluespec BH"),
regex.MustCompileMultiline(`^package\s+[A-Za-z_][A-Za-z0-9_']*(?:\s*\(|\s+where)`),
),
}, },
".builds": &Heuristics{ ".builds": &Heuristics{
rule.Or( rule.Or(
@ -752,7 +756,7 @@ var ContentHeuristics = map[string]*Heuristics{
".cmp": &Heuristics{ ".cmp": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Gerber Image"), rule.MatchingLanguages("Gerber Image"),
regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*\r?\n`), regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*(?:\r?\n|\r)`),
), ),
}, },
".cs": &Heuristics{ ".cs": &Heuristics{
@ -931,7 +935,7 @@ var ContentHeuristics = map[string]*Heuristics{
".ftl": &Heuristics{ ".ftl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("FreeMarker"), rule.MatchingLanguages("FreeMarker"),
regex.MustCompileRuby(`^(?:<|[a-zA-Z-][a-zA-Z0-9_-]+[ \t]+\w)|\$\{\w+[^\n]*?\}|^[ \t]*(?:<#--.*?-->|<#([a-z]+)(?=\s|>)[^>]*>.*?</#\1>|\[#--.*?--\]|\[#([a-z]+)(?=\s|\])[^\]]*\].*?\[#\2\])`), regex.MustCompileRuby(`^(?:<|[a-zA-Z-][a-zA-Z0-9_-]+[ \t]+\w)|\$\{\w+[^\r\n]*?\}|^[ \t]*(?:<#--.*?-->|<#([a-z]+)(?=\s|>)[^>]*>.*?</#\1>|\[#--.*?--\]|\[#([a-z]+)(?=\s|\])[^\]]*\].*?\[#\2\])`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Fluent"), rule.MatchingLanguages("Fluent"),
@ -945,7 +949,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("G-code"), rule.MatchingLanguages("G-code"),
regex.MustCompileMultiline(`^[MG][0-9]+\n`), regex.MustCompileMultiline(`^[MG][0-9]+(?:\r?\n|\r)`),
), ),
}, },
".gd": &Heuristics{ ".gd": &Heuristics{
@ -1224,7 +1228,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("M4"), rule.MatchingLanguages("M4"),
regex.MustCompileMultiline(`^dnl|^divert\((?:-?\d+)?\)|^\w+\(`+"`"+`[^\n]*?'[),]`), regex.MustCompileMultiline(`^dnl|^divert\((?:-?\d+)?\)|^\w+\(`+"`"+`[^\r\n]*?'[),]`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Monkey C"), rule.MatchingLanguages("Monkey C"),
@ -1335,7 +1339,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Gerber Image"), rule.MatchingLanguages("Gerber Image"),
regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*\r?\n`), regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*(?:\r?\n|\r)`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Text"), rule.MatchingLanguages("Text"),
@ -1449,7 +1453,7 @@ var ContentHeuristics = map[string]*Heuristics{
".pod": &Heuristics{ ".pod": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("Pod 6"), rule.MatchingLanguages("Pod 6"),
regex.MustCompileMultiline(`^[\s&&[^\n]]*=(comment|begin pod|begin para|item\d+)`), regex.MustCompileMultiline(`^[\s&&[^\r\n]]*=(comment|begin pod|begin para|item\d+)`),
), ),
rule.Always( rule.Always(
rule.MatchingLanguages("Pod"), rule.MatchingLanguages("Pod"),
@ -1529,7 +1533,7 @@ var ContentHeuristics = map[string]*Heuristics{
".q": &Heuristics{ ".q": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("q"), rule.MatchingLanguages("q"),
regex.MustCompileMultiline(`((?i:[A-Z.][\w.]*:\{)|(^|\n)\\(cd?|d|l|p|ts?) )`), regex.MustCompileMultiline(`((?i:[A-Z.][\w.]*:\{)|^\\(cd?|d|l|p|ts?) )`),
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("HiveQL"), rule.MatchingLanguages("HiveQL"),
@ -1551,6 +1555,10 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Rebol"), rule.MatchingLanguages("Rebol"),
regex.MustCompileMultiline(`(?i:\bRebol\b)`), regex.MustCompileMultiline(`(?i:\bRebol\b)`),
), ),
rule.Or(
rule.MatchingLanguages("Rez"),
regex.MustCompileMultiline(`(#include\s+["<](Types\.r|Carbon\/Carbon\.r)[">])|((resource|data|type)\s+'[A-Za-z0-9]{4}'\s+((\(.*\)\s+){0,1}){)`),
),
rule.Or( rule.Or(
rule.MatchingLanguages("R"), rule.MatchingLanguages("R"),
regex.MustCompileMultiline(`<-|^\s*#`), regex.MustCompileMultiline(`<-|^\s*#`),
@ -1638,7 +1646,7 @@ var ContentHeuristics = map[string]*Heuristics{
), ),
rule.Or( rule.Or(
rule.MatchingLanguages("Gerber Image"), rule.MatchingLanguages("Gerber Image"),
regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*\r?\n`), regex.MustCompileMultiline(`^[DGMT][0-9]{2}\*(?:\r?\n|\r)`),
), ),
}, },
".sql": &Heuristics{ ".sql": &Heuristics{
@ -1690,7 +1698,7 @@ var ContentHeuristics = map[string]*Heuristics{
".stl": &Heuristics{ ".stl": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("STL"), rule.MatchingLanguages("STL"),
regex.MustCompileRuby(`\A\s*solid(?=$|\s)(?:.|[\r\n])*?^endsolid(?:$|\s)`), regex.MustCompileMultiline(`\A\s*solid(?:$|\s)[\s\S]*^endsolid(?:$|\s)`),
), ),
}, },
".sw": &Heuristics{ ".sw": &Heuristics{
@ -1805,10 +1813,19 @@ var ContentHeuristics = map[string]*Heuristics{
rule.MatchingLanguages("Text"), rule.MatchingLanguages("Text"),
), ),
}, },
".typ": &Heuristics{
rule.Or(
rule.MatchingLanguages("Typst"),
regex.MustCompileMultiline(`^#(import|show|let|set)`),
),
rule.Always(
rule.MatchingLanguages("XML"),
),
},
".url": &Heuristics{ ".url": &Heuristics{
rule.Or( rule.Or(
rule.MatchingLanguages("INI"), rule.MatchingLanguages("INI"),
regex.MustCompileRuby(`^\[InternetShortcut\](?:\r?\n|\r)(?>[^\s\[][^\n]*(?:\r?\n|\r))*URL=`), regex.MustCompileRuby(`^\[InternetShortcut\](?:\r?\n|\r)(?>[^\s\[][^\r\n]*(?:\r?\n|\r))*URL=`),
), ),
}, },
".v": &Heuristics{ ".v": &Heuristics{

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -135,7 +135,7 @@ var LanguagesByExtension = map[string][]string{
".brd": {"Eagle", "KiCad Legacy Layout"}, ".brd": {"Eagle", "KiCad Legacy Layout"},
".bro": {"Zeek"}, ".bro": {"Zeek"},
".brs": {"Brightscript"}, ".brs": {"Brightscript"},
".bs": {"Bikeshed", "BrighterScript"}, ".bs": {"Bikeshed", "Bluespec BH", "BrighterScript"},
".bsl": {"1C Enterprise"}, ".bsl": {"1C Enterprise"},
".bsv": {"Bluespec"}, ".bsv": {"Bluespec"},
".builder": {"Ruby"}, ".builder": {"Ruby"},
@ -201,6 +201,7 @@ var LanguagesByExtension = map[string][]string{
".cobol": {"COBOL"}, ".cobol": {"COBOL"},
".cocci": {"SmPL"}, ".cocci": {"SmPL"},
".code-snippets": {"JSON with Comments"}, ".code-snippets": {"JSON with Comments"},
".code-workspace": {"JSON with Comments"},
".coffee": {"CoffeeScript"}, ".coffee": {"CoffeeScript"},
".coffee.md": {"Literate CoffeeScript"}, ".coffee.md": {"Literate CoffeeScript"},
".com": {"DIGITAL Command Language"}, ".com": {"DIGITAL Command Language"},
@ -432,6 +433,7 @@ var LanguagesByExtension = map[string][]string{
".gql": {"GraphQL"}, ".gql": {"GraphQL"},
".grace": {"Grace"}, ".grace": {"Grace"},
".gradle": {"Gradle"}, ".gradle": {"Gradle"},
".gradle.kts": {"Gradle Kotlin DSL"},
".graphql": {"GraphQL"}, ".graphql": {"GraphQL"},
".graphqls": {"GraphQL"}, ".graphqls": {"GraphQL"},
".groovy": {"Groovy"}, ".groovy": {"Groovy"},
@ -922,7 +924,7 @@ var LanguagesByExtension = map[string][]string{
".qmd": {"RMarkdown"}, ".qmd": {"RMarkdown"},
".qml": {"QML"}, ".qml": {"QML"},
".qs": {"Q#", "Qt Script"}, ".qs": {"Q#", "Qt Script"},
".r": {"R", "Rebol"}, ".r": {"R", "Rebol", "Rez"},
".r2": {"Rebol"}, ".r2": {"Rebol"},
".r3": {"Rebol"}, ".r3": {"Rebol"},
".rabl": {"Ruby"}, ".rabl": {"Ruby"},
@ -979,6 +981,7 @@ var LanguagesByExtension = map[string][]string{
".rmiss": {"GLSL"}, ".rmiss": {"GLSL"},
".rnh": {"RUNOFF"}, ".rnh": {"RUNOFF"},
".rno": {"RUNOFF", "Roff"}, ".rno": {"RUNOFF", "Roff"},
".rnw": {"Sweave"},
".robot": {"RobotFramework"}, ".robot": {"RobotFramework"},
".rockspec": {"Lua"}, ".rockspec": {"Lua"},
".roff": {"Roff"}, ".roff": {"Roff"},
@ -1177,6 +1180,7 @@ var LanguagesByExtension = map[string][]string{
".txl": {"TXL"}, ".txl": {"TXL"},
".txt": {"Adblock Filter List", "Text", "Vim Help File"}, ".txt": {"Adblock Filter List", "Text", "Vim Help File"},
".txx": {"C++"}, ".txx": {"C++"},
".typ": {"Typst", "XML"},
".uc": {"UnrealScript"}, ".uc": {"UnrealScript"},
".udf": {"SQL"}, ".udf": {"SQL"},
".udo": {"Csound"}, ".udo": {"Csound"},
@ -1219,6 +1223,7 @@ var LanguagesByExtension = map[string][]string{
".vmb": {"Vim Script"}, ".vmb": {"Vim Script"},
".volt": {"Volt"}, ".volt": {"Volt"},
".vrx": {"GLSL"}, ".vrx": {"GLSL"},
".vs": {"GLSL"},
".vsh": {"GLSL"}, ".vsh": {"GLSL"},
".vshader": {"GLSL"}, ".vshader": {"GLSL"},
".vsixmanifest": {"XML"}, ".vsixmanifest": {"XML"},
@ -1398,6 +1403,7 @@ var ExtensionsByLanguage = map[string][]string{
"BlitzBasic": {".bb", ".decls"}, "BlitzBasic": {".bb", ".decls"},
"BlitzMax": {".bmx"}, "BlitzMax": {".bmx"},
"Bluespec": {".bsv"}, "Bluespec": {".bsv"},
"Bluespec BH": {".bs"},
"Boo": {".boo"}, "Boo": {".boo"},
"Boogie": {".bpl"}, "Boogie": {".bpl"},
"Brainfuck": {".b", ".bf"}, "Brainfuck": {".b", ".bf"},
@ -1530,7 +1536,7 @@ var ExtensionsByLanguage = map[string][]string{
"GDB": {".gdb", ".gdbinit"}, "GDB": {".gdb", ".gdbinit"},
"GDScript": {".gd"}, "GDScript": {".gd"},
"GEDCOM": {".ged"}, "GEDCOM": {".ged"},
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".rchit", ".rmiss", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"}, "GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".rchit", ".rmiss", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vs", ".vsh", ".vshader"},
"GN": {".gn", ".gni"}, "GN": {".gn", ".gni"},
"GSC": {".gsc", ".csc", ".gsh"}, "GSC": {".gsc", ".csc", ".gsh"},
"Game Maker Language": {".gml"}, "Game Maker Language": {".gml"},
@ -1555,6 +1561,7 @@ var ExtensionsByLanguage = map[string][]string{
"Gosu": {".gs", ".gst", ".gsx", ".vark"}, "Gosu": {".gs", ".gst", ".gsx", ".vark"},
"Grace": {".grace"}, "Grace": {".grace"},
"Gradle": {".gradle"}, "Gradle": {".gradle"},
"Gradle Kotlin DSL": {".gradle.kts"},
"Grammatical Framework": {".gf"}, "Grammatical Framework": {".gf"},
"Graph Modeling Language": {".gml"}, "Graph Modeling Language": {".gml"},
"GraphQL": {".graphql", ".gql", ".graphqls"}, "GraphQL": {".graphql", ".gql", ".graphqls"},
@ -1601,7 +1608,7 @@ var ExtensionsByLanguage = map[string][]string{
"JCL": {".jcl"}, "JCL": {".jcl"},
"JFlex": {".flex", ".jflex"}, "JFlex": {".flex", ".jflex"},
"JSON": {".json", ".4dform", ".4dproject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"}, "JSON": {".json", ".4dform", ".4dproject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".json-tmlanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"},
"JSON with Comments": {".jsonc", ".code-snippets", ".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": {".jsonc", ".code-snippets", ".code-workspace", ".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"},
"JSONiq": {".jq"}, "JSONiq": {".jq"},
@ -1829,6 +1836,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"},
"Rez": {".r"},
"Rich Text Format": {".rtf"}, "Rich Text Format": {".rtf"},
"Ring": {".ring"}, "Ring": {".ring"},
"Riot": {".riot"}, "Riot": {".riot"},
@ -1892,6 +1900,7 @@ var ExtensionsByLanguage = map[string][]string{
"SuperCollider": {".sc", ".scd"}, "SuperCollider": {".sc", ".scd"},
"Svelte": {".svelte"}, "Svelte": {".svelte"},
"Sway": {".sw"}, "Sway": {".sw"},
"Sweave": {".rnw"},
"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"},
@ -1917,6 +1926,7 @@ var ExtensionsByLanguage = map[string][]string{
"Twig": {".twig"}, "Twig": {".twig"},
"Type Language": {".tl"}, "Type Language": {".tl"},
"TypeScript": {".ts", ".cts", ".mts"}, "TypeScript": {".ts", ".cts", ".mts"},
"Typst": {".typ"},
"Unified Parallel C": {".upc"}, "Unified Parallel C": {".upc"},
"Unity3D Asset": {".anim", ".asset", ".mask", ".mat", ".meta", ".prefab", ".unity"}, "Unity3D Asset": {".anim", ".asset", ".mask", ".mat", ".meta", ".prefab", ".unity"},
"Unix Assembly": {".s", ".ms"}, "Unix Assembly": {".s", ".ms"},
@ -1961,7 +1971,7 @@ var ExtensionsByLanguage = map[string][]string{
"X PixMap": {".xpm", ".pm"}, "X PixMap": {".xpm", ".pm"},
"X10": {".x10"}, "X10": {".x10"},
"XC": {".xc"}, "XC": {".xc"},
"XML": {".xml", ".adml", ".admx", ".ant", ".axaml", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".gst", ".hzp", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".qhelp", ".rdf", ".res", ".resx", ".rs", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".sw", ".targets", ".tml", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xmp", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"}, "XML": {".xml", ".adml", ".admx", ".ant", ".axaml", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".gst", ".hzp", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".qhelp", ".rdf", ".res", ".resx", ".rs", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".sw", ".targets", ".tml", ".ts", ".tsx", ".typ", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xmp", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
"XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"}, "XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"},
"XPages": {".xsp-config", ".xsp.metadata"}, "XPages": {".xsp-config", ".xsp.metadata"},
"XProc": {".xpl", ".xproc"}, "XProc": {".xpl", ".xproc"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -96,6 +96,7 @@ var LanguagesByFilename = map[string][]string{
".project": {"XML"}, ".project": {"XML"},
".pryrc": {"Ruby"}, ".pryrc": {"Ruby"},
".pylintrc": {"INI"}, ".pylintrc": {"INI"},
".rspec": {"Option List"},
".scalafix.conf": {"HOCON"}, ".scalafix.conf": {"HOCON"},
".scalafmt.conf": {"HOCON"}, ".scalafmt.conf": {"HOCON"},
".shellcheckrc": {"ShellCheck Config"}, ".shellcheckrc": {"ShellCheck Config"},
@ -112,6 +113,7 @@ var LanguagesByFilename = map[string][]string{
".vscodeignore": {"Ignore List"}, ".vscodeignore": {"Ignore List"},
".watchmanconfig": {"JSON"}, ".watchmanconfig": {"JSON"},
".wgetrc": {"Wget Config"}, ".wgetrc": {"Wget Config"},
".yardopts": {"Option List"},
".zlogin": {"Shell"}, ".zlogin": {"Shell"},
".zlogout": {"Shell"}, ".zlogout": {"Shell"},
".zprofile": {"Shell"}, ".zprofile": {"Shell"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -8,6 +8,7 @@ var LanguagesGroup = map[string]string{
"Apollo Guidance Computer": "Assembly", "Apollo Guidance Computer": "Assembly",
"BibTeX": "TeX", "BibTeX": "TeX",
"Bison": "Yacc", "Bison": "Yacc",
"Bluespec BH": "Bluespec",
"C2hs Haskell": "Haskell", "C2hs Haskell": "Haskell",
"CameLIGO": "LigoLANG", "CameLIGO": "LigoLANG",
"ColdFusion CFC": "ColdFusion", "ColdFusion CFC": "ColdFusion",
@ -24,6 +25,7 @@ var LanguagesGroup = map[string]string{
"Gentoo Eclass": "Shell", "Gentoo Eclass": "Shell",
"Git Attributes": "INI", "Git Attributes": "INI",
"Git Config": "INI", "Git Config": "INI",
"Gradle Kotlin DSL": "Gradle",
"Groovy Server Pages": "Groovy", "Groovy Server Pages": "Groovy",
"HTML+ECR": "HTML", "HTML+ECR": "HTML",
"HTML+EEX": "HTML", "HTML+EEX": "HTML",

View File

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

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -17,6 +17,8 @@ var LanguagesMime = map[string]string{
"Beef": "text/x-csharp", "Beef": "text/x-csharp",
"BibTeX": "text/x-stex", "BibTeX": "text/x-stex",
"Bikeshed": "text/html", "Bikeshed": "text/html",
"Bluespec": "text/x-systemverilog",
"Bluespec BH": "text/x-haskell",
"Brainfuck": "text/x-brainfuck", "Brainfuck": "text/x-brainfuck",
"C": "text/x-csrc", "C": "text/x-csrc",
"C#": "text/x-csharp", "C#": "text/x-csharp",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT. // Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: b5432ebc7e78f25415b98d48c2fbacddbf8df317 // Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
package data package data
@ -104,6 +104,7 @@ var LanguagesType = map[string]int{
"BlitzBasic": 2, "BlitzBasic": 2,
"BlitzMax": 2, "BlitzMax": 2,
"Bluespec": 2, "Bluespec": 2,
"Bluespec BH": 2,
"Boo": 2, "Boo": 2,
"Boogie": 2, "Boogie": 2,
"Brainfuck": 2, "Brainfuck": 2,
@ -272,6 +273,7 @@ var LanguagesType = map[string]int{
"Gosu": 2, "Gosu": 2,
"Grace": 2, "Grace": 2,
"Gradle": 1, "Gradle": 1,
"Gradle Kotlin DSL": 1,
"Grammatical Framework": 2, "Grammatical Framework": 2,
"Graph Modeling Language": 1, "Graph Modeling Language": 1,
"GraphQL": 1, "GraphQL": 1,
@ -563,6 +565,7 @@ var LanguagesType = map[string]int{
"Regular Expression": 1, "Regular Expression": 1,
"Ren'Py": 2, "Ren'Py": 2,
"RenderScript": 2, "RenderScript": 2,
"Rez": 2,
"Rich Text Format": 3, "Rich Text Format": 3,
"Ring": 2, "Ring": 2,
"Riot": 3, "Riot": 3,
@ -630,6 +633,7 @@ var LanguagesType = map[string]int{
"SuperCollider": 2, "SuperCollider": 2,
"Svelte": 3, "Svelte": 3,
"Sway": 2, "Sway": 2,
"Sweave": 4,
"Swift": 2, "Swift": 2,
"SystemVerilog": 2, "SystemVerilog": 2,
"TI Program": 2, "TI Program": 2,
@ -656,6 +660,7 @@ var LanguagesType = map[string]int{
"Twig": 3, "Twig": 3,
"Type Language": 1, "Type Language": 1,
"TypeScript": 2, "TypeScript": 2,
"Typst": 2,
"Unified Parallel C": 2, "Unified Parallel C": 2,
"Unity3D Asset": 1, "Unity3D Asset": 1,
"Unix Assembly": 2, "Unix Assembly": 2,

View File

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