mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-12-05 00:00:34 +00:00
Updated Linguist to v7.28.0
This commit is contained in:
parent
40f2a1e5b9
commit
c5be903c6f
@ -156,7 +156,7 @@ Generated Rust bindings using a C static library are available at https://github
|
||||
|
||||
## Divergences from Linguist
|
||||
|
||||
The `enry` library is based on the data from `github/linguist` version **v7.27.0**.
|
||||
The `enry` library is based on the data from `github/linguist` version **v7.28.0**.
|
||||
|
||||
Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist:
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -265,6 +265,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"ecmarkdown": "Ecmarkup",
|
||||
"ecmarkup": "Ecmarkup",
|
||||
"ecr": "HTML+ECR",
|
||||
"edgeql": "EdgeQL",
|
||||
"editor-config": "EditorConfig",
|
||||
"editorconfig": "EditorConfig",
|
||||
"edje_data_collection": "Edje Data Collection",
|
||||
@ -287,6 +288,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"eq": "EQ",
|
||||
"erb": "HTML+ERB",
|
||||
"erlang": "Erlang",
|
||||
"esdl": "EdgeQL",
|
||||
"euphoria": "Euphoria",
|
||||
"f#": "F#",
|
||||
"f*": "F*",
|
||||
@ -330,8 +332,8 @@ var LanguageByAliasMap = map[string]string{
|
||||
"gemfile.lock": "Gemfile.lock",
|
||||
"gemini": "Gemini",
|
||||
"gemtext": "Gemini",
|
||||
"genero": "Genero",
|
||||
"genero_forms": "Genero Forms",
|
||||
"genero_4gl": "Genero 4gl",
|
||||
"genero_per": "Genero per",
|
||||
"genie": "Genie",
|
||||
"genshi": "Genshi",
|
||||
"gentoo_ebuild": "Gentoo Ebuild",
|
||||
@ -351,6 +353,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"gitignore": "Ignore List",
|
||||
"gitmodules": "Git Config",
|
||||
"gleam": "Gleam",
|
||||
"glimmer_js": "Glimmer JS",
|
||||
"glsl": "GLSL",
|
||||
"glyph": "Glyph",
|
||||
"glyph_bitmap_distribution_format": "Glyph Bitmap Distribution Format",
|
||||
@ -506,6 +509,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"latex": "TeX",
|
||||
"latte": "Latte",
|
||||
"lean": "Lean",
|
||||
"lean_4": "Lean 4",
|
||||
"leex": "HTML+EEX",
|
||||
"less": "Less",
|
||||
"less-css": "Less",
|
||||
@ -741,6 +745,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"povray": "POV-Ray SDL",
|
||||
"powerbuilder": "PowerBuilder",
|
||||
"powershell": "PowerShell",
|
||||
"praat": "Praat",
|
||||
"prisma": "Prisma",
|
||||
"processing": "Processing",
|
||||
"procfile": "Procfile",
|
||||
@ -930,6 +935,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"tea": "Tea",
|
||||
"terra": "Terra",
|
||||
"terraform": "HCL",
|
||||
"terraform_template": "Terraform Template",
|
||||
"tex": "TeX",
|
||||
"texinfo": "Texinfo",
|
||||
"text": "Text",
|
||||
@ -942,6 +948,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"tl-verilog": "TL-Verilog",
|
||||
"tla": "TLA",
|
||||
"tm-properties": "TextMate Properties",
|
||||
"toit": "Toit",
|
||||
"toml": "TOML",
|
||||
"topojson": "JSON",
|
||||
"troff": "Roff",
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -135,6 +135,7 @@ var LanguagesColor = map[string]string{
|
||||
"Easybuild": "#069406",
|
||||
"Ecere Projects": "#913960",
|
||||
"Ecmarkup": "#eb8131",
|
||||
"EdgeQL": "#31A7FF",
|
||||
"EditorConfig": "#fff1f2",
|
||||
"Eiffel": "#4d6977",
|
||||
"Elixir": "#6e4a7e",
|
||||
@ -175,8 +176,8 @@ var LanguagesColor = map[string]string{
|
||||
"Game Maker Language": "#71b417",
|
||||
"Gemfile.lock": "#701516",
|
||||
"Gemini": "#ff6900",
|
||||
"Genero": "#63408e",
|
||||
"Genero Forms": "#d8df39",
|
||||
"Genero 4gl": "#63408e",
|
||||
"Genero per": "#d8df39",
|
||||
"Genie": "#fb855d",
|
||||
"Genshi": "#951531",
|
||||
"Gentoo Ebuild": "#9400ff",
|
||||
@ -187,6 +188,7 @@ var LanguagesColor = map[string]string{
|
||||
"Git Config": "#F44D27",
|
||||
"Git Revision List": "#F44D27",
|
||||
"Gleam": "#ffaff3",
|
||||
"Glimmer JS": "#F5835F",
|
||||
"Glyph": "#c1ac7f",
|
||||
"Gnuplot": "#f0a9f0",
|
||||
"Go": "#00ADD8",
|
||||
@ -391,6 +393,7 @@ var LanguagesColor = map[string]string{
|
||||
"PostScript": "#da291c",
|
||||
"PowerBuilder": "#8f0f8d",
|
||||
"PowerShell": "#012456",
|
||||
"Praat": "#c8506d",
|
||||
"Prisma": "#0c344b",
|
||||
"Processing": "#0096D8",
|
||||
"Procfile": "#3B2F63",
|
||||
@ -483,7 +486,7 @@ var LanguagesColor = map[string]string{
|
||||
"SugarSS": "#2fcc9f",
|
||||
"SuperCollider": "#46390b",
|
||||
"Svelte": "#ff3e00",
|
||||
"Sway": "#dea584",
|
||||
"Sway": "#00F58C",
|
||||
"Sweave": "#198ce7",
|
||||
"Swift": "#F05138",
|
||||
"SystemVerilog": "#DAE1C2",
|
||||
@ -499,9 +502,11 @@ var LanguagesColor = map[string]string{
|
||||
"Tcl": "#e4cc98",
|
||||
"TeX": "#3D6117",
|
||||
"Terra": "#00004c",
|
||||
"Terraform Template": "#7b42bb",
|
||||
"TextMate Properties": "#df66e4",
|
||||
"Textile": "#ffe7ac",
|
||||
"Thrift": "#D12127",
|
||||
"Toit": "#c2c9fb",
|
||||
"Turing": "#cf142b",
|
||||
"Twig": "#c1d026",
|
||||
"TypeScript": "#3178c6",
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
// linguist's commit from which files were generated.
|
||||
var LinguistCommit = "7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd"
|
||||
var LinguistCommit = "ee9119e70111d46842788b2bc1666ec1d1ea9e2a"
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -1109,6 +1109,16 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
regex.MustCompileMultiline(`^\((de|class|rel|code|data|must)\s`),
|
||||
),
|
||||
},
|
||||
".lean": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Lean"),
|
||||
regex.MustCompileMultiline(`^import [a-z]`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Lean 4"),
|
||||
regex.MustCompileMultiline(`^import [A-Z]`),
|
||||
),
|
||||
},
|
||||
".lisp": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Common Lisp"),
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -21,7 +21,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".4dform": {"JSON"},
|
||||
".4dm": {"4D"},
|
||||
".4dproject": {"JSON"},
|
||||
".4gl": {"Genero"},
|
||||
".4gl": {"Genero 4gl"},
|
||||
".4th": {"Forth"},
|
||||
".5": {"Roff", "Roff Manpage"},
|
||||
".6": {"Roff", "Roff Manpage"},
|
||||
@ -307,6 +307,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".ecr": {"HTML+ECR"},
|
||||
".ect": {"EJS"},
|
||||
".edc": {"Edje Data Collection"},
|
||||
".edgeql": {"EdgeQL"},
|
||||
".editorconfig": {"EditorConfig"},
|
||||
".edn": {"edn"},
|
||||
".eex": {"HTML+EEX"},
|
||||
@ -334,6 +335,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".es": {"Erlang", "JavaScript"},
|
||||
".es6": {"JavaScript"},
|
||||
".escript": {"Erlang"},
|
||||
".esdl": {"EdgeQL"},
|
||||
".ex": {"Elixir", "Euphoria"},
|
||||
".exs": {"Elixir"},
|
||||
".eye": {"Ruby"},
|
||||
@ -407,6 +409,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".gi": {"GAP"},
|
||||
".gitconfig": {"Git Config"},
|
||||
".gitignore": {"Ignore List"},
|
||||
".gjs": {"Glimmer JS"},
|
||||
".gko": {"Gerber Image"},
|
||||
".glade": {"XML"},
|
||||
".gleam": {"Gleam"},
|
||||
@ -598,7 +601,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".lbx": {"TeX"},
|
||||
".ld": {"Linker Script"},
|
||||
".lds": {"Linker Script"},
|
||||
".lean": {"Lean"},
|
||||
".lean": {"Lean", "Lean 4"},
|
||||
".lektorproject": {"INI"},
|
||||
".less": {"Less"},
|
||||
".lex": {"Lex"},
|
||||
@ -826,7 +829,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".pde": {"Processing"},
|
||||
".pegjs": {"PEG.js"},
|
||||
".pep": {"Pep8"},
|
||||
".per": {"Genero Forms"},
|
||||
".per": {"Genero per"},
|
||||
".perl": {"Perl"},
|
||||
".pfa": {"PostScript"},
|
||||
".pgsql": {"PLpgSQL"},
|
||||
@ -875,6 +878,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".pov": {"POV-Ray SDL"},
|
||||
".pp": {"Pascal", "Puppet"},
|
||||
".pprx": {"REXX"},
|
||||
".praat": {"Praat"},
|
||||
".prawn": {"Ruby"},
|
||||
".prc": {"PLSQL", "SQL"},
|
||||
".prefab": {"Unity3D Asset"},
|
||||
@ -1141,6 +1145,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".tf": {"HCL"},
|
||||
".tfstate": {"JSON"},
|
||||
".tfstate.backup": {"JSON"},
|
||||
".tftpl": {"Terraform Template"},
|
||||
".tfvars": {"HCL"},
|
||||
".thor": {"Ruby"},
|
||||
".thrift": {"Thrift"},
|
||||
@ -1158,6 +1163,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".tmtheme": {"XML Property List"},
|
||||
".tmux": {"Shell"},
|
||||
".toc": {"TeX", "World of Warcraft Addon Data"},
|
||||
".toit": {"Toit"},
|
||||
".toml": {"TOML"},
|
||||
".tool": {"Shell"},
|
||||
".topojson": {"JSON"},
|
||||
@ -1498,6 +1504,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Easybuild": {".eb"},
|
||||
"Ecere Projects": {".epj"},
|
||||
"Ecmarkup": {".html"},
|
||||
"EdgeQL": {".edgeql", ".esdl"},
|
||||
"EditorConfig": {".editorconfig"},
|
||||
"Edje Data Collection": {".edc"},
|
||||
"Eiffel": {".e"},
|
||||
@ -1541,8 +1548,8 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"GSC": {".gsc", ".csc", ".gsh"},
|
||||
"Game Maker Language": {".gml"},
|
||||
"Gemini": {".gmi"},
|
||||
"Genero": {".4gl"},
|
||||
"Genero Forms": {".per"},
|
||||
"Genero 4gl": {".4gl"},
|
||||
"Genero per": {".per"},
|
||||
"Genie": {".gs"},
|
||||
"Genshi": {".kid"},
|
||||
"Gentoo Ebuild": {".ebuild"},
|
||||
@ -1552,6 +1559,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Gherkin": {".feature", ".story"},
|
||||
"Git Config": {".gitconfig"},
|
||||
"Gleam": {".gleam"},
|
||||
"Glimmer JS": {".gjs"},
|
||||
"Glyph": {".glf"},
|
||||
"Glyph Bitmap Distribution Format": {".bdf"},
|
||||
"Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"},
|
||||
@ -1649,6 +1657,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Lasso": {".lasso", ".las", ".lasso8", ".lasso9"},
|
||||
"Latte": {".latte"},
|
||||
"Lean": {".lean", ".hlean"},
|
||||
"Lean 4": {".lean"},
|
||||
"Less": {".less"},
|
||||
"Lex": {".l", ".lex"},
|
||||
"LigoLANG": {".ligo"},
|
||||
@ -1790,6 +1799,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"PostScript": {".ps", ".eps", ".epsi", ".pfa"},
|
||||
"PowerBuilder": {".pbt", ".sra", ".sru", ".srw"},
|
||||
"PowerShell": {".ps1", ".psd1", ".psm1"},
|
||||
"Praat": {".praat"},
|
||||
"Prisma": {".prisma"},
|
||||
"Processing": {".pde"},
|
||||
"Proguard": {".pro"},
|
||||
@ -1917,10 +1927,12 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"TeX": {".tex", ".aux", ".bbx", ".cbx", ".cls", ".dtx", ".ins", ".lbx", ".ltx", ".mkii", ".mkiv", ".mkvi", ".sty", ".toc"},
|
||||
"Tea": {".tea"},
|
||||
"Terra": {".t"},
|
||||
"Terraform Template": {".tftpl"},
|
||||
"Texinfo": {".texinfo", ".texi", ".txi"},
|
||||
"Text": {".txt", ".fr", ".nb", ".ncl", ".no"},
|
||||
"Textile": {".textile"},
|
||||
"Thrift": {".thrift"},
|
||||
"Toit": {".toit"},
|
||||
"Turing": {".t", ".tu"},
|
||||
"Turtle": {".ttl"},
|
||||
"Twig": {".twig"},
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -254,6 +254,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"cpanfile": {"Perl"},
|
||||
"cshrc": {"Shell"},
|
||||
"delete.me": {"Text"},
|
||||
"deno.lock": {"JSON"},
|
||||
"descrip.mmk": {"Module Management System"},
|
||||
"descrip.mms": {"Module Management System"},
|
||||
"devcontainer.json": {"JSON with Comments"},
|
||||
|
2550
data/frequencies.go
2550
data/frequencies.go
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -12,7 +12,7 @@ var LanguagesGroup = map[string]string{
|
||||
"C2hs Haskell": "Haskell",
|
||||
"CameLIGO": "LigoLANG",
|
||||
"ColdFusion CFC": "ColdFusion",
|
||||
"ECLiPSe": "prolog",
|
||||
"ECLiPSe": "Prolog",
|
||||
"Easybuild": "Python",
|
||||
"Ecere Projects": "JavaScript",
|
||||
"Ecmarkup": "HTML",
|
||||
@ -23,8 +23,8 @@ var LanguagesGroup = map[string]string{
|
||||
"Fortran Free Form": "Fortran",
|
||||
"Gentoo Ebuild": "Shell",
|
||||
"Gentoo Eclass": "Shell",
|
||||
"Git Attributes": "INI",
|
||||
"Git Config": "INI",
|
||||
"Glimmer JS": "JavaScript",
|
||||
"Gradle Kotlin DSL": "Gradle",
|
||||
"Groovy Server Pages": "Groovy",
|
||||
"HTML+ECR": "HTML",
|
||||
@ -32,7 +32,6 @@ var LanguagesGroup = map[string]string{
|
||||
"HTML+ERB": "HTML",
|
||||
"HTML+PHP": "HTML",
|
||||
"HTML+Razor": "HTML",
|
||||
"Ignore List": "INI",
|
||||
"Isabelle ROOT": "Isabelle",
|
||||
"JFlex": "Lex",
|
||||
"JSON with Comments": "JSON",
|
||||
@ -40,6 +39,7 @@ var LanguagesGroup = map[string]string{
|
||||
"JavaScript+ERB": "JavaScript",
|
||||
"Jison": "Yacc",
|
||||
"Jison Lex": "Lex",
|
||||
"Lean 4": "Lean",
|
||||
"LigoLANG": "LigoLANG",
|
||||
"Literate Agda": "Agda",
|
||||
"Literate CoffeeScript": "CoffeeScript",
|
||||
@ -72,6 +72,7 @@ var LanguagesGroup = map[string]string{
|
||||
"Snakemake": "Python",
|
||||
"TSX": "TypeScript",
|
||||
"Tcsh": "Shell",
|
||||
"Terraform Template": "HCL",
|
||||
"Unified Parallel C": "C",
|
||||
"Unix Assembly": "Assembly",
|
||||
"Wget Config": "INI",
|
||||
|
12
data/id.go
12
data/id.go
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -161,6 +161,7 @@ var IDByLanguage = map[string]int{
|
||||
"Easybuild": 342840477,
|
||||
"Ecere Projects": 98,
|
||||
"Ecmarkup": 844766630,
|
||||
"EdgeQL": 925235833,
|
||||
"EditorConfig": 96139566,
|
||||
"Edje Data Collection": 342840478,
|
||||
"Eiffel": 99,
|
||||
@ -206,8 +207,8 @@ var IDByLanguage = map[string]int{
|
||||
"Game Maker Language": 125,
|
||||
"Gemfile.lock": 907065713,
|
||||
"Gemini": 310828396,
|
||||
"Genero": 986054050,
|
||||
"Genero Forms": 902995658,
|
||||
"Genero 4gl": 986054050,
|
||||
"Genero per": 902995658,
|
||||
"Genie": 792408528,
|
||||
"Genshi": 126,
|
||||
"Gentoo Ebuild": 127,
|
||||
@ -219,6 +220,7 @@ var IDByLanguage = map[string]int{
|
||||
"Git Config": 807968997,
|
||||
"Git Revision List": 461881235,
|
||||
"Gleam": 1054258749,
|
||||
"Glimmer JS": 5523150,
|
||||
"Glyph": 130,
|
||||
"Glyph Bitmap Distribution Format": 997665271,
|
||||
"Gnuplot": 131,
|
||||
@ -323,6 +325,7 @@ var IDByLanguage = map[string]int{
|
||||
"Lasso": 195,
|
||||
"Latte": 196,
|
||||
"Lean": 197,
|
||||
"Lean 4": 455147478,
|
||||
"Less": 198,
|
||||
"Lex": 199,
|
||||
"LigoLANG": 1040646257,
|
||||
@ -471,6 +474,7 @@ var IDByLanguage = map[string]int{
|
||||
"PostScript": 291,
|
||||
"PowerBuilder": 292,
|
||||
"PowerShell": 293,
|
||||
"Praat": 106029007,
|
||||
"Prisma": 499933428,
|
||||
"Processing": 294,
|
||||
"Procfile": 305313959,
|
||||
@ -608,11 +612,13 @@ var IDByLanguage = map[string]int{
|
||||
"TeX": 369,
|
||||
"Tea": 370,
|
||||
"Terra": 371,
|
||||
"Terraform Template": 856832701,
|
||||
"Texinfo": 988020015,
|
||||
"Text": 372,
|
||||
"TextMate Properties": 981795023,
|
||||
"Textile": 373,
|
||||
"Thrift": 374,
|
||||
"Toit": 356554395,
|
||||
"Turing": 375,
|
||||
"Turtle": 376,
|
||||
"Twig": 377,
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -3222,7 +3222,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
FSName: "",
|
||||
Type: TypeForString("programming"),
|
||||
Color: "#001d9d",
|
||||
Group: "prolog",
|
||||
Group: "Prolog",
|
||||
Aliases: []string{},
|
||||
Extensions: []string{
|
||||
".ecl",
|
||||
@ -3377,6 +3377,28 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
LanguageID: 844766630,
|
||||
},
|
||||
925235833: LanguageInfo{
|
||||
Name: "EdgeQL",
|
||||
FSName: "",
|
||||
Type: TypeForString("programming"),
|
||||
Color: "#31A7FF",
|
||||
Group: "",
|
||||
Aliases: []string{
|
||||
"esdl",
|
||||
},
|
||||
Extensions: []string{
|
||||
".edgeql",
|
||||
".esdl",
|
||||
},
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "",
|
||||
TMScope: "source.edgeql",
|
||||
AceMode: "text",
|
||||
CodeMirrorMode: "",
|
||||
Wrap: false,
|
||||
LanguageID: 925235833,
|
||||
},
|
||||
96139566: LanguageInfo{
|
||||
Name: "EditorConfig",
|
||||
FSName: "",
|
||||
@ -4353,7 +4375,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
LanguageID: 310828396,
|
||||
},
|
||||
986054050: LanguageInfo{
|
||||
Name: "Genero",
|
||||
Name: "Genero 4gl",
|
||||
FSName: "",
|
||||
Type: TypeForString("programming"),
|
||||
Color: "#63408e",
|
||||
@ -4365,14 +4387,14 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "",
|
||||
TMScope: "source.genero",
|
||||
TMScope: "source.genero-4gl",
|
||||
AceMode: "text",
|
||||
CodeMirrorMode: "",
|
||||
Wrap: false,
|
||||
LanguageID: 986054050,
|
||||
},
|
||||
902995658: LanguageInfo{
|
||||
Name: "Genero Forms",
|
||||
Name: "Genero per",
|
||||
FSName: "",
|
||||
Type: TypeForString("markup"),
|
||||
Color: "#d8df39",
|
||||
@ -4384,7 +4406,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "",
|
||||
TMScope: "source.genero-forms",
|
||||
TMScope: "source.genero-per",
|
||||
AceMode: "text",
|
||||
CodeMirrorMode: "",
|
||||
Wrap: false,
|
||||
@ -4557,7 +4579,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
FSName: "",
|
||||
Type: TypeForString("data"),
|
||||
Color: "#F44D27",
|
||||
Group: "INI",
|
||||
Group: "",
|
||||
Aliases: []string{
|
||||
"gitattributes",
|
||||
},
|
||||
@ -4638,6 +4660,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
LanguageID: 1054258749,
|
||||
},
|
||||
5523150: LanguageInfo{
|
||||
Name: "Glimmer JS",
|
||||
FSName: "",
|
||||
Type: TypeForString("programming"),
|
||||
Color: "#F5835F",
|
||||
Group: "JavaScript",
|
||||
Aliases: []string{},
|
||||
Extensions: []string{
|
||||
".gjs",
|
||||
},
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "",
|
||||
TMScope: "source.gjs",
|
||||
AceMode: "javascript",
|
||||
CodeMirrorMode: "",
|
||||
Wrap: false,
|
||||
LanguageID: 5523150,
|
||||
},
|
||||
130: LanguageInfo{
|
||||
Name: "Glyph",
|
||||
FSName: "",
|
||||
@ -5672,7 +5713,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
FSName: "",
|
||||
Type: TypeForString("data"),
|
||||
Color: "#000000",
|
||||
Group: "INI",
|
||||
Group: "",
|
||||
Aliases: []string{
|
||||
"ignore",
|
||||
"gitignore",
|
||||
@ -6015,6 +6056,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
".watchmanconfig",
|
||||
"Pipfile.lock",
|
||||
"composer.lock",
|
||||
"deno.lock",
|
||||
"flake.lock",
|
||||
"mcmod.info",
|
||||
},
|
||||
@ -6956,6 +6998,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
LanguageID: 197,
|
||||
},
|
||||
455147478: LanguageInfo{
|
||||
Name: "Lean 4",
|
||||
FSName: "",
|
||||
Type: TypeForString("programming"),
|
||||
Color: "",
|
||||
Group: "Lean",
|
||||
Aliases: []string{},
|
||||
Extensions: []string{
|
||||
".lean",
|
||||
},
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "",
|
||||
TMScope: "source.lean4",
|
||||
AceMode: "text",
|
||||
CodeMirrorMode: "",
|
||||
Wrap: false,
|
||||
LanguageID: 455147478,
|
||||
},
|
||||
198: LanguageInfo{
|
||||
Name: "Less",
|
||||
FSName: "",
|
||||
@ -8422,7 +8483,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Filenames: []string{},
|
||||
MimeType: "",
|
||||
TMScope: "source.nasal",
|
||||
AceMode: "text",
|
||||
AceMode: "nasal",
|
||||
CodeMirrorMode: "",
|
||||
Wrap: false,
|
||||
LanguageID: 178322513,
|
||||
@ -10130,6 +10191,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
LanguageID: 293,
|
||||
},
|
||||
106029007: LanguageInfo{
|
||||
Name: "Praat",
|
||||
FSName: "",
|
||||
Type: TypeForString("programming"),
|
||||
Color: "#c8506d",
|
||||
Group: "",
|
||||
Aliases: []string{},
|
||||
Extensions: []string{
|
||||
".praat",
|
||||
},
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "",
|
||||
TMScope: "source.praat",
|
||||
AceMode: "praat",
|
||||
CodeMirrorMode: "",
|
||||
Wrap: false,
|
||||
LanguageID: 106029007,
|
||||
},
|
||||
499933428: LanguageInfo{
|
||||
Name: "Prisma",
|
||||
FSName: "",
|
||||
@ -12844,7 +12924,7 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Name: "Sway",
|
||||
FSName: "",
|
||||
Type: TypeForString("programming"),
|
||||
Color: "#dea584",
|
||||
Color: "#00F58C",
|
||||
Group: "",
|
||||
Aliases: []string{},
|
||||
Extensions: []string{
|
||||
@ -13228,6 +13308,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
LanguageID: 371,
|
||||
},
|
||||
856832701: LanguageInfo{
|
||||
Name: "Terraform Template",
|
||||
FSName: "",
|
||||
Type: TypeForString("markup"),
|
||||
Color: "#7b42bb",
|
||||
Group: "HCL",
|
||||
Aliases: []string{},
|
||||
Extensions: []string{
|
||||
".tftpl",
|
||||
},
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "text/x-ruby",
|
||||
TMScope: "source.hcl.terraform",
|
||||
AceMode: "ruby",
|
||||
CodeMirrorMode: "ruby",
|
||||
Wrap: false,
|
||||
LanguageID: 856832701,
|
||||
},
|
||||
988020015: LanguageInfo{
|
||||
Name: "Texinfo",
|
||||
FSName: "",
|
||||
@ -13362,6 +13461,25 @@ var LanguageInfoByID = map[int]LanguageInfo{
|
||||
Wrap: false,
|
||||
LanguageID: 374,
|
||||
},
|
||||
356554395: LanguageInfo{
|
||||
Name: "Toit",
|
||||
FSName: "",
|
||||
Type: TypeForString("programming"),
|
||||
Color: "#c2c9fb",
|
||||
Group: "",
|
||||
Aliases: []string{},
|
||||
Extensions: []string{
|
||||
".toit",
|
||||
},
|
||||
Interpreters: []string{},
|
||||
Filenames: []string{},
|
||||
MimeType: "",
|
||||
TMScope: "source.toit",
|
||||
AceMode: "text",
|
||||
CodeMirrorMode: "",
|
||||
Wrap: false,
|
||||
LanguageID: 356554395,
|
||||
},
|
||||
375: LanguageInfo{
|
||||
Name: "Turing",
|
||||
FSName: "",
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -238,6 +238,7 @@ var LanguagesMime = map[string]string{
|
||||
"Tcsh": "text/x-sh",
|
||||
"TeX": "text/x-stex",
|
||||
"Terra": "text/x-lua",
|
||||
"Terraform Template": "text/x-ruby",
|
||||
"TextMate Properties": "text/x-properties",
|
||||
"Textile": "text/x-textile",
|
||||
"Turtle": "text/turtle",
|
||||
|
12
data/type.go
12
data/type.go
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -203,6 +203,7 @@ var LanguagesType = map[string]int{
|
||||
"Easybuild": 1,
|
||||
"Ecere Projects": 1,
|
||||
"Ecmarkup": 3,
|
||||
"EdgeQL": 2,
|
||||
"EditorConfig": 1,
|
||||
"Edje Data Collection": 1,
|
||||
"Eiffel": 2,
|
||||
@ -248,8 +249,8 @@ var LanguagesType = map[string]int{
|
||||
"Game Maker Language": 2,
|
||||
"Gemfile.lock": 1,
|
||||
"Gemini": 4,
|
||||
"Genero": 2,
|
||||
"Genero Forms": 3,
|
||||
"Genero 4gl": 2,
|
||||
"Genero per": 3,
|
||||
"Genie": 2,
|
||||
"Genshi": 2,
|
||||
"Gentoo Ebuild": 2,
|
||||
@ -261,6 +262,7 @@ var LanguagesType = map[string]int{
|
||||
"Git Config": 1,
|
||||
"Git Revision List": 1,
|
||||
"Gleam": 2,
|
||||
"Glimmer JS": 2,
|
||||
"Glyph": 2,
|
||||
"Glyph Bitmap Distribution Format": 1,
|
||||
"Gnuplot": 2,
|
||||
@ -365,6 +367,7 @@ var LanguagesType = map[string]int{
|
||||
"Lasso": 2,
|
||||
"Latte": 3,
|
||||
"Lean": 2,
|
||||
"Lean 4": 2,
|
||||
"Less": 3,
|
||||
"Lex": 2,
|
||||
"LigoLANG": 2,
|
||||
@ -513,6 +516,7 @@ var LanguagesType = map[string]int{
|
||||
"PostScript": 3,
|
||||
"PowerBuilder": 2,
|
||||
"PowerShell": 2,
|
||||
"Praat": 2,
|
||||
"Prisma": 1,
|
||||
"Processing": 2,
|
||||
"Procfile": 2,
|
||||
@ -650,11 +654,13 @@ var LanguagesType = map[string]int{
|
||||
"TeX": 3,
|
||||
"Tea": 3,
|
||||
"Terra": 2,
|
||||
"Terraform Template": 3,
|
||||
"Texinfo": 4,
|
||||
"Text": 4,
|
||||
"TextMate Properties": 1,
|
||||
"Textile": 4,
|
||||
"Thrift": 2,
|
||||
"Toit": 2,
|
||||
"Turing": 2,
|
||||
"Turtle": 1,
|
||||
"Twig": 3,
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -21,7 +21,7 @@ import (
|
||||
var (
|
||||
linguistClonedEnvVar = "ENRY_TEST_REPO"
|
||||
linguistURL = "https://github.com/github/linguist.git"
|
||||
commit = "7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd"
|
||||
commit = "ee9119e70111d46842788b2bc1666ec1d1ea9e2a"
|
||||
samplesDir = "samples"
|
||||
languagesFile = filepath.Join("lib", "linguist", "languages.yml")
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -265,6 +265,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"ecmarkdown": "Ecmarkup",
|
||||
"ecmarkup": "Ecmarkup",
|
||||
"ecr": "HTML+ECR",
|
||||
"edgeql": "EdgeQL",
|
||||
"editor-config": "EditorConfig",
|
||||
"editorconfig": "EditorConfig",
|
||||
"edje_data_collection": "Edje Data Collection",
|
||||
@ -287,6 +288,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"eq": "EQ",
|
||||
"erb": "HTML+ERB",
|
||||
"erlang": "Erlang",
|
||||
"esdl": "EdgeQL",
|
||||
"euphoria": "Euphoria",
|
||||
"f#": "F#",
|
||||
"f*": "F*",
|
||||
@ -330,8 +332,8 @@ var LanguageByAliasMap = map[string]string{
|
||||
"gemfile.lock": "Gemfile.lock",
|
||||
"gemini": "Gemini",
|
||||
"gemtext": "Gemini",
|
||||
"genero": "Genero",
|
||||
"genero_forms": "Genero Forms",
|
||||
"genero_4gl": "Genero 4gl",
|
||||
"genero_per": "Genero per",
|
||||
"genie": "Genie",
|
||||
"genshi": "Genshi",
|
||||
"gentoo_ebuild": "Gentoo Ebuild",
|
||||
@ -351,6 +353,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"gitignore": "Ignore List",
|
||||
"gitmodules": "Git Config",
|
||||
"gleam": "Gleam",
|
||||
"glimmer_js": "Glimmer JS",
|
||||
"glsl": "GLSL",
|
||||
"glyph": "Glyph",
|
||||
"glyph_bitmap_distribution_format": "Glyph Bitmap Distribution Format",
|
||||
@ -506,6 +509,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"latex": "TeX",
|
||||
"latte": "Latte",
|
||||
"lean": "Lean",
|
||||
"lean_4": "Lean 4",
|
||||
"leex": "HTML+EEX",
|
||||
"less": "Less",
|
||||
"less-css": "Less",
|
||||
@ -741,6 +745,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"povray": "POV-Ray SDL",
|
||||
"powerbuilder": "PowerBuilder",
|
||||
"powershell": "PowerShell",
|
||||
"praat": "Praat",
|
||||
"prisma": "Prisma",
|
||||
"processing": "Processing",
|
||||
"procfile": "Procfile",
|
||||
@ -930,6 +935,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"tea": "Tea",
|
||||
"terra": "Terra",
|
||||
"terraform": "HCL",
|
||||
"terraform_template": "Terraform Template",
|
||||
"tex": "TeX",
|
||||
"texinfo": "Texinfo",
|
||||
"text": "Text",
|
||||
@ -942,6 +948,7 @@ var LanguageByAliasMap = map[string]string{
|
||||
"tl-verilog": "TL-Verilog",
|
||||
"tla": "TLA",
|
||||
"tm-properties": "TextMate Properties",
|
||||
"toit": "Toit",
|
||||
"toml": "TOML",
|
||||
"topojson": "JSON",
|
||||
"troff": "Roff",
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -135,6 +135,7 @@ var LanguagesColor = map[string]string{
|
||||
"Easybuild": "#069406",
|
||||
"Ecere Projects": "#913960",
|
||||
"Ecmarkup": "#eb8131",
|
||||
"EdgeQL": "#31A7FF",
|
||||
"EditorConfig": "#fff1f2",
|
||||
"Eiffel": "#4d6977",
|
||||
"Elixir": "#6e4a7e",
|
||||
@ -175,8 +176,8 @@ var LanguagesColor = map[string]string{
|
||||
"Game Maker Language": "#71b417",
|
||||
"Gemfile.lock": "#701516",
|
||||
"Gemini": "#ff6900",
|
||||
"Genero": "#63408e",
|
||||
"Genero Forms": "#d8df39",
|
||||
"Genero 4gl": "#63408e",
|
||||
"Genero per": "#d8df39",
|
||||
"Genie": "#fb855d",
|
||||
"Genshi": "#951531",
|
||||
"Gentoo Ebuild": "#9400ff",
|
||||
@ -187,6 +188,7 @@ var LanguagesColor = map[string]string{
|
||||
"Git Config": "#F44D27",
|
||||
"Git Revision List": "#F44D27",
|
||||
"Gleam": "#ffaff3",
|
||||
"Glimmer JS": "#F5835F",
|
||||
"Glyph": "#c1ac7f",
|
||||
"Gnuplot": "#f0a9f0",
|
||||
"Go": "#00ADD8",
|
||||
@ -391,6 +393,7 @@ var LanguagesColor = map[string]string{
|
||||
"PostScript": "#da291c",
|
||||
"PowerBuilder": "#8f0f8d",
|
||||
"PowerShell": "#012456",
|
||||
"Praat": "#c8506d",
|
||||
"Prisma": "#0c344b",
|
||||
"Processing": "#0096D8",
|
||||
"Procfile": "#3B2F63",
|
||||
@ -483,7 +486,7 @@ var LanguagesColor = map[string]string{
|
||||
"SugarSS": "#2fcc9f",
|
||||
"SuperCollider": "#46390b",
|
||||
"Svelte": "#ff3e00",
|
||||
"Sway": "#dea584",
|
||||
"Sway": "#00F58C",
|
||||
"Sweave": "#198ce7",
|
||||
"Swift": "#F05138",
|
||||
"SystemVerilog": "#DAE1C2",
|
||||
@ -499,9 +502,11 @@ var LanguagesColor = map[string]string{
|
||||
"Tcl": "#e4cc98",
|
||||
"TeX": "#3D6117",
|
||||
"Terra": "#00004c",
|
||||
"Terraform Template": "#7b42bb",
|
||||
"TextMate Properties": "#df66e4",
|
||||
"Textile": "#ffe7ac",
|
||||
"Thrift": "#D12127",
|
||||
"Toit": "#c2c9fb",
|
||||
"Turing": "#cf142b",
|
||||
"Twig": "#c1d026",
|
||||
"TypeScript": "#3178c6",
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
// linguist's commit from which files were generated.
|
||||
var LinguistCommit = "7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd"
|
||||
var LinguistCommit = "ee9119e70111d46842788b2bc1666ec1d1ea9e2a"
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -1109,6 +1109,16 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
regex.MustCompileMultiline(`^\((de|class|rel|code|data|must)\s`),
|
||||
),
|
||||
},
|
||||
".lean": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Lean"),
|
||||
regex.MustCompileMultiline(`^import [a-z]`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Lean 4"),
|
||||
regex.MustCompileMultiline(`^import [A-Z]`),
|
||||
),
|
||||
},
|
||||
".lisp": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Common Lisp"),
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -21,7 +21,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".4dform": {"JSON"},
|
||||
".4dm": {"4D"},
|
||||
".4dproject": {"JSON"},
|
||||
".4gl": {"Genero"},
|
||||
".4gl": {"Genero 4gl"},
|
||||
".4th": {"Forth"},
|
||||
".5": {"Roff", "Roff Manpage"},
|
||||
".6": {"Roff", "Roff Manpage"},
|
||||
@ -307,6 +307,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".ecr": {"HTML+ECR"},
|
||||
".ect": {"EJS"},
|
||||
".edc": {"Edje Data Collection"},
|
||||
".edgeql": {"EdgeQL"},
|
||||
".editorconfig": {"EditorConfig"},
|
||||
".edn": {"edn"},
|
||||
".eex": {"HTML+EEX"},
|
||||
@ -334,6 +335,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".es": {"Erlang", "JavaScript"},
|
||||
".es6": {"JavaScript"},
|
||||
".escript": {"Erlang"},
|
||||
".esdl": {"EdgeQL"},
|
||||
".ex": {"Elixir", "Euphoria"},
|
||||
".exs": {"Elixir"},
|
||||
".eye": {"Ruby"},
|
||||
@ -407,6 +409,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".gi": {"GAP"},
|
||||
".gitconfig": {"Git Config"},
|
||||
".gitignore": {"Ignore List"},
|
||||
".gjs": {"Glimmer JS"},
|
||||
".gko": {"Gerber Image"},
|
||||
".glade": {"XML"},
|
||||
".gleam": {"Gleam"},
|
||||
@ -598,7 +601,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".lbx": {"TeX"},
|
||||
".ld": {"Linker Script"},
|
||||
".lds": {"Linker Script"},
|
||||
".lean": {"Lean"},
|
||||
".lean": {"Lean", "Lean 4"},
|
||||
".lektorproject": {"INI"},
|
||||
".less": {"Less"},
|
||||
".lex": {"Lex"},
|
||||
@ -826,7 +829,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".pde": {"Processing"},
|
||||
".pegjs": {"PEG.js"},
|
||||
".pep": {"Pep8"},
|
||||
".per": {"Genero Forms"},
|
||||
".per": {"Genero per"},
|
||||
".perl": {"Perl"},
|
||||
".pfa": {"PostScript"},
|
||||
".pgsql": {"PLpgSQL"},
|
||||
@ -875,6 +878,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".pov": {"POV-Ray SDL"},
|
||||
".pp": {"Pascal", "Puppet"},
|
||||
".pprx": {"REXX"},
|
||||
".praat": {"Praat"},
|
||||
".prawn": {"Ruby"},
|
||||
".prc": {"PLSQL", "SQL"},
|
||||
".prefab": {"Unity3D Asset"},
|
||||
@ -1141,6 +1145,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".tf": {"HCL"},
|
||||
".tfstate": {"JSON"},
|
||||
".tfstate.backup": {"JSON"},
|
||||
".tftpl": {"Terraform Template"},
|
||||
".tfvars": {"HCL"},
|
||||
".thor": {"Ruby"},
|
||||
".thrift": {"Thrift"},
|
||||
@ -1158,6 +1163,7 @@ var LanguagesByExtension = map[string][]string{
|
||||
".tmtheme": {"XML Property List"},
|
||||
".tmux": {"Shell"},
|
||||
".toc": {"TeX", "World of Warcraft Addon Data"},
|
||||
".toit": {"Toit"},
|
||||
".toml": {"TOML"},
|
||||
".tool": {"Shell"},
|
||||
".topojson": {"JSON"},
|
||||
@ -1498,6 +1504,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Easybuild": {".eb"},
|
||||
"Ecere Projects": {".epj"},
|
||||
"Ecmarkup": {".html"},
|
||||
"EdgeQL": {".edgeql", ".esdl"},
|
||||
"EditorConfig": {".editorconfig"},
|
||||
"Edje Data Collection": {".edc"},
|
||||
"Eiffel": {".e"},
|
||||
@ -1541,8 +1548,8 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"GSC": {".gsc", ".csc", ".gsh"},
|
||||
"Game Maker Language": {".gml"},
|
||||
"Gemini": {".gmi"},
|
||||
"Genero": {".4gl"},
|
||||
"Genero Forms": {".per"},
|
||||
"Genero 4gl": {".4gl"},
|
||||
"Genero per": {".per"},
|
||||
"Genie": {".gs"},
|
||||
"Genshi": {".kid"},
|
||||
"Gentoo Ebuild": {".ebuild"},
|
||||
@ -1552,6 +1559,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Gherkin": {".feature", ".story"},
|
||||
"Git Config": {".gitconfig"},
|
||||
"Gleam": {".gleam"},
|
||||
"Glimmer JS": {".gjs"},
|
||||
"Glyph": {".glf"},
|
||||
"Glyph Bitmap Distribution Format": {".bdf"},
|
||||
"Gnuplot": {".gp", ".gnu", ".gnuplot", ".p", ".plot", ".plt"},
|
||||
@ -1649,6 +1657,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"Lasso": {".lasso", ".las", ".lasso8", ".lasso9"},
|
||||
"Latte": {".latte"},
|
||||
"Lean": {".lean", ".hlean"},
|
||||
"Lean 4": {".lean"},
|
||||
"Less": {".less"},
|
||||
"Lex": {".l", ".lex"},
|
||||
"LigoLANG": {".ligo"},
|
||||
@ -1790,6 +1799,7 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"PostScript": {".ps", ".eps", ".epsi", ".pfa"},
|
||||
"PowerBuilder": {".pbt", ".sra", ".sru", ".srw"},
|
||||
"PowerShell": {".ps1", ".psd1", ".psm1"},
|
||||
"Praat": {".praat"},
|
||||
"Prisma": {".prisma"},
|
||||
"Processing": {".pde"},
|
||||
"Proguard": {".pro"},
|
||||
@ -1917,10 +1927,12 @@ var ExtensionsByLanguage = map[string][]string{
|
||||
"TeX": {".tex", ".aux", ".bbx", ".cbx", ".cls", ".dtx", ".ins", ".lbx", ".ltx", ".mkii", ".mkiv", ".mkvi", ".sty", ".toc"},
|
||||
"Tea": {".tea"},
|
||||
"Terra": {".t"},
|
||||
"Terraform Template": {".tftpl"},
|
||||
"Texinfo": {".texinfo", ".texi", ".txi"},
|
||||
"Text": {".txt", ".fr", ".nb", ".ncl", ".no"},
|
||||
"Textile": {".textile"},
|
||||
"Thrift": {".thrift"},
|
||||
"Toit": {".toit"},
|
||||
"Turing": {".t", ".tu"},
|
||||
"Turtle": {".ttl"},
|
||||
"Twig": {".twig"},
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -254,6 +254,7 @@ var LanguagesByFilename = map[string][]string{
|
||||
"cpanfile": {"Perl"},
|
||||
"cshrc": {"Shell"},
|
||||
"delete.me": {"Text"},
|
||||
"deno.lock": {"JSON"},
|
||||
"descrip.mmk": {"Module Management System"},
|
||||
"descrip.mms": {"Module Management System"},
|
||||
"devcontainer.json": {"JSON with Comments"},
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -12,7 +12,7 @@ var LanguagesGroup = map[string]string{
|
||||
"C2hs Haskell": "Haskell",
|
||||
"CameLIGO": "LigoLANG",
|
||||
"ColdFusion CFC": "ColdFusion",
|
||||
"ECLiPSe": "prolog",
|
||||
"ECLiPSe": "Prolog",
|
||||
"Easybuild": "Python",
|
||||
"Ecere Projects": "JavaScript",
|
||||
"Ecmarkup": "HTML",
|
||||
@ -23,8 +23,8 @@ var LanguagesGroup = map[string]string{
|
||||
"Fortran Free Form": "Fortran",
|
||||
"Gentoo Ebuild": "Shell",
|
||||
"Gentoo Eclass": "Shell",
|
||||
"Git Attributes": "INI",
|
||||
"Git Config": "INI",
|
||||
"Glimmer JS": "JavaScript",
|
||||
"Gradle Kotlin DSL": "Gradle",
|
||||
"Groovy Server Pages": "Groovy",
|
||||
"HTML+ECR": "HTML",
|
||||
@ -32,7 +32,6 @@ var LanguagesGroup = map[string]string{
|
||||
"HTML+ERB": "HTML",
|
||||
"HTML+PHP": "HTML",
|
||||
"HTML+Razor": "HTML",
|
||||
"Ignore List": "INI",
|
||||
"Isabelle ROOT": "Isabelle",
|
||||
"JFlex": "Lex",
|
||||
"JSON with Comments": "JSON",
|
||||
@ -40,6 +39,7 @@ var LanguagesGroup = map[string]string{
|
||||
"JavaScript+ERB": "JavaScript",
|
||||
"Jison": "Yacc",
|
||||
"Jison Lex": "Lex",
|
||||
"Lean 4": "Lean",
|
||||
"LigoLANG": "LigoLANG",
|
||||
"Literate Agda": "Agda",
|
||||
"Literate CoffeeScript": "CoffeeScript",
|
||||
@ -72,6 +72,7 @@ var LanguagesGroup = map[string]string{
|
||||
"Snakemake": "Python",
|
||||
"TSX": "TypeScript",
|
||||
"Tcsh": "Shell",
|
||||
"Terraform Template": "HCL",
|
||||
"Unified Parallel C": "C",
|
||||
"Unix Assembly": "Assembly",
|
||||
"Wget Config": "INI",
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -238,6 +238,7 @@ var LanguagesMime = map[string]string{
|
||||
"Tcsh": "text/x-sh",
|
||||
"TeX": "text/x-stex",
|
||||
"Terra": "text/x-lua",
|
||||
"Terraform Template": "text/x-ruby",
|
||||
"TextMate Properties": "text/x-properties",
|
||||
"Textile": "text/x-textile",
|
||||
"Turtle": "text/turtle",
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -203,6 +203,7 @@ var LanguagesType = map[string]int{
|
||||
"Easybuild": 1,
|
||||
"Ecere Projects": 1,
|
||||
"Ecmarkup": 3,
|
||||
"EdgeQL": 2,
|
||||
"EditorConfig": 1,
|
||||
"Edje Data Collection": 1,
|
||||
"Eiffel": 2,
|
||||
@ -248,8 +249,8 @@ var LanguagesType = map[string]int{
|
||||
"Game Maker Language": 2,
|
||||
"Gemfile.lock": 1,
|
||||
"Gemini": 4,
|
||||
"Genero": 2,
|
||||
"Genero Forms": 3,
|
||||
"Genero 4gl": 2,
|
||||
"Genero per": 3,
|
||||
"Genie": 2,
|
||||
"Genshi": 2,
|
||||
"Gentoo Ebuild": 2,
|
||||
@ -261,6 +262,7 @@ var LanguagesType = map[string]int{
|
||||
"Git Config": 1,
|
||||
"Git Revision List": 1,
|
||||
"Gleam": 2,
|
||||
"Glimmer JS": 2,
|
||||
"Glyph": 2,
|
||||
"Glyph Bitmap Distribution Format": 1,
|
||||
"Gnuplot": 2,
|
||||
@ -365,6 +367,7 @@ var LanguagesType = map[string]int{
|
||||
"Lasso": 2,
|
||||
"Latte": 3,
|
||||
"Lean": 2,
|
||||
"Lean 4": 2,
|
||||
"Less": 3,
|
||||
"Lex": 2,
|
||||
"LigoLANG": 2,
|
||||
@ -513,6 +516,7 @@ var LanguagesType = map[string]int{
|
||||
"PostScript": 3,
|
||||
"PowerBuilder": 2,
|
||||
"PowerShell": 2,
|
||||
"Praat": 2,
|
||||
"Prisma": 1,
|
||||
"Processing": 2,
|
||||
"Procfile": 2,
|
||||
@ -650,11 +654,13 @@ var LanguagesType = map[string]int{
|
||||
"TeX": 3,
|
||||
"Tea": 3,
|
||||
"Terra": 2,
|
||||
"Terraform Template": 3,
|
||||
"Texinfo": 4,
|
||||
"Text": 4,
|
||||
"TextMate Properties": 1,
|
||||
"Textile": 4,
|
||||
"Thrift": 2,
|
||||
"Toit": 2,
|
||||
"Turing": 2,
|
||||
"Turtle": 1,
|
||||
"Twig": 3,
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user