Update go-enry dependency to v2.6.0 (#13861)
This commit is contained in:
parent
8561f26695
commit
4a510e08e4
18 changed files with 32345 additions and 25977 deletions
2
go.mod
2
go.mod
|
@ -40,7 +40,7 @@ require (
|
||||||
github.com/gliderlabs/ssh v0.3.1
|
github.com/gliderlabs/ssh v0.3.1
|
||||||
github.com/glycerine/go-unsnap-stream v0.0.0-20190901134440-81cf024a9e0a // indirect
|
github.com/glycerine/go-unsnap-stream v0.0.0-20190901134440-81cf024a9e0a // indirect
|
||||||
github.com/go-chi/chi v1.5.0
|
github.com/go-chi/chi v1.5.0
|
||||||
github.com/go-enry/go-enry/v2 v2.5.2
|
github.com/go-enry/go-enry/v2 v2.6.0
|
||||||
github.com/go-git/go-billy/v5 v5.0.0
|
github.com/go-git/go-billy/v5 v5.0.0
|
||||||
github.com/go-git/go-git/v5 v5.2.0
|
github.com/go-git/go-git/v5 v5.2.0
|
||||||
github.com/go-ldap/ldap/v3 v3.2.4
|
github.com/go-ldap/ldap/v3 v3.2.4
|
||||||
|
|
4
go.sum
4
go.sum
|
@ -327,8 +327,8 @@ github.com/go-asn1-ber/asn1-ber v1.5.1 h1:pDbRAunXzIUXfx4CB2QJFv5IuPiuoW+sWvr/Us
|
||||||
github.com/go-asn1-ber/asn1-ber v1.5.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
|
github.com/go-asn1-ber/asn1-ber v1.5.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
|
||||||
github.com/go-chi/chi v1.5.0 h1:2ZcJZozJ+rj6BA0c19ffBUGXEKAT/aOLOtQjD46vBRA=
|
github.com/go-chi/chi v1.5.0 h1:2ZcJZozJ+rj6BA0c19ffBUGXEKAT/aOLOtQjD46vBRA=
|
||||||
github.com/go-chi/chi v1.5.0/go.mod h1:REp24E+25iKvxgeTfHmdUoL5x15kBiDBlnIl5bCwe2k=
|
github.com/go-chi/chi v1.5.0/go.mod h1:REp24E+25iKvxgeTfHmdUoL5x15kBiDBlnIl5bCwe2k=
|
||||||
github.com/go-enry/go-enry/v2 v2.5.2 h1:3f3PFAO6JitWkPi1GQ5/m6Xu4gNL1U5soJ8QaYqJ0YQ=
|
github.com/go-enry/go-enry/v2 v2.6.0 h1:nbGWQBpO+D+cJuRxNgSDFnFY9QWz3QM/CeZxU7VAH20=
|
||||||
github.com/go-enry/go-enry/v2 v2.5.2/go.mod h1:GVzIiAytiS5uT/QiuakK7TF1u4xDab87Y8V5EJRpsIQ=
|
github.com/go-enry/go-enry/v2 v2.6.0/go.mod h1:GVzIiAytiS5uT/QiuakK7TF1u4xDab87Y8V5EJRpsIQ=
|
||||||
github.com/go-enry/go-oniguruma v1.2.1 h1:k8aAMuJfMrqm/56SG2lV9Cfti6tC4x8673aHCcBk+eo=
|
github.com/go-enry/go-oniguruma v1.2.1 h1:k8aAMuJfMrqm/56SG2lV9Cfti6tC4x8673aHCcBk+eo=
|
||||||
github.com/go-enry/go-oniguruma v1.2.1/go.mod h1:bWDhYP+S6xZQgiRL7wlTScFYBe023B6ilRZbCAD5Hf4=
|
github.com/go-enry/go-oniguruma v1.2.1/go.mod h1:bWDhYP+S6xZQgiRL7wlTScFYBe023B6ilRZbCAD5Hf4=
|
||||||
github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
|
github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
|
||||||
|
|
10
vendor/github.com/go-enry/go-enry/v2/README.md
generated
vendored
10
vendor/github.com/go-enry/go-enry/v2/README.md
generated
vendored
|
@ -150,16 +150,22 @@ macOS and linux platforms. Windows support is planned under [src-d/enry#150](htt
|
||||||
|
|
||||||
## Divergences from Linguist
|
## Divergences from Linguist
|
||||||
|
|
||||||
The `enry` library is based on the data from `github/linguist` version **v7.9.0**.
|
The `enry` library is based on the data from `github/linguist` version **v7.12.1**.
|
||||||
|
|
||||||
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:
|
||||||
|
|
||||||
|
- [Heuristics for ".txt" extension](https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L521) in Vim Help File could not be parsed, due to unsupported negative lookahead in RE2 regexp engine.
|
||||||
|
|
||||||
|
- [Heuristics for ".sol" extension](https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L464) in Solidity could not be parsed, due to unsupported negative lookahead 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 ".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.
|
- [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.
|
||||||
|
|
||||||
- [Heuristics for ".inc" extension](https://github.com/github/linguist/blob/f0e2d0d7f1ce600b2a5acccaef6b149c87d8b99c/lib/linguist/heuristics.yml#L222) in NASL could not be parsed, due to unsupported possessive quantifier in RE2 regexp engine.
|
- [Heuristics for ".inc" extension](https://github.com/github/linguist/blob/f0e2d0d7f1ce600b2a5acccaef6b149c87d8b99c/lib/linguist/heuristics.yml#L222) in NASL could not be parsed, due to unsupported possessive quantifier in RE2 regexp engine.
|
||||||
|
|
||||||
|
- [Heuristics for ".as" extension](https://github.com/github/linguist/blob/223c00bb80eff04788e29010f98c5778993d2b2a/lib/linguist/heuristics.yml#L67) in ActionScript could not be parsed, due to unsupported positive 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).
|
||||||
|
@ -167,8 +173,6 @@ Parsing [linguist/samples](https://github.com/github/linguist/tree/master/sample
|
||||||
- Detection of [generated files](https://github.com/github/linguist/blob/bf95666fc15e49d556f2def4d0a85338423c25f3/lib/linguist/generated.rb#L53) is not supported yet.
|
- Detection of [generated files](https://github.com/github/linguist/blob/bf95666fc15e49d556f2def4d0a85338423c25f3/lib/linguist/generated.rb#L53) is not supported yet.
|
||||||
(Thus they are not excluded from CLI output). See [#213](https://github.com/src-d/enry/issues/213).
|
(Thus they are not excluded from CLI output). See [#213](https://github.com/src-d/enry/issues/213).
|
||||||
|
|
||||||
- XML detection strategy is not implemented. See [#192](https://github.com/src-d/enry/issues/192).
|
|
||||||
|
|
||||||
- Overriding languages and types though `.gitattributes` is not yet supported. See [#18](https://github.com/src-d/enry/issues/18).
|
- Overriding languages and types though `.gitattributes` is not yet supported. See [#18](https://github.com/src-d/enry/issues/18).
|
||||||
|
|
||||||
- `enry` CLI output does NOT exclude `.gitignore`ed files and git submodules, as Linguist does
|
- `enry` CLI output does NOT exclude `.gitignore`ed files and git submodules, as Linguist does
|
||||||
|
|
59
vendor/github.com/go-enry/go-enry/v2/common.go
generated
vendored
59
vendor/github.com/go-enry/go-enry/v2/common.go
generated
vendored
|
@ -22,6 +22,8 @@ var DefaultStrategies = []Strategy{
|
||||||
GetLanguagesByFilename,
|
GetLanguagesByFilename,
|
||||||
GetLanguagesByShebang,
|
GetLanguagesByShebang,
|
||||||
GetLanguagesByExtension,
|
GetLanguagesByExtension,
|
||||||
|
GetLanguagesByXML,
|
||||||
|
GetLanguagesByManpage,
|
||||||
GetLanguagesByContent,
|
GetLanguagesByContent,
|
||||||
GetLanguagesByClassifier,
|
GetLanguagesByClassifier,
|
||||||
}
|
}
|
||||||
|
@ -328,15 +330,23 @@ func getInterpreter(data []byte) (interpreter string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func getFirstLine(content []byte) []byte {
|
func getFirstLines(content []byte, count int) []byte {
|
||||||
nlpos := bytes.IndexByte(content, '\n')
|
nlpos := -1
|
||||||
if nlpos < 0 {
|
for ; count > 0; count-- {
|
||||||
|
pos := bytes.IndexByte(content[nlpos+1:], '\n')
|
||||||
|
if pos < 0 {
|
||||||
return content
|
return content
|
||||||
}
|
}
|
||||||
|
nlpos += pos + 1
|
||||||
|
}
|
||||||
|
|
||||||
return content[:nlpos]
|
return content[:nlpos]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func getFirstLine(content []byte) []byte {
|
||||||
|
return getFirstLines(content, 1)
|
||||||
|
}
|
||||||
|
|
||||||
func hasShebang(line []byte) bool {
|
func hasShebang(line []byte) bool {
|
||||||
const shebang = `#!`
|
const shebang = `#!`
|
||||||
prefix := []byte(shebang)
|
prefix := []byte(shebang)
|
||||||
|
@ -383,6 +393,49 @@ func GetLanguagesByExtension(filename string, _ []byte, _ []string) []string {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
manpageExtension = regex.MustCompile(`\.(?:[1-9](?:[a-z_]+[a-z_0-9]*)?|0p|n|man|mdoc)(?:\.in)?$`)
|
||||||
|
)
|
||||||
|
|
||||||
|
// GetLanguagesByManpage returns a slice of possible manpage languages for the given filename.
|
||||||
|
// It complies with the signature to be a Strategy type.
|
||||||
|
func GetLanguagesByManpage(filename string, _ []byte, _ []string) []string {
|
||||||
|
filename = strings.ToLower(filename)
|
||||||
|
|
||||||
|
// Check if matches Roff man page filenames
|
||||||
|
if manpageExtension.Match([]byte(filename)) {
|
||||||
|
return []string{
|
||||||
|
"Roff Manpage",
|
||||||
|
"Roff",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
xmlHeader = regex.MustCompile(`<?xml version=`)
|
||||||
|
)
|
||||||
|
|
||||||
|
// GetLanguagesByXML returns a slice of possible XML language for the given filename.
|
||||||
|
// It complies with the signature to be a Strategy type.
|
||||||
|
func GetLanguagesByXML(_ string, content []byte, candidates []string) []string {
|
||||||
|
if len(candidates) > 0 {
|
||||||
|
return candidates
|
||||||
|
}
|
||||||
|
|
||||||
|
header := getFirstLines(content, 2)
|
||||||
|
|
||||||
|
// Check if contains XML header
|
||||||
|
if xmlHeader.Match(header) {
|
||||||
|
return []string{
|
||||||
|
"XML",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
func getDotIndexes(filename string) []int {
|
func getDotIndexes(filename string) []int {
|
||||||
dots := make([]int, 0, 2)
|
dots := make([]int, 0, 2)
|
||||||
for i, letter := range filename {
|
for i, letter := range filename {
|
||||||
|
|
40
vendor/github.com/go-enry/go-enry/v2/data/alias.go
generated
vendored
40
vendor/github.com/go-enry/go-enry/v2/data/alias.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"ags": "AGS Script",
|
"ags": "AGS Script",
|
||||||
"ags_script": "AGS Script",
|
"ags_script": "AGS Script",
|
||||||
"ahk": "AutoHotkey",
|
"ahk": "AutoHotkey",
|
||||||
|
"al": "AL",
|
||||||
"alloy": "Alloy",
|
"alloy": "Alloy",
|
||||||
"alpine_abuild": "Alpine Abuild",
|
"alpine_abuild": "Alpine Abuild",
|
||||||
"altium": "Altium Designer",
|
"altium": "Altium Designer",
|
||||||
|
@ -53,12 +54,14 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"arexx": "REXX",
|
"arexx": "REXX",
|
||||||
"as3": "ActionScript",
|
"as3": "ActionScript",
|
||||||
"asciidoc": "AsciiDoc",
|
"asciidoc": "AsciiDoc",
|
||||||
|
"asl": "ASL",
|
||||||
"asm": "Assembly",
|
"asm": "Assembly",
|
||||||
"asn.1": "ASN.1",
|
"asn.1": "ASN.1",
|
||||||
"asp": "ASP",
|
"asp": "Classic ASP",
|
||||||
|
"asp.net": "ASP.NET",
|
||||||
"aspectj": "AspectJ",
|
"aspectj": "AspectJ",
|
||||||
"aspx": "ASP",
|
"aspx": "ASP.NET",
|
||||||
"aspx-vb": "ASP",
|
"aspx-vb": "ASP.NET",
|
||||||
"assembly": "Assembly",
|
"assembly": "Assembly",
|
||||||
"asymptote": "Asymptote",
|
"asymptote": "Asymptote",
|
||||||
"ats": "ATS",
|
"ats": "ATS",
|
||||||
|
@ -70,6 +73,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"autoit": "AutoIt",
|
"autoit": "AutoIt",
|
||||||
"autoit3": "AutoIt",
|
"autoit3": "AutoIt",
|
||||||
"autoitscript": "AutoIt",
|
"autoitscript": "AutoIt",
|
||||||
|
"avro_idl": "Avro IDL",
|
||||||
"awk": "Awk",
|
"awk": "Awk",
|
||||||
"b3d": "BlitzBasic",
|
"b3d": "BlitzBasic",
|
||||||
"ballerina": "Ballerina",
|
"ballerina": "Ballerina",
|
||||||
|
@ -120,6 +124,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"chuck": "ChucK",
|
"chuck": "ChucK",
|
||||||
"cirru": "Cirru",
|
"cirru": "Cirru",
|
||||||
"clarion": "Clarion",
|
"clarion": "Clarion",
|
||||||
|
"classic_asp": "Classic ASP",
|
||||||
"clean": "Clean",
|
"clean": "Clean",
|
||||||
"click": "Click",
|
"click": "Click",
|
||||||
"clipper": "xBase",
|
"clipper": "xBase",
|
||||||
|
@ -172,6 +177,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"cython": "Cython",
|
"cython": "Cython",
|
||||||
"d": "D",
|
"d": "D",
|
||||||
"d-objdump": "D-ObjDump",
|
"d-objdump": "D-ObjDump",
|
||||||
|
"dafny": "Dafny",
|
||||||
"darcs_patch": "Darcs Patch",
|
"darcs_patch": "Darcs Patch",
|
||||||
"dart": "Dart",
|
"dart": "Dart",
|
||||||
"dataweave": "DataWeave",
|
"dataweave": "DataWeave",
|
||||||
|
@ -238,6 +244,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"formatted": "Formatted",
|
"formatted": "Formatted",
|
||||||
"forth": "Forth",
|
"forth": "Forth",
|
||||||
"fortran": "Fortran",
|
"fortran": "Fortran",
|
||||||
|
"fortran_free_form": "Fortran Free Form",
|
||||||
"foxpro": "xBase",
|
"foxpro": "xBase",
|
||||||
"freemarker": "FreeMarker",
|
"freemarker": "FreeMarker",
|
||||||
"frege": "Frege",
|
"frege": "Frege",
|
||||||
|
@ -245,6 +252,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"fstar": "F*",
|
"fstar": "F*",
|
||||||
"ftl": "FreeMarker",
|
"ftl": "FreeMarker",
|
||||||
"fundamental": "Text",
|
"fundamental": "Text",
|
||||||
|
"futhark": "Futhark",
|
||||||
"g-code": "G-code",
|
"g-code": "G-code",
|
||||||
"game_maker_language": "Game Maker Language",
|
"game_maker_language": "Game Maker Language",
|
||||||
"gaml": "GAML",
|
"gaml": "GAML",
|
||||||
|
@ -253,6 +261,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"gcc_machine_description": "GCC Machine Description",
|
"gcc_machine_description": "GCC Machine Description",
|
||||||
"gdb": "GDB",
|
"gdb": "GDB",
|
||||||
"gdscript": "GDScript",
|
"gdscript": "GDScript",
|
||||||
|
"gedcom": "GEDCOM",
|
||||||
"genie": "Genie",
|
"genie": "Genie",
|
||||||
"genshi": "Genshi",
|
"genshi": "Genshi",
|
||||||
"gentoo_ebuild": "Gentoo Ebuild",
|
"gentoo_ebuild": "Gentoo Ebuild",
|
||||||
|
@ -308,7 +317,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"html+jinja": "HTML+Django",
|
"html+jinja": "HTML+Django",
|
||||||
"html+php": "HTML+PHP",
|
"html+php": "HTML+PHP",
|
||||||
"html+razor": "HTML+Razor",
|
"html+razor": "HTML+Razor",
|
||||||
"html+ruby": "RHTML",
|
"html+ruby": "HTML+ERB",
|
||||||
"htmlbars": "Handlebars",
|
"htmlbars": "Handlebars",
|
||||||
"htmldjango": "HTML+Django",
|
"htmldjango": "HTML+Django",
|
||||||
"http": "HTTP",
|
"http": "HTTP",
|
||||||
|
@ -363,18 +372,22 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"jsx": "JSX",
|
"jsx": "JSX",
|
||||||
"julia": "Julia",
|
"julia": "Julia",
|
||||||
"jupyter_notebook": "Jupyter Notebook",
|
"jupyter_notebook": "Jupyter Notebook",
|
||||||
|
"kaitai_struct": "Kaitai Struct",
|
||||||
"kicad_layout": "KiCad Layout",
|
"kicad_layout": "KiCad Layout",
|
||||||
"kicad_legacy_layout": "KiCad Legacy Layout",
|
"kicad_legacy_layout": "KiCad Legacy Layout",
|
||||||
"kicad_schematic": "KiCad Schematic",
|
"kicad_schematic": "KiCad Schematic",
|
||||||
"kit": "Kit",
|
"kit": "Kit",
|
||||||
"kotlin": "Kotlin",
|
"kotlin": "Kotlin",
|
||||||
"krl": "KRL",
|
"krl": "KRL",
|
||||||
|
"ksy": "Kaitai Struct",
|
||||||
"labview": "LabVIEW",
|
"labview": "LabVIEW",
|
||||||
|
"lark": "Lark",
|
||||||
"lasso": "Lasso",
|
"lasso": "Lasso",
|
||||||
"lassoscript": "Lasso",
|
"lassoscript": "Lasso",
|
||||||
"latex": "TeX",
|
"latex": "TeX",
|
||||||
"latte": "Latte",
|
"latte": "Latte",
|
||||||
"lean": "Lean",
|
"lean": "Lean",
|
||||||
|
"leex": "HTML+EEX",
|
||||||
"less": "Less",
|
"less": "Less",
|
||||||
"lex": "Lex",
|
"lex": "Lex",
|
||||||
"lfe": "LFE",
|
"lfe": "LFE",
|
||||||
|
@ -403,9 +416,11 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"ltspice_symbol": "LTspice Symbol",
|
"ltspice_symbol": "LTspice Symbol",
|
||||||
"lua": "Lua",
|
"lua": "Lua",
|
||||||
"m": "M",
|
"m": "M",
|
||||||
|
"m2": "Macaulay2",
|
||||||
"m4": "M4",
|
"m4": "M4",
|
||||||
"m4sugar": "M4Sugar",
|
"m4sugar": "M4Sugar",
|
||||||
"m68k": "Motorola 68K Assembly",
|
"m68k": "Motorola 68K Assembly",
|
||||||
|
"macaulay2": "Macaulay2",
|
||||||
"macruby": "Ruby",
|
"macruby": "Ruby",
|
||||||
"make": "Makefile",
|
"make": "Makefile",
|
||||||
"makefile": "Makefile",
|
"makefile": "Makefile",
|
||||||
|
@ -453,18 +468,22 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"mumps": "M",
|
"mumps": "M",
|
||||||
"mupad": "mupad",
|
"mupad": "mupad",
|
||||||
"muse": "Muse",
|
"muse": "Muse",
|
||||||
|
"mustache": "Mustache",
|
||||||
"myghty": "Myghty",
|
"myghty": "Myghty",
|
||||||
"nanorc": "nanorc",
|
"nanorc": "nanorc",
|
||||||
"nasl": "NASL",
|
"nasl": "NASL",
|
||||||
"nasm": "Assembly",
|
"nasm": "Assembly",
|
||||||
"ncl": "NCL",
|
"ncl": "NCL",
|
||||||
|
"ne-on": "NEON",
|
||||||
"nearley": "Nearley",
|
"nearley": "Nearley",
|
||||||
"nemerle": "Nemerle",
|
"nemerle": "Nemerle",
|
||||||
|
"neon": "NEON",
|
||||||
"neosnippet": "Vim Snippet",
|
"neosnippet": "Vim Snippet",
|
||||||
"nesc": "nesC",
|
"nesc": "nesC",
|
||||||
"netlinx": "NetLinx",
|
"netlinx": "NetLinx",
|
||||||
"netlinx+erb": "NetLinx+ERB",
|
"netlinx+erb": "NetLinx+ERB",
|
||||||
"netlogo": "NetLogo",
|
"netlogo": "NetLogo",
|
||||||
|
"nette_object_notation": "NEON",
|
||||||
"newlisp": "NewLisp",
|
"newlisp": "NewLisp",
|
||||||
"nextflow": "Nextflow",
|
"nextflow": "Nextflow",
|
||||||
"nginx": "Nginx",
|
"nginx": "Nginx",
|
||||||
|
@ -486,6 +505,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"nunjucks": "HTML+Django",
|
"nunjucks": "HTML+Django",
|
||||||
"nush": "Nu",
|
"nush": "Nu",
|
||||||
"nvim": "Vim script",
|
"nvim": "Vim script",
|
||||||
|
"nwscript": "NWScript",
|
||||||
"obj-c": "Objective-C",
|
"obj-c": "Objective-C",
|
||||||
"obj-c++": "Objective-C++",
|
"obj-c++": "Objective-C++",
|
||||||
"obj-j": "Objective-J",
|
"obj-j": "Objective-J",
|
||||||
|
@ -589,9 +609,12 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"python_console": "Python console",
|
"python_console": "Python console",
|
||||||
"python_traceback": "Python traceback",
|
"python_traceback": "Python traceback",
|
||||||
"q": "q",
|
"q": "q",
|
||||||
|
"q#": "Q#",
|
||||||
"ql": "CodeQL",
|
"ql": "CodeQL",
|
||||||
"qmake": "QMake",
|
"qmake": "QMake",
|
||||||
"qml": "QML",
|
"qml": "QML",
|
||||||
|
"qsharp": "Q#",
|
||||||
|
"qt_script": "Qt Script",
|
||||||
"quake": "Quake",
|
"quake": "Quake",
|
||||||
"r": "R",
|
"r": "R",
|
||||||
"racket": "Racket",
|
"racket": "Racket",
|
||||||
|
@ -622,9 +645,10 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"ren'py": "Ren'Py",
|
"ren'py": "Ren'Py",
|
||||||
"renderscript": "RenderScript",
|
"renderscript": "RenderScript",
|
||||||
"renpy": "Ren'Py",
|
"renpy": "Ren'Py",
|
||||||
|
"rescript": "ReScript",
|
||||||
"restructuredtext": "reStructuredText",
|
"restructuredtext": "reStructuredText",
|
||||||
"rexx": "REXX",
|
"rexx": "REXX",
|
||||||
"rhtml": "RHTML",
|
"rhtml": "HTML+ERB",
|
||||||
"rich_text_format": "Rich Text Format",
|
"rich_text_format": "Rich Text Format",
|
||||||
"ring": "Ring",
|
"ring": "Ring",
|
||||||
"riot": "Riot",
|
"riot": "Riot",
|
||||||
|
@ -663,6 +687,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"shell-script": "Shell",
|
"shell-script": "Shell",
|
||||||
"shellsession": "ShellSession",
|
"shellsession": "ShellSession",
|
||||||
"shen": "Shen",
|
"shen": "Shen",
|
||||||
|
"sieve": "Sieve",
|
||||||
"slash": "Slash",
|
"slash": "Slash",
|
||||||
"slice": "Slice",
|
"slice": "Slice",
|
||||||
"slim": "Slim",
|
"slim": "Slim",
|
||||||
|
@ -720,6 +745,7 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"troff": "Roff",
|
"troff": "Roff",
|
||||||
"ts": "TypeScript",
|
"ts": "TypeScript",
|
||||||
"tsql": "TSQL",
|
"tsql": "TSQL",
|
||||||
|
"tsv": "TSV",
|
||||||
"tsx": "TSX",
|
"tsx": "TSX",
|
||||||
"turing": "Turing",
|
"turing": "Turing",
|
||||||
"turtle": "Turtle",
|
"turtle": "Turtle",
|
||||||
|
@ -750,8 +776,10 @@ var LanguageByAliasMap = map[string]string{
|
||||||
"verilog": "Verilog",
|
"verilog": "Verilog",
|
||||||
"vhdl": "VHDL",
|
"vhdl": "VHDL",
|
||||||
"vim": "Vim script",
|
"vim": "Vim script",
|
||||||
|
"vim_help_file": "Vim Help File",
|
||||||
"vim_script": "Vim script",
|
"vim_script": "Vim script",
|
||||||
"vim_snippet": "Vim Snippet",
|
"vim_snippet": "Vim Snippet",
|
||||||
|
"vimhelp": "Vim Help File",
|
||||||
"viml": "Vim script",
|
"viml": "Vim script",
|
||||||
"visual_basic": "Visual Basic .NET",
|
"visual_basic": "Visual Basic .NET",
|
||||||
"visual_basic_.net": "Visual Basic .NET",
|
"visual_basic_.net": "Visual Basic .NET",
|
||||||
|
|
57
vendor/github.com/go-enry/go-enry/v2/data/colors.go
generated
vendored
57
vendor/github.com/go-enry/go-enry/v2/data/colors.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -7,42 +7,50 @@ var LanguagesColor = map[string]string{
|
||||||
"1C Enterprise": "#814CCC",
|
"1C Enterprise": "#814CCC",
|
||||||
"ABAP": "#E8274B",
|
"ABAP": "#E8274B",
|
||||||
"AGS Script": "#B9D9FF",
|
"AGS Script": "#B9D9FF",
|
||||||
|
"AL": "#3AA2B5",
|
||||||
"AMPL": "#E6EFBB",
|
"AMPL": "#E6EFBB",
|
||||||
"ANTLR": "#9DC3FF",
|
"ANTLR": "#9DC3FF",
|
||||||
"API Blueprint": "#2ACCA8",
|
"API Blueprint": "#2ACCA8",
|
||||||
"APL": "#5A8164",
|
"APL": "#5A8164",
|
||||||
"ASP": "#6a40fd",
|
"ASP.NET": "#9400ff",
|
||||||
"ATS": "#1ac620",
|
"ATS": "#1ac620",
|
||||||
"ActionScript": "#882B0F",
|
"ActionScript": "#882B0F",
|
||||||
"Ada": "#02f88c",
|
"Ada": "#02f88c",
|
||||||
"Agda": "#315665",
|
"Agda": "#315665",
|
||||||
"Alloy": "#64C800",
|
"Alloy": "#64C800",
|
||||||
"AngelScript": "#C7D7DC",
|
"AngelScript": "#C7D7DC",
|
||||||
|
"Apex": "#1797c0",
|
||||||
|
"Apollo Guidance Computer": "#0B3D91",
|
||||||
"AppleScript": "#101F1F",
|
"AppleScript": "#101F1F",
|
||||||
"Arc": "#aa2afe",
|
"Arc": "#aa2afe",
|
||||||
"AspectJ": "#a957b0",
|
"AspectJ": "#a957b0",
|
||||||
"Assembly": "#6E4C13",
|
"Assembly": "#6E4C13",
|
||||||
"Asymptote": "#4a0c0c",
|
"Asymptote": "#ff0000",
|
||||||
"AutoHotkey": "#6594b9",
|
"AutoHotkey": "#6594b9",
|
||||||
"AutoIt": "#1C3552",
|
"AutoIt": "#1C3552",
|
||||||
"Ballerina": "#FF5000",
|
"Ballerina": "#FF5000",
|
||||||
"Batchfile": "#C1F12E",
|
"Batchfile": "#C1F12E",
|
||||||
|
"Bison": "#6A463F",
|
||||||
|
"Blade": "#f7523f",
|
||||||
"BlitzMax": "#cd6400",
|
"BlitzMax": "#cd6400",
|
||||||
"Boo": "#d4bec1",
|
"Boo": "#d4bec1",
|
||||||
"Brainfuck": "#2F2530",
|
"Brainfuck": "#2F2530",
|
||||||
"C": "#555555",
|
"C": "#555555",
|
||||||
"C#": "#178600",
|
"C#": "#178600",
|
||||||
"C++": "#f34b7d",
|
"C++": "#f34b7d",
|
||||||
|
"CSON": "#244776",
|
||||||
"CSS": "#563d7c",
|
"CSS": "#563d7c",
|
||||||
"Ceylon": "#dfa535",
|
"Ceylon": "#dfa535",
|
||||||
"Chapel": "#8dc63f",
|
"Chapel": "#8dc63f",
|
||||||
"Cirru": "#ccccff",
|
"Cirru": "#ccccff",
|
||||||
"Clarion": "#db901e",
|
"Clarion": "#db901e",
|
||||||
|
"Classic ASP": "#6a40fd",
|
||||||
"Clean": "#3F85AF",
|
"Clean": "#3F85AF",
|
||||||
"Click": "#E4E6F3",
|
"Click": "#E4E6F3",
|
||||||
"Clojure": "#db5855",
|
"Clojure": "#db5855",
|
||||||
"CoffeeScript": "#244776",
|
"CoffeeScript": "#244776",
|
||||||
"ColdFusion": "#ed2cd6",
|
"ColdFusion": "#ed2cd6",
|
||||||
|
"ColdFusion CFC": "#ed2cd6",
|
||||||
"Common Lisp": "#3fb68b",
|
"Common Lisp": "#3fb68b",
|
||||||
"Common Workflow Language": "#B5314C",
|
"Common Workflow Language": "#B5314C",
|
||||||
"Component Pascal": "#B0CE4E",
|
"Component Pascal": "#B0CE4E",
|
||||||
|
@ -50,6 +58,7 @@ var LanguagesColor = map[string]string{
|
||||||
"Cuda": "#3A4E3A",
|
"Cuda": "#3A4E3A",
|
||||||
"D": "#ba595e",
|
"D": "#ba595e",
|
||||||
"DM": "#447265",
|
"DM": "#447265",
|
||||||
|
"Dafny": "#FFEC25",
|
||||||
"Dart": "#00B4AB",
|
"Dart": "#00B4AB",
|
||||||
"DataWeave": "#003a52",
|
"DataWeave": "#003a52",
|
||||||
"Dhall": "#dfafff",
|
"Dhall": "#dfafff",
|
||||||
|
@ -58,8 +67,9 @@ var LanguagesColor = map[string]string{
|
||||||
"Dylan": "#6c616e",
|
"Dylan": "#6c616e",
|
||||||
"E": "#ccce35",
|
"E": "#ccce35",
|
||||||
"ECL": "#8a1267",
|
"ECL": "#8a1267",
|
||||||
|
"EJS": "#a91e50",
|
||||||
"EQ": "#a78649",
|
"EQ": "#a78649",
|
||||||
"Eiffel": "#946d57",
|
"Eiffel": "#4d6977",
|
||||||
"Elixir": "#6e4a7e",
|
"Elixir": "#6e4a7e",
|
||||||
"Elm": "#60B5CC",
|
"Elm": "#60B5CC",
|
||||||
"Emacs Lisp": "#c065db",
|
"Emacs Lisp": "#c065db",
|
||||||
|
@ -76,6 +86,7 @@ var LanguagesColor = map[string]string{
|
||||||
"Fortran": "#4d41b1",
|
"Fortran": "#4d41b1",
|
||||||
"FreeMarker": "#0050b2",
|
"FreeMarker": "#0050b2",
|
||||||
"Frege": "#00cafe",
|
"Frege": "#00cafe",
|
||||||
|
"Futhark": "#5f021f",
|
||||||
"G-code": "#D08CF2",
|
"G-code": "#D08CF2",
|
||||||
"GAML": "#FFC766",
|
"GAML": "#FFC766",
|
||||||
"GDScript": "#355570",
|
"GDScript": "#355570",
|
||||||
|
@ -87,10 +98,13 @@ var LanguagesColor = map[string]string{
|
||||||
"Go": "#00ADD8",
|
"Go": "#00ADD8",
|
||||||
"Golo": "#88562A",
|
"Golo": "#88562A",
|
||||||
"Gosu": "#82937f",
|
"Gosu": "#82937f",
|
||||||
"Grammatical Framework": "#79aa7a",
|
"Grammatical Framework": "#ff0000",
|
||||||
|
"GraphQL": "#e10098",
|
||||||
"Groovy": "#e69f56",
|
"Groovy": "#e69f56",
|
||||||
"HTML": "#e34c26",
|
"HTML": "#e34c26",
|
||||||
"Hack": "#878787",
|
"Hack": "#878787",
|
||||||
|
"Haml": "#ece2a9",
|
||||||
|
"Handlebars": "#f7931e",
|
||||||
"Harbour": "#0e60e3",
|
"Harbour": "#0e60e3",
|
||||||
"Haskell": "#5e5086",
|
"Haskell": "#5e5086",
|
||||||
"Haxe": "#df7900",
|
"Haxe": "#df7900",
|
||||||
|
@ -104,6 +118,7 @@ var LanguagesColor = map[string]string{
|
||||||
"Ioke": "#078193",
|
"Ioke": "#078193",
|
||||||
"Isabelle": "#FEFE00",
|
"Isabelle": "#FEFE00",
|
||||||
"J": "#9EEDFF",
|
"J": "#9EEDFF",
|
||||||
|
"JFlex": "#DBCA00",
|
||||||
"JSONiq": "#40d47e",
|
"JSONiq": "#40d47e",
|
||||||
"Java": "#b07219",
|
"Java": "#b07219",
|
||||||
"JavaScript": "#f1e05a",
|
"JavaScript": "#f1e05a",
|
||||||
|
@ -112,12 +127,16 @@ var LanguagesColor = map[string]string{
|
||||||
"Julia": "#a270ba",
|
"Julia": "#a270ba",
|
||||||
"Jupyter Notebook": "#DA5B0B",
|
"Jupyter Notebook": "#DA5B0B",
|
||||||
"KRL": "#28430A",
|
"KRL": "#28430A",
|
||||||
|
"Kaitai Struct": "#773b37",
|
||||||
"Kotlin": "#F18E33",
|
"Kotlin": "#F18E33",
|
||||||
"LFE": "#4C3023",
|
"LFE": "#4C3023",
|
||||||
"LLVM": "#185619",
|
"LLVM": "#185619",
|
||||||
"LOLCODE": "#cc9900",
|
"LOLCODE": "#cc9900",
|
||||||
"LSL": "#3d9970",
|
"LSL": "#3d9970",
|
||||||
|
"Lark": "#0b130f",
|
||||||
"Lasso": "#999999",
|
"Lasso": "#999999",
|
||||||
|
"Latte": "#f2a542",
|
||||||
|
"Less": "#1d365d",
|
||||||
"Lex": "#DBCA00",
|
"Lex": "#DBCA00",
|
||||||
"LiveScript": "#499886",
|
"LiveScript": "#499886",
|
||||||
"LookML": "#652B81",
|
"LookML": "#652B81",
|
||||||
|
@ -128,7 +147,10 @@ var LanguagesColor = map[string]string{
|
||||||
"MQL4": "#62A8D6",
|
"MQL4": "#62A8D6",
|
||||||
"MQL5": "#4A76B8",
|
"MQL5": "#4A76B8",
|
||||||
"MTML": "#b7e1f4",
|
"MTML": "#b7e1f4",
|
||||||
|
"Macaulay2": "#d8ffff",
|
||||||
"Makefile": "#427819",
|
"Makefile": "#427819",
|
||||||
|
"Markdown": "#083fa1",
|
||||||
|
"Marko": "#42bff2",
|
||||||
"Mask": "#f97732",
|
"Mask": "#f97732",
|
||||||
"Max": "#c4a79c",
|
"Max": "#c4a79c",
|
||||||
"Mercury": "#ff2b2b",
|
"Mercury": "#ff2b2b",
|
||||||
|
@ -137,6 +159,7 @@ var LanguagesColor = map[string]string{
|
||||||
"Mirah": "#c7a938",
|
"Mirah": "#c7a938",
|
||||||
"Modula-3": "#223388",
|
"Modula-3": "#223388",
|
||||||
"NCL": "#28431f",
|
"NCL": "#28431f",
|
||||||
|
"NWScript": "#111522",
|
||||||
"Nearley": "#990000",
|
"Nearley": "#990000",
|
||||||
"Nemerle": "#3d3c6e",
|
"Nemerle": "#3d3c6e",
|
||||||
"NetLinx": "#0aa0ff",
|
"NetLinx": "#0aa0ff",
|
||||||
|
@ -144,10 +167,11 @@ var LanguagesColor = map[string]string{
|
||||||
"NetLogo": "#ff6375",
|
"NetLogo": "#ff6375",
|
||||||
"NewLisp": "#87AED7",
|
"NewLisp": "#87AED7",
|
||||||
"Nextflow": "#3ac486",
|
"Nextflow": "#3ac486",
|
||||||
"Nim": "#37775b",
|
"Nim": "#ffc200",
|
||||||
"Nit": "#009917",
|
"Nit": "#009917",
|
||||||
"Nix": "#7e7eff",
|
"Nix": "#7e7eff",
|
||||||
"Nu": "#c9df40",
|
"Nu": "#c9df40",
|
||||||
|
"NumPy": "#9C8AF9",
|
||||||
"OCaml": "#3be133",
|
"OCaml": "#3be133",
|
||||||
"ObjectScript": "#424893",
|
"ObjectScript": "#424893",
|
||||||
"Objective-C": "#438eff",
|
"Objective-C": "#438eff",
|
||||||
|
@ -175,14 +199,18 @@ var LanguagesColor = map[string]string{
|
||||||
"PostScript": "#da291c",
|
"PostScript": "#da291c",
|
||||||
"PowerBuilder": "#8f0f8d",
|
"PowerBuilder": "#8f0f8d",
|
||||||
"PowerShell": "#012456",
|
"PowerShell": "#012456",
|
||||||
|
"Prisma": "#0c344b",
|
||||||
"Processing": "#0096D8",
|
"Processing": "#0096D8",
|
||||||
"Prolog": "#74283c",
|
"Prolog": "#74283c",
|
||||||
"Propeller Spin": "#7fa2a7",
|
"Propeller Spin": "#7fa2a7",
|
||||||
|
"Pug": "#a86454",
|
||||||
"Puppet": "#302B6D",
|
"Puppet": "#302B6D",
|
||||||
"PureBasic": "#5a6986",
|
"PureBasic": "#5a6986",
|
||||||
"PureScript": "#1D222D",
|
"PureScript": "#1D222D",
|
||||||
"Python": "#3572A5",
|
"Python": "#3572A5",
|
||||||
|
"Q#": "#fed659",
|
||||||
"QML": "#44a51c",
|
"QML": "#44a51c",
|
||||||
|
"Qt Script": "#00b841",
|
||||||
"Quake": "#882233",
|
"Quake": "#882233",
|
||||||
"R": "#198CE7",
|
"R": "#198CE7",
|
||||||
"RAML": "#77d9fb",
|
"RAML": "#77d9fb",
|
||||||
|
@ -191,6 +219,7 @@ var LanguagesColor = map[string]string{
|
||||||
"Ragel": "#9d5200",
|
"Ragel": "#9d5200",
|
||||||
"Raku": "#0000fb",
|
"Raku": "#0000fb",
|
||||||
"Rascal": "#fffaa0",
|
"Rascal": "#fffaa0",
|
||||||
|
"ReScript": "#ed5051",
|
||||||
"Reason": "#ff5847",
|
"Reason": "#ff5847",
|
||||||
"Rebol": "#358a5b",
|
"Rebol": "#358a5b",
|
||||||
"Red": "#f50000",
|
"Red": "#f50000",
|
||||||
|
@ -202,9 +231,12 @@ var LanguagesColor = map[string]string{
|
||||||
"Ruby": "#701516",
|
"Ruby": "#701516",
|
||||||
"Rust": "#dea584",
|
"Rust": "#dea584",
|
||||||
"SAS": "#B34936",
|
"SAS": "#B34936",
|
||||||
|
"SCSS": "#c6538c",
|
||||||
"SQF": "#3F3F3F",
|
"SQF": "#3F3F3F",
|
||||||
"SRecode Template": "#348a34",
|
"SRecode Template": "#348a34",
|
||||||
|
"SVG": "#ff9900",
|
||||||
"SaltStack": "#646464",
|
"SaltStack": "#646464",
|
||||||
|
"Sass": "#a53b70",
|
||||||
"Scala": "#c22d40",
|
"Scala": "#c22d40",
|
||||||
"Scheme": "#1e4aec",
|
"Scheme": "#1e4aec",
|
||||||
"Self": "#0579aa",
|
"Self": "#0579aa",
|
||||||
|
@ -212,15 +244,18 @@ var LanguagesColor = map[string]string{
|
||||||
"Shen": "#120F14",
|
"Shen": "#120F14",
|
||||||
"Slash": "#007eff",
|
"Slash": "#007eff",
|
||||||
"Slice": "#003fa2",
|
"Slice": "#003fa2",
|
||||||
|
"Slim": "#2b2b2b",
|
||||||
"SmPL": "#c94949",
|
"SmPL": "#c94949",
|
||||||
"Smalltalk": "#596706",
|
"Smalltalk": "#596706",
|
||||||
"Solidity": "#AA6746",
|
"Solidity": "#AA6746",
|
||||||
"SourcePawn": "#5c7611",
|
"SourcePawn": "#f69e1d",
|
||||||
"Squirrel": "#800000",
|
"Squirrel": "#800000",
|
||||||
"Stan": "#b2011d",
|
"Stan": "#b2011d",
|
||||||
"Standard ML": "#dc566d",
|
"Standard ML": "#dc566d",
|
||||||
"Starlark": "#76d275",
|
"Starlark": "#76d275",
|
||||||
|
"Stylus": "#ff6347",
|
||||||
"SuperCollider": "#46390b",
|
"SuperCollider": "#46390b",
|
||||||
|
"Svelte": "#ff3e00",
|
||||||
"Swift": "#ffac45",
|
"Swift": "#ffac45",
|
||||||
"SystemVerilog": "#DAE1C2",
|
"SystemVerilog": "#DAE1C2",
|
||||||
"TI Program": "#A0AA87",
|
"TI Program": "#A0AA87",
|
||||||
|
@ -228,9 +263,12 @@ var LanguagesColor = map[string]string{
|
||||||
"TeX": "#3D6117",
|
"TeX": "#3D6117",
|
||||||
"Terra": "#00004c",
|
"Terra": "#00004c",
|
||||||
"Turing": "#cf142b",
|
"Turing": "#cf142b",
|
||||||
|
"Twig": "#c1d026",
|
||||||
"TypeScript": "#2b7489",
|
"TypeScript": "#2b7489",
|
||||||
|
"Unified Parallel C": "#4e3617",
|
||||||
|
"Uno": "#9933cc",
|
||||||
"UnrealScript": "#a54c4d",
|
"UnrealScript": "#a54c4d",
|
||||||
"V": "#5d87bd",
|
"V": "#4f87c4",
|
||||||
"VBA": "#867db1",
|
"VBA": "#867db1",
|
||||||
"VBScript": "#15dcdc",
|
"VBScript": "#15dcdc",
|
||||||
"VCL": "#148AA8",
|
"VCL": "#148AA8",
|
||||||
|
@ -247,6 +285,7 @@ var LanguagesColor = map[string]string{
|
||||||
"XC": "#99DA07",
|
"XC": "#99DA07",
|
||||||
"XQuery": "#5232e7",
|
"XQuery": "#5232e7",
|
||||||
"XSLT": "#EB8CEB",
|
"XSLT": "#EB8CEB",
|
||||||
|
"YAML": "#cb171e",
|
||||||
"YARA": "#220000",
|
"YARA": "#220000",
|
||||||
"YASnippet": "#32AB90",
|
"YASnippet": "#32AB90",
|
||||||
"Yacc": "#4B6C4B",
|
"Yacc": "#4B6C4B",
|
||||||
|
@ -256,7 +295,7 @@ var LanguagesColor = map[string]string{
|
||||||
"Zephir": "#118f9e",
|
"Zephir": "#118f9e",
|
||||||
"Zig": "#ec915c",
|
"Zig": "#ec915c",
|
||||||
"eC": "#913960",
|
"eC": "#913960",
|
||||||
"mIRC Script": "#926059",
|
"mIRC Script": "#3d57c3",
|
||||||
"mcfunction": "#E22837",
|
"mcfunction": "#E22837",
|
||||||
"nesC": "#94B0C7",
|
"nesC": "#94B0C7",
|
||||||
"ooc": "#b0b77e",
|
"ooc": "#b0b77e",
|
||||||
|
|
4
vendor/github.com/go-enry/go-enry/v2/data/commit.go
generated
vendored
4
vendor/github.com/go-enry/go-enry/v2/data/commit.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
// linguist's commit from which files were generated.
|
// linguist's commit from which files were generated.
|
||||||
var LinguistCommit = "40992ba7f86889f80dfed3ba95e11e1082200bad"
|
var LinguistCommit = "223c00bb80eff04788e29010f98c5778993d2b2a"
|
||||||
|
|
133
vendor/github.com/go-enry/go-enry/v2/data/content.go
generated
vendored
133
vendor/github.com/go-enry/go-enry/v2/data/content.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -37,8 +37,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".1in": &Heuristics{
|
".1in": &Heuristics{
|
||||||
|
@ -161,8 +162,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".3": &Heuristics{
|
".3": &Heuristics{
|
||||||
|
@ -192,8 +194,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".3in": &Heuristics{
|
".3in": &Heuristics{
|
||||||
|
@ -409,8 +412,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".5": &Heuristics{
|
".5": &Heuristics{
|
||||||
|
@ -440,8 +444,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".6": &Heuristics{
|
".6": &Heuristics{
|
||||||
|
@ -471,8 +476,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".7": &Heuristics{
|
".7": &Heuristics{
|
||||||
|
@ -502,8 +508,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".8": &Heuristics{
|
".8": &Heuristics{
|
||||||
|
@ -533,8 +540,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".9": &Heuristics{
|
".9": &Heuristics{
|
||||||
|
@ -564,19 +572,24 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
rule.Always(
|
|
||||||
rule.MatchingLanguages("Roff"),
|
|
||||||
),
|
|
||||||
},
|
|
||||||
".as": &Heuristics{
|
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("ActionScript"),
|
rule.MatchingLanguages("Roff"),
|
||||||
regexp.MustCompile(`(?m)^\s*(package\s+[a-z0-9_\.]+|import\s+[a-zA-Z0-9_\.]+;|class\s+[A-Za-z0-9_]+\s+extends\s+[A-Za-z0-9_]+)`),
|
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||||
),
|
|
||||||
rule.Always(
|
|
||||||
rule.MatchingLanguages("AngelScript"),
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
".al": &Heuristics{
|
||||||
|
rule.And(
|
||||||
|
rule.MatchingLanguages("AL"),
|
||||||
|
rule.Or(
|
||||||
|
rule.MatchingLanguages(""),
|
||||||
|
regexp.MustCompile(`(?m)\b(?i:(CODEUNIT|PAGE|PAGEEXTENSION|PAGECUSTOMIZATION|DOTNET|ENUM|ENUMEXTENSION|VALUE|QUERY|REPORT|TABLE|TABLEEXTENSION|XMLPORT|PROFILE|CONTROLADDIN))\b`),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
rule.Always(
|
||||||
|
rule.MatchingLanguages("Perl"),
|
||||||
|
),
|
||||||
|
},
|
||||||
|
".as": &Heuristics{},
|
||||||
".asc": &Heuristics{
|
".asc": &Heuristics{
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Public Key"),
|
rule.MatchingLanguages("Public Key"),
|
||||||
|
@ -621,9 +634,6 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
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.Always(
|
|
||||||
rule.MatchingLanguages("Text"),
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
".ch": &Heuristics{
|
".ch": &Heuristics{
|
||||||
rule.Or(
|
rule.Or(
|
||||||
|
@ -794,7 +804,11 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
),
|
),
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Gosu"),
|
rule.MatchingLanguages("Gosu"),
|
||||||
regexp.MustCompile(`(?m)^uses java\.`),
|
regexp.MustCompile(`(?m)^uses (java|gw)\.`),
|
||||||
|
),
|
||||||
|
rule.Or(
|
||||||
|
rule.MatchingLanguages("Genie"),
|
||||||
|
regexp.MustCompile(`(?m)^\[indent=[0-9]+\]`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".h": &Heuristics{
|
".h": &Heuristics{
|
||||||
|
@ -1233,16 +1247,6 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)^[^#!][^:]*:`),
|
regexp.MustCompile(`(?m)^[^#!][^:]*:`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".props": &Heuristics{
|
|
||||||
rule.Or(
|
|
||||||
rule.MatchingLanguages("XML"),
|
|
||||||
regexp.MustCompile(`(?m)^(\s*)(?i:<Project|<Import|<Property|<\?xml|xmlns)`),
|
|
||||||
),
|
|
||||||
rule.Or(
|
|
||||||
rule.MatchingLanguages("INI"),
|
|
||||||
regexp.MustCompile(`(?m)(?i:\w+\s*=\s*)`),
|
|
||||||
),
|
|
||||||
},
|
|
||||||
".q": &Heuristics{
|
".q": &Heuristics{
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("q"),
|
rule.MatchingLanguages("q"),
|
||||||
|
@ -1253,6 +1257,16 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)(?i:SELECT\s+[\w*,]+\s+FROM|(CREATE|ALTER|DROP)\s(DATABASE|SCHEMA|TABLE))`),
|
regexp.MustCompile(`(?m)(?i:SELECT\s+[\w*,]+\s+FROM|(CREATE|ALTER|DROP)\s(DATABASE|SCHEMA|TABLE))`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
".qs": &Heuristics{
|
||||||
|
rule.Or(
|
||||||
|
rule.MatchingLanguages("Q#"),
|
||||||
|
regexp.MustCompile(`(?m)^((\/{2,3})?\s*(namespace|operation)\b)`),
|
||||||
|
),
|
||||||
|
rule.Or(
|
||||||
|
rule.MatchingLanguages("Qt Script"),
|
||||||
|
regexp.MustCompile(`(?m)(\w+\.prototype\.\w+|===|\bvar\b)`),
|
||||||
|
),
|
||||||
|
},
|
||||||
".r": &Heuristics{
|
".r": &Heuristics{
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Rebol"),
|
rule.MatchingLanguages("Rebol"),
|
||||||
|
@ -1263,6 +1277,22 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)<-|^\s*#`),
|
regexp.MustCompile(`(?m)<-|^\s*#`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
".re": &Heuristics{
|
||||||
|
rule.Or(
|
||||||
|
rule.MatchingLanguages("Reason"),
|
||||||
|
regexp.MustCompile(`(?m)^\s*module\s+type\s|^\s*(?:include|open)\s+\w+\s*;\s*$|^\s*let\s+(?:module\s\w+\s*=\s*{|\w+:\s+.*=.*;\s*$)`),
|
||||||
|
),
|
||||||
|
rule.Or(
|
||||||
|
rule.MatchingLanguages("C++"),
|
||||||
|
regexp.MustCompile(`(?m)^\s*#(?:(?:if|ifdef|define|pragma)\s+\w|\s*include\s+<[^>]+>)|^\s*template\s*<`),
|
||||||
|
),
|
||||||
|
},
|
||||||
|
".res": &Heuristics{
|
||||||
|
rule.Or(
|
||||||
|
rule.MatchingLanguages("ReScript"),
|
||||||
|
regexp.MustCompile(`(?m)^\s*(let|module|type)\s+\w*\s+=\s+|^\s*(?:include|open)\s+\w+\s*$`),
|
||||||
|
),
|
||||||
|
},
|
||||||
".rno": &Heuristics{
|
".rno": &Heuristics{
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Roff"),
|
rule.MatchingLanguages("Roff"),
|
||||||
|
@ -1304,33 +1334,31 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)(^\s*import (scala|java)\.|^\s*class\b)`),
|
regexp.MustCompile(`(?m)(^\s*import (scala|java)\.|^\s*class\b)`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
".sol": &Heuristics{
|
||||||
|
rule.Or(
|
||||||
|
rule.MatchingLanguages("Gerber Image"),
|
||||||
|
regexp.MustCompile(`(?m)^G75\*`),
|
||||||
|
),
|
||||||
|
},
|
||||||
".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 )?;)`),
|
regexp.MustCompile(`(?m)(?i:^\\i\b|AS\s+\$\$|LANGUAGE\s+'?plpgsql'?|BEGIN(\s+WORK)?\s*;)`),
|
||||||
),
|
),
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("SQLPL"),
|
rule.MatchingLanguages("SQLPL"),
|
||||||
regexp.MustCompile(`(?m)(?i:(alter module)|(language sql)|(begin( NOT)+ atomic)|signal SQLSTATE '[0-9]+')`),
|
regexp.MustCompile(`(?m)(?i:ALTER\s+MODULE|MODE\s+DB2SQL|\bSYS(CAT|PROC)\.|ASSOCIATE\s+RESULT\s+SET|\bEND!\s*$)`),
|
||||||
),
|
),
|
||||||
rule.Or(
|
rule.Or(
|
||||||
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|systimestamp|\.nextval|CONNECT\s+BY|AUTHID\s+(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.Or(
|
||||||
rule.MatchingLanguages(""),
|
rule.MatchingLanguages("TSQL"),
|
||||||
regexp.MustCompile(`(?m)(?i:(GO)|(@@)|(CREATE PROCEDURE)|BEGIN( TRY| CATCH)|OUTPUT( INSERTED)|IF|ELSE|IIF|CHOOSE|CURSOR|FETCH|DEALLOCATE|DECLARE)`),
|
regexp.MustCompile(`(?m)(?i:^\s*GO\b|BEGIN(\s+TRY|\s+CATCH)|OUTPUT\s+INSERTED|DECLARE\s+@|\[dbo\])`),
|
||||||
),
|
),
|
||||||
),
|
rule.Always(
|
||||||
rule.Not(
|
|
||||||
rule.MatchingLanguages("SQL"),
|
rule.MatchingLanguages("SQL"),
|
||||||
regexp.MustCompile(`(?m)(?i:begin|boolean|package|exception)`),
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
".srt": &Heuristics{
|
".srt": &Heuristics{
|
||||||
|
@ -1346,7 +1374,7 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
),
|
),
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Raku"),
|
rule.MatchingLanguages("Raku"),
|
||||||
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|\bmy\s+class\b)`),
|
||||||
),
|
),
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Turing"),
|
rule.MatchingLanguages("Turing"),
|
||||||
|
@ -1391,14 +1419,19 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||||
regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`),
|
regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
".txt": &Heuristics{
|
||||||
|
rule.Always(
|
||||||
|
rule.MatchingLanguages("Text"),
|
||||||
|
),
|
||||||
|
},
|
||||||
".v": &Heuristics{
|
".v": &Heuristics{
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Coq"),
|
rule.MatchingLanguages("Coq"),
|
||||||
regexp.MustCompile(`(?m)\(\*.*?\*\)|(?:^|\s)(?:Proof|Qed)\.(?:$|\s)|(?:^|\s)Require[ \t]+Import\s`),
|
regexp.MustCompile(`(?m)(?:^|\s)(?:Proof|Qed)\.(?:$|\s)|(?:^|\s)Require[ \t]+(Import|Export)\s`),
|
||||||
),
|
),
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("Verilog"),
|
rule.MatchingLanguages("Verilog"),
|
||||||
regexp.MustCompile(`(?m)^[ \t]*module\s+[^\s()]+\s+\#?\(|^[ \t]*`+"`"+`(?:ifdef|timescale)\s|^[ \t]*always[ \t]+@`),
|
regexp.MustCompile(`(?m)^[ \t]*module\s+[^\s()]+\s+\#?\(|^[ \t]*`+"`"+`(?:define|ifdef|ifndef|include|timescale)|^[ \t]*always[ \t]+@|^[ \t]*initial[ \t]+(begin|@)`),
|
||||||
),
|
),
|
||||||
rule.Or(
|
rule.Or(
|
||||||
rule.MatchingLanguages("V"),
|
rule.MatchingLanguages("V"),
|
||||||
|
|
2
vendor/github.com/go-enry/go-enry/v2/data/documentation.go
generated
vendored
2
vendor/github.com/go-enry/go-enry/v2/data/documentation.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
|
116
vendor/github.com/go-enry/go-enry/v2/data/extension.go
generated
vendored
116
vendor/github.com/go-enry/go-enry/v2/data/extension.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".ahk": {"AutoHotkey"},
|
".ahk": {"AutoHotkey"},
|
||||||
".ahkl": {"AutoHotkey"},
|
".ahkl": {"AutoHotkey"},
|
||||||
".aj": {"AspectJ"},
|
".aj": {"AspectJ"},
|
||||||
".al": {"Perl"},
|
".al": {"AL", "Perl"},
|
||||||
".als": {"Alloy"},
|
".als": {"Alloy"},
|
||||||
".ampl": {"AMPL"},
|
".ampl": {"AMPL"},
|
||||||
".angelscript": {"AngelScript"},
|
".angelscript": {"AngelScript"},
|
||||||
|
@ -64,29 +64,31 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".arc": {"Arc"},
|
".arc": {"Arc"},
|
||||||
".arpa": {"DNS Zone"},
|
".arpa": {"DNS Zone"},
|
||||||
".as": {"ActionScript", "AngelScript"},
|
".as": {"ActionScript", "AngelScript"},
|
||||||
".asax": {"ASP"},
|
".asax": {"ASP.NET"},
|
||||||
".asc": {"AGS Script", "AsciiDoc", "Public Key"},
|
".asc": {"AGS Script", "AsciiDoc", "Public Key"},
|
||||||
".asciidoc": {"AsciiDoc"},
|
".asciidoc": {"AsciiDoc"},
|
||||||
".ascx": {"ASP"},
|
".ascx": {"ASP.NET"},
|
||||||
".asd": {"Common Lisp"},
|
".asd": {"Common Lisp"},
|
||||||
".ash": {"AGS Script"},
|
".ash": {"AGS Script"},
|
||||||
".ashx": {"ASP"},
|
".ashx": {"ASP.NET"},
|
||||||
|
".asl": {"ASL"},
|
||||||
".asm": {"Assembly", "Motorola 68K Assembly"},
|
".asm": {"Assembly", "Motorola 68K Assembly"},
|
||||||
".asmx": {"ASP"},
|
".asmx": {"ASP.NET"},
|
||||||
".asn": {"ASN.1"},
|
".asn": {"ASN.1"},
|
||||||
".asn1": {"ASN.1"},
|
".asn1": {"ASN.1"},
|
||||||
".asp": {"ASP"},
|
".asp": {"Classic ASP"},
|
||||||
".aspx": {"ASP"},
|
".aspx": {"ASP.NET"},
|
||||||
".asset": {"Unity3D Asset"},
|
".asset": {"Unity3D Asset"},
|
||||||
".asy": {"Asymptote", "LTspice Symbol"},
|
".asy": {"Asymptote", "LTspice Symbol"},
|
||||||
".au3": {"AutoIt"},
|
".au3": {"AutoIt"},
|
||||||
".aug": {"Augeas"},
|
".aug": {"Augeas"},
|
||||||
".auk": {"Awk"},
|
".auk": {"Awk"},
|
||||||
".aux": {"TeX"},
|
".aux": {"TeX"},
|
||||||
|
".avdl": {"Avro IDL"},
|
||||||
".avsc": {"JSON"},
|
".avsc": {"JSON"},
|
||||||
".aw": {"PHP"},
|
".aw": {"PHP"},
|
||||||
".awk": {"Awk"},
|
".awk": {"Awk"},
|
||||||
".axd": {"ASP"},
|
".axd": {"ASP.NET"},
|
||||||
".axi": {"NetLinx"},
|
".axi": {"NetLinx"},
|
||||||
".axi.erb": {"NetLinx+ERB"},
|
".axi.erb": {"NetLinx+ERB"},
|
||||||
".axml": {"XML"},
|
".axml": {"XML"},
|
||||||
|
@ -173,6 +175,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".cobol": {"COBOL"},
|
".cobol": {"COBOL"},
|
||||||
".cocci": {"SmPL"},
|
".cocci": {"SmPL"},
|
||||||
".coffee": {"CoffeeScript"},
|
".coffee": {"CoffeeScript"},
|
||||||
|
".coffee.md": {"Literate CoffeeScript"},
|
||||||
".com": {"DIGITAL Command Language"},
|
".com": {"DIGITAL Command Language"},
|
||||||
".command": {"Shell"},
|
".command": {"Shell"},
|
||||||
".conll": {"CoNLL-U"},
|
".conll": {"CoNLL-U"},
|
||||||
|
@ -223,6 +226,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".desktop": {"desktop"},
|
".desktop": {"desktop"},
|
||||||
".desktop.in": {"desktop"},
|
".desktop.in": {"desktop"},
|
||||||
".dfm": {"Pascal"},
|
".dfm": {"Pascal"},
|
||||||
|
".dfy": {"Dafny"},
|
||||||
".dhall": {"Dhall"},
|
".dhall": {"Dhall"},
|
||||||
".di": {"D"},
|
".di": {"D"},
|
||||||
".diff": {"Diff"},
|
".diff": {"Diff"},
|
||||||
|
@ -243,6 +247,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".dpatch": {"Darcs Patch"},
|
".dpatch": {"Darcs Patch"},
|
||||||
".dpr": {"Pascal"},
|
".dpr": {"Pascal"},
|
||||||
".druby": {"Mirah"},
|
".druby": {"Mirah"},
|
||||||
|
".dsl": {"ASL"},
|
||||||
".dsp": {"Faust", "Microsoft Developer Studio Project"},
|
".dsp": {"Faust", "Microsoft Developer Studio Project"},
|
||||||
".dtx": {"TeX"},
|
".dtx": {"TeX"},
|
||||||
".duby": {"Mirah"},
|
".duby": {"Mirah"},
|
||||||
|
@ -260,6 +265,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".eclass": {"Gentoo Eclass"},
|
".eclass": {"Gentoo Eclass"},
|
||||||
".eclxml": {"ECL"},
|
".eclxml": {"ECL"},
|
||||||
".ecr": {"HTML+ECR"},
|
".ecr": {"HTML+ECR"},
|
||||||
|
".ect": {"EJS"},
|
||||||
".edc": {"Edje Data Collection"},
|
".edc": {"Edje Data Collection"},
|
||||||
".edn": {"edn"},
|
".edn": {"edn"},
|
||||||
".eex": {"HTML+EEX"},
|
".eex": {"HTML+EEX"},
|
||||||
|
@ -274,6 +280,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".emacs.desktop": {"Emacs Lisp"},
|
".emacs.desktop": {"Emacs Lisp"},
|
||||||
".emberscript": {"EmberScript"},
|
".emberscript": {"EmberScript"},
|
||||||
".eml": {"EML"},
|
".eml": {"EML"},
|
||||||
|
".env": {"Shell"},
|
||||||
".epj": {"Ecere Projects"},
|
".epj": {"Ecere Projects"},
|
||||||
".eps": {"PostScript"},
|
".eps": {"PostScript"},
|
||||||
".epsi": {"PostScript"},
|
".epsi": {"PostScript"},
|
||||||
|
@ -288,11 +295,11 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".exs": {"Elixir"},
|
".exs": {"Elixir"},
|
||||||
".eye": {"Ruby"},
|
".eye": {"Ruby"},
|
||||||
".f": {"Filebench WML", "Forth", "Fortran"},
|
".f": {"Filebench WML", "Forth", "Fortran"},
|
||||||
".f03": {"Fortran"},
|
".f03": {"Fortran Free Form"},
|
||||||
".f08": {"Fortran"},
|
".f08": {"Fortran Free Form"},
|
||||||
".f77": {"Fortran"},
|
".f77": {"Fortran"},
|
||||||
".f90": {"Fortran"},
|
".f90": {"Fortran Free Form"},
|
||||||
".f95": {"Fortran"},
|
".f95": {"Fortran Free Form"},
|
||||||
".factor": {"Factor"},
|
".factor": {"Factor"},
|
||||||
".fan": {"Fantom"},
|
".fan": {"Fantom"},
|
||||||
".fancypack": {"Fancy"},
|
".fancypack": {"Fancy"},
|
||||||
|
@ -325,6 +332,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".fth": {"Forth"},
|
".fth": {"Forth"},
|
||||||
".ftl": {"FreeMarker"},
|
".ftl": {"FreeMarker"},
|
||||||
".fun": {"Standard ML"},
|
".fun": {"Standard ML"},
|
||||||
|
".fut": {"Futhark"},
|
||||||
".fx": {"FLUX", "HLSL"},
|
".fx": {"FLUX", "HLSL"},
|
||||||
".fxh": {"HLSL"},
|
".fxh": {"HLSL"},
|
||||||
".fxml": {"XML"},
|
".fxml": {"XML"},
|
||||||
|
@ -344,6 +352,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".gd": {"GAP", "GDScript"},
|
".gd": {"GAP", "GDScript"},
|
||||||
".gdb": {"GDB"},
|
".gdb": {"GDB"},
|
||||||
".gdbinit": {"GDB"},
|
".gdbinit": {"GDB"},
|
||||||
|
".ged": {"GEDCOM"},
|
||||||
".gemspec": {"Ruby"},
|
".gemspec": {"Ruby"},
|
||||||
".geo": {"GLSL"},
|
".geo": {"GLSL"},
|
||||||
".geojson": {"JSON"},
|
".geojson": {"JSON"},
|
||||||
|
@ -383,7 +392,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".gs": {"GLSL", "Genie", "Gosu", "JavaScript"},
|
".gs": {"GLSL", "Genie", "Gosu", "JavaScript"},
|
||||||
".gshader": {"GLSL"},
|
".gshader": {"GLSL"},
|
||||||
".gsp": {"Groovy Server Pages"},
|
".gsp": {"Groovy Server Pages"},
|
||||||
".gst": {"Gosu"},
|
".gst": {"Gosu", "XML"},
|
||||||
".gsx": {"Gosu"},
|
".gsx": {"Gosu"},
|
||||||
".gtl": {"Gerber Image"},
|
".gtl": {"Gerber Image"},
|
||||||
".gto": {"Gerber Image"},
|
".gto": {"Gerber Image"},
|
||||||
|
@ -422,6 +431,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".htm": {"HTML"},
|
".htm": {"HTML"},
|
||||||
".html": {"HTML"},
|
".html": {"HTML"},
|
||||||
".html.hl": {"HTML"},
|
".html.hl": {"HTML"},
|
||||||
|
".html.leex": {"HTML+EEX"},
|
||||||
".http": {"HTTP"},
|
".http": {"HTTP"},
|
||||||
".hx": {"Haxe"},
|
".hx": {"Haxe"},
|
||||||
".hxml": {"HXML"},
|
".hxml": {"HXML"},
|
||||||
|
@ -454,10 +464,12 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".ipp": {"C++"},
|
".ipp": {"C++"},
|
||||||
".ipynb": {"Jupyter Notebook"},
|
".ipynb": {"Jupyter Notebook"},
|
||||||
".irclog": {"IRC log"},
|
".irclog": {"IRC log"},
|
||||||
|
".isl": {"Inno Setup"},
|
||||||
".iss": {"Inno Setup"},
|
".iss": {"Inno Setup"},
|
||||||
".iuml": {"PlantUML"},
|
".iuml": {"PlantUML"},
|
||||||
".ivy": {"XML"},
|
".ivy": {"XML"},
|
||||||
".j": {"Jasmin", "Objective-J"},
|
".j": {"Jasmin", "Objective-J"},
|
||||||
|
".j2": {"HTML+Django"},
|
||||||
".jade": {"Pug"},
|
".jade": {"Pug"},
|
||||||
".jake": {"JavaScript"},
|
".jake": {"JavaScript"},
|
||||||
".java": {"Java"},
|
".java": {"Java"},
|
||||||
|
@ -486,6 +498,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".jsp": {"Java Server Pages"},
|
".jsp": {"Java Server Pages"},
|
||||||
".jsproj": {"XML"},
|
".jsproj": {"XML"},
|
||||||
".jss": {"JavaScript"},
|
".jss": {"JavaScript"},
|
||||||
|
".jst": {"EJS"},
|
||||||
".jsx": {"JSX"},
|
".jsx": {"JSX"},
|
||||||
".kicad_mod": {"KiCad Layout"},
|
".kicad_mod": {"KiCad Layout"},
|
||||||
".kicad_pcb": {"KiCad Layout"},
|
".kicad_pcb": {"KiCad Layout"},
|
||||||
|
@ -496,11 +509,13 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".kojo": {"Scala"},
|
".kojo": {"Scala"},
|
||||||
".krl": {"KRL"},
|
".krl": {"KRL"},
|
||||||
".ksh": {"Shell"},
|
".ksh": {"Shell"},
|
||||||
|
".ksy": {"Kaitai Struct"},
|
||||||
".kt": {"Kotlin"},
|
".kt": {"Kotlin"},
|
||||||
".ktm": {"Kotlin"},
|
".ktm": {"Kotlin"},
|
||||||
".kts": {"Kotlin"},
|
".kts": {"Kotlin"},
|
||||||
".l": {"Common Lisp", "Lex", "PicoLisp", "Roff"},
|
".l": {"Common Lisp", "Lex", "PicoLisp", "Roff"},
|
||||||
".lagda": {"Literate Agda"},
|
".lagda": {"Literate Agda"},
|
||||||
|
".lark": {"Lark"},
|
||||||
".las": {"Lasso"},
|
".las": {"Lasso"},
|
||||||
".lasso": {"Lasso"},
|
".lasso": {"Lasso"},
|
||||||
".lasso8": {"Lasso"},
|
".lasso8": {"Lasso"},
|
||||||
|
@ -520,6 +535,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".libsonnet": {"Jsonnet"},
|
".libsonnet": {"Jsonnet"},
|
||||||
".lid": {"Dylan"},
|
".lid": {"Dylan"},
|
||||||
".lidr": {"Idris"},
|
".lidr": {"Idris"},
|
||||||
|
".linq": {"C#"},
|
||||||
".liquid": {"Liquid"},
|
".liquid": {"Liquid"},
|
||||||
".lisp": {"Common Lisp", "NewLisp"},
|
".lisp": {"Common Lisp", "NewLisp"},
|
||||||
".litcoffee": {"Literate CoffeeScript"},
|
".litcoffee": {"Literate CoffeeScript"},
|
||||||
|
@ -535,9 +551,11 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".lsp": {"Common Lisp", "NewLisp"},
|
".lsp": {"Common Lisp", "NewLisp"},
|
||||||
".ltx": {"TeX"},
|
".ltx": {"TeX"},
|
||||||
".lua": {"Lua"},
|
".lua": {"Lua"},
|
||||||
|
".lvlib": {"LabVIEW"},
|
||||||
".lvproj": {"LabVIEW"},
|
".lvproj": {"LabVIEW"},
|
||||||
".ly": {"LilyPond"},
|
".ly": {"LilyPond"},
|
||||||
".m": {"Limbo", "M", "MATLAB", "MUF", "Mathematica", "Mercury", "Objective-C"},
|
".m": {"Limbo", "M", "MATLAB", "MUF", "Mathematica", "Mercury", "Objective-C"},
|
||||||
|
".m2": {"Macaulay2"},
|
||||||
".m3": {"Modula-3"},
|
".m3": {"Modula-3"},
|
||||||
".m4": {"M4", "M4Sugar"},
|
".m4": {"M4", "M4Sugar"},
|
||||||
".ma": {"Mathematica"},
|
".ma": {"Mathematica"},
|
||||||
|
@ -617,7 +635,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".muf": {"MUF"},
|
".muf": {"MUF"},
|
||||||
".mumps": {"M"},
|
".mumps": {"M"},
|
||||||
".muse": {"Muse"},
|
".muse": {"Muse"},
|
||||||
".mustache": {"HTML+Django"},
|
".mustache": {"Mustache"},
|
||||||
".mxml": {"XML"},
|
".mxml": {"XML"},
|
||||||
".mxt": {"Max"},
|
".mxt": {"Max"},
|
||||||
".mysql": {"SQL"},
|
".mysql": {"SQL"},
|
||||||
|
@ -635,7 +653,9 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".ndproj": {"XML"},
|
".ndproj": {"XML"},
|
||||||
".ne": {"Nearley"},
|
".ne": {"Nearley"},
|
||||||
".nearley": {"Nearley"},
|
".nearley": {"Nearley"},
|
||||||
|
".neon": {"NEON"},
|
||||||
".nf": {"Nextflow"},
|
".nf": {"Nextflow"},
|
||||||
|
".nginx": {"Nginx"},
|
||||||
".nginxconf": {"Nginx"},
|
".nginxconf": {"Nginx"},
|
||||||
".ni": {"Inform 7"},
|
".ni": {"Inform 7"},
|
||||||
".nim": {"Nim"},
|
".nim": {"Nim"},
|
||||||
|
@ -651,12 +671,14 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".nl": {"NL", "NewLisp"},
|
".nl": {"NL", "NewLisp"},
|
||||||
".nlogo": {"NetLogo"},
|
".nlogo": {"NetLogo"},
|
||||||
".no": {"Text"},
|
".no": {"Text"},
|
||||||
|
".nomad": {"HCL"},
|
||||||
".nproj": {"XML"},
|
".nproj": {"XML"},
|
||||||
".nqp": {"Raku"},
|
".nqp": {"Raku"},
|
||||||
".nr": {"Roff"},
|
".nr": {"Roff"},
|
||||||
".nse": {"Lua"},
|
".nse": {"Lua"},
|
||||||
".nsh": {"NSIS"},
|
".nsh": {"NSIS"},
|
||||||
".nsi": {"NSIS"},
|
".nsi": {"NSIS"},
|
||||||
|
".nss": {"NWScript"},
|
||||||
".nu": {"Nu"},
|
".nu": {"Nu"},
|
||||||
".numpy": {"NumPy"},
|
".numpy": {"NumPy"},
|
||||||
".numpyw": {"NumPy"},
|
".numpyw": {"NumPy"},
|
||||||
|
@ -799,6 +821,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".ql": {"CodeQL"},
|
".ql": {"CodeQL"},
|
||||||
".qll": {"CodeQL"},
|
".qll": {"CodeQL"},
|
||||||
".qml": {"QML"},
|
".qml": {"QML"},
|
||||||
|
".qs": {"Q#", "Qt Script"},
|
||||||
".r": {"R", "Rebol"},
|
".r": {"R", "Rebol"},
|
||||||
".r2": {"Rebol"},
|
".r2": {"Rebol"},
|
||||||
".r3": {"Rebol"},
|
".r3": {"Rebol"},
|
||||||
|
@ -833,13 +856,14 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".regexp": {"Regular Expression"},
|
".regexp": {"Regular Expression"},
|
||||||
".rego": {"Open Policy Agent"},
|
".rego": {"Open Policy Agent"},
|
||||||
".rei": {"Reason"},
|
".rei": {"Reason"},
|
||||||
|
".res": {"ReScript", "XML"},
|
||||||
".rest": {"reStructuredText"},
|
".rest": {"reStructuredText"},
|
||||||
".rest.txt": {"reStructuredText"},
|
".rest.txt": {"reStructuredText"},
|
||||||
".resx": {"XML"},
|
".resx": {"XML"},
|
||||||
".rex": {"REXX"},
|
".rex": {"REXX"},
|
||||||
".rexx": {"REXX"},
|
".rexx": {"REXX"},
|
||||||
".rg": {"Rouge"},
|
".rg": {"Rouge"},
|
||||||
".rhtml": {"RHTML"},
|
".rhtml": {"HTML+ERB"},
|
||||||
".ring": {"Ring"},
|
".ring": {"Ring"},
|
||||||
".riot": {"Riot"},
|
".riot": {"Riot"},
|
||||||
".rkt": {"Racket"},
|
".rkt": {"Racket"},
|
||||||
|
@ -900,6 +924,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".shader": {"GLSL", "ShaderLab"},
|
".shader": {"GLSL", "ShaderLab"},
|
||||||
".shen": {"Shen"},
|
".shen": {"Shen"},
|
||||||
".shproj": {"XML"},
|
".shproj": {"XML"},
|
||||||
|
".sieve": {"Sieve"},
|
||||||
".sig": {"Standard ML"},
|
".sig": {"Standard ML"},
|
||||||
".sj": {"Objective-J"},
|
".sj": {"Objective-J"},
|
||||||
".sjs": {"JavaScript"},
|
".sjs": {"JavaScript"},
|
||||||
|
@ -916,6 +941,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".snip": {"Vim Snippet"},
|
".snip": {"Vim Snippet"},
|
||||||
".snippet": {"Vim Snippet"},
|
".snippet": {"Vim Snippet"},
|
||||||
".snippets": {"Vim Snippet"},
|
".snippets": {"Vim Snippet"},
|
||||||
|
".sol": {"Gerber Image", "Solidity"},
|
||||||
".soy": {"Closure Templates"},
|
".soy": {"Closure Templates"},
|
||||||
".sp": {"SourcePawn"},
|
".sp": {"SourcePawn"},
|
||||||
".sparql": {"SPARQL"},
|
".sparql": {"SPARQL"},
|
||||||
|
@ -937,6 +963,7 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".stan": {"Stan"},
|
".stan": {"Stan"},
|
||||||
".sthlp": {"Stata"},
|
".sthlp": {"Stata"},
|
||||||
".ston": {"STON"},
|
".ston": {"STON"},
|
||||||
|
".story": {"Gherkin"},
|
||||||
".storyboard": {"XML"},
|
".storyboard": {"XML"},
|
||||||
".sttheme": {"XML Property List"},
|
".sttheme": {"XML Property List"},
|
||||||
".sty": {"TeX"},
|
".sty": {"TeX"},
|
||||||
|
@ -1005,13 +1032,14 @@ var LanguagesByExtension = map[string][]string{
|
||||||
".trg": {"PLSQL"},
|
".trg": {"PLSQL"},
|
||||||
".ts": {"TypeScript", "XML"},
|
".ts": {"TypeScript", "XML"},
|
||||||
".tst": {"GAP", "Scilab"},
|
".tst": {"GAP", "Scilab"},
|
||||||
|
".tsv": {"TSV"},
|
||||||
".tsx": {"TSX", "XML"},
|
".tsx": {"TSX", "XML"},
|
||||||
".ttl": {"Turtle"},
|
".ttl": {"Turtle"},
|
||||||
".tu": {"Turing"},
|
".tu": {"Turing"},
|
||||||
".twig": {"Twig"},
|
".twig": {"Twig"},
|
||||||
".txi": {"Texinfo"},
|
".txi": {"Texinfo"},
|
||||||
".txl": {"TXL"},
|
".txl": {"TXL"},
|
||||||
".txt": {"Text"},
|
".txt": {"Text", "Vim Help File"},
|
||||||
".uc": {"UnrealScript"},
|
".uc": {"UnrealScript"},
|
||||||
".udf": {"SQL"},
|
".udf": {"SQL"},
|
||||||
".udo": {"Csound"},
|
".udo": {"Csound"},
|
||||||
|
@ -1167,12 +1195,14 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"ABAP": {".abap"},
|
"ABAP": {".abap"},
|
||||||
"ABNF": {".abnf"},
|
"ABNF": {".abnf"},
|
||||||
"AGS Script": {".asc", ".ash"},
|
"AGS Script": {".asc", ".ash"},
|
||||||
|
"AL": {".al"},
|
||||||
"AMPL": {".ampl", ".mod"},
|
"AMPL": {".ampl", ".mod"},
|
||||||
"ANTLR": {".g4"},
|
"ANTLR": {".g4"},
|
||||||
"API Blueprint": {".apib"},
|
"API Blueprint": {".apib"},
|
||||||
"APL": {".apl", ".dyalog"},
|
"APL": {".apl", ".dyalog"},
|
||||||
|
"ASL": {".asl", ".dsl"},
|
||||||
"ASN.1": {".asn", ".asn1"},
|
"ASN.1": {".asn", ".asn1"},
|
||||||
"ASP": {".asp", ".asax", ".ascx", ".ashx", ".asmx", ".aspx", ".axd"},
|
"ASP.NET": {".asax", ".ascx", ".ashx", ".asmx", ".aspx", ".axd"},
|
||||||
"ATS": {".dats", ".hats", ".sats"},
|
"ATS": {".dats", ".hats", ".sats"},
|
||||||
"ActionScript": {".as"},
|
"ActionScript": {".as"},
|
||||||
"Ada": {".adb", ".ada", ".ads"},
|
"Ada": {".adb", ".ada", ".ads"},
|
||||||
|
@ -1193,6 +1223,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Augeas": {".aug"},
|
"Augeas": {".aug"},
|
||||||
"AutoHotkey": {".ahk", ".ahkl"},
|
"AutoHotkey": {".ahk", ".ahkl"},
|
||||||
"AutoIt": {".au3"},
|
"AutoIt": {".au3"},
|
||||||
|
"Avro IDL": {".avdl"},
|
||||||
"Awk": {".awk", ".auk", ".gawk", ".mawk", ".nawk"},
|
"Awk": {".awk", ".auk", ".gawk", ".mawk", ".nawk"},
|
||||||
"Ballerina": {".bal"},
|
"Ballerina": {".bal"},
|
||||||
"Batchfile": {".bat", ".cmd"},
|
"Batchfile": {".bat", ".cmd"},
|
||||||
|
@ -1208,7 +1239,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Brainfuck": {".b", ".bf"},
|
"Brainfuck": {".b", ".bf"},
|
||||||
"Brightscript": {".brs"},
|
"Brightscript": {".brs"},
|
||||||
"C": {".c", ".cats", ".h", ".idc"},
|
"C": {".c", ".cats", ".h", ".idc"},
|
||||||
"C#": {".cs", ".cake", ".csx"},
|
"C#": {".cs", ".cake", ".csx", ".linq"},
|
||||||
"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"},
|
||||||
"C-ObjDump": {".c-objdump"},
|
"C-ObjDump": {".c-objdump"},
|
||||||
"C2hs Haskell": {".chs"},
|
"C2hs Haskell": {".chs"},
|
||||||
|
@ -1229,6 +1260,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"ChucK": {".ck"},
|
"ChucK": {".ck"},
|
||||||
"Cirru": {".cirru"},
|
"Cirru": {".cirru"},
|
||||||
"Clarion": {".clw"},
|
"Clarion": {".clw"},
|
||||||
|
"Classic ASP": {".asp"},
|
||||||
"Clean": {".icl", ".dcl"},
|
"Clean": {".icl", ".dcl"},
|
||||||
"Click": {".click"},
|
"Click": {".click"},
|
||||||
"Clojure": {".clj", ".boot", ".cl2", ".cljc", ".cljs", ".cljs.hl", ".cljscm", ".cljx", ".hic"},
|
"Clojure": {".clj", ".boot", ".cl2", ".cljc", ".cljs", ".cljs.hl", ".cljscm", ".cljx", ".hic"},
|
||||||
|
@ -1258,6 +1290,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"DM": {".dm"},
|
"DM": {".dm"},
|
||||||
"DNS Zone": {".zone", ".arpa"},
|
"DNS Zone": {".zone", ".arpa"},
|
||||||
"DTrace": {".d"},
|
"DTrace": {".d"},
|
||||||
|
"Dafny": {".dfy"},
|
||||||
"Darcs Patch": {".darcspatch", ".dpatch"},
|
"Darcs Patch": {".darcspatch", ".dpatch"},
|
||||||
"Dart": {".dart"},
|
"Dart": {".dart"},
|
||||||
"DataWeave": {".dwl"},
|
"DataWeave": {".dwl"},
|
||||||
|
@ -1271,7 +1304,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"EBNF": {".ebnf"},
|
"EBNF": {".ebnf"},
|
||||||
"ECL": {".ecl", ".eclxml"},
|
"ECL": {".ecl", ".eclxml"},
|
||||||
"ECLiPSe": {".ecl"},
|
"ECLiPSe": {".ecl"},
|
||||||
"EJS": {".ejs"},
|
"EJS": {".ejs", ".ect", ".jst"},
|
||||||
"EML": {".eml", ".mbox"},
|
"EML": {".eml", ".mbox"},
|
||||||
"EQ": {".eq"},
|
"EQ": {".eq"},
|
||||||
"Eagle": {".sch", ".brd"},
|
"Eagle": {".sch", ".brd"},
|
||||||
|
@ -1296,9 +1329,11 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Filterscript": {".fs"},
|
"Filterscript": {".fs"},
|
||||||
"Formatted": {".for", ".eam.fs"},
|
"Formatted": {".for", ".eam.fs"},
|
||||||
"Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"},
|
"Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"},
|
||||||
"Fortran": {".f90", ".f", ".f03", ".f08", ".f77", ".f95", ".for", ".fpp"},
|
"Fortran": {".f", ".f77", ".for", ".fpp"},
|
||||||
|
"Fortran Free Form": {".f90", ".f03", ".f08", ".f95"},
|
||||||
"FreeMarker": {".ftl"},
|
"FreeMarker": {".ftl"},
|
||||||
"Frege": {".fr"},
|
"Frege": {".fr"},
|
||||||
|
"Futhark": {".fut"},
|
||||||
"G-code": {".g", ".cnc", ".gco", ".gcode"},
|
"G-code": {".g", ".cnc", ".gco", ".gcode"},
|
||||||
"GAML": {".gaml"},
|
"GAML": {".gaml"},
|
||||||
"GAMS": {".gms"},
|
"GAMS": {".gms"},
|
||||||
|
@ -1306,6 +1341,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"GCC Machine Description": {".md"},
|
"GCC Machine Description": {".md"},
|
||||||
"GDB": {".gdb", ".gdbinit"},
|
"GDB": {".gdb", ".gdbinit"},
|
||||||
"GDScript": {".gd"},
|
"GDScript": {".gd"},
|
||||||
|
"GEDCOM": {".ged"},
|
||||||
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"},
|
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"},
|
||||||
"GN": {".gn", ".gni"},
|
"GN": {".gn", ".gni"},
|
||||||
"Game Maker Language": {".gml"},
|
"Game Maker Language": {".gml"},
|
||||||
|
@ -1313,9 +1349,9 @@ 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", ".gml", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts"},
|
"Gerber Image": {".gbr", ".gbl", ".gbo", ".gbp", ".gbs", ".gko", ".gml", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts", ".sol"},
|
||||||
"Gettext Catalog": {".po", ".pot"},
|
"Gettext Catalog": {".po", ".pot"},
|
||||||
"Gherkin": {".feature"},
|
"Gherkin": {".feature", ".story"},
|
||||||
"Git Config": {".gitconfig"},
|
"Git Config": {".gitconfig"},
|
||||||
"Glyph": {".glf"},
|
"Glyph": {".glf"},
|
||||||
"Glyph Bitmap Distribution Format": {".bdf"},
|
"Glyph Bitmap Distribution Format": {".bdf"},
|
||||||
|
@ -1332,13 +1368,13 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Groovy": {".groovy", ".grt", ".gtpl", ".gvy"},
|
"Groovy": {".groovy", ".grt", ".gtpl", ".gvy"},
|
||||||
"Groovy Server Pages": {".gsp"},
|
"Groovy Server Pages": {".gsp"},
|
||||||
"HAProxy": {".cfg"},
|
"HAProxy": {".cfg"},
|
||||||
"HCL": {".hcl", ".tf", ".tfvars", ".workflow"},
|
"HCL": {".hcl", ".nomad", ".tf", ".tfvars", ".workflow"},
|
||||||
"HLSL": {".hlsl", ".cginc", ".fx", ".fxh", ".hlsli"},
|
"HLSL": {".hlsl", ".cginc", ".fx", ".fxh", ".hlsli"},
|
||||||
"HTML": {".html", ".htm", ".html.hl", ".inc", ".st", ".xht", ".xhtml"},
|
"HTML": {".html", ".htm", ".html.hl", ".inc", ".st", ".xht", ".xhtml"},
|
||||||
"HTML+Django": {".jinja", ".jinja2", ".mustache", ".njk"},
|
"HTML+Django": {".jinja", ".j2", ".jinja2", ".njk"},
|
||||||
"HTML+ECR": {".ecr"},
|
"HTML+ECR": {".ecr"},
|
||||||
"HTML+EEX": {".eex"},
|
"HTML+EEX": {".eex", ".html.leex"},
|
||||||
"HTML+ERB": {".erb", ".erb.deface"},
|
"HTML+ERB": {".erb", ".erb.deface", ".rhtml"},
|
||||||
"HTML+PHP": {".phtml"},
|
"HTML+PHP": {".phtml"},
|
||||||
"HTML+Razor": {".cshtml", ".razor"},
|
"HTML+Razor": {".cshtml", ".razor"},
|
||||||
"HTTP": {".http"},
|
"HTTP": {".http"},
|
||||||
|
@ -1360,7 +1396,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Idris": {".idr", ".lidr"},
|
"Idris": {".idr", ".lidr"},
|
||||||
"Ignore List": {".gitignore"},
|
"Ignore List": {".gitignore"},
|
||||||
"Inform 7": {".ni", ".i7x"},
|
"Inform 7": {".ni", ".i7x"},
|
||||||
"Inno Setup": {".iss"},
|
"Inno Setup": {".iss", ".isl"},
|
||||||
"Io": {".io"},
|
"Io": {".io"},
|
||||||
"Ioke": {".ik"},
|
"Ioke": {".ik"},
|
||||||
"Isabelle": {".thy"},
|
"Isabelle": {".thy"},
|
||||||
|
@ -1385,6 +1421,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Julia": {".jl"},
|
"Julia": {".jl"},
|
||||||
"Jupyter Notebook": {".ipynb"},
|
"Jupyter Notebook": {".ipynb"},
|
||||||
"KRL": {".krl"},
|
"KRL": {".krl"},
|
||||||
|
"Kaitai Struct": {".ksy"},
|
||||||
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
|
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
|
||||||
"KiCad Legacy Layout": {".brd"},
|
"KiCad Legacy Layout": {".brd"},
|
||||||
"KiCad Schematic": {".sch"},
|
"KiCad Schematic": {".sch"},
|
||||||
|
@ -1395,7 +1432,8 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"LOLCODE": {".lol"},
|
"LOLCODE": {".lol"},
|
||||||
"LSL": {".lsl", ".lslp"},
|
"LSL": {".lsl", ".lslp"},
|
||||||
"LTspice Symbol": {".asy"},
|
"LTspice Symbol": {".asy"},
|
||||||
"LabVIEW": {".lvproj"},
|
"LabVIEW": {".lvproj", ".lvlib"},
|
||||||
|
"Lark": {".lark"},
|
||||||
"Lasso": {".lasso", ".las", ".lasso8", ".lasso9"},
|
"Lasso": {".lasso", ".las", ".lasso8", ".lasso9"},
|
||||||
"Latte": {".latte"},
|
"Latte": {".latte"},
|
||||||
"Lean": {".lean", ".hlean"},
|
"Lean": {".lean", ".hlean"},
|
||||||
|
@ -1407,7 +1445,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Linux Kernel Module": {".mod"},
|
"Linux Kernel Module": {".mod"},
|
||||||
"Liquid": {".liquid"},
|
"Liquid": {".liquid"},
|
||||||
"Literate Agda": {".lagda"},
|
"Literate Agda": {".lagda"},
|
||||||
"Literate CoffeeScript": {".litcoffee"},
|
"Literate CoffeeScript": {".litcoffee", ".coffee.md"},
|
||||||
"Literate Haskell": {".lhs"},
|
"Literate Haskell": {".lhs"},
|
||||||
"LiveScript": {".ls", "._ls"},
|
"LiveScript": {".ls", "._ls"},
|
||||||
"Logos": {".xm", ".x", ".xi"},
|
"Logos": {".xm", ".x", ".xi"},
|
||||||
|
@ -1425,6 +1463,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"MQL5": {".mq5", ".mqh"},
|
"MQL5": {".mq5", ".mqh"},
|
||||||
"MTML": {".mtml"},
|
"MTML": {".mtml"},
|
||||||
"MUF": {".muf", ".m"},
|
"MUF": {".muf", ".m"},
|
||||||
|
"Macaulay2": {".m2"},
|
||||||
"Makefile": {".mak", ".d", ".make", ".mk", ".mkfile"},
|
"Makefile": {".mak", ".d", ".make", ".mk", ".mkfile"},
|
||||||
"Mako": {".mako", ".mao"},
|
"Mako": {".mako", ".mao"},
|
||||||
"Markdown": {".md", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".workbook"},
|
"Markdown": {".md", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".workbook"},
|
||||||
|
@ -1447,11 +1486,14 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"MoonScript": {".moon"},
|
"MoonScript": {".moon"},
|
||||||
"Motorola 68K Assembly": {".asm", ".i", ".inc", ".s", ".x68"},
|
"Motorola 68K Assembly": {".asm", ".i", ".inc", ".s", ".x68"},
|
||||||
"Muse": {".muse"},
|
"Muse": {".muse"},
|
||||||
|
"Mustache": {".mustache"},
|
||||||
"Myghty": {".myt"},
|
"Myghty": {".myt"},
|
||||||
"NASL": {".nasl", ".inc"},
|
"NASL": {".nasl", ".inc"},
|
||||||
"NCL": {".ncl"},
|
"NCL": {".ncl"},
|
||||||
|
"NEON": {".neon"},
|
||||||
"NL": {".nl"},
|
"NL": {".nl"},
|
||||||
"NSIS": {".nsi", ".nsh"},
|
"NSIS": {".nsi", ".nsh"},
|
||||||
|
"NWScript": {".nss"},
|
||||||
"Nearley": {".ne", ".nearley"},
|
"Nearley": {".ne", ".nearley"},
|
||||||
"Nemerle": {".n"},
|
"Nemerle": {".n"},
|
||||||
"NetLinx": {".axs", ".axi"},
|
"NetLinx": {".axs", ".axi"},
|
||||||
|
@ -1459,7 +1501,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"NetLogo": {".nlogo"},
|
"NetLogo": {".nlogo"},
|
||||||
"NewLisp": {".nl", ".lisp", ".lsp"},
|
"NewLisp": {".nl", ".lisp", ".lsp"},
|
||||||
"Nextflow": {".nf"},
|
"Nextflow": {".nf"},
|
||||||
"Nginx": {".nginxconf", ".vhost"},
|
"Nginx": {".nginx", ".nginxconf", ".vhost"},
|
||||||
"Nim": {".nim", ".nim.cfg", ".nimble", ".nimrod", ".nims"},
|
"Nim": {".nim", ".nim.cfg", ".nimble", ".nimrod", ".nims"},
|
||||||
"Ninja": {".ninja"},
|
"Ninja": {".ninja"},
|
||||||
"Nit": {".nit"},
|
"Nit": {".nit"},
|
||||||
|
@ -1530,14 +1572,15 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"PureScript": {".purs"},
|
"PureScript": {".purs"},
|
||||||
"Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".wsgi", ".xpy"},
|
"Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".wsgi", ".xpy"},
|
||||||
"Python traceback": {".pytb"},
|
"Python traceback": {".pytb"},
|
||||||
|
"Q#": {".qs"},
|
||||||
"QML": {".qml", ".qbs"},
|
"QML": {".qml", ".qbs"},
|
||||||
"QMake": {".pro", ".pri"},
|
"QMake": {".pro", ".pri"},
|
||||||
|
"Qt Script": {".qs"},
|
||||||
"R": {".r", ".rd", ".rsx"},
|
"R": {".r", ".rd", ".rsx"},
|
||||||
"RAML": {".raml"},
|
"RAML": {".raml"},
|
||||||
"RDoc": {".rdoc"},
|
"RDoc": {".rdoc"},
|
||||||
"REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"},
|
"REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"},
|
||||||
"REXX": {".rexx", ".pprx", ".rex"},
|
"REXX": {".rexx", ".pprx", ".rex"},
|
||||||
"RHTML": {".rhtml"},
|
|
||||||
"RMarkdown": {".rmd"},
|
"RMarkdown": {".rmd"},
|
||||||
"RPC": {".x"},
|
"RPC": {".x"},
|
||||||
"RPM Spec": {".spec"},
|
"RPM Spec": {".spec"},
|
||||||
|
@ -1547,6 +1590,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Raku": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
|
"Raku": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
|
||||||
"Rascal": {".rsc"},
|
"Rascal": {".rsc"},
|
||||||
"Raw token data": {".raw"},
|
"Raw token data": {".raw"},
|
||||||
|
"ReScript": {".res"},
|
||||||
"Reason": {".re", ".rei"},
|
"Reason": {".re", ".rei"},
|
||||||
"Rebol": {".reb", ".r", ".r2", ".r3", ".rebol"},
|
"Rebol": {".reb", ".r", ".r2", ".r3", ".rebol"},
|
||||||
"Red": {".red", ".reds"},
|
"Red": {".red", ".reds"},
|
||||||
|
@ -1583,9 +1627,10 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Scilab": {".sci", ".sce", ".tst"},
|
"Scilab": {".sci", ".sce", ".tst"},
|
||||||
"Self": {".self"},
|
"Self": {".self"},
|
||||||
"ShaderLab": {".shader"},
|
"ShaderLab": {".shader"},
|
||||||
"Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".zsh"},
|
"Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".env", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".zsh"},
|
||||||
"ShellSession": {".sh-session"},
|
"ShellSession": {".sh-session"},
|
||||||
"Shen": {".shen"},
|
"Shen": {".shen"},
|
||||||
|
"Sieve": {".sieve"},
|
||||||
"Slash": {".sl"},
|
"Slash": {".sl"},
|
||||||
"Slice": {".ice"},
|
"Slice": {".ice"},
|
||||||
"Slim": {".slim"},
|
"Slim": {".slim"},
|
||||||
|
@ -1593,6 +1638,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"Smali": {".smali"},
|
"Smali": {".smali"},
|
||||||
"Smalltalk": {".st", ".cs"},
|
"Smalltalk": {".st", ".cs"},
|
||||||
"Smarty": {".tpl"},
|
"Smarty": {".tpl"},
|
||||||
|
"Solidity": {".sol"},
|
||||||
"SourcePawn": {".sp", ".inc"},
|
"SourcePawn": {".sp", ".inc"},
|
||||||
"Spline Font Database": {".sfd"},
|
"Spline Font Database": {".sfd"},
|
||||||
"Squirrel": {".nut"},
|
"Squirrel": {".nut"},
|
||||||
|
@ -1611,6 +1657,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||||
"TLA": {".tla"},
|
"TLA": {".tla"},
|
||||||
"TOML": {".toml"},
|
"TOML": {".toml"},
|
||||||
"TSQL": {".sql"},
|
"TSQL": {".sql"},
|
||||||
|
"TSV": {".tsv"},
|
||||||
"TSX": {".tsx"},
|
"TSX": {".tsx"},
|
||||||
"TXL": {".txl"},
|
"TXL": {".txl"},
|
||||||
"Tcl": {".tcl", ".adp", ".tm"},
|
"Tcl": {".tcl", ".adp", ".tm"},
|
||||||
|
@ -1640,6 +1687,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 Help File": {".txt"},
|
||||||
"Vim Snippet": {".snip", ".snippet", ".snippets"},
|
"Vim Snippet": {".snip", ".snippet", ".snippets"},
|
||||||
"Vim script": {".vim", ".vba", ".vmb"},
|
"Vim script": {".vim", ".vba", ".vmb"},
|
||||||
"Visual Basic .NET": {".vb", ".vbhtml"},
|
"Visual Basic .NET": {".vb", ".vbhtml"},
|
||||||
|
@ -1658,7 +1706,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", ".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", ".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", ".rdf", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".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", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
|
"XML": {".xml", ".adml", ".admx", ".ant", ".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", ".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", ".rdf", ".res", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".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", ".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"},
|
||||||
|
|
16
vendor/github.com/go-enry/go-enry/v2/data/filename.go
generated
vendored
16
vendor/github.com/go-enry/go-enry/v2/data/filename.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -31,10 +31,14 @@ var LanguagesByFilename = map[string][]string{
|
||||||
".editorconfig": {"EditorConfig"},
|
".editorconfig": {"EditorConfig"},
|
||||||
".emacs": {"Emacs Lisp"},
|
".emacs": {"Emacs Lisp"},
|
||||||
".emacs.desktop": {"Emacs Lisp"},
|
".emacs.desktop": {"Emacs Lisp"},
|
||||||
|
".env": {"Shell"},
|
||||||
|
".env.example": {"Shell"},
|
||||||
".eslintignore": {"Ignore List"},
|
".eslintignore": {"Ignore List"},
|
||||||
".eslintrc.json": {"JSON with Comments"},
|
".eslintrc.json": {"JSON with Comments"},
|
||||||
|
".exrc": {"Vim script"},
|
||||||
".factor-boot-rc": {"Factor"},
|
".factor-boot-rc": {"Factor"},
|
||||||
".factor-rc": {"Factor"},
|
".factor-rc": {"Factor"},
|
||||||
|
".flaskenv": {"Shell"},
|
||||||
".gclient": {"Python"},
|
".gclient": {"Python"},
|
||||||
".gemrc": {"YAML"},
|
".gemrc": {"YAML"},
|
||||||
".gitattributes": {"Git Attributes"},
|
".gitattributes": {"Git Attributes"},
|
||||||
|
@ -65,6 +69,7 @@ var LanguagesByFilename = map[string][]string{
|
||||||
".profile": {"Shell"},
|
".profile": {"Shell"},
|
||||||
".project": {"XML"},
|
".project": {"XML"},
|
||||||
".pryrc": {"Ruby"},
|
".pryrc": {"Ruby"},
|
||||||
|
".simplecov": {"Ruby"},
|
||||||
".spacemacs": {"Emacs Lisp"},
|
".spacemacs": {"Emacs Lisp"},
|
||||||
".stylelintignore": {"Ignore List"},
|
".stylelintignore": {"Ignore List"},
|
||||||
".tern-config": {"JSON"},
|
".tern-config": {"JSON"},
|
||||||
|
@ -120,6 +125,7 @@ var LanguagesByFilename = map[string][]string{
|
||||||
"Kbuild": {"Makefile"},
|
"Kbuild": {"Makefile"},
|
||||||
"LICENSE": {"Text"},
|
"LICENSE": {"Text"},
|
||||||
"LICENSE.mysql": {"Text"},
|
"LICENSE.mysql": {"Text"},
|
||||||
|
"Lexer.x": {"Lex"},
|
||||||
"Makefile": {"Makefile"},
|
"Makefile": {"Makefile"},
|
||||||
"Makefile.PL": {"Perl"},
|
"Makefile.PL": {"Perl"},
|
||||||
"Makefile.am": {"Makefile"},
|
"Makefile.am": {"Makefile"},
|
||||||
|
@ -142,6 +148,7 @@ var LanguagesByFilename = map[string][]string{
|
||||||
"README.1ST": {"Text"},
|
"README.1ST": {"Text"},
|
||||||
"README.me": {"Text"},
|
"README.me": {"Text"},
|
||||||
"README.mysql": {"Text"},
|
"README.mysql": {"Text"},
|
||||||
|
"README.nss": {"Text"},
|
||||||
"ROOT": {"Isabelle ROOT"},
|
"ROOT": {"Isabelle ROOT"},
|
||||||
"Rakefile": {"Ruby"},
|
"Rakefile": {"Ruby"},
|
||||||
"Rexfile": {"Perl"},
|
"Rexfile": {"Perl"},
|
||||||
|
@ -152,6 +159,7 @@ var LanguagesByFilename = map[string][]string{
|
||||||
"Snakefile": {"Python"},
|
"Snakefile": {"Python"},
|
||||||
"Snapfile": {"Ruby"},
|
"Snapfile": {"Ruby"},
|
||||||
"Thorfile": {"Ruby"},
|
"Thorfile": {"Ruby"},
|
||||||
|
"Tiltfile": {"Starlark"},
|
||||||
"Vagrantfile": {"Ruby"},
|
"Vagrantfile": {"Ruby"},
|
||||||
"WORKSPACE": {"Starlark"},
|
"WORKSPACE": {"Starlark"},
|
||||||
"Web.Debug.config": {"XML"},
|
"Web.Debug.config": {"XML"},
|
||||||
|
@ -185,6 +193,7 @@ var LanguagesByFilename = map[string][]string{
|
||||||
"delete.me": {"Text"},
|
"delete.me": {"Text"},
|
||||||
"descrip.mmk": {"Module Management System"},
|
"descrip.mmk": {"Module Management System"},
|
||||||
"descrip.mms": {"Module Management System"},
|
"descrip.mms": {"Module Management System"},
|
||||||
|
"devcontainer.json": {"JSON with Comments"},
|
||||||
"dir_colors": {"dircolors"},
|
"dir_colors": {"dircolors"},
|
||||||
"encodings.dir": {"X Font Directory Index"},
|
"encodings.dir": {"X Font Directory Index"},
|
||||||
"eqnrc": {"Roff"},
|
"eqnrc": {"Roff"},
|
||||||
|
@ -204,10 +213,12 @@ var LanguagesByFilename = map[string][]string{
|
||||||
"haproxy.cfg": {"HAProxy"},
|
"haproxy.cfg": {"HAProxy"},
|
||||||
"httpd.conf": {"ApacheConf"},
|
"httpd.conf": {"ApacheConf"},
|
||||||
"inputrc": {"Readline Config"},
|
"inputrc": {"Readline Config"},
|
||||||
|
"installscript.qs": {"Qt Script"},
|
||||||
"jsconfig.json": {"JSON with Comments"},
|
"jsconfig.json": {"JSON with Comments"},
|
||||||
"keep.me": {"Text"},
|
"keep.me": {"Text"},
|
||||||
"language-configuration.json": {"JSON with Comments"},
|
"language-configuration.json": {"JSON with Comments"},
|
||||||
"ld.script": {"Linker Script"},
|
"ld.script": {"Linker Script"},
|
||||||
|
"lexer.x": {"Lex"},
|
||||||
"login": {"Shell"},
|
"login": {"Shell"},
|
||||||
"m3makefile": {"Quake"},
|
"m3makefile": {"Quake"},
|
||||||
"m3overrides": {"Quake"},
|
"m3overrides": {"Quake"},
|
||||||
|
@ -231,6 +242,7 @@ var LanguagesByFilename = map[string][]string{
|
||||||
"package.use.mask": {"Text"},
|
"package.use.mask": {"Text"},
|
||||||
"package.use.stable.mask": {"Text"},
|
"package.use.stable.mask": {"Text"},
|
||||||
"packages.config": {"XML"},
|
"packages.config": {"XML"},
|
||||||
|
"poetry.lock": {"TOML"},
|
||||||
"pom.xml": {"Maven POM"},
|
"pom.xml": {"Maven POM"},
|
||||||
"profile": {"Shell"},
|
"profile": {"Shell"},
|
||||||
"read.me": {"Text"},
|
"read.me": {"Text"},
|
||||||
|
@ -247,9 +259,11 @@ var LanguagesByFilename = map[string][]string{
|
||||||
"sshd_config": {"SSH Config"},
|
"sshd_config": {"SSH Config"},
|
||||||
"starfield": {"Tcl"},
|
"starfield": {"Tcl"},
|
||||||
"test.me": {"Text"},
|
"test.me": {"Text"},
|
||||||
|
"toolchain_installscript.qs": {"Qt Script"},
|
||||||
"troffrc": {"Roff"},
|
"troffrc": {"Roff"},
|
||||||
"troffrc-end": {"Roff"},
|
"troffrc-end": {"Roff"},
|
||||||
"tsconfig.json": {"JSON with Comments"},
|
"tsconfig.json": {"JSON with Comments"},
|
||||||
|
"tslint.json": {"JSON with Comments"},
|
||||||
"use.mask": {"Text"},
|
"use.mask": {"Text"},
|
||||||
"use.stable.mask": {"Text"},
|
"use.stable.mask": {"Text"},
|
||||||
"vimrc": {"Vim script"},
|
"vimrc": {"Vim script"},
|
||||||
|
|
57681
vendor/github.com/go-enry/go-enry/v2/data/frequencies.go
generated
vendored
57681
vendor/github.com/go-enry/go-enry/v2/data/frequencies.go
generated
vendored
File diff suppressed because it is too large
Load diff
21
vendor/github.com/go-enry/go-enry/v2/data/groups.go
generated
vendored
21
vendor/github.com/go-enry/go-enry/v2/data/groups.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@ var LanguagesGroup = map[string]string{
|
||||||
"Apollo Guidance Computer": "Assembly",
|
"Apollo Guidance Computer": "Assembly",
|
||||||
"BibTeX": "TeX",
|
"BibTeX": "TeX",
|
||||||
"Bison": "Yacc",
|
"Bison": "Yacc",
|
||||||
"Blade": "HTML",
|
|
||||||
"C2hs Haskell": "Haskell",
|
"C2hs Haskell": "Haskell",
|
||||||
"Closure Templates": "HTML",
|
"Closure Templates": "HTML",
|
||||||
"ColdFusion CFC": "ColdFusion",
|
"ColdFusion CFC": "ColdFusion",
|
||||||
|
@ -19,6 +18,8 @@ var LanguagesGroup = map[string]string{
|
||||||
"Ecere Projects": "JavaScript",
|
"Ecere Projects": "JavaScript",
|
||||||
"EditorConfig": "INI",
|
"EditorConfig": "INI",
|
||||||
"Filterscript": "RenderScript",
|
"Filterscript": "RenderScript",
|
||||||
|
"Fortran": "Fortran",
|
||||||
|
"Fortran Free Form": "Fortran",
|
||||||
"Gentoo Ebuild": "Shell",
|
"Gentoo Ebuild": "Shell",
|
||||||
"Gentoo Eclass": "Shell",
|
"Gentoo Eclass": "Shell",
|
||||||
"Git Attributes": "INI",
|
"Git Attributes": "INI",
|
||||||
|
@ -30,8 +31,6 @@ var LanguagesGroup = map[string]string{
|
||||||
"HTML+ERB": "HTML",
|
"HTML+ERB": "HTML",
|
||||||
"HTML+PHP": "HTML",
|
"HTML+PHP": "HTML",
|
||||||
"HTML+Razor": "HTML",
|
"HTML+Razor": "HTML",
|
||||||
"Haml": "HTML",
|
|
||||||
"Handlebars": "HTML",
|
|
||||||
"Ignore List": "INI",
|
"Ignore List": "INI",
|
||||||
"Isabelle ROOT": "Isabelle",
|
"Isabelle ROOT": "Isabelle",
|
||||||
"JFlex": "Lex",
|
"JFlex": "Lex",
|
||||||
|
@ -41,15 +40,14 @@ var LanguagesGroup = map[string]string{
|
||||||
"JavaScript+ERB": "JavaScript",
|
"JavaScript+ERB": "JavaScript",
|
||||||
"Jison": "Yacc",
|
"Jison": "Yacc",
|
||||||
"Jison Lex": "Lex",
|
"Jison Lex": "Lex",
|
||||||
"Latte": "HTML",
|
"Lark": "EBNF",
|
||||||
"Less": "CSS",
|
|
||||||
"Literate Agda": "Agda",
|
"Literate Agda": "Agda",
|
||||||
"Literate CoffeeScript": "CoffeeScript",
|
"Literate CoffeeScript": "CoffeeScript",
|
||||||
"Literate Haskell": "Haskell",
|
"Literate Haskell": "Haskell",
|
||||||
"M4Sugar": "M4",
|
"M4Sugar": "M4",
|
||||||
"MUF": "Forth",
|
"MUF": "Forth",
|
||||||
"Marko": "HTML",
|
|
||||||
"Motorola 68K Assembly": "Assembly",
|
"Motorola 68K Assembly": "Assembly",
|
||||||
|
"Mustache": "HTML",
|
||||||
"NPM Config": "INI",
|
"NPM Config": "INI",
|
||||||
"NumPy": "Python",
|
"NumPy": "Python",
|
||||||
"OpenCL": "C",
|
"OpenCL": "C",
|
||||||
|
@ -58,25 +56,16 @@ var LanguagesGroup = map[string]string{
|
||||||
"Parrot Internal Representation": "Parrot",
|
"Parrot Internal Representation": "Parrot",
|
||||||
"Pic": "Roff",
|
"Pic": "Roff",
|
||||||
"PostCSS": "CSS",
|
"PostCSS": "CSS",
|
||||||
"Pug": "HTML",
|
|
||||||
"Python console": "Python",
|
"Python console": "Python",
|
||||||
"Python traceback": "Python",
|
"Python traceback": "Python",
|
||||||
"RHTML": "HTML",
|
|
||||||
"Readline Config": "INI",
|
"Readline Config": "INI",
|
||||||
"Roff Manpage": "Roff",
|
"Roff Manpage": "Roff",
|
||||||
"SCSS": "CSS",
|
|
||||||
"SSH Config": "INI",
|
"SSH Config": "INI",
|
||||||
"STON": "Smalltalk",
|
"STON": "Smalltalk",
|
||||||
"Sage": "Python",
|
|
||||||
"Sass": "CSS",
|
|
||||||
"Scaml": "HTML",
|
"Scaml": "HTML",
|
||||||
"Slim": "HTML",
|
|
||||||
"Stylus": "CSS",
|
|
||||||
"SugarSS": "CSS",
|
"SugarSS": "CSS",
|
||||||
"Svelte": "HTML",
|
|
||||||
"TSX": "TypeScript",
|
"TSX": "TypeScript",
|
||||||
"Tcsh": "Shell",
|
"Tcsh": "Shell",
|
||||||
"Twig": "HTML",
|
|
||||||
"Unified Parallel C": "C",
|
"Unified Parallel C": "C",
|
||||||
"Unix Assembly": "Assembly",
|
"Unix Assembly": "Assembly",
|
||||||
"Wget Config": "INI",
|
"Wget Config": "INI",
|
||||||
|
|
9
vendor/github.com/go-enry/go-enry/v2/data/interpreter.go
generated
vendored
9
vendor/github.com/go-enry/go-enry/v2/data/interpreter.go
generated
vendored
|
@ -1,9 +1,10 @@
|
||||||
// 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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
var LanguagesByInterpreter = map[string][]string{
|
var LanguagesByInterpreter = map[string][]string{
|
||||||
|
"M2": {"Macaulay2"},
|
||||||
"Rscript": {"R"},
|
"Rscript": {"R"},
|
||||||
"apl": {"APL"},
|
"apl": {"APL"},
|
||||||
"aplx": {"APL"},
|
"aplx": {"APL"},
|
||||||
|
@ -25,6 +26,7 @@ var LanguagesByInterpreter = map[string][]string{
|
||||||
"cvc4": {"SMT"},
|
"cvc4": {"SMT"},
|
||||||
"cwl-runner": {"Common Workflow Language"},
|
"cwl-runner": {"Common Workflow Language"},
|
||||||
"d8": {"JavaScript"},
|
"d8": {"JavaScript"},
|
||||||
|
"dafny": {"Dafny"},
|
||||||
"dart": {"Dart"},
|
"dart": {"Dart"},
|
||||||
"dash": {"Shell"},
|
"dash": {"Shell"},
|
||||||
"deno": {"TypeScript"},
|
"deno": {"TypeScript"},
|
||||||
|
@ -70,8 +72,9 @@ var LanguagesByInterpreter = map[string][]string{
|
||||||
"newlisp": {"NewLisp"},
|
"newlisp": {"NewLisp"},
|
||||||
"nextflow": {"Nextflow"},
|
"nextflow": {"Nextflow"},
|
||||||
"node": {"JavaScript"},
|
"node": {"JavaScript"},
|
||||||
|
"nodejs": {"JavaScript"},
|
||||||
"nush": {"Nu"},
|
"nush": {"Nu"},
|
||||||
"ocaml": {"OCaml", "Reason"},
|
"ocaml": {"OCaml", "ReScript"},
|
||||||
"ocamlrun": {"OCaml"},
|
"ocamlrun": {"OCaml"},
|
||||||
"ocamlscript": {"OCaml"},
|
"ocamlscript": {"OCaml"},
|
||||||
"openrc-run": {"OpenRC runscript"},
|
"openrc-run": {"OpenRC runscript"},
|
||||||
|
@ -103,7 +106,9 @@ var LanguagesByInterpreter = map[string][]string{
|
||||||
"rhino": {"JavaScript"},
|
"rhino": {"JavaScript"},
|
||||||
"ruby": {"Ruby"},
|
"ruby": {"Ruby"},
|
||||||
"rune": {"E"},
|
"rune": {"E"},
|
||||||
|
"runghc": {"Haskell"},
|
||||||
"runhaskell": {"Haskell"},
|
"runhaskell": {"Haskell"},
|
||||||
|
"runhugs": {"Haskell"},
|
||||||
"sbcl": {"Common Lisp"},
|
"sbcl": {"Common Lisp"},
|
||||||
"scala": {"Scala"},
|
"scala": {"Scala"},
|
||||||
"scheme": {"Scheme"},
|
"scheme": {"Scheme"},
|
||||||
|
|
13
vendor/github.com/go-enry/go-enry/v2/data/mimeType.go
generated
vendored
13
vendor/github.com/go-enry/go-enry/v2/data/mimeType.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ var LanguagesMime = map[string]string{
|
||||||
"AGS Script": "text/x-c++src",
|
"AGS Script": "text/x-c++src",
|
||||||
"APL": "text/apl",
|
"APL": "text/apl",
|
||||||
"ASN.1": "text/x-ttcn-asn",
|
"ASN.1": "text/x-ttcn-asn",
|
||||||
"ASP": "application/x-aspx",
|
"ASP.NET": "application/x-aspx",
|
||||||
"Alpine Abuild": "text/x-sh",
|
"Alpine Abuild": "text/x-sh",
|
||||||
"AngelScript": "text/x-c++src",
|
"AngelScript": "text/x-c++src",
|
||||||
"Ant Build System": "application/xml",
|
"Ant Build System": "application/xml",
|
||||||
|
@ -61,6 +61,7 @@ var LanguagesMime = map[string]string{
|
||||||
"Factor": "text/x-factor",
|
"Factor": "text/x-factor",
|
||||||
"Forth": "text/x-forth",
|
"Forth": "text/x-forth",
|
||||||
"Fortran": "text/x-fortran",
|
"Fortran": "text/x-fortran",
|
||||||
|
"Fortran Free Form": "text/x-fortran",
|
||||||
"GCC Machine Description": "text/x-common-lisp",
|
"GCC Machine Description": "text/x-common-lisp",
|
||||||
"GN": "text/x-python",
|
"GN": "text/x-python",
|
||||||
"Game Maker Language": "text/x-c++src",
|
"Game Maker Language": "text/x-c++src",
|
||||||
|
@ -105,12 +106,14 @@ var LanguagesMime = map[string]string{
|
||||||
"JavaScript+ERB": "application/javascript",
|
"JavaScript+ERB": "application/javascript",
|
||||||
"Julia": "text/x-julia",
|
"Julia": "text/x-julia",
|
||||||
"Jupyter Notebook": "application/json",
|
"Jupyter Notebook": "application/json",
|
||||||
|
"Kaitai Struct": "text/x-yaml",
|
||||||
"KiCad Layout": "text/x-common-lisp",
|
"KiCad Layout": "text/x-common-lisp",
|
||||||
"Kit": "text/html",
|
"Kit": "text/html",
|
||||||
"Kotlin": "text/x-kotlin",
|
"Kotlin": "text/x-kotlin",
|
||||||
"LFE": "text/x-common-lisp",
|
"LFE": "text/x-common-lisp",
|
||||||
"LTspice Symbol": "text/x-spreadsheet",
|
"LTspice Symbol": "text/x-spreadsheet",
|
||||||
"LabVIEW": "text/xml",
|
"LabVIEW": "text/xml",
|
||||||
|
"Lark": "text/x-ebnf",
|
||||||
"Latte": "text/x-smarty",
|
"Latte": "text/x-smarty",
|
||||||
"Less": "text/css",
|
"Less": "text/css",
|
||||||
"Literate Haskell": "text/x-literate-haskell",
|
"Literate Haskell": "text/x-literate-haskell",
|
||||||
|
@ -130,7 +133,9 @@ var LanguagesMime = map[string]string{
|
||||||
"Metal": "text/x-c++src",
|
"Metal": "text/x-c++src",
|
||||||
"Mirah": "text/x-ruby",
|
"Mirah": "text/x-ruby",
|
||||||
"Modelica": "text/x-modelica",
|
"Modelica": "text/x-modelica",
|
||||||
|
"Mustache": "text/x-smarty",
|
||||||
"NSIS": "text/x-nsis",
|
"NSIS": "text/x-nsis",
|
||||||
|
"NWScript": "text/x-csrc",
|
||||||
"NetLogo": "text/x-common-lisp",
|
"NetLogo": "text/x-common-lisp",
|
||||||
"NewLisp": "text/x-common-lisp",
|
"NewLisp": "text/x-common-lisp",
|
||||||
"Nginx": "text/x-nginx-conf",
|
"Nginx": "text/x-nginx-conf",
|
||||||
|
@ -156,12 +161,13 @@ var LanguagesMime = map[string]string{
|
||||||
"Puppet": "text/x-puppet",
|
"Puppet": "text/x-puppet",
|
||||||
"PureScript": "text/x-haskell",
|
"PureScript": "text/x-haskell",
|
||||||
"Python": "text/x-python",
|
"Python": "text/x-python",
|
||||||
|
"Qt Script": "text/javascript",
|
||||||
"R": "text/x-rsrc",
|
"R": "text/x-rsrc",
|
||||||
"RAML": "text/x-yaml",
|
"RAML": "text/x-yaml",
|
||||||
"RHTML": "application/x-erb",
|
|
||||||
"RMarkdown": "text/x-gfm",
|
"RMarkdown": "text/x-gfm",
|
||||||
"RPM Spec": "text/x-rpm-spec",
|
"RPM Spec": "text/x-rpm-spec",
|
||||||
"Raku": "text/x-perl",
|
"Raku": "text/x-perl",
|
||||||
|
"ReScript": "text/x-rustsrc",
|
||||||
"Reason": "text/x-rustsrc",
|
"Reason": "text/x-rustsrc",
|
||||||
"Roff": "text/troff",
|
"Roff": "text/troff",
|
||||||
"Roff Manpage": "text/troff",
|
"Roff Manpage": "text/troff",
|
||||||
|
@ -183,6 +189,7 @@ var LanguagesMime = map[string]string{
|
||||||
"Scheme": "text/x-scheme",
|
"Scheme": "text/x-scheme",
|
||||||
"Shell": "text/x-sh",
|
"Shell": "text/x-sh",
|
||||||
"ShellSession": "text/x-sh",
|
"ShellSession": "text/x-sh",
|
||||||
|
"Sieve": "application/sieve",
|
||||||
"Slim": "text/x-slim",
|
"Slim": "text/x-slim",
|
||||||
"Smalltalk": "text/x-stsrc",
|
"Smalltalk": "text/x-stsrc",
|
||||||
"Smarty": "text/x-smarty",
|
"Smarty": "text/x-smarty",
|
||||||
|
|
25
vendor/github.com/go-enry/go-enry/v2/data/type.go
generated
vendored
25
vendor/github.com/go-enry/go-enry/v2/data/type.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -9,12 +9,14 @@ var LanguagesType = map[string]int{
|
||||||
"ABAP": 2,
|
"ABAP": 2,
|
||||||
"ABNF": 1,
|
"ABNF": 1,
|
||||||
"AGS Script": 2,
|
"AGS Script": 2,
|
||||||
|
"AL": 2,
|
||||||
"AMPL": 2,
|
"AMPL": 2,
|
||||||
"ANTLR": 2,
|
"ANTLR": 2,
|
||||||
"API Blueprint": 3,
|
"API Blueprint": 3,
|
||||||
"APL": 2,
|
"APL": 2,
|
||||||
|
"ASL": 2,
|
||||||
"ASN.1": 1,
|
"ASN.1": 1,
|
||||||
"ASP": 2,
|
"ASP.NET": 2,
|
||||||
"ATS": 2,
|
"ATS": 2,
|
||||||
"ActionScript": 2,
|
"ActionScript": 2,
|
||||||
"Ada": 2,
|
"Ada": 2,
|
||||||
|
@ -37,6 +39,7 @@ var LanguagesType = map[string]int{
|
||||||
"Augeas": 2,
|
"Augeas": 2,
|
||||||
"AutoHotkey": 2,
|
"AutoHotkey": 2,
|
||||||
"AutoIt": 2,
|
"AutoIt": 2,
|
||||||
|
"Avro IDL": 1,
|
||||||
"Awk": 2,
|
"Awk": 2,
|
||||||
"Ballerina": 2,
|
"Ballerina": 2,
|
||||||
"Batchfile": 2,
|
"Batchfile": 2,
|
||||||
|
@ -73,6 +76,7 @@ var LanguagesType = map[string]int{
|
||||||
"ChucK": 2,
|
"ChucK": 2,
|
||||||
"Cirru": 2,
|
"Cirru": 2,
|
||||||
"Clarion": 2,
|
"Clarion": 2,
|
||||||
|
"Classic ASP": 2,
|
||||||
"Clean": 2,
|
"Clean": 2,
|
||||||
"Click": 2,
|
"Click": 2,
|
||||||
"Clojure": 2,
|
"Clojure": 2,
|
||||||
|
@ -103,6 +107,7 @@ var LanguagesType = map[string]int{
|
||||||
"DM": 2,
|
"DM": 2,
|
||||||
"DNS Zone": 1,
|
"DNS Zone": 1,
|
||||||
"DTrace": 2,
|
"DTrace": 2,
|
||||||
|
"Dafny": 2,
|
||||||
"Darcs Patch": 1,
|
"Darcs Patch": 1,
|
||||||
"Dart": 2,
|
"Dart": 2,
|
||||||
"DataWeave": 2,
|
"DataWeave": 2,
|
||||||
|
@ -143,8 +148,10 @@ var LanguagesType = map[string]int{
|
||||||
"Formatted": 1,
|
"Formatted": 1,
|
||||||
"Forth": 2,
|
"Forth": 2,
|
||||||
"Fortran": 2,
|
"Fortran": 2,
|
||||||
|
"Fortran Free Form": 2,
|
||||||
"FreeMarker": 2,
|
"FreeMarker": 2,
|
||||||
"Frege": 2,
|
"Frege": 2,
|
||||||
|
"Futhark": 2,
|
||||||
"G-code": 2,
|
"G-code": 2,
|
||||||
"GAML": 2,
|
"GAML": 2,
|
||||||
"GAMS": 2,
|
"GAMS": 2,
|
||||||
|
@ -152,6 +159,7 @@ var LanguagesType = map[string]int{
|
||||||
"GCC Machine Description": 2,
|
"GCC Machine Description": 2,
|
||||||
"GDB": 2,
|
"GDB": 2,
|
||||||
"GDScript": 2,
|
"GDScript": 2,
|
||||||
|
"GEDCOM": 1,
|
||||||
"GLSL": 2,
|
"GLSL": 2,
|
||||||
"GN": 1,
|
"GN": 1,
|
||||||
"Game Maker Language": 2,
|
"Game Maker Language": 2,
|
||||||
|
@ -233,6 +241,7 @@ var LanguagesType = map[string]int{
|
||||||
"Julia": 2,
|
"Julia": 2,
|
||||||
"Jupyter Notebook": 3,
|
"Jupyter Notebook": 3,
|
||||||
"KRL": 2,
|
"KRL": 2,
|
||||||
|
"Kaitai Struct": 2,
|
||||||
"KiCad Layout": 1,
|
"KiCad Layout": 1,
|
||||||
"KiCad Legacy Layout": 1,
|
"KiCad Legacy Layout": 1,
|
||||||
"KiCad Schematic": 1,
|
"KiCad Schematic": 1,
|
||||||
|
@ -244,6 +253,7 @@ var LanguagesType = map[string]int{
|
||||||
"LSL": 2,
|
"LSL": 2,
|
||||||
"LTspice Symbol": 1,
|
"LTspice Symbol": 1,
|
||||||
"LabVIEW": 2,
|
"LabVIEW": 2,
|
||||||
|
"Lark": 1,
|
||||||
"Lasso": 2,
|
"Lasso": 2,
|
||||||
"Latte": 3,
|
"Latte": 3,
|
||||||
"Lean": 2,
|
"Lean": 2,
|
||||||
|
@ -273,6 +283,7 @@ var LanguagesType = map[string]int{
|
||||||
"MQL5": 2,
|
"MQL5": 2,
|
||||||
"MTML": 3,
|
"MTML": 3,
|
||||||
"MUF": 2,
|
"MUF": 2,
|
||||||
|
"Macaulay2": 2,
|
||||||
"Makefile": 2,
|
"Makefile": 2,
|
||||||
"Mako": 2,
|
"Mako": 2,
|
||||||
"Markdown": 4,
|
"Markdown": 4,
|
||||||
|
@ -297,12 +308,15 @@ var LanguagesType = map[string]int{
|
||||||
"MoonScript": 2,
|
"MoonScript": 2,
|
||||||
"Motorola 68K Assembly": 2,
|
"Motorola 68K Assembly": 2,
|
||||||
"Muse": 4,
|
"Muse": 4,
|
||||||
|
"Mustache": 3,
|
||||||
"Myghty": 2,
|
"Myghty": 2,
|
||||||
"NASL": 2,
|
"NASL": 2,
|
||||||
"NCL": 2,
|
"NCL": 2,
|
||||||
|
"NEON": 1,
|
||||||
"NL": 1,
|
"NL": 1,
|
||||||
"NPM Config": 1,
|
"NPM Config": 1,
|
||||||
"NSIS": 2,
|
"NSIS": 2,
|
||||||
|
"NWScript": 2,
|
||||||
"Nearley": 2,
|
"Nearley": 2,
|
||||||
"Nemerle": 2,
|
"Nemerle": 2,
|
||||||
"NetLinx": 2,
|
"NetLinx": 2,
|
||||||
|
@ -383,15 +397,16 @@ var LanguagesType = map[string]int{
|
||||||
"Python": 2,
|
"Python": 2,
|
||||||
"Python console": 2,
|
"Python console": 2,
|
||||||
"Python traceback": 1,
|
"Python traceback": 1,
|
||||||
|
"Q#": 2,
|
||||||
"QML": 2,
|
"QML": 2,
|
||||||
"QMake": 2,
|
"QMake": 2,
|
||||||
|
"Qt Script": 2,
|
||||||
"Quake": 2,
|
"Quake": 2,
|
||||||
"R": 2,
|
"R": 2,
|
||||||
"RAML": 3,
|
"RAML": 3,
|
||||||
"RDoc": 4,
|
"RDoc": 4,
|
||||||
"REALbasic": 2,
|
"REALbasic": 2,
|
||||||
"REXX": 2,
|
"REXX": 2,
|
||||||
"RHTML": 3,
|
|
||||||
"RMarkdown": 4,
|
"RMarkdown": 4,
|
||||||
"RPC": 2,
|
"RPC": 2,
|
||||||
"RPM Spec": 1,
|
"RPM Spec": 1,
|
||||||
|
@ -401,6 +416,7 @@ var LanguagesType = map[string]int{
|
||||||
"Raku": 2,
|
"Raku": 2,
|
||||||
"Rascal": 2,
|
"Rascal": 2,
|
||||||
"Raw token data": 1,
|
"Raw token data": 1,
|
||||||
|
"ReScript": 2,
|
||||||
"Readline Config": 1,
|
"Readline Config": 1,
|
||||||
"Reason": 2,
|
"Reason": 2,
|
||||||
"Rebol": 2,
|
"Rebol": 2,
|
||||||
|
@ -442,6 +458,7 @@ var LanguagesType = map[string]int{
|
||||||
"Shell": 2,
|
"Shell": 2,
|
||||||
"ShellSession": 2,
|
"ShellSession": 2,
|
||||||
"Shen": 2,
|
"Shen": 2,
|
||||||
|
"Sieve": 2,
|
||||||
"Slash": 2,
|
"Slash": 2,
|
||||||
"Slice": 2,
|
"Slice": 2,
|
||||||
"Slim": 3,
|
"Slim": 3,
|
||||||
|
@ -468,6 +485,7 @@ var LanguagesType = map[string]int{
|
||||||
"TLA": 2,
|
"TLA": 2,
|
||||||
"TOML": 1,
|
"TOML": 1,
|
||||||
"TSQL": 2,
|
"TSQL": 2,
|
||||||
|
"TSV": 1,
|
||||||
"TSX": 2,
|
"TSX": 2,
|
||||||
"TXL": 2,
|
"TXL": 2,
|
||||||
"Tcl": 2,
|
"Tcl": 2,
|
||||||
|
@ -497,6 +515,7 @@ var LanguagesType = map[string]int{
|
||||||
"VHDL": 2,
|
"VHDL": 2,
|
||||||
"Vala": 2,
|
"Vala": 2,
|
||||||
"Verilog": 2,
|
"Verilog": 2,
|
||||||
|
"Vim Help File": 4,
|
||||||
"Vim Snippet": 3,
|
"Vim Snippet": 3,
|
||||||
"Vim script": 2,
|
"Vim script": 2,
|
||||||
"Visual Basic .NET": 2,
|
"Visual Basic .NET": 2,
|
||||||
|
|
126
vendor/github.com/go-enry/go-enry/v2/data/vendor.go
generated
vendored
126
vendor/github.com/go-enry/go-enry/v2/data/vendor.go
generated
vendored
|
@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
|
@ -11,25 +11,29 @@ var VendorMatchers = []regex.EnryRegexp{
|
||||||
regex.MustCompile(`(^|/)dist/`),
|
regex.MustCompile(`(^|/)dist/`),
|
||||||
regex.MustCompile(`^deps/`),
|
regex.MustCompile(`^deps/`),
|
||||||
regex.MustCompile(`(^|/)configure$`),
|
regex.MustCompile(`(^|/)configure$`),
|
||||||
regex.MustCompile(`(^|/)config.guess$`),
|
regex.MustCompile(`(^|/)config\.guess$`),
|
||||||
regex.MustCompile(`(^|/)config.sub$`),
|
regex.MustCompile(`(^|/)config\.sub$`),
|
||||||
regex.MustCompile(`(^|/)aclocal.m4`),
|
regex.MustCompile(`(^|/)aclocal\.m4`),
|
||||||
regex.MustCompile(`(^|/)libtool.m4`),
|
regex.MustCompile(`(^|/)libtool\.m4`),
|
||||||
regex.MustCompile(`(^|/)ltoptions.m4`),
|
regex.MustCompile(`(^|/)ltoptions\.m4`),
|
||||||
regex.MustCompile(`(^|/)ltsugar.m4`),
|
regex.MustCompile(`(^|/)ltsugar\.m4`),
|
||||||
regex.MustCompile(`(^|/)ltversion.m4`),
|
regex.MustCompile(`(^|/)ltversion\.m4`),
|
||||||
regex.MustCompile(`(^|/)lt~obsolete.m4`),
|
regex.MustCompile(`(^|/)lt~obsolete\.m4`),
|
||||||
regex.MustCompile(`dotnet-install\.(ps1|sh)$`),
|
regex.MustCompile(`(^|/)dotnet-install\.(ps1|sh)$`),
|
||||||
regex.MustCompile(`cpplint.py`),
|
regex.MustCompile(`(^|/)cpplint\.py`),
|
||||||
regex.MustCompile(`node_modules/`),
|
regex.MustCompile(`(^|/)node_modules/`),
|
||||||
regex.MustCompile(`(^|/)\.yarn/releases/`),
|
regex.MustCompile(`(^|/)\.yarn/releases/`),
|
||||||
|
regex.MustCompile(`(^|/)\.yarn/plugins/`),
|
||||||
|
regex.MustCompile(`(^|/)\.yarn/sdks/`),
|
||||||
|
regex.MustCompile(`(^|/)\.yarn/versions/`),
|
||||||
|
regex.MustCompile(`(^|/)\.yarn/unplugged/`),
|
||||||
regex.MustCompile(`(^|/)_esy$`),
|
regex.MustCompile(`(^|/)_esy$`),
|
||||||
regex.MustCompile(`bower_components/`),
|
regex.MustCompile(`(^|/)bower_components/`),
|
||||||
regex.MustCompile(`^rebar$`),
|
regex.MustCompile(`^rebar$`),
|
||||||
regex.MustCompile(`erlang.mk`),
|
regex.MustCompile(`(^|/)erlang\.mk`),
|
||||||
regex.MustCompile(`Godeps/_workspace/`),
|
regex.MustCompile(`(^|/)Godeps/_workspace/`),
|
||||||
regex.MustCompile(`(^|/)testdata/`),
|
regex.MustCompile(`(^|/)testdata/`),
|
||||||
regex.MustCompile(`.indent.pro`),
|
regex.MustCompile(`(^|/)\.indent\.pro`),
|
||||||
regex.MustCompile(`(\.|-)min\.(js|css)$`),
|
regex.MustCompile(`(\.|-)min\.(js|css)$`),
|
||||||
regex.MustCompile(`([^\s]*)import\.(css|less|scss|styl)$`),
|
regex.MustCompile(`([^\s]*)import\.(css|less|scss|styl)$`),
|
||||||
regex.MustCompile(`(^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$`),
|
regex.MustCompile(`(^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$`),
|
||||||
|
@ -45,34 +49,34 @@ var VendorMatchers = []regex.EnryRegexp{
|
||||||
regex.MustCompile(`(^|/)select2/.*\.(css|scss|js)$`),
|
regex.MustCompile(`(^|/)select2/.*\.(css|scss|js)$`),
|
||||||
regex.MustCompile(`(^|/)bulma\.(css|sass|scss)$`),
|
regex.MustCompile(`(^|/)bulma\.(css|sass|scss)$`),
|
||||||
regex.MustCompile(`(3rd|[Tt]hird)[-_]?[Pp]arty/`),
|
regex.MustCompile(`(3rd|[Tt]hird)[-_]?[Pp]arty/`),
|
||||||
regex.MustCompile(`vendors?/`),
|
regex.MustCompile(`(^|/)vendors?/`),
|
||||||
regex.MustCompile(`extern(al)?/`),
|
regex.MustCompile(`(^|/)extern(al)?/`),
|
||||||
regex.MustCompile(`(^|/)[Vv]+endor/`),
|
regex.MustCompile(`(^|/)[Vv]+endor/`),
|
||||||
regex.MustCompile(`^debian/`),
|
regex.MustCompile(`^debian/`),
|
||||||
regex.MustCompile(`run.n$`),
|
regex.MustCompile(`(^|/)run\.n$`),
|
||||||
regex.MustCompile(`bootstrap-datepicker/`),
|
regex.MustCompile(`(^|/)bootstrap-datepicker/`),
|
||||||
regex.MustCompile(`(^|/)jquery([^.]*)\.js$`),
|
regex.MustCompile(`(^|/)jquery([^.]*)\.js$`),
|
||||||
regex.MustCompile(`(^|/)jquery\-\d\.\d+(\.\d+)?\.js$`),
|
regex.MustCompile(`(^|/)jquery\-\d\.\d+(\.\d+)?\.js$`),
|
||||||
regex.MustCompile(`(^|/)jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$`),
|
regex.MustCompile(`(^|/)jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$`),
|
||||||
regex.MustCompile(`(^|/)jquery\.(ui|effects)\.([^.]*)\.(js|css)$`),
|
regex.MustCompile(`(^|/)jquery\.(ui|effects)\.([^.]*)\.(js|css)$`),
|
||||||
regex.MustCompile(`jquery.fn.gantt.js`),
|
regex.MustCompile(`(^|/)jquery\.fn\.gantt\.js`),
|
||||||
regex.MustCompile(`jquery.fancybox.(js|css)`),
|
regex.MustCompile(`(^|/)jquery\.fancybox\.(js|css)`),
|
||||||
regex.MustCompile(`fuelux.js`),
|
regex.MustCompile(`(^|/)fuelux\.js`),
|
||||||
regex.MustCompile(`(^|/)jquery\.fileupload(-\w+)?\.js$`),
|
regex.MustCompile(`(^|/)jquery\.fileupload(-\w+)?\.js$`),
|
||||||
regex.MustCompile(`jquery.dataTables.js`),
|
regex.MustCompile(`(^|/)jquery\.dataTables\.js`),
|
||||||
regex.MustCompile(`bootbox.js`),
|
regex.MustCompile(`(^|/)bootbox\.js`),
|
||||||
regex.MustCompile(`pdf.worker.js`),
|
regex.MustCompile(`(^|/)pdf\.worker\.js`),
|
||||||
regex.MustCompile(`(^|/)slick\.\w+.js$`),
|
regex.MustCompile(`(^|/)slick\.\w+.js$`),
|
||||||
regex.MustCompile(`(^|/)Leaflet\.Coordinates-\d+\.\d+\.\d+\.src\.js$`),
|
regex.MustCompile(`(^|/)Leaflet\.Coordinates-\d+\.\d+\.\d+\.src\.js$`),
|
||||||
regex.MustCompile(`leaflet.draw-src.js`),
|
regex.MustCompile(`(^|/)leaflet\.draw-src\.js`),
|
||||||
regex.MustCompile(`leaflet.draw.css`),
|
regex.MustCompile(`(^|/)leaflet\.draw\.css`),
|
||||||
regex.MustCompile(`Control.FullScreen.css`),
|
regex.MustCompile(`(^|/)Control\.FullScreen\.css`),
|
||||||
regex.MustCompile(`Control.FullScreen.js`),
|
regex.MustCompile(`(^|/)Control\.FullScreen\.js`),
|
||||||
regex.MustCompile(`leaflet.spin.js`),
|
regex.MustCompile(`(^|/)leaflet\.spin\.js`),
|
||||||
regex.MustCompile(`wicket-leaflet.js`),
|
regex.MustCompile(`(^|/)wicket-leaflet\.js`),
|
||||||
regex.MustCompile(`.sublime-project`),
|
regex.MustCompile(`(^|/)\.sublime-project`),
|
||||||
regex.MustCompile(`.sublime-workspace`),
|
regex.MustCompile(`(^|/)\.sublime-workspace`),
|
||||||
regex.MustCompile(`.vscode`),
|
regex.MustCompile(`(^|/)\.vscode/`),
|
||||||
regex.MustCompile(`(^|/)prototype(.*)\.js$`),
|
regex.MustCompile(`(^|/)prototype(.*)\.js$`),
|
||||||
regex.MustCompile(`(^|/)effects\.js$`),
|
regex.MustCompile(`(^|/)effects\.js$`),
|
||||||
regex.MustCompile(`(^|/)controls\.js$`),
|
regex.MustCompile(`(^|/)controls\.js$`),
|
||||||
|
@ -104,21 +108,21 @@ var VendorMatchers = []regex.EnryRegexp{
|
||||||
regex.MustCompile(`(^|/)docs?/_?(build|themes?|templates?|static)/`),
|
regex.MustCompile(`(^|/)docs?/_?(build|themes?|templates?|static)/`),
|
||||||
regex.MustCompile(`(^|/)admin_media/`),
|
regex.MustCompile(`(^|/)admin_media/`),
|
||||||
regex.MustCompile(`(^|/)env/`),
|
regex.MustCompile(`(^|/)env/`),
|
||||||
regex.MustCompile(`^fabfile\.py$`),
|
regex.MustCompile(`(^|/)fabfile\.py$`),
|
||||||
regex.MustCompile(`^waf$`),
|
regex.MustCompile(`(^|/)waf$`),
|
||||||
regex.MustCompile(`^.osx$`),
|
regex.MustCompile(`(^|/)\.osx$`),
|
||||||
regex.MustCompile(`\.xctemplate/`),
|
regex.MustCompile(`\.xctemplate/`),
|
||||||
regex.MustCompile(`\.imageset/`),
|
regex.MustCompile(`\.imageset/`),
|
||||||
regex.MustCompile(`(^|/)Carthage/`),
|
regex.MustCompile(`(^|/)Carthage/`),
|
||||||
regex.MustCompile(`(^|/)Sparkle/`),
|
regex.MustCompile(`(^|/)Sparkle/`),
|
||||||
regex.MustCompile(`Crashlytics.framework/`),
|
regex.MustCompile(`(^|/)Crashlytics\.framework/`),
|
||||||
regex.MustCompile(`Fabric.framework/`),
|
regex.MustCompile(`(^|/)Fabric\.framework/`),
|
||||||
regex.MustCompile(`BuddyBuildSDK.framework/`),
|
regex.MustCompile(`(^|/)BuddyBuildSDK\.framework/`),
|
||||||
regex.MustCompile(`Realm.framework`),
|
regex.MustCompile(`(^|/)Realm\.framework`),
|
||||||
regex.MustCompile(`RealmSwift.framework`),
|
regex.MustCompile(`(^|/)RealmSwift\.framework`),
|
||||||
regex.MustCompile(`gitattributes$`),
|
regex.MustCompile(`(^|/)\.gitattributes$`),
|
||||||
regex.MustCompile(`gitignore$`),
|
regex.MustCompile(`(^|/)\.gitignore$`),
|
||||||
regex.MustCompile(`gitmodules$`),
|
regex.MustCompile(`(^|/)\.gitmodules$`),
|
||||||
regex.MustCompile(`(^|/)gradlew$`),
|
regex.MustCompile(`(^|/)gradlew$`),
|
||||||
regex.MustCompile(`(^|/)gradlew\.bat$`),
|
regex.MustCompile(`(^|/)gradlew\.bat$`),
|
||||||
regex.MustCompile(`(^|/)gradle/wrapper/`),
|
regex.MustCompile(`(^|/)gradle/wrapper/`),
|
||||||
|
@ -130,13 +134,13 @@ var VendorMatchers = []regex.EnryRegexp{
|
||||||
regex.MustCompile(`(^|/)jquery([^.]*)\.validate(\.unobtrusive)?\.js$`),
|
regex.MustCompile(`(^|/)jquery([^.]*)\.validate(\.unobtrusive)?\.js$`),
|
||||||
regex.MustCompile(`(^|/)jquery([^.]*)\.unobtrusive\-ajax\.js$`),
|
regex.MustCompile(`(^|/)jquery([^.]*)\.unobtrusive\-ajax\.js$`),
|
||||||
regex.MustCompile(`(^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$`),
|
regex.MustCompile(`(^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$`),
|
||||||
regex.MustCompile(`^[Pp]ackages\/.+\.\d+\/`),
|
regex.MustCompile(`(^|/)[Pp]ackages\/.+\.\d+\/`),
|
||||||
regex.MustCompile(`(^|/)extjs/.*?\.js$`),
|
regex.MustCompile(`(^|/)extjs/.*?\.js$`),
|
||||||
regex.MustCompile(`(^|/)extjs/.*?\.xml$`),
|
regex.MustCompile(`(^|/)extjs/.*?\.xml$`),
|
||||||
regex.MustCompile(`(^|/)extjs/.*?\.txt$`),
|
regex.MustCompile(`(^|/)extjs/.*?\.txt$`),
|
||||||
regex.MustCompile(`(^|/)extjs/.*?\.html$`),
|
regex.MustCompile(`(^|/)extjs/.*?\.html$`),
|
||||||
regex.MustCompile(`(^|/)extjs/.*?\.properties$`),
|
regex.MustCompile(`(^|/)extjs/.*?\.properties$`),
|
||||||
regex.MustCompile(`(^|/)extjs/.sencha/`),
|
regex.MustCompile(`(^|/)extjs/\.sencha/`),
|
||||||
regex.MustCompile(`(^|/)extjs/docs/`),
|
regex.MustCompile(`(^|/)extjs/docs/`),
|
||||||
regex.MustCompile(`(^|/)extjs/builds/`),
|
regex.MustCompile(`(^|/)extjs/builds/`),
|
||||||
regex.MustCompile(`(^|/)extjs/cmd/`),
|
regex.MustCompile(`(^|/)extjs/cmd/`),
|
||||||
|
@ -148,22 +152,22 @@ var VendorMatchers = []regex.EnryRegexp{
|
||||||
regex.MustCompile(`(^|/)extjs/src/`),
|
regex.MustCompile(`(^|/)extjs/src/`),
|
||||||
regex.MustCompile(`(^|/)extjs/welcome/`),
|
regex.MustCompile(`(^|/)extjs/welcome/`),
|
||||||
regex.MustCompile(`(^|/)html5shiv\.js$`),
|
regex.MustCompile(`(^|/)html5shiv\.js$`),
|
||||||
regex.MustCompile(`^[Tt]ests?/fixtures/`),
|
regex.MustCompile(`(^|/)[Tt]ests?/fixtures/`),
|
||||||
regex.MustCompile(`^[Ss]pecs?/fixtures/`),
|
regex.MustCompile(`(^|/)[Ss]pecs?/fixtures/`),
|
||||||
regex.MustCompile(`(^|/)cordova([^.]*)\.js$`),
|
regex.MustCompile(`(^|/)cordova([^.]*)\.js$`),
|
||||||
regex.MustCompile(`(^|/)cordova\-\d\.\d(\.\d)?\.js$`),
|
regex.MustCompile(`(^|/)cordova\-\d\.\d(\.\d)?\.js$`),
|
||||||
regex.MustCompile(`foundation(\..*)?\.js$`),
|
regex.MustCompile(`(^|/)foundation(\..*)?\.js$`),
|
||||||
regex.MustCompile(`^Vagrantfile$`),
|
regex.MustCompile(`(^|/)Vagrantfile$`),
|
||||||
regex.MustCompile(`.[Dd][Ss]_[Ss]tore$`),
|
regex.MustCompile(`(^|/)\.[Dd][Ss]_[Ss]tore$`),
|
||||||
regex.MustCompile(`^vignettes/`),
|
regex.MustCompile(`(^|/)vignettes/`),
|
||||||
regex.MustCompile(`^inst/extdata/`),
|
regex.MustCompile(`(^|/)inst/extdata/`),
|
||||||
regex.MustCompile(`octicons.css`),
|
regex.MustCompile(`(^|/)octicons\.css`),
|
||||||
regex.MustCompile(`sprockets-octicons.scss`),
|
regex.MustCompile(`(^|/)sprockets-octicons\.scss`),
|
||||||
regex.MustCompile(`(^|/)activator$`),
|
regex.MustCompile(`(^|/)activator$`),
|
||||||
regex.MustCompile(`(^|/)activator\.bat$`),
|
regex.MustCompile(`(^|/)activator\.bat$`),
|
||||||
regex.MustCompile(`proguard.pro`),
|
regex.MustCompile(`(^|/)proguard\.pro$`),
|
||||||
regex.MustCompile(`proguard-rules.pro`),
|
regex.MustCompile(`(^|/)proguard-rules\.pro$`),
|
||||||
regex.MustCompile(`^puphpet/`),
|
regex.MustCompile(`(^|/)puphpet/`),
|
||||||
regex.MustCompile(`(^|/)\.google_apis/`),
|
regex.MustCompile(`(^|/)\.google_apis/`),
|
||||||
regex.MustCompile(`^Jenkinsfile$`),
|
regex.MustCompile(`(^|/)Jenkinsfile$`),
|
||||||
}
|
}
|
||||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -273,7 +273,7 @@ github.com/go-asn1-ber/asn1-ber
|
||||||
## explicit
|
## explicit
|
||||||
github.com/go-chi/chi
|
github.com/go-chi/chi
|
||||||
github.com/go-chi/chi/middleware
|
github.com/go-chi/chi/middleware
|
||||||
# github.com/go-enry/go-enry/v2 v2.5.2
|
# github.com/go-enry/go-enry/v2 v2.6.0
|
||||||
## explicit
|
## explicit
|
||||||
github.com/go-enry/go-enry/v2
|
github.com/go-enry/go-enry/v2
|
||||||
github.com/go-enry/go-enry/v2/data
|
github.com/go-enry/go-enry/v2/data
|
||||||
|
|
Loading…
Reference in a new issue