From 4a510e08e4fc2561f63b363a1b64dbae89bea069 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Sat, 5 Dec 2020 20:31:18 +0200 Subject: [PATCH] Update go-enry dependency to v2.6.0 (#13861) --- go.mod | 2 +- go.sum | 4 +- .../github.com/go-enry/go-enry/v2/README.md | 10 +- .../github.com/go-enry/go-enry/v2/common.go | 61 +- .../go-enry/go-enry/v2/data/alias.go | 40 +- .../go-enry/go-enry/v2/data/colors.go | 57 +- .../go-enry/go-enry/v2/data/commit.go | 4 +- .../go-enry/go-enry/v2/data/content.go | 133 +- .../go-enry/go-enry/v2/data/documentation.go | 2 +- .../go-enry/go-enry/v2/data/extension.go | 116 +- .../go-enry/go-enry/v2/data/filename.go | 16 +- .../go-enry/go-enry/v2/data/frequencies.go | 57681 +++++++++------- .../go-enry/go-enry/v2/data/groups.go | 21 +- .../go-enry/go-enry/v2/data/interpreter.go | 9 +- .../go-enry/go-enry/v2/data/mimeType.go | 13 +- .../go-enry/go-enry/v2/data/type.go | 25 +- .../go-enry/go-enry/v2/data/vendor.go | 126 +- vendor/modules.txt | 2 +- 18 files changed, 32345 insertions(+), 25977 deletions(-) diff --git a/go.mod b/go.mod index 36922b68c..5810e1b47 100644 --- a/go.mod +++ b/go.mod @@ -40,7 +40,7 @@ require ( github.com/gliderlabs/ssh v0.3.1 github.com/glycerine/go-unsnap-stream v0.0.0-20190901134440-81cf024a9e0a // indirect 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-git/v5 v5.2.0 github.com/go-ldap/ldap/v3 v3.2.4 diff --git a/go.sum b/go.sum index 812d2a769..180fb0672 100644 --- a/go.sum +++ b/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-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-enry/go-enry/v2 v2.5.2 h1:3f3PFAO6JitWkPi1GQ5/m6Xu4gNL1U5soJ8QaYqJ0YQ= -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 h1:nbGWQBpO+D+cJuRxNgSDFnFY9QWz3QM/CeZxU7VAH20= +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/go.mod h1:bWDhYP+S6xZQgiRL7wlTScFYBe023B6ilRZbCAD5Hf4= github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= diff --git a/vendor/github.com/go-enry/go-enry/v2/README.md b/vendor/github.com/go-enry/go-enry/v2/README.md index b7ff66c4a..03f8bac49 100644 --- a/vendor/github.com/go-enry/go-enry/v2/README.md +++ b/vendor/github.com/go-enry/go-enry/v2/README.md @@ -150,16 +150,22 @@ macOS and linux platforms. Windows support is planned under [src-d/enry#150](htt ## 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: +- [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 ".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 ".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). - 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. (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). - `enry` CLI output does NOT exclude `.gitignore`ed files and git submodules, as Linguist does diff --git a/vendor/github.com/go-enry/go-enry/v2/common.go b/vendor/github.com/go-enry/go-enry/v2/common.go index 723bc4836..4764cf763 100644 --- a/vendor/github.com/go-enry/go-enry/v2/common.go +++ b/vendor/github.com/go-enry/go-enry/v2/common.go @@ -22,6 +22,8 @@ var DefaultStrategies = []Strategy{ GetLanguagesByFilename, GetLanguagesByShebang, GetLanguagesByExtension, + GetLanguagesByXML, + GetLanguagesByManpage, GetLanguagesByContent, GetLanguagesByClassifier, } @@ -328,15 +330,23 @@ func getInterpreter(data []byte) (interpreter string) { return } -func getFirstLine(content []byte) []byte { - nlpos := bytes.IndexByte(content, '\n') - if nlpos < 0 { - return content +func getFirstLines(content []byte, count int) []byte { + nlpos := -1 + for ; count > 0; count-- { + pos := bytes.IndexByte(content[nlpos+1:], '\n') + if pos < 0 { + return content + } + nlpos += pos + 1 } return content[:nlpos] } +func getFirstLine(content []byte) []byte { + return getFirstLines(content, 1) +} + func hasShebang(line []byte) bool { const shebang = `#!` prefix := []byte(shebang) @@ -383,6 +393,49 @@ func GetLanguagesByExtension(filename string, _ []byte, _ []string) []string { 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(` 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 { dots := make([]int, 0, 2) for i, letter := range filename { diff --git a/vendor/github.com/go-enry/go-enry/v2/data/alias.go b/vendor/github.com/go-enry/go-enry/v2/data/alias.go index baa93446a..16a1af1ba 100644 --- a/vendor/github.com/go-enry/go-enry/v2/data/alias.go +++ b/vendor/github.com/go-enry/go-enry/v2/data/alias.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: 40992ba7f86889f80dfed3ba95e11e1082200bad +// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a package data @@ -31,6 +31,7 @@ var LanguageByAliasMap = map[string]string{ "ags": "AGS Script", "ags_script": "AGS Script", "ahk": "AutoHotkey", + "al": "AL", "alloy": "Alloy", "alpine_abuild": "Alpine Abuild", "altium": "Altium Designer", @@ -53,12 +54,14 @@ var LanguageByAliasMap = map[string]string{ "arexx": "REXX", "as3": "ActionScript", "asciidoc": "AsciiDoc", + "asl": "ASL", "asm": "Assembly", "asn.1": "ASN.1", - "asp": "ASP", + "asp": "Classic ASP", + "asp.net": "ASP.NET", "aspectj": "AspectJ", - "aspx": "ASP", - "aspx-vb": "ASP", + "aspx": "ASP.NET", + "aspx-vb": "ASP.NET", "assembly": "Assembly", "asymptote": "Asymptote", "ats": "ATS", @@ -70,6 +73,7 @@ var LanguageByAliasMap = map[string]string{ "autoit": "AutoIt", "autoit3": "AutoIt", "autoitscript": "AutoIt", + "avro_idl": "Avro IDL", "awk": "Awk", "b3d": "BlitzBasic", "ballerina": "Ballerina", @@ -120,6 +124,7 @@ var LanguageByAliasMap = map[string]string{ "chuck": "ChucK", "cirru": "Cirru", "clarion": "Clarion", + "classic_asp": "Classic ASP", "clean": "Clean", "click": "Click", "clipper": "xBase", @@ -172,6 +177,7 @@ var LanguageByAliasMap = map[string]string{ "cython": "Cython", "d": "D", "d-objdump": "D-ObjDump", + "dafny": "Dafny", "darcs_patch": "Darcs Patch", "dart": "Dart", "dataweave": "DataWeave", @@ -238,6 +244,7 @@ var LanguageByAliasMap = map[string]string{ "formatted": "Formatted", "forth": "Forth", "fortran": "Fortran", + "fortran_free_form": "Fortran Free Form", "foxpro": "xBase", "freemarker": "FreeMarker", "frege": "Frege", @@ -245,6 +252,7 @@ var LanguageByAliasMap = map[string]string{ "fstar": "F*", "ftl": "FreeMarker", "fundamental": "Text", + "futhark": "Futhark", "g-code": "G-code", "game_maker_language": "Game Maker Language", "gaml": "GAML", @@ -253,6 +261,7 @@ var LanguageByAliasMap = map[string]string{ "gcc_machine_description": "GCC Machine Description", "gdb": "GDB", "gdscript": "GDScript", + "gedcom": "GEDCOM", "genie": "Genie", "genshi": "Genshi", "gentoo_ebuild": "Gentoo Ebuild", @@ -308,7 +317,7 @@ var LanguageByAliasMap = map[string]string{ "html+jinja": "HTML+Django", "html+php": "HTML+PHP", "html+razor": "HTML+Razor", - "html+ruby": "RHTML", + "html+ruby": "HTML+ERB", "htmlbars": "Handlebars", "htmldjango": "HTML+Django", "http": "HTTP", @@ -363,18 +372,22 @@ var LanguageByAliasMap = map[string]string{ "jsx": "JSX", "julia": "Julia", "jupyter_notebook": "Jupyter Notebook", + "kaitai_struct": "Kaitai Struct", "kicad_layout": "KiCad Layout", "kicad_legacy_layout": "KiCad Legacy Layout", "kicad_schematic": "KiCad Schematic", "kit": "Kit", "kotlin": "Kotlin", "krl": "KRL", + "ksy": "Kaitai Struct", "labview": "LabVIEW", + "lark": "Lark", "lasso": "Lasso", "lassoscript": "Lasso", "latex": "TeX", "latte": "Latte", "lean": "Lean", + "leex": "HTML+EEX", "less": "Less", "lex": "Lex", "lfe": "LFE", @@ -403,9 +416,11 @@ var LanguageByAliasMap = map[string]string{ "ltspice_symbol": "LTspice Symbol", "lua": "Lua", "m": "M", + "m2": "Macaulay2", "m4": "M4", "m4sugar": "M4Sugar", "m68k": "Motorola 68K Assembly", + "macaulay2": "Macaulay2", "macruby": "Ruby", "make": "Makefile", "makefile": "Makefile", @@ -453,18 +468,22 @@ var LanguageByAliasMap = map[string]string{ "mumps": "M", "mupad": "mupad", "muse": "Muse", + "mustache": "Mustache", "myghty": "Myghty", "nanorc": "nanorc", "nasl": "NASL", "nasm": "Assembly", "ncl": "NCL", + "ne-on": "NEON", "nearley": "Nearley", "nemerle": "Nemerle", + "neon": "NEON", "neosnippet": "Vim Snippet", "nesc": "nesC", "netlinx": "NetLinx", "netlinx+erb": "NetLinx+ERB", "netlogo": "NetLogo", + "nette_object_notation": "NEON", "newlisp": "NewLisp", "nextflow": "Nextflow", "nginx": "Nginx", @@ -486,6 +505,7 @@ var LanguageByAliasMap = map[string]string{ "nunjucks": "HTML+Django", "nush": "Nu", "nvim": "Vim script", + "nwscript": "NWScript", "obj-c": "Objective-C", "obj-c++": "Objective-C++", "obj-j": "Objective-J", @@ -589,9 +609,12 @@ var LanguageByAliasMap = map[string]string{ "python_console": "Python console", "python_traceback": "Python traceback", "q": "q", + "q#": "Q#", "ql": "CodeQL", "qmake": "QMake", "qml": "QML", + "qsharp": "Q#", + "qt_script": "Qt Script", "quake": "Quake", "r": "R", "racket": "Racket", @@ -622,9 +645,10 @@ var LanguageByAliasMap = map[string]string{ "ren'py": "Ren'Py", "renderscript": "RenderScript", "renpy": "Ren'Py", + "rescript": "ReScript", "restructuredtext": "reStructuredText", "rexx": "REXX", - "rhtml": "RHTML", + "rhtml": "HTML+ERB", "rich_text_format": "Rich Text Format", "ring": "Ring", "riot": "Riot", @@ -663,6 +687,7 @@ var LanguageByAliasMap = map[string]string{ "shell-script": "Shell", "shellsession": "ShellSession", "shen": "Shen", + "sieve": "Sieve", "slash": "Slash", "slice": "Slice", "slim": "Slim", @@ -720,6 +745,7 @@ var LanguageByAliasMap = map[string]string{ "troff": "Roff", "ts": "TypeScript", "tsql": "TSQL", + "tsv": "TSV", "tsx": "TSX", "turing": "Turing", "turtle": "Turtle", @@ -750,8 +776,10 @@ var LanguageByAliasMap = map[string]string{ "verilog": "Verilog", "vhdl": "VHDL", "vim": "Vim script", + "vim_help_file": "Vim Help File", "vim_script": "Vim script", "vim_snippet": "Vim Snippet", + "vimhelp": "Vim Help File", "viml": "Vim script", "visual_basic": "Visual Basic .NET", "visual_basic_.net": "Visual Basic .NET", diff --git a/vendor/github.com/go-enry/go-enry/v2/data/colors.go b/vendor/github.com/go-enry/go-enry/v2/data/colors.go index 3e47ce1b3..31351b771 100644 --- a/vendor/github.com/go-enry/go-enry/v2/data/colors.go +++ b/vendor/github.com/go-enry/go-enry/v2/data/colors.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: 40992ba7f86889f80dfed3ba95e11e1082200bad +// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a package data @@ -7,42 +7,50 @@ var LanguagesColor = map[string]string{ "1C Enterprise": "#814CCC", "ABAP": "#E8274B", "AGS Script": "#B9D9FF", + "AL": "#3AA2B5", "AMPL": "#E6EFBB", "ANTLR": "#9DC3FF", "API Blueprint": "#2ACCA8", "APL": "#5A8164", - "ASP": "#6a40fd", + "ASP.NET": "#9400ff", "ATS": "#1ac620", "ActionScript": "#882B0F", "Ada": "#02f88c", "Agda": "#315665", "Alloy": "#64C800", "AngelScript": "#C7D7DC", + "Apex": "#1797c0", + "Apollo Guidance Computer": "#0B3D91", "AppleScript": "#101F1F", "Arc": "#aa2afe", "AspectJ": "#a957b0", "Assembly": "#6E4C13", - "Asymptote": "#4a0c0c", + "Asymptote": "#ff0000", "AutoHotkey": "#6594b9", "AutoIt": "#1C3552", "Ballerina": "#FF5000", "Batchfile": "#C1F12E", + "Bison": "#6A463F", + "Blade": "#f7523f", "BlitzMax": "#cd6400", "Boo": "#d4bec1", "Brainfuck": "#2F2530", "C": "#555555", "C#": "#178600", "C++": "#f34b7d", + "CSON": "#244776", "CSS": "#563d7c", "Ceylon": "#dfa535", "Chapel": "#8dc63f", "Cirru": "#ccccff", "Clarion": "#db901e", + "Classic ASP": "#6a40fd", "Clean": "#3F85AF", "Click": "#E4E6F3", "Clojure": "#db5855", "CoffeeScript": "#244776", "ColdFusion": "#ed2cd6", + "ColdFusion CFC": "#ed2cd6", "Common Lisp": "#3fb68b", "Common Workflow Language": "#B5314C", "Component Pascal": "#B0CE4E", @@ -50,6 +58,7 @@ var LanguagesColor = map[string]string{ "Cuda": "#3A4E3A", "D": "#ba595e", "DM": "#447265", + "Dafny": "#FFEC25", "Dart": "#00B4AB", "DataWeave": "#003a52", "Dhall": "#dfafff", @@ -58,8 +67,9 @@ var LanguagesColor = map[string]string{ "Dylan": "#6c616e", "E": "#ccce35", "ECL": "#8a1267", + "EJS": "#a91e50", "EQ": "#a78649", - "Eiffel": "#946d57", + "Eiffel": "#4d6977", "Elixir": "#6e4a7e", "Elm": "#60B5CC", "Emacs Lisp": "#c065db", @@ -76,6 +86,7 @@ var LanguagesColor = map[string]string{ "Fortran": "#4d41b1", "FreeMarker": "#0050b2", "Frege": "#00cafe", + "Futhark": "#5f021f", "G-code": "#D08CF2", "GAML": "#FFC766", "GDScript": "#355570", @@ -87,10 +98,13 @@ var LanguagesColor = map[string]string{ "Go": "#00ADD8", "Golo": "#88562A", "Gosu": "#82937f", - "Grammatical Framework": "#79aa7a", + "Grammatical Framework": "#ff0000", + "GraphQL": "#e10098", "Groovy": "#e69f56", "HTML": "#e34c26", "Hack": "#878787", + "Haml": "#ece2a9", + "Handlebars": "#f7931e", "Harbour": "#0e60e3", "Haskell": "#5e5086", "Haxe": "#df7900", @@ -104,6 +118,7 @@ var LanguagesColor = map[string]string{ "Ioke": "#078193", "Isabelle": "#FEFE00", "J": "#9EEDFF", + "JFlex": "#DBCA00", "JSONiq": "#40d47e", "Java": "#b07219", "JavaScript": "#f1e05a", @@ -112,12 +127,16 @@ var LanguagesColor = map[string]string{ "Julia": "#a270ba", "Jupyter Notebook": "#DA5B0B", "KRL": "#28430A", + "Kaitai Struct": "#773b37", "Kotlin": "#F18E33", "LFE": "#4C3023", "LLVM": "#185619", "LOLCODE": "#cc9900", "LSL": "#3d9970", + "Lark": "#0b130f", "Lasso": "#999999", + "Latte": "#f2a542", + "Less": "#1d365d", "Lex": "#DBCA00", "LiveScript": "#499886", "LookML": "#652B81", @@ -128,7 +147,10 @@ var LanguagesColor = map[string]string{ "MQL4": "#62A8D6", "MQL5": "#4A76B8", "MTML": "#b7e1f4", + "Macaulay2": "#d8ffff", "Makefile": "#427819", + "Markdown": "#083fa1", + "Marko": "#42bff2", "Mask": "#f97732", "Max": "#c4a79c", "Mercury": "#ff2b2b", @@ -137,6 +159,7 @@ var LanguagesColor = map[string]string{ "Mirah": "#c7a938", "Modula-3": "#223388", "NCL": "#28431f", + "NWScript": "#111522", "Nearley": "#990000", "Nemerle": "#3d3c6e", "NetLinx": "#0aa0ff", @@ -144,10 +167,11 @@ var LanguagesColor = map[string]string{ "NetLogo": "#ff6375", "NewLisp": "#87AED7", "Nextflow": "#3ac486", - "Nim": "#37775b", + "Nim": "#ffc200", "Nit": "#009917", "Nix": "#7e7eff", "Nu": "#c9df40", + "NumPy": "#9C8AF9", "OCaml": "#3be133", "ObjectScript": "#424893", "Objective-C": "#438eff", @@ -175,14 +199,18 @@ var LanguagesColor = map[string]string{ "PostScript": "#da291c", "PowerBuilder": "#8f0f8d", "PowerShell": "#012456", + "Prisma": "#0c344b", "Processing": "#0096D8", "Prolog": "#74283c", "Propeller Spin": "#7fa2a7", + "Pug": "#a86454", "Puppet": "#302B6D", "PureBasic": "#5a6986", "PureScript": "#1D222D", "Python": "#3572A5", + "Q#": "#fed659", "QML": "#44a51c", + "Qt Script": "#00b841", "Quake": "#882233", "R": "#198CE7", "RAML": "#77d9fb", @@ -191,6 +219,7 @@ var LanguagesColor = map[string]string{ "Ragel": "#9d5200", "Raku": "#0000fb", "Rascal": "#fffaa0", + "ReScript": "#ed5051", "Reason": "#ff5847", "Rebol": "#358a5b", "Red": "#f50000", @@ -202,9 +231,12 @@ var LanguagesColor = map[string]string{ "Ruby": "#701516", "Rust": "#dea584", "SAS": "#B34936", + "SCSS": "#c6538c", "SQF": "#3F3F3F", "SRecode Template": "#348a34", + "SVG": "#ff9900", "SaltStack": "#646464", + "Sass": "#a53b70", "Scala": "#c22d40", "Scheme": "#1e4aec", "Self": "#0579aa", @@ -212,15 +244,18 @@ var LanguagesColor = map[string]string{ "Shen": "#120F14", "Slash": "#007eff", "Slice": "#003fa2", + "Slim": "#2b2b2b", "SmPL": "#c94949", "Smalltalk": "#596706", "Solidity": "#AA6746", - "SourcePawn": "#5c7611", + "SourcePawn": "#f69e1d", "Squirrel": "#800000", "Stan": "#b2011d", "Standard ML": "#dc566d", "Starlark": "#76d275", + "Stylus": "#ff6347", "SuperCollider": "#46390b", + "Svelte": "#ff3e00", "Swift": "#ffac45", "SystemVerilog": "#DAE1C2", "TI Program": "#A0AA87", @@ -228,9 +263,12 @@ var LanguagesColor = map[string]string{ "TeX": "#3D6117", "Terra": "#00004c", "Turing": "#cf142b", + "Twig": "#c1d026", "TypeScript": "#2b7489", + "Unified Parallel C": "#4e3617", + "Uno": "#9933cc", "UnrealScript": "#a54c4d", - "V": "#5d87bd", + "V": "#4f87c4", "VBA": "#867db1", "VBScript": "#15dcdc", "VCL": "#148AA8", @@ -247,6 +285,7 @@ var LanguagesColor = map[string]string{ "XC": "#99DA07", "XQuery": "#5232e7", "XSLT": "#EB8CEB", + "YAML": "#cb171e", "YARA": "#220000", "YASnippet": "#32AB90", "Yacc": "#4B6C4B", @@ -256,7 +295,7 @@ var LanguagesColor = map[string]string{ "Zephir": "#118f9e", "Zig": "#ec915c", "eC": "#913960", - "mIRC Script": "#926059", + "mIRC Script": "#3d57c3", "mcfunction": "#E22837", "nesC": "#94B0C7", "ooc": "#b0b77e", diff --git a/vendor/github.com/go-enry/go-enry/v2/data/commit.go b/vendor/github.com/go-enry/go-enry/v2/data/commit.go index abe581387..5d3b4e54e 100644 --- a/vendor/github.com/go-enry/go-enry/v2/data/commit.go +++ b/vendor/github.com/go-enry/go-enry/v2/data/commit.go @@ -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: 40992ba7f86889f80dfed3ba95e11e1082200bad +// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a package data // linguist's commit from which files were generated. -var LinguistCommit = "40992ba7f86889f80dfed3ba95e11e1082200bad" +var LinguistCommit = "223c00bb80eff04788e29010f98c5778993d2b2a" diff --git a/vendor/github.com/go-enry/go-enry/v2/data/content.go b/vendor/github.com/go-enry/go-enry/v2/data/content.go index 8f62f98f2..bd03e6f07 100644 --- a/vendor/github.com/go-enry/go-enry/v2/data/content.go +++ b/vendor/github.com/go-enry/go-enry/v2/data/content.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: 40992ba7f86889f80dfed3ba95e11e1082200bad +// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a package data @@ -37,8 +37,9 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( + rule.Or( rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, ".1in": &Heuristics{ @@ -161,8 +162,9 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( + rule.Or( rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, ".3": &Heuristics{ @@ -192,8 +194,9 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( + rule.Or( rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, ".3in": &Heuristics{ @@ -409,8 +412,9 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( + rule.Or( rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, ".5": &Heuristics{ @@ -440,8 +444,9 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( + rule.Or( rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, ".6": &Heuristics{ @@ -471,8 +476,9 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( + rule.Or( rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, ".7": &Heuristics{ @@ -502,8 +508,9 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( + rule.Or( rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, ".8": &Heuristics{ @@ -533,8 +540,9 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( + rule.Or( rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, ".9": &Heuristics{ @@ -564,19 +572,24 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`), ), ), - rule.Always( - rule.MatchingLanguages("Roff"), - ), - }, - ".as": &Heuristics{ rule.Or( - rule.MatchingLanguages("ActionScript"), - 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_]+)`), - ), - rule.Always( - rule.MatchingLanguages("AngelScript"), + rule.MatchingLanguages("Roff"), + regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`), ), }, + ".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{ rule.Or( rule.MatchingLanguages("Public Key"), @@ -621,9 +634,6 @@ var ContentHeuristics = map[string]*Heuristics{ rule.MatchingLanguages("XML"), regexp.MustCompile(`(?m)^(\s*)(?i:]+>)|^\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{ rule.Or( rule.MatchingLanguages("Roff"), @@ -1304,33 +1334,31 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)(^\s*import (scala|java)\.|^\s*class\b)`), ), }, + ".sol": &Heuristics{ + rule.Or( + rule.MatchingLanguages("Gerber Image"), + regexp.MustCompile(`(?m)^G75\*`), + ), + }, ".sql": &Heuristics{ rule.Or( 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.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.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.Or( rule.MatchingLanguages("TSQL"), - rule.Not( - rule.MatchingLanguages(""), - regexp.MustCompile(`(?m)(?i:IDENTIFIED|NUMBER|VARCHAR2|REPEAT|UNTIL|IMMEDIATE)`), - ), - rule.Or( - rule.MatchingLanguages(""), - regexp.MustCompile(`(?m)(?i:(GO)|(@@)|(CREATE PROCEDURE)|BEGIN( TRY| CATCH)|OUTPUT( INSERTED)|IF|ELSE|IIF|CHOOSE|CURSOR|FETCH|DEALLOCATE|DECLARE)`), - ), + regexp.MustCompile(`(?m)(?i:^\s*GO\b|BEGIN(\s+TRY|\s+CATCH)|OUTPUT\s+INSERTED|DECLARE\s+@|\[dbo\])`), ), - rule.Not( + rule.Always( rule.MatchingLanguages("SQL"), - regexp.MustCompile(`(?m)(?i:begin|boolean|package|exception)`), ), }, ".srt": &Heuristics{ @@ -1346,7 +1374,7 @@ var ContentHeuristics = map[string]*Heuristics{ ), rule.Or( 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.MatchingLanguages("Turing"), @@ -1391,14 +1419,19 @@ var ContentHeuristics = map[string]*Heuristics{ regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`), ), }, + ".txt": &Heuristics{ + rule.Always( + rule.MatchingLanguages("Text"), + ), + }, ".v": &Heuristics{ rule.Or( 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.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.MatchingLanguages("V"), diff --git a/vendor/github.com/go-enry/go-enry/v2/data/documentation.go b/vendor/github.com/go-enry/go-enry/v2/data/documentation.go index 77ce04b42..0c51181e0 100644 --- a/vendor/github.com/go-enry/go-enry/v2/data/documentation.go +++ b/vendor/github.com/go-enry/go-enry/v2/data/documentation.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: 40992ba7f86889f80dfed3ba95e11e1082200bad +// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a package data diff --git a/vendor/github.com/go-enry/go-enry/v2/data/extension.go b/vendor/github.com/go-enry/go-enry/v2/data/extension.go index 73bf49a78..4b3443db8 100644 --- a/vendor/github.com/go-enry/go-enry/v2/data/extension.go +++ b/vendor/github.com/go-enry/go-enry/v2/data/extension.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: 40992ba7f86889f80dfed3ba95e11e1082200bad +// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a package data @@ -50,7 +50,7 @@ var LanguagesByExtension = map[string][]string{ ".ahk": {"AutoHotkey"}, ".ahkl": {"AutoHotkey"}, ".aj": {"AspectJ"}, - ".al": {"Perl"}, + ".al": {"AL", "Perl"}, ".als": {"Alloy"}, ".ampl": {"AMPL"}, ".angelscript": {"AngelScript"}, @@ -64,29 +64,31 @@ var LanguagesByExtension = map[string][]string{ ".arc": {"Arc"}, ".arpa": {"DNS Zone"}, ".as": {"ActionScript", "AngelScript"}, - ".asax": {"ASP"}, + ".asax": {"ASP.NET"}, ".asc": {"AGS Script", "AsciiDoc", "Public Key"}, ".asciidoc": {"AsciiDoc"}, - ".ascx": {"ASP"}, + ".ascx": {"ASP.NET"}, ".asd": {"Common Lisp"}, ".ash": {"AGS Script"}, - ".ashx": {"ASP"}, + ".ashx": {"ASP.NET"}, + ".asl": {"ASL"}, ".asm": {"Assembly", "Motorola 68K Assembly"}, - ".asmx": {"ASP"}, + ".asmx": {"ASP.NET"}, ".asn": {"ASN.1"}, ".asn1": {"ASN.1"}, - ".asp": {"ASP"}, - ".aspx": {"ASP"}, + ".asp": {"Classic ASP"}, + ".aspx": {"ASP.NET"}, ".asset": {"Unity3D Asset"}, ".asy": {"Asymptote", "LTspice Symbol"}, ".au3": {"AutoIt"}, ".aug": {"Augeas"}, ".auk": {"Awk"}, ".aux": {"TeX"}, + ".avdl": {"Avro IDL"}, ".avsc": {"JSON"}, ".aw": {"PHP"}, ".awk": {"Awk"}, - ".axd": {"ASP"}, + ".axd": {"ASP.NET"}, ".axi": {"NetLinx"}, ".axi.erb": {"NetLinx+ERB"}, ".axml": {"XML"}, @@ -173,6 +175,7 @@ var LanguagesByExtension = map[string][]string{ ".cobol": {"COBOL"}, ".cocci": {"SmPL"}, ".coffee": {"CoffeeScript"}, + ".coffee.md": {"Literate CoffeeScript"}, ".com": {"DIGITAL Command Language"}, ".command": {"Shell"}, ".conll": {"CoNLL-U"}, @@ -223,6 +226,7 @@ var LanguagesByExtension = map[string][]string{ ".desktop": {"desktop"}, ".desktop.in": {"desktop"}, ".dfm": {"Pascal"}, + ".dfy": {"Dafny"}, ".dhall": {"Dhall"}, ".di": {"D"}, ".diff": {"Diff"}, @@ -243,6 +247,7 @@ var LanguagesByExtension = map[string][]string{ ".dpatch": {"Darcs Patch"}, ".dpr": {"Pascal"}, ".druby": {"Mirah"}, + ".dsl": {"ASL"}, ".dsp": {"Faust", "Microsoft Developer Studio Project"}, ".dtx": {"TeX"}, ".duby": {"Mirah"}, @@ -260,6 +265,7 @@ var LanguagesByExtension = map[string][]string{ ".eclass": {"Gentoo Eclass"}, ".eclxml": {"ECL"}, ".ecr": {"HTML+ECR"}, + ".ect": {"EJS"}, ".edc": {"Edje Data Collection"}, ".edn": {"edn"}, ".eex": {"HTML+EEX"}, @@ -274,6 +280,7 @@ var LanguagesByExtension = map[string][]string{ ".emacs.desktop": {"Emacs Lisp"}, ".emberscript": {"EmberScript"}, ".eml": {"EML"}, + ".env": {"Shell"}, ".epj": {"Ecere Projects"}, ".eps": {"PostScript"}, ".epsi": {"PostScript"}, @@ -288,11 +295,11 @@ var LanguagesByExtension = map[string][]string{ ".exs": {"Elixir"}, ".eye": {"Ruby"}, ".f": {"Filebench WML", "Forth", "Fortran"}, - ".f03": {"Fortran"}, - ".f08": {"Fortran"}, + ".f03": {"Fortran Free Form"}, + ".f08": {"Fortran Free Form"}, ".f77": {"Fortran"}, - ".f90": {"Fortran"}, - ".f95": {"Fortran"}, + ".f90": {"Fortran Free Form"}, + ".f95": {"Fortran Free Form"}, ".factor": {"Factor"}, ".fan": {"Fantom"}, ".fancypack": {"Fancy"}, @@ -325,6 +332,7 @@ var LanguagesByExtension = map[string][]string{ ".fth": {"Forth"}, ".ftl": {"FreeMarker"}, ".fun": {"Standard ML"}, + ".fut": {"Futhark"}, ".fx": {"FLUX", "HLSL"}, ".fxh": {"HLSL"}, ".fxml": {"XML"}, @@ -344,6 +352,7 @@ var LanguagesByExtension = map[string][]string{ ".gd": {"GAP", "GDScript"}, ".gdb": {"GDB"}, ".gdbinit": {"GDB"}, + ".ged": {"GEDCOM"}, ".gemspec": {"Ruby"}, ".geo": {"GLSL"}, ".geojson": {"JSON"}, @@ -383,7 +392,7 @@ var LanguagesByExtension = map[string][]string{ ".gs": {"GLSL", "Genie", "Gosu", "JavaScript"}, ".gshader": {"GLSL"}, ".gsp": {"Groovy Server Pages"}, - ".gst": {"Gosu"}, + ".gst": {"Gosu", "XML"}, ".gsx": {"Gosu"}, ".gtl": {"Gerber Image"}, ".gto": {"Gerber Image"}, @@ -422,6 +431,7 @@ var LanguagesByExtension = map[string][]string{ ".htm": {"HTML"}, ".html": {"HTML"}, ".html.hl": {"HTML"}, + ".html.leex": {"HTML+EEX"}, ".http": {"HTTP"}, ".hx": {"Haxe"}, ".hxml": {"HXML"}, @@ -454,10 +464,12 @@ var LanguagesByExtension = map[string][]string{ ".ipp": {"C++"}, ".ipynb": {"Jupyter Notebook"}, ".irclog": {"IRC log"}, + ".isl": {"Inno Setup"}, ".iss": {"Inno Setup"}, ".iuml": {"PlantUML"}, ".ivy": {"XML"}, ".j": {"Jasmin", "Objective-J"}, + ".j2": {"HTML+Django"}, ".jade": {"Pug"}, ".jake": {"JavaScript"}, ".java": {"Java"}, @@ -486,6 +498,7 @@ var LanguagesByExtension = map[string][]string{ ".jsp": {"Java Server Pages"}, ".jsproj": {"XML"}, ".jss": {"JavaScript"}, + ".jst": {"EJS"}, ".jsx": {"JSX"}, ".kicad_mod": {"KiCad Layout"}, ".kicad_pcb": {"KiCad Layout"}, @@ -496,11 +509,13 @@ var LanguagesByExtension = map[string][]string{ ".kojo": {"Scala"}, ".krl": {"KRL"}, ".ksh": {"Shell"}, + ".ksy": {"Kaitai Struct"}, ".kt": {"Kotlin"}, ".ktm": {"Kotlin"}, ".kts": {"Kotlin"}, ".l": {"Common Lisp", "Lex", "PicoLisp", "Roff"}, ".lagda": {"Literate Agda"}, + ".lark": {"Lark"}, ".las": {"Lasso"}, ".lasso": {"Lasso"}, ".lasso8": {"Lasso"}, @@ -520,6 +535,7 @@ var LanguagesByExtension = map[string][]string{ ".libsonnet": {"Jsonnet"}, ".lid": {"Dylan"}, ".lidr": {"Idris"}, + ".linq": {"C#"}, ".liquid": {"Liquid"}, ".lisp": {"Common Lisp", "NewLisp"}, ".litcoffee": {"Literate CoffeeScript"}, @@ -535,9 +551,11 @@ var LanguagesByExtension = map[string][]string{ ".lsp": {"Common Lisp", "NewLisp"}, ".ltx": {"TeX"}, ".lua": {"Lua"}, + ".lvlib": {"LabVIEW"}, ".lvproj": {"LabVIEW"}, ".ly": {"LilyPond"}, ".m": {"Limbo", "M", "MATLAB", "MUF", "Mathematica", "Mercury", "Objective-C"}, + ".m2": {"Macaulay2"}, ".m3": {"Modula-3"}, ".m4": {"M4", "M4Sugar"}, ".ma": {"Mathematica"}, @@ -617,7 +635,7 @@ var LanguagesByExtension = map[string][]string{ ".muf": {"MUF"}, ".mumps": {"M"}, ".muse": {"Muse"}, - ".mustache": {"HTML+Django"}, + ".mustache": {"Mustache"}, ".mxml": {"XML"}, ".mxt": {"Max"}, ".mysql": {"SQL"}, @@ -635,7 +653,9 @@ var LanguagesByExtension = map[string][]string{ ".ndproj": {"XML"}, ".ne": {"Nearley"}, ".nearley": {"Nearley"}, + ".neon": {"NEON"}, ".nf": {"Nextflow"}, + ".nginx": {"Nginx"}, ".nginxconf": {"Nginx"}, ".ni": {"Inform 7"}, ".nim": {"Nim"}, @@ -651,12 +671,14 @@ var LanguagesByExtension = map[string][]string{ ".nl": {"NL", "NewLisp"}, ".nlogo": {"NetLogo"}, ".no": {"Text"}, + ".nomad": {"HCL"}, ".nproj": {"XML"}, ".nqp": {"Raku"}, ".nr": {"Roff"}, ".nse": {"Lua"}, ".nsh": {"NSIS"}, ".nsi": {"NSIS"}, + ".nss": {"NWScript"}, ".nu": {"Nu"}, ".numpy": {"NumPy"}, ".numpyw": {"NumPy"}, @@ -799,6 +821,7 @@ var LanguagesByExtension = map[string][]string{ ".ql": {"CodeQL"}, ".qll": {"CodeQL"}, ".qml": {"QML"}, + ".qs": {"Q#", "Qt Script"}, ".r": {"R", "Rebol"}, ".r2": {"Rebol"}, ".r3": {"Rebol"}, @@ -833,13 +856,14 @@ var LanguagesByExtension = map[string][]string{ ".regexp": {"Regular Expression"}, ".rego": {"Open Policy Agent"}, ".rei": {"Reason"}, + ".res": {"ReScript", "XML"}, ".rest": {"reStructuredText"}, ".rest.txt": {"reStructuredText"}, ".resx": {"XML"}, ".rex": {"REXX"}, ".rexx": {"REXX"}, ".rg": {"Rouge"}, - ".rhtml": {"RHTML"}, + ".rhtml": {"HTML+ERB"}, ".ring": {"Ring"}, ".riot": {"Riot"}, ".rkt": {"Racket"}, @@ -900,6 +924,7 @@ var LanguagesByExtension = map[string][]string{ ".shader": {"GLSL", "ShaderLab"}, ".shen": {"Shen"}, ".shproj": {"XML"}, + ".sieve": {"Sieve"}, ".sig": {"Standard ML"}, ".sj": {"Objective-J"}, ".sjs": {"JavaScript"}, @@ -916,6 +941,7 @@ var LanguagesByExtension = map[string][]string{ ".snip": {"Vim Snippet"}, ".snippet": {"Vim Snippet"}, ".snippets": {"Vim Snippet"}, + ".sol": {"Gerber Image", "Solidity"}, ".soy": {"Closure Templates"}, ".sp": {"SourcePawn"}, ".sparql": {"SPARQL"}, @@ -937,6 +963,7 @@ var LanguagesByExtension = map[string][]string{ ".stan": {"Stan"}, ".sthlp": {"Stata"}, ".ston": {"STON"}, + ".story": {"Gherkin"}, ".storyboard": {"XML"}, ".sttheme": {"XML Property List"}, ".sty": {"TeX"}, @@ -1005,13 +1032,14 @@ var LanguagesByExtension = map[string][]string{ ".trg": {"PLSQL"}, ".ts": {"TypeScript", "XML"}, ".tst": {"GAP", "Scilab"}, + ".tsv": {"TSV"}, ".tsx": {"TSX", "XML"}, ".ttl": {"Turtle"}, ".tu": {"Turing"}, ".twig": {"Twig"}, ".txi": {"Texinfo"}, ".txl": {"TXL"}, - ".txt": {"Text"}, + ".txt": {"Text", "Vim Help File"}, ".uc": {"UnrealScript"}, ".udf": {"SQL"}, ".udo": {"Csound"}, @@ -1167,12 +1195,14 @@ var ExtensionsByLanguage = map[string][]string{ "ABAP": {".abap"}, "ABNF": {".abnf"}, "AGS Script": {".asc", ".ash"}, + "AL": {".al"}, "AMPL": {".ampl", ".mod"}, "ANTLR": {".g4"}, "API Blueprint": {".apib"}, "APL": {".apl", ".dyalog"}, + "ASL": {".asl", ".dsl"}, "ASN.1": {".asn", ".asn1"}, - "ASP": {".asp", ".asax", ".ascx", ".ashx", ".asmx", ".aspx", ".axd"}, + "ASP.NET": {".asax", ".ascx", ".ashx", ".asmx", ".aspx", ".axd"}, "ATS": {".dats", ".hats", ".sats"}, "ActionScript": {".as"}, "Ada": {".adb", ".ada", ".ads"}, @@ -1193,6 +1223,7 @@ var ExtensionsByLanguage = map[string][]string{ "Augeas": {".aug"}, "AutoHotkey": {".ahk", ".ahkl"}, "AutoIt": {".au3"}, + "Avro IDL": {".avdl"}, "Awk": {".awk", ".auk", ".gawk", ".mawk", ".nawk"}, "Ballerina": {".bal"}, "Batchfile": {".bat", ".cmd"}, @@ -1208,7 +1239,7 @@ var ExtensionsByLanguage = map[string][]string{ "Brainfuck": {".b", ".bf"}, "Brightscript": {".brs"}, "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-ObjDump": {".c-objdump"}, "C2hs Haskell": {".chs"}, @@ -1229,6 +1260,7 @@ var ExtensionsByLanguage = map[string][]string{ "ChucK": {".ck"}, "Cirru": {".cirru"}, "Clarion": {".clw"}, + "Classic ASP": {".asp"}, "Clean": {".icl", ".dcl"}, "Click": {".click"}, "Clojure": {".clj", ".boot", ".cl2", ".cljc", ".cljs", ".cljs.hl", ".cljscm", ".cljx", ".hic"}, @@ -1258,6 +1290,7 @@ var ExtensionsByLanguage = map[string][]string{ "DM": {".dm"}, "DNS Zone": {".zone", ".arpa"}, "DTrace": {".d"}, + "Dafny": {".dfy"}, "Darcs Patch": {".darcspatch", ".dpatch"}, "Dart": {".dart"}, "DataWeave": {".dwl"}, @@ -1271,7 +1304,7 @@ var ExtensionsByLanguage = map[string][]string{ "EBNF": {".ebnf"}, "ECL": {".ecl", ".eclxml"}, "ECLiPSe": {".ecl"}, - "EJS": {".ejs"}, + "EJS": {".ejs", ".ect", ".jst"}, "EML": {".eml", ".mbox"}, "EQ": {".eq"}, "Eagle": {".sch", ".brd"}, @@ -1296,9 +1329,11 @@ var ExtensionsByLanguage = map[string][]string{ "Filterscript": {".fs"}, "Formatted": {".for", ".eam.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"}, "Frege": {".fr"}, + "Futhark": {".fut"}, "G-code": {".g", ".cnc", ".gco", ".gcode"}, "GAML": {".gaml"}, "GAMS": {".gms"}, @@ -1306,6 +1341,7 @@ var ExtensionsByLanguage = map[string][]string{ "GCC Machine Description": {".md"}, "GDB": {".gdb", ".gdbinit"}, "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"}, "GN": {".gn", ".gni"}, "Game Maker Language": {".gml"}, @@ -1313,9 +1349,9 @@ var ExtensionsByLanguage = map[string][]string{ "Genshi": {".kid"}, "Gentoo Ebuild": {".ebuild"}, "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"}, - "Gherkin": {".feature"}, + "Gherkin": {".feature", ".story"}, "Git Config": {".gitconfig"}, "Glyph": {".glf"}, "Glyph Bitmap Distribution Format": {".bdf"}, @@ -1332,13 +1368,13 @@ var ExtensionsByLanguage = map[string][]string{ "Groovy": {".groovy", ".grt", ".gtpl", ".gvy"}, "Groovy Server Pages": {".gsp"}, "HAProxy": {".cfg"}, - "HCL": {".hcl", ".tf", ".tfvars", ".workflow"}, + "HCL": {".hcl", ".nomad", ".tf", ".tfvars", ".workflow"}, "HLSL": {".hlsl", ".cginc", ".fx", ".fxh", ".hlsli"}, "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+EEX": {".eex"}, - "HTML+ERB": {".erb", ".erb.deface"}, + "HTML+EEX": {".eex", ".html.leex"}, + "HTML+ERB": {".erb", ".erb.deface", ".rhtml"}, "HTML+PHP": {".phtml"}, "HTML+Razor": {".cshtml", ".razor"}, "HTTP": {".http"}, @@ -1360,7 +1396,7 @@ var ExtensionsByLanguage = map[string][]string{ "Idris": {".idr", ".lidr"}, "Ignore List": {".gitignore"}, "Inform 7": {".ni", ".i7x"}, - "Inno Setup": {".iss"}, + "Inno Setup": {".iss", ".isl"}, "Io": {".io"}, "Ioke": {".ik"}, "Isabelle": {".thy"}, @@ -1385,6 +1421,7 @@ var ExtensionsByLanguage = map[string][]string{ "Julia": {".jl"}, "Jupyter Notebook": {".ipynb"}, "KRL": {".krl"}, + "Kaitai Struct": {".ksy"}, "KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"}, "KiCad Legacy Layout": {".brd"}, "KiCad Schematic": {".sch"}, @@ -1395,7 +1432,8 @@ var ExtensionsByLanguage = map[string][]string{ "LOLCODE": {".lol"}, "LSL": {".lsl", ".lslp"}, "LTspice Symbol": {".asy"}, - "LabVIEW": {".lvproj"}, + "LabVIEW": {".lvproj", ".lvlib"}, + "Lark": {".lark"}, "Lasso": {".lasso", ".las", ".lasso8", ".lasso9"}, "Latte": {".latte"}, "Lean": {".lean", ".hlean"}, @@ -1407,7 +1445,7 @@ var ExtensionsByLanguage = map[string][]string{ "Linux Kernel Module": {".mod"}, "Liquid": {".liquid"}, "Literate Agda": {".lagda"}, - "Literate CoffeeScript": {".litcoffee"}, + "Literate CoffeeScript": {".litcoffee", ".coffee.md"}, "Literate Haskell": {".lhs"}, "LiveScript": {".ls", "._ls"}, "Logos": {".xm", ".x", ".xi"}, @@ -1425,6 +1463,7 @@ var ExtensionsByLanguage = map[string][]string{ "MQL5": {".mq5", ".mqh"}, "MTML": {".mtml"}, "MUF": {".muf", ".m"}, + "Macaulay2": {".m2"}, "Makefile": {".mak", ".d", ".make", ".mk", ".mkfile"}, "Mako": {".mako", ".mao"}, "Markdown": {".md", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".workbook"}, @@ -1447,11 +1486,14 @@ var ExtensionsByLanguage = map[string][]string{ "MoonScript": {".moon"}, "Motorola 68K Assembly": {".asm", ".i", ".inc", ".s", ".x68"}, "Muse": {".muse"}, + "Mustache": {".mustache"}, "Myghty": {".myt"}, "NASL": {".nasl", ".inc"}, "NCL": {".ncl"}, + "NEON": {".neon"}, "NL": {".nl"}, "NSIS": {".nsi", ".nsh"}, + "NWScript": {".nss"}, "Nearley": {".ne", ".nearley"}, "Nemerle": {".n"}, "NetLinx": {".axs", ".axi"}, @@ -1459,7 +1501,7 @@ var ExtensionsByLanguage = map[string][]string{ "NetLogo": {".nlogo"}, "NewLisp": {".nl", ".lisp", ".lsp"}, "Nextflow": {".nf"}, - "Nginx": {".nginxconf", ".vhost"}, + "Nginx": {".nginx", ".nginxconf", ".vhost"}, "Nim": {".nim", ".nim.cfg", ".nimble", ".nimrod", ".nims"}, "Ninja": {".ninja"}, "Nit": {".nit"}, @@ -1530,14 +1572,15 @@ var ExtensionsByLanguage = map[string][]string{ "PureScript": {".purs"}, "Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".wsgi", ".xpy"}, "Python traceback": {".pytb"}, + "Q#": {".qs"}, "QML": {".qml", ".qbs"}, "QMake": {".pro", ".pri"}, + "Qt Script": {".qs"}, "R": {".r", ".rd", ".rsx"}, "RAML": {".raml"}, "RDoc": {".rdoc"}, "REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"}, "REXX": {".rexx", ".pprx", ".rex"}, - "RHTML": {".rhtml"}, "RMarkdown": {".rmd"}, "RPC": {".x"}, "RPM Spec": {".spec"}, @@ -1547,6 +1590,7 @@ var ExtensionsByLanguage = map[string][]string{ "Raku": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"}, "Rascal": {".rsc"}, "Raw token data": {".raw"}, + "ReScript": {".res"}, "Reason": {".re", ".rei"}, "Rebol": {".reb", ".r", ".r2", ".r3", ".rebol"}, "Red": {".red", ".reds"}, @@ -1583,9 +1627,10 @@ var ExtensionsByLanguage = map[string][]string{ "Scilab": {".sci", ".sce", ".tst"}, "Self": {".self"}, "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"}, "Shen": {".shen"}, + "Sieve": {".sieve"}, "Slash": {".sl"}, "Slice": {".ice"}, "Slim": {".slim"}, @@ -1593,6 +1638,7 @@ var ExtensionsByLanguage = map[string][]string{ "Smali": {".smali"}, "Smalltalk": {".st", ".cs"}, "Smarty": {".tpl"}, + "Solidity": {".sol"}, "SourcePawn": {".sp", ".inc"}, "Spline Font Database": {".sfd"}, "Squirrel": {".nut"}, @@ -1611,6 +1657,7 @@ var ExtensionsByLanguage = map[string][]string{ "TLA": {".tla"}, "TOML": {".toml"}, "TSQL": {".sql"}, + "TSV": {".tsv"}, "TSX": {".tsx"}, "TXL": {".txl"}, "Tcl": {".tcl", ".adp", ".tm"}, @@ -1640,6 +1687,7 @@ var ExtensionsByLanguage = map[string][]string{ "VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"}, "Vala": {".vala", ".vapi"}, "Verilog": {".v", ".veo"}, + "Vim Help File": {".txt"}, "Vim Snippet": {".snip", ".snippet", ".snippets"}, "Vim script": {".vim", ".vba", ".vmb"}, "Visual Basic .NET": {".vb", ".vbhtml"}, @@ -1658,7 +1706,7 @@ var ExtensionsByLanguage = map[string][]string{ "X PixMap": {".xpm", ".pm"}, "X10": {".x10"}, "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"}, "XPages": {".xsp-config", ".xsp.metadata"}, "XProc": {".xpl", ".xproc"}, diff --git a/vendor/github.com/go-enry/go-enry/v2/data/filename.go b/vendor/github.com/go-enry/go-enry/v2/data/filename.go index 074f43033..56d02173b 100644 --- a/vendor/github.com/go-enry/go-enry/v2/data/filename.go +++ b/vendor/github.com/go-enry/go-enry/v2/data/filename.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: 40992ba7f86889f80dfed3ba95e11e1082200bad +// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a package data @@ -31,10 +31,14 @@ var LanguagesByFilename = map[string][]string{ ".editorconfig": {"EditorConfig"}, ".emacs": {"Emacs Lisp"}, ".emacs.desktop": {"Emacs Lisp"}, + ".env": {"Shell"}, + ".env.example": {"Shell"}, ".eslintignore": {"Ignore List"}, ".eslintrc.json": {"JSON with Comments"}, + ".exrc": {"Vim script"}, ".factor-boot-rc": {"Factor"}, ".factor-rc": {"Factor"}, + ".flaskenv": {"Shell"}, ".gclient": {"Python"}, ".gemrc": {"YAML"}, ".gitattributes": {"Git Attributes"}, @@ -65,6 +69,7 @@ var LanguagesByFilename = map[string][]string{ ".profile": {"Shell"}, ".project": {"XML"}, ".pryrc": {"Ruby"}, + ".simplecov": {"Ruby"}, ".spacemacs": {"Emacs Lisp"}, ".stylelintignore": {"Ignore List"}, ".tern-config": {"JSON"}, @@ -120,6 +125,7 @@ var LanguagesByFilename = map[string][]string{ "Kbuild": {"Makefile"}, "LICENSE": {"Text"}, "LICENSE.mysql": {"Text"}, + "Lexer.x": {"Lex"}, "Makefile": {"Makefile"}, "Makefile.PL": {"Perl"}, "Makefile.am": {"Makefile"}, @@ -142,6 +148,7 @@ var LanguagesByFilename = map[string][]string{ "README.1ST": {"Text"}, "README.me": {"Text"}, "README.mysql": {"Text"}, + "README.nss": {"Text"}, "ROOT": {"Isabelle ROOT"}, "Rakefile": {"Ruby"}, "Rexfile": {"Perl"}, @@ -152,6 +159,7 @@ var LanguagesByFilename = map[string][]string{ "Snakefile": {"Python"}, "Snapfile": {"Ruby"}, "Thorfile": {"Ruby"}, + "Tiltfile": {"Starlark"}, "Vagrantfile": {"Ruby"}, "WORKSPACE": {"Starlark"}, "Web.Debug.config": {"XML"}, @@ -185,6 +193,7 @@ var LanguagesByFilename = map[string][]string{ "delete.me": {"Text"}, "descrip.mmk": {"Module Management System"}, "descrip.mms": {"Module Management System"}, + "devcontainer.json": {"JSON with Comments"}, "dir_colors": {"dircolors"}, "encodings.dir": {"X Font Directory Index"}, "eqnrc": {"Roff"}, @@ -204,10 +213,12 @@ var LanguagesByFilename = map[string][]string{ "haproxy.cfg": {"HAProxy"}, "httpd.conf": {"ApacheConf"}, "inputrc": {"Readline Config"}, + "installscript.qs": {"Qt Script"}, "jsconfig.json": {"JSON with Comments"}, "keep.me": {"Text"}, "language-configuration.json": {"JSON with Comments"}, "ld.script": {"Linker Script"}, + "lexer.x": {"Lex"}, "login": {"Shell"}, "m3makefile": {"Quake"}, "m3overrides": {"Quake"}, @@ -231,6 +242,7 @@ var LanguagesByFilename = map[string][]string{ "package.use.mask": {"Text"}, "package.use.stable.mask": {"Text"}, "packages.config": {"XML"}, + "poetry.lock": {"TOML"}, "pom.xml": {"Maven POM"}, "profile": {"Shell"}, "read.me": {"Text"}, @@ -247,9 +259,11 @@ var LanguagesByFilename = map[string][]string{ "sshd_config": {"SSH Config"}, "starfield": {"Tcl"}, "test.me": {"Text"}, + "toolchain_installscript.qs": {"Qt Script"}, "troffrc": {"Roff"}, "troffrc-end": {"Roff"}, "tsconfig.json": {"JSON with Comments"}, + "tslint.json": {"JSON with Comments"}, "use.mask": {"Text"}, "use.stable.mask": {"Text"}, "vimrc": {"Vim script"}, diff --git a/vendor/github.com/go-enry/go-enry/v2/data/frequencies.go b/vendor/github.com/go-enry/go-enry/v2/data/frequencies.go index a919797ed..82193d025 100644 --- a/vendor/github.com/go-enry/go-enry/v2/data/frequencies.go +++ b/vendor/github.com/go-enry/go-enry/v2/data/frequencies.go @@ -1,493 +1,515 @@ // 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 var LanguagesLogProbabilities = map[string]float64{ - "1C Enterprise": -5.957563, - "4D": -6.363028, - "ABAP": -7.749322, - "ABNF": -7.749322, - "AGS Script": -6.363028, - "AMPL": -7.056175, - "API Blueprint": -6.650710, - "APL": -6.650710, - "ASN.1": -7.749322, - "ATS": -5.552098, - "ActionScript": -7.056175, - "Adobe Font Metrics": -6.650710, - "Agda": -7.749322, - "Alloy": -6.650710, - "Alpine Abuild": -7.749322, - "Altium Designer": -6.363028, - "AngelScript": -7.056175, - "Ant Build System": -7.749322, - "ApacheConf": -6.363028, - "Apex": -5.957563, - "Apollo Guidance Computer": -7.749322, - "AppleScript": -5.803412, - "AsciiDoc": -6.650710, - "AspectJ": -7.056175, - "Assembly": -5.552098, - "Asymptote": -7.056175, - "AutoHotkey": -7.749322, - "Awk": -7.749322, - "Ballerina": -6.139885, - "BibTeX": -7.056175, - "BitBake": -7.056175, - "Blade": -7.056175, - "BlitzBasic": -6.650710, - "BlitzMax": -7.749322, - "Bluespec": -7.056175, - "Brainfuck": -6.139885, - "Brightscript": -7.749322, - "C": -3.706271, - "C#": -6.139885, - "C++": -3.837299, - "CLIPS": -7.056175, - "CMake": -5.803412, - "COBOL": -6.363028, - "CSON": -6.363028, - "CSS": -7.056175, - "CSV": -7.749322, - "CWeb": -7.749322, - "Cabal Config": -6.363028, - "CartoCSS": -7.749322, - "Ceylon": -7.749322, - "Chapel": -6.139885, - "Charity": -7.749322, - "Cirru": -5.552098, - "Clarion": -6.363028, - "Clean": -5.552098, - "Click": -7.056175, - "Clojure": -5.552098, - "Closure Templates": -7.749322, - "Cloud Firestore Security Rules": -7.749322, - "CoNLL-U": -6.650710, - "CodeQL": -5.957563, - "CoffeeScript": -5.446737, - "ColdFusion": -7.749322, - "ColdFusion CFC": -7.056175, - "Common Lisp": -5.552098, - "Common Workflow Language": -7.749322, - "Component Pascal": -7.056175, - "Cool": -7.056175, - "Coq": -5.184373, - "Creole": -7.749322, - "Crystal": -6.650710, - "Csound": -6.650710, - "Csound Document": -6.650710, - "Csound Score": -6.650710, - "Cuda": -7.056175, - "Cycript": -7.749322, - "D": -5.552098, - "DIGITAL Command Language": -6.363028, - "DM": -7.749322, - "DNS Zone": -7.056175, - "DTrace": -6.650710, - "Dart": -7.749322, - "DataWeave": -6.139885, - "Dhall": -7.056175, - "Diff": -7.749322, - "DirectX 3D File": -7.749322, - "Dockerfile": -7.749322, - "Dogescript": -7.749322, - "E": -5.803412, - "EBNF": -6.363028, - "ECL": -7.749322, - "ECLiPSe": -7.749322, - "EJS": -7.056175, - "EML": -7.749322, - "EQ": -6.650710, - "Eagle": -7.056175, - "Easybuild": -7.749322, - "EditorConfig": -7.749322, - "Edje Data Collection": -7.749322, - "Eiffel": -6.650710, - "Elixir": -7.749322, - "Elm": -6.650710, - "Emacs Lisp": -5.351427, - "EmberScript": -7.749322, - "Erlang": -5.110265, - "F#": -5.669881, - "FIGlet Font": -7.749322, - "FLUX": -6.363028, - "Fantom": -7.056175, - "Faust": -7.056175, - "Filebench WML": -7.749322, - "Filterscript": -7.056175, - "Formatted": -6.650710, - "Forth": -4.976734, - "Fortran": -6.139885, - "FreeMarker": -7.056175, - "Frege": -6.363028, - "Fstar": -7.056175, - "G-code": -6.650710, - "GAML": -5.957563, - "GAMS": -7.749322, - "GAP": -5.552098, - "GCC Machine Description": -7.749322, - "GDB": -7.056175, - "GDScript": -6.363028, - "GLSL": -4.976734, - "GN": -5.351427, - "Game Maker Language": -5.351427, - "Genie": -7.056175, - "Gerber Image": -4.916109, - "Git Attributes": -7.749322, - "Git Config": -6.650710, - "Glyph Bitmap Distribution Format": -7.749322, - "Gnuplot": -5.803412, - "Go": -6.363028, - "Golo": -4.453486, - "Gosu": -6.139885, - "Grace": -7.056175, - "Gradle": -7.056175, - "Grammatical Framework": -4.035750, - "Graph Modeling Language": -6.650710, - "GraphQL": -6.363028, - "Graphviz (DOT)": -7.056175, - "Groovy": -5.957563, - "Groovy Server Pages": -6.363028, - "HAProxy": -6.363028, - "HCL": -6.139885, - "HLSL": -6.139885, - "HTML": -5.803412, - "HTML+Django": -7.056175, - "HTML+ECR": -7.749322, - "HTML+EEX": -7.749322, - "HTML+ERB": -7.056175, - "HTML+Razor": -7.056175, - "HXML": -7.056175, - "Hack": -4.348125, - "Haml": -7.056175, - "Handlebars": -7.056175, - "Haskell": -6.139885, - "HiveQL": -7.056175, - "HolyC": -6.139885, - "Hy": -6.650710, - "HyPhy": -5.669881, - "IDL": -6.363028, - "IGOR Pro": -6.650710, - "INI": -5.669881, - "Idris": -7.749322, - "Ignore List": -4.976734, - "Inform 7": -7.056175, - "Inno Setup": -7.749322, - "Ioke": -7.749322, - "Isabelle": -7.749322, - "Isabelle ROOT": -7.749322, - "J": -7.056175, - "JFlex": -7.056175, - "JSON": -4.571269, - "JSON with Comments": -4.704800, - "JSON5": -7.056175, - "JSONLD": -7.749322, - "JSONiq": -7.056175, - "JSX": -7.749322, - "Jasmin": -5.669881, - "Java": -5.552098, - "Java Properties": -7.056175, - "JavaScript": -4.085761, - "JavaScript+ERB": -7.749322, - "Jison": -6.650710, - "Jison Lex": -7.056175, - "Jolie": -6.139885, - "Jsonnet": -7.749322, - "Julia": -7.056175, - "Jupyter Notebook": -7.749322, - "KRL": -7.749322, - "KiCad Layout": -4.976734, - "KiCad Legacy Layout": -7.749322, - "KiCad Schematic": -5.957563, - "Kit": -7.749322, - "Kotlin": -7.749322, - "LFE": -6.363028, - "LOLCODE": -7.749322, - "LSL": -7.056175, - "LTspice Symbol": -7.749322, - "Lasso": -6.650710, - "Latte": -7.056175, - "Lean": -7.056175, - "Less": -7.749322, - "Lex": -7.749322, - "Limbo": -6.650710, - "Linker Script": -6.363028, - "Linux Kernel Module": -6.650710, - "Liquid": -7.056175, - "Literate Agda": -7.749322, - "Literate CoffeeScript": -7.749322, - "LiveScript": -7.749322, - "Logos": -6.139885, - "Logtalk": -7.749322, - "LookML": -6.650710, - "LoomScript": -7.056175, - "Lua": -5.803412, - "M": -4.382027, - "M4": -7.749322, - "M4Sugar": -6.650710, - "MATLAB": -4.085761, - "MAXScript": -6.139885, - "MLIR": -6.363028, - "MQL4": -6.650710, - "MQL5": -6.650710, - "MTML": -7.749322, - "MUF": -7.056175, - "Makefile": -5.264416, - "Markdown": -5.552098, - "Marko": -6.650710, - "Mask": -7.749322, - "Mathematica": -5.264416, - "Maven POM": -7.749322, - "Max": -6.650710, - "MediaWiki": -7.056175, - "Mercury": -5.446737, - "Meson": -7.056175, - "Metal": -7.749322, - "Microsoft Developer Studio Project": -7.749322, - "Modelica": -5.264416, - "Modula-2": -7.749322, - "Modula-3": -6.139885, - "Module Management System": -6.139885, - "Monkey": -6.139885, - "Moocode": -6.650710, - "MoonScript": -7.749322, - "Motorola 68K Assembly": -5.957563, - "Muse": -7.056175, - "NASL": -5.446737, - "NCL": -4.976734, - "NL": -7.056175, - "NPM Config": -7.749322, - "NSIS": -7.056175, - "Nearley": -7.749322, - "Nemerle": -7.749322, - "NetLinx": -7.056175, - "NetLinx+ERB": -7.056175, - "NetLogo": -7.749322, - "NewLisp": -6.650710, - "Nextflow": -6.363028, - "Nginx": -7.056175, - "Nim": -6.139885, - "Nit": -4.571269, - "Nix": -7.749322, - "Nu": -7.056175, - "OCaml": -5.446737, - "Object Data Instance Notation": -7.749322, - "ObjectScript": -7.749322, - "Objective-C": -4.658280, - "Objective-C++": -7.056175, - "Objective-J": -6.650710, - "Odin": -7.749322, - "Omgrofl": -7.749322, - "Opa": -7.056175, - "Opal": -7.749322, - "Open Policy Agent": -6.363028, - "OpenCL": -7.056175, - "OpenEdge ABL": -5.957563, - "OpenQASM": -7.749322, - "OpenRC runscript": -7.749322, - "OpenSCAD": -7.056175, - "OpenStep Property List": -7.749322, - "Org": -7.749322, - "Ox": -6.650710, - "Oxygene": -7.749322, - "Oz": -7.749322, - "P4": -7.056175, - "PHP": -4.858951, - "PLSQL": -5.669881, - "PLpgSQL": -5.803412, - "POV-Ray SDL": -5.264416, - "Pan": -4.858951, - "Papyrus": -6.650710, - "Parrot Assembly": -7.749322, - "Parrot Internal Representation": -7.749322, - "Pascal": -5.446737, - "Pawn": -5.957563, - "Pep8": -5.803412, - "Perl": -4.571269, - "Pic": -6.650710, - "Pickle": -6.363028, - "PicoLisp": -7.749322, - "PigLatin": -7.749322, - "Pike": -6.650710, - "PlantUML": -5.803412, - "Pod": -6.363028, - "Pod 6": -7.749322, - "PogoScript": -7.749322, - "Pony": -5.957563, - "PostCSS": -7.056175, - "PostScript": -6.650710, - "PowerBuilder": -5.957563, - "PowerShell": -6.363028, - "Prisma": -6.139885, - "Processing": -7.749322, - "Proguard": -6.650710, - "Prolog": -5.552098, - "Propeller Spin": -5.446737, - "Protocol Buffer": -7.749322, - "Public Key": -5.803412, - "Pug": -7.056175, - "Puppet": -6.139885, - "PureBasic": -7.056175, - "PureScript": -6.363028, - "Python": -4.613828, - "QML": -7.749322, - "QMake": -6.363028, - "Quake": -7.056175, - "R": -5.669881, - "RAML": -7.749322, - "RDoc": -7.749322, - "REXX": -6.363028, - "RMarkdown": -7.749322, - "RPC": -6.650710, - "RPM Spec": -6.650710, - "RUNOFF": -6.363028, - "Racket": -7.056175, - "Ragel": -6.650710, - "Raku": -4.658280, - "Rascal": -6.363028, - "Readline Config": -7.749322, - "Reason": -6.139885, - "Rebol": -5.957563, - "Red": -7.056175, - "Regular Expression": -6.363028, - "Ren'Py": -7.749322, - "RenderScript": -7.056175, - "Rich Text Format": -7.056175, - "Ring": -6.363028, - "Riot": -7.056175, - "RobotFramework": -6.650710, - "Roff": -4.453486, - "Roff Manpage": -4.704800, - "Ruby": -4.252815, - "Rust": -6.650710, - "SAS": -6.650710, - "SCSS": -7.749322, - "SMT": -6.363028, - "SPARQL": -7.056175, - "SQF": -7.056175, - "SQL": -5.264416, - "SQLPL": -5.957563, - "SRecode Template": -7.749322, - "SSH Config": -5.957563, - "STON": -5.803412, - "SWIG": -6.650710, - "Sage": -7.749322, - "SaltStack": -5.957563, - "Sass": -7.749322, - "Scala": -5.803412, - "Scaml": -7.749322, - "Scheme": -6.363028, - "Scilab": -6.650710, - "ShaderLab": -6.650710, - "Shell": -3.942660, - "ShellSession": -6.650710, - "Shen": -6.650710, - "Slash": -7.749322, - "Slice": -6.650710, - "Slim": -7.749322, - "SmPL": -7.749322, - "Smali": -5.803412, - "Smalltalk": -5.446737, - "SourcePawn": -7.056175, - "Squirrel": -7.749322, - "Stan": -6.650710, - "Standard ML": -6.139885, - "Starlark": -6.139885, - "Stata": -5.803412, - "Stylus": -7.749322, - "SubRip Text": -7.749322, - "SugarSS": -7.749322, - "SuperCollider": -6.139885, - "Svelte": -7.749322, - "Swift": -3.988122, - "SystemVerilog": -6.363028, - "TI Program": -6.363028, - "TLA": -7.056175, - "TOML": -7.056175, - "TSQL": -6.363028, - "TSX": -6.363028, - "TXL": -7.749322, - "Tcl": -6.363028, - "Tcsh": -7.749322, - "TeX": -5.803412, - "Tea": -7.749322, - "Terra": -6.650710, - "Texinfo": -7.749322, - "Text": -4.491226, - "Thrift": -7.749322, - "Turing": -7.056175, - "Turtle": -7.056175, - "Type Language": -7.056175, - "TypeScript": -6.650710, - "Unity3D Asset": -5.957563, - "Unix Assembly": -7.056175, - "Uno": -6.650710, - "UnrealScript": -7.056175, - "UrWeb": -7.056175, - "V": -5.552098, - "VBA": -6.363028, - "VBScript": -7.749322, - "VCL": -7.056175, - "VHDL": -7.749322, - "Verilog": -5.184373, - "Vim Snippet": -7.056175, - "Vim script": -5.803412, - "Visual Basic .NET": -6.650710, - "Volt": -7.749322, - "Vue": -7.056175, - "Wavefront Material": -6.363028, - "Wavefront Object": -6.139885, - "Web Ontology Language": -7.749322, - "WebAssembly": -5.957563, - "WebIDL": -7.056175, - "WebVTT": -7.056175, - "Wget Config": -7.749322, - "Windows Registry Entries": -7.749322, - "Wollok": -7.056175, - "World of Warcraft Addon Data": -6.650710, - "X BitMap": -7.749322, - "X Font Directory Index": -6.363028, - "X PixMap": -7.056175, - "X10": -4.858951, - "XC": -7.749322, - "XCompose": -7.749322, - "XML": -3.590439, - "XML Property List": -5.803412, - "XPages": -7.056175, - "XProc": -7.749322, - "XQuery": -7.749322, - "XS": -7.749322, - "XSLT": -7.749322, - "Xojo": -5.957563, - "Xtend": -7.056175, - "YAML": -5.264416, - "YANG": -7.749322, - "YARA": -6.650710, - "YASnippet": -7.056175, - "Yacc": -7.749322, - "ZAP": -7.749322, - "ZIL": -7.749322, - "Zeek": -6.650710, - "ZenScript": -7.749322, - "Zephir": -7.056175, - "Zig": -6.650710, - "Zimpl": -7.749322, - "cURL Config": -7.749322, - "desktop": -7.749322, - "dircolors": -7.749322, - "eC": -7.749322, - "edn": -7.749322, - "fish": -6.650710, - "mIRC Script": -6.363028, - "mcfunction": -7.749322, - "nanorc": -6.650710, - "q": -7.056175, - "reStructuredText": -7.749322, - "sed": -7.749322, - "wdl": -6.650710, - "wisp": -7.749322, - "xBase": -6.650710, + "1C Enterprise": -5.995623, + "4D": -6.401088, + "ABAP": -7.787382, + "ABNF": -7.787382, + "AGS Script": -6.401088, + "AL": -6.688770, + "AMPL": -7.094235, + "API Blueprint": -6.688770, + "APL": -6.688770, + "ASL": -7.094235, + "ASN.1": -7.787382, + "ASP.NET": -6.401088, + "ATS": -5.590157, + "ActionScript": -6.401088, + "Adobe Font Metrics": -6.688770, + "Agda": -7.787382, + "Alloy": -6.688770, + "Alpine Abuild": -7.787382, + "Altium Designer": -6.401088, + "AngelScript": -7.094235, + "Ant Build System": -7.787382, + "ApacheConf": -6.401088, + "Apex": -5.995623, + "Apollo Guidance Computer": -7.787382, + "AppleScript": -5.841472, + "AsciiDoc": -6.688770, + "AspectJ": -7.094235, + "Assembly": -5.590157, + "Asymptote": -7.094235, + "AutoHotkey": -7.787382, + "Avro IDL": -7.787382, + "Awk": -7.787382, + "Ballerina": -6.177944, + "BibTeX": -7.094235, + "BitBake": -7.094235, + "Blade": -7.094235, + "BlitzBasic": -6.688770, + "BlitzMax": -7.787382, + "Bluespec": -7.094235, + "Brainfuck": -6.177944, + "Brightscript": -7.787382, + "C": -3.744331, + "C#": -5.995623, + "C++": -3.875359, + "CLIPS": -7.094235, + "CMake": -5.841472, + "COBOL": -6.401088, + "CSON": -6.401088, + "CSS": -7.094235, + "CSV": -7.787382, + "CWeb": -7.787382, + "Cabal Config": -6.401088, + "CartoCSS": -7.787382, + "Ceylon": -7.787382, + "Chapel": -6.177944, + "Charity": -7.787382, + "Cirru": -5.148325, + "Clarion": -6.401088, + "Classic ASP": -7.094235, + "Clean": -5.590157, + "Click": -7.094235, + "Clojure": -5.590157, + "Closure Templates": -7.787382, + "Cloud Firestore Security Rules": -7.787382, + "CoNLL-U": -6.688770, + "CodeQL": -5.995623, + "CoffeeScript": -5.484797, + "ColdFusion": -7.787382, + "ColdFusion CFC": -7.094235, + "Common Lisp": -5.590157, + "Common Workflow Language": -7.787382, + "Component Pascal": -7.094235, + "Cool": -7.094235, + "Coq": -5.222433, + "Creole": -7.787382, + "Crystal": -6.688770, + "Csound": -6.688770, + "Csound Document": -6.688770, + "Csound Score": -6.688770, + "Cuda": -7.094235, + "Cycript": -7.787382, + "D": -5.590157, + "DIGITAL Command Language": -6.401088, + "DM": -7.787382, + "DNS Zone": -7.094235, + "DTrace": -6.688770, + "Dafny": -7.094235, + "Dart": -7.787382, + "DataWeave": -6.177944, + "Dhall": -7.094235, + "Diff": -7.787382, + "DirectX 3D File": -7.787382, + "Dockerfile": -7.787382, + "Dogescript": -7.787382, + "E": -5.841472, + "EBNF": -6.401088, + "ECL": -7.787382, + "ECLiPSe": -7.787382, + "EJS": -6.401088, + "EML": -7.787382, + "EQ": -6.688770, + "Eagle": -7.094235, + "Easybuild": -7.787382, + "EditorConfig": -7.787382, + "Edje Data Collection": -7.787382, + "Eiffel": -6.688770, + "Elixir": -7.787382, + "Elm": -6.688770, + "Emacs Lisp": -5.389487, + "EmberScript": -7.787382, + "Erlang": -5.148325, + "F#": -5.707940, + "FIGlet Font": -7.787382, + "FLUX": -6.401088, + "Fantom": -7.094235, + "Faust": -7.094235, + "Filebench WML": -7.787382, + "Filterscript": -7.094235, + "Formatted": -6.688770, + "Forth": -5.014793, + "Fortran": -6.177944, + "FreeMarker": -7.094235, + "Frege": -6.401088, + "Fstar": -7.094235, + "Futhark": -7.787382, + "G-code": -6.688770, + "GAML": -5.995623, + "GAMS": -7.787382, + "GAP": -5.590157, + "GCC Machine Description": -7.787382, + "GDB": -7.094235, + "GDScript": -6.401088, + "GEDCOM": -7.787382, + "GLSL": -5.014793, + "GN": -5.389487, + "Game Maker Language": -5.389487, + "Genie": -6.401088, + "Gerber Image": -4.954169, + "Gherkin": -7.094235, + "Git Attributes": -7.787382, + "Git Config": -6.688770, + "Glyph Bitmap Distribution Format": -7.787382, + "Gnuplot": -5.841472, + "Go": -6.401088, + "Golo": -4.491545, + "Gosu": -6.177944, + "Grace": -7.094235, + "Gradle": -7.094235, + "Grammatical Framework": -4.073810, + "Graph Modeling Language": -6.688770, + "GraphQL": -6.401088, + "Graphviz (DOT)": -7.094235, + "Groovy": -5.995623, + "Groovy Server Pages": -6.401088, + "HAProxy": -6.401088, + "HCL": -5.995623, + "HLSL": -6.177944, + "HTML": -5.841472, + "HTML+Django": -6.688770, + "HTML+ECR": -7.787382, + "HTML+EEX": -7.094235, + "HTML+ERB": -6.688770, + "HTML+Razor": -7.094235, + "HXML": -7.094235, + "Hack": -4.386185, + "Haml": -7.094235, + "Handlebars": -7.094235, + "Haskell": -6.177944, + "HiveQL": -7.094235, + "HolyC": -6.177944, + "Hy": -6.688770, + "HyPhy": -5.707940, + "IDL": -6.401088, + "IGOR Pro": -6.688770, + "INI": -5.707940, + "Idris": -7.787382, + "Ignore List": -5.014793, + "Inform 7": -7.094235, + "Inno Setup": -7.094235, + "Ioke": -7.787382, + "Isabelle": -7.787382, + "Isabelle ROOT": -7.787382, + "J": -7.094235, + "JFlex": -7.094235, + "JSON": -4.609328, + "JSON with Comments": -4.651888, + "JSON5": -7.094235, + "JSONLD": -7.787382, + "JSONiq": -7.094235, + "JSX": -7.787382, + "Jasmin": -5.707940, + "Java": -5.484797, + "Java Properties": -7.094235, + "JavaScript": -4.123820, + "JavaScript+ERB": -7.787382, + "Jison": -6.688770, + "Jison Lex": -7.094235, + "Jolie": -6.177944, + "Jsonnet": -7.787382, + "Julia": -7.094235, + "Jupyter Notebook": -7.787382, + "KRL": -7.787382, + "Kaitai Struct": -7.094235, + "KiCad Layout": -5.014793, + "KiCad Legacy Layout": -7.787382, + "KiCad Schematic": -5.995623, + "Kit": -7.787382, + "Kotlin": -7.787382, + "LFE": -6.401088, + "LOLCODE": -7.787382, + "LSL": -7.094235, + "LTspice Symbol": -7.787382, + "LabVIEW": -5.484797, + "Lark": -6.688770, + "Lasso": -6.688770, + "Latte": -7.094235, + "Lean": -7.094235, + "Less": -7.787382, + "Lex": -7.094235, + "Limbo": -6.688770, + "Linker Script": -6.401088, + "Linux Kernel Module": -6.688770, + "Liquid": -7.094235, + "Literate Agda": -7.787382, + "Literate CoffeeScript": -7.094235, + "LiveScript": -7.787382, + "Logos": -6.177944, + "Logtalk": -7.787382, + "LookML": -6.688770, + "LoomScript": -7.094235, + "Lua": -5.841472, + "M": -4.420086, + "M4": -7.787382, + "M4Sugar": -6.688770, + "MATLAB": -4.123820, + "MAXScript": -6.177944, + "MLIR": -6.401088, + "MQL4": -6.688770, + "MQL5": -6.688770, + "MTML": -7.787382, + "MUF": -7.094235, + "Macaulay2": -7.787382, + "Makefile": -5.302475, + "Markdown": -5.590157, + "Marko": -6.688770, + "Mask": -7.787382, + "Mathematica": -5.302475, + "Maven POM": -7.787382, + "Max": -6.688770, + "MediaWiki": -7.094235, + "Mercury": -5.484797, + "Meson": -7.094235, + "Metal": -7.787382, + "Microsoft Developer Studio Project": -7.787382, + "Modelica": -5.302475, + "Modula-2": -7.787382, + "Modula-3": -6.177944, + "Module Management System": -6.177944, + "Monkey": -6.177944, + "Moocode": -6.688770, + "MoonScript": -7.787382, + "Motorola 68K Assembly": -5.995623, + "Muse": -7.094235, + "Mustache": -6.401088, + "NASL": -5.484797, + "NCL": -5.014793, + "NEON": -7.094235, + "NL": -7.094235, + "NPM Config": -7.787382, + "NSIS": -7.094235, + "NWScript": -5.995623, + "Nearley": -7.787382, + "Nemerle": -7.787382, + "NetLinx": -7.094235, + "NetLinx+ERB": -7.094235, + "NetLogo": -7.787382, + "NewLisp": -6.688770, + "Nextflow": -6.401088, + "Nginx": -6.688770, + "Nim": -6.177944, + "Nit": -4.609328, + "Nix": -7.787382, + "Nu": -7.094235, + "OCaml": -5.484797, + "Object Data Instance Notation": -7.787382, + "ObjectScript": -7.787382, + "Objective-C": -4.696340, + "Objective-C++": -7.094235, + "Objective-J": -6.688770, + "Odin": -7.787382, + "Omgrofl": -7.787382, + "Opa": -7.094235, + "Opal": -7.787382, + "Open Policy Agent": -6.401088, + "OpenCL": -7.094235, + "OpenEdge ABL": -5.995623, + "OpenQASM": -7.787382, + "OpenRC runscript": -7.787382, + "OpenSCAD": -7.094235, + "OpenStep Property List": -7.787382, + "Org": -7.787382, + "Ox": -6.688770, + "Oxygene": -7.787382, + "Oz": -7.787382, + "P4": -7.094235, + "PHP": -4.842943, + "PLSQL": -5.707940, + "PLpgSQL": -5.841472, + "POV-Ray SDL": -5.302475, + "Pan": -4.897010, + "Papyrus": -6.688770, + "Parrot Assembly": -7.787382, + "Parrot Internal Representation": -7.787382, + "Pascal": -5.302475, + "Pawn": -5.995623, + "Pep8": -5.841472, + "Perl": -4.609328, + "Pic": -6.688770, + "Pickle": -6.401088, + "PicoLisp": -7.787382, + "PigLatin": -7.787382, + "Pike": -6.688770, + "PlantUML": -5.841472, + "Pod": -6.401088, + "Pod 6": -7.787382, + "PogoScript": -7.787382, + "Pony": -5.995623, + "PostCSS": -7.094235, + "PostScript": -6.688770, + "PowerBuilder": -5.995623, + "PowerShell": -6.401088, + "Prisma": -6.177944, + "Processing": -7.787382, + "Proguard": -6.688770, + "Prolog": -5.590157, + "Propeller Spin": -5.484797, + "Protocol Buffer": -7.787382, + "Public Key": -5.841472, + "Pug": -7.094235, + "Puppet": -6.177944, + "PureBasic": -7.094235, + "PureScript": -6.401088, + "Python": -4.651888, + "Q#": -7.094235, + "QML": -7.787382, + "QMake": -6.401088, + "Qt Script": -7.094235, + "Quake": -7.094235, + "R": -5.707940, + "RAML": -7.787382, + "RDoc": -7.787382, + "REXX": -6.401088, + "RMarkdown": -7.787382, + "RPC": -6.688770, + "RPM Spec": -6.688770, + "RUNOFF": -6.401088, + "Racket": -7.094235, + "Ragel": -6.688770, + "Raku": -4.696340, + "Rascal": -6.401088, + "ReScript": -7.787382, + "Readline Config": -7.787382, + "Reason": -5.995623, + "Rebol": -5.995623, + "Red": -7.094235, + "Regular Expression": -6.401088, + "Ren'Py": -7.787382, + "RenderScript": -7.094235, + "Rich Text Format": -7.094235, + "Ring": -6.401088, + "Riot": -7.094235, + "RobotFramework": -6.688770, + "Roff": -4.954169, + "Roff Manpage": -5.302475, + "Ruby": -4.261022, + "Rust": -6.688770, + "SAS": -6.688770, + "SCSS": -7.787382, + "SMT": -6.401088, + "SPARQL": -7.094235, + "SQF": -7.094235, + "SQL": -5.148325, + "SQLPL": -5.995623, + "SRecode Template": -7.787382, + "SSH Config": -5.995623, + "STON": -5.841472, + "SWIG": -6.688770, + "Sage": -7.787382, + "SaltStack": -5.995623, + "Sass": -7.787382, + "Scala": -5.841472, + "Scaml": -7.787382, + "Scheme": -6.401088, + "Scilab": -6.688770, + "ShaderLab": -6.688770, + "Shell": -3.895562, + "ShellSession": -6.688770, + "Shen": -6.688770, + "Sieve": -5.389487, + "Slash": -7.787382, + "Slice": -6.688770, + "Slim": -7.787382, + "SmPL": -7.787382, + "Smali": -5.841472, + "Smalltalk": -5.484797, + "SourcePawn": -7.094235, + "Squirrel": -7.787382, + "Stan": -6.688770, + "Standard ML": -6.177944, + "Starlark": -5.995623, + "Stata": -5.841472, + "Stylus": -7.787382, + "SubRip Text": -7.787382, + "SugarSS": -7.787382, + "SuperCollider": -6.177944, + "Svelte": -7.787382, + "Swift": -4.026182, + "SystemVerilog": -6.401088, + "TI Program": -6.401088, + "TLA": -7.094235, + "TOML": -6.688770, + "TSQL": -6.401088, + "TSV": -7.787382, + "TSX": -6.401088, + "TXL": -7.787382, + "Tcl": -6.401088, + "Tcsh": -7.787382, + "TeX": -5.841472, + "Tea": -7.787382, + "Terra": -6.688770, + "Texinfo": -7.787382, + "Text": -4.491545, + "Thrift": -7.787382, + "Turing": -6.401088, + "Turtle": -7.094235, + "Type Language": -7.094235, + "TypeScript": -6.688770, + "Unity3D Asset": -5.995623, + "Unix Assembly": -6.401088, + "Uno": -6.688770, + "UnrealScript": -7.094235, + "UrWeb": -7.094235, + "V": -5.590157, + "VBA": -6.401088, + "VBScript": -7.787382, + "VCL": -7.094235, + "VHDL": -7.787382, + "Verilog": -5.148325, + "Vim Help File": -7.787382, + "Vim Snippet": -7.094235, + "Vim script": -5.707940, + "Visual Basic .NET": -6.688770, + "Volt": -7.787382, + "Vue": -7.094235, + "Wavefront Material": -6.401088, + "Wavefront Object": -6.177944, + "Web Ontology Language": -7.787382, + "WebAssembly": -5.995623, + "WebIDL": -7.094235, + "WebVTT": -7.094235, + "Wget Config": -7.787382, + "Windows Registry Entries": -7.787382, + "Wollok": -7.094235, + "World of Warcraft Addon Data": -6.688770, + "X BitMap": -7.787382, + "X Font Directory Index": -6.401088, + "X PixMap": -7.094235, + "X10": -4.897010, + "XC": -7.787382, + "XCompose": -7.787382, + "XML": -3.597727, + "XML Property List": -5.841472, + "XPages": -7.094235, + "XProc": -7.787382, + "XQuery": -7.787382, + "XS": -7.787382, + "XSLT": -7.787382, + "Xojo": -5.995623, + "Xtend": -7.094235, + "YAML": -5.302475, + "YANG": -7.787382, + "YARA": -6.688770, + "YASnippet": -7.094235, + "Yacc": -7.787382, + "ZAP": -7.787382, + "ZIL": -7.787382, + "Zeek": -6.688770, + "ZenScript": -7.787382, + "Zephir": -7.094235, + "Zig": -6.688770, + "Zimpl": -7.787382, + "cURL Config": -7.787382, + "desktop": -7.787382, + "dircolors": -7.787382, + "eC": -7.787382, + "edn": -7.787382, + "fish": -6.688770, + "mIRC Script": -6.401088, + "mcfunction": -7.787382, + "nanorc": -6.688770, + "q": -7.094235, + "reStructuredText": -7.787382, + "sed": -7.787382, + "wdl": -6.688770, + "wisp": -7.787382, + "xBase": -6.688770, } var TokensLogProbabilities = map[string]map[string]float64{ @@ -1324,6 +1346,111 @@ var TokensLogProbabilities = map[string]map[string]float64{ "||": -5.531951, "}": -3.560399, }, + "AL": map[string]float64{ + "$": -5.365976, + "%": -3.756538, + "'": -4.267364, + "(": -3.420066, + ")": -3.286534, + ",": -4.672829, + "-": -3.979682, + ".user.login": -5.365976, + "//RefreshIssues": -5.365976, + "//Sample": -4.267364, + "//api.github.com/repos/Microsoft/AL/issues": -5.365976, + "//if": -5.365976, + ":": -3.756538, + ";": -2.274934, + "=": -3.979682, + "AL": -5.365976, + "ALIssue": -5.365976, + "ALIssueList": -5.365976, + "Agent": -5.365976, + "Arend": -4.267364, + "Clustered": -5.365976, + "Codeunit": -5.365976, + "Could": -4.267364, + "Created": -5.365976, + "CurrPage.Update": -5.365976, + "Description": -5.365976, + "Dynamics": -5.365976, + "FindFirst": -4.672829, + "ID": -5.365976, + "Image": -5.365976, + "Invalid": -5.365976, + "Issues": -4.672829, + "JSON": -5.365976, + "Jan": -4.267364, + "Kauffmann": -4.267364, + "Number": -5.365976, + "OnAction": -5.365976, + "OnOpenPage": -5.365976, + "PK": -5.365976, + "Path": -5.365976, + "Process": -5.365976, + "Promoted": -5.365976, + "PromotedCategory": -5.365976, + "Refresh": -5.365976, + "RefreshALIssueCode": -4.672829, + "RefreshALIssues": -5.365976, + "RefreshALIssues.Refresh": -5.365976, + "RefreshIssues": -4.672829, + "RefreshLines": -5.365976, + "State": -5.365976, + "Status": -5.365976, + "The": -4.672829, + "Title": -5.365976, + "URL": -5.365976, + "User": -4.672829, + "\\": -4.267364, + "a": -4.267364, + "an": -4.672829, + "array": -5.365976, + "as": -5.365976, + "at": -5.365976, + "begin": -4.267364, + "call": -5.365976, + "code": -3.979682, + "codeunit": -5.365976, + "created_at": -5.365976, + "end": -3.979682, + "error": -5.365976, + "expected": -5.365976, + "failed.": -5.365976, + "find": -4.267364, + "from": -4.267364, + "html_url": -5.365976, + "https": -5.365976, + "id": -4.672829, + "if": -5.365976, + "key": -4.267364, + "keys": -5.365976, + "message": -5.365976, + "not": -4.267364, + "number": -5.365976, + "object": -5.365976, + "page": -5.365976, + "path": -5.365976, + "procedure": -5.365976, + "response": -5.365976, + "returned": -5.365976, + "root": -5.365976, + "service": -4.672829, + "state": -5.365976, + "table": -5.365976, + "the": -5.365976, + "then": -4.672829, + "title": -5.365976, + "to": -5.365976, + "token": -4.267364, + "trigger": -4.672829, + "true": -4.672829, + "var": -5.365976, + "web": -4.672829, + "with": -4.267364, + "{": -3.756538, + "}": -3.063391, + }, "AMPL": map[string]float64{ "(": -3.988984, ")": -3.988984, @@ -1846,6 +1973,174 @@ var TokensLogProbabilities = map[string]map[string]float64{ "⎕": -3.405421, "\ufeff": -7.548556, }, + "ASL": map[string]float64{ + "(": -2.168894, + ")": -2.168894, + ",": -1.059171, + "ACPI_EXTRACT_ALL_CODE": -7.356280, + "ACPI_EXTRACT_NAME_BUFFER": -6.257668, + "ACPI_EXTRACT_NAME_BYTE_CONST": -7.356280, + "ACPI_EXTRACT_NAME_DWORD_CONST": -6.663133, + "ACPI_EXTRACT_NAME_STRING": -6.663133, + "ACPI_EXTRACT_NAME_WORD_CONST": -7.356280, + "ACPI_EXTRACT_PKG_START": -7.356280, + "ASEG": -7.356280, + "Acquire": -6.663133, + "Add": -7.356280, + "Arg": -6.663133, + "Buffer": -6.257668, + "ByteAcc": -7.356280, + "C": -6.663133, + "CONFIG_MMCONF_BASE_ADDRESS": -7.356280, + "CTCC": -5.746842, + "CTCD": -5.969986, + "CTCM": -5.410370, + "CTCN": -5.969986, + "CTCS": -6.257668, + "CTCU": -7.356280, + "CTDD": -6.257668, + "CTDN": -6.257668, + "CTDU": -7.356280, + "Cacheable": -4.583691, + "CreateDwordField": -6.257668, + "CreateWordField": -6.663133, + "DEFAULT_MCHBAR": -7.356280, + "DMEN": -7.356280, + "DWordAcc": -6.663133, + "DWordIO": -6.663133, + "DWordMemory": -4.583691, + "DeRefOf": -6.663133, + "Debug": -6.663133, + "Decode": -6.663133, + "DefinitionBlock": -7.356280, + "Device": -6.663133, + "DeviceObj": -6.663133, + "Divide": -6.663133, + "E": -5.969986, + "EISAID": -6.663133, + "EPEN": -7.356280, + "ESG": -5.969986, + "Else": -7.356280, + "EntireRange": -6.663133, + "External": -6.257668, + "FSEG": -7.356280, + "Field": -6.257668, + "H": -5.410370, + "IO": -6.663133, + "IO._MAX": -7.356280, + "IO._MIN": -7.356280, + "IOMN": -6.663133, + "IOMX": -6.663133, + "ISA": -6.663133, + "If": -5.410370, + "Increment": -7.356280, + "Index": -6.663133, + "Io": -7.356280, + "LEqual": -5.746842, + "LLess": -7.356280, + "Local": -4.411841, + "Lock": -7.356280, + "MCHB": -6.663133, + "MCHC": -7.356280, + "MCHC.MEBA": -7.356280, + "MCHC.TLUD": -7.356280, + "MCHC.TOM": -7.356280, + "MCHP": -6.663133, + "MCRS": -5.746842, + "MEBA": -7.356280, + "MHEN": -7.356280, + "MaxFixed": -4.411841, + "Method": -5.276838, + "MinFixed": -4.411841, + "Multiply": -6.663133, + "Mutex": -7.356280, + "Name": -4.265237, + "NoLock": -6.663133, + "NotSerialized": -5.746842, + "OPR": -5.276838, + "Offset": -4.265237, + "One": -6.257668, + "OperationRegion": -6.257668, + "P": -5.564520, + "PB": -7.356280, + "PCI_Config": -7.356280, + "PEOR": -6.663133, + "PEPT": -6.257668, + "PEST": -5.746842, + "PEVT": -7.356280, + "PI": -6.663133, + "PL": -4.871373, + "PLEN": -6.663133, + "PM": -4.523067, + "PMAX": -6.257668, + "PMIN": -6.257668, + "PPCM": -6.663133, + "PPCN": -6.663133, + "PSSS": -6.257668, + "PXEN": -7.356280, + "PXSZ": -7.356280, + "Package": -6.257668, + "PosDecode": -4.411841, + "Preserve": -6.257668, + "RDPT": -7.356280, + "ReadWrite": -4.583691, + "Release": -5.969986, + "ResourceProducer": -4.411841, + "ResourceTemplate": -6.663133, + "Return": -4.871373, + "S": -6.663133, + "STDN": -7.356280, + "STND": -7.356280, + "Scope": -6.257668, + "Serialized": -6.257668, + "ShiftRight": -7.356280, + "SizeOf": -7.356280, + "Store": -4.178226, + "Subtract": -6.257668, + "SystemIO": -7.356280, + "SystemMemory": -7.356280, + "T": -6.663133, + "TARD": -6.257668, + "TARN": -6.257668, + "TARS": -6.257668, + "TARU": -7.356280, + "TLUD": -7.356280, + "TOM": -7.356280, + "TPMR": -7.356280, + "V": -5.410370, + "WRPT": -7.356280, + "While": -7.356280, + "WordBusNumber": -7.356280, + "Zero": -5.159055, + "\\": -5.276838, + "^": -5.564520, + "_ADR": -6.663133, + "_BBN": -7.356280, + "_CID": -7.356280, + "_CRS": -5.969986, + "_HID": -6.663133, + "_INI": -7.356280, + "_LEN": -7.356280, + "_MAX": -7.356280, + "_MIN": -7.356280, + "_PR.CP": -6.257668, + "_PSS": -6.257668, + "_S": -6.257668, + "_SB.PCI": -6.257668, + "_STA": -7.356280, + "_end": -6.663133, + "_length": -7.356280, + "_name": -6.663133, + "_pkg": -7.356280, + "_start": -6.663133, + "_valid": -7.356280, + "acpi_pci": -5.564520, + "acpi_s": -6.257668, + "ssdp_misc_aml": -7.356280, + "ssdt_isa_pest": -7.356280, + "{": -3.829919, + "}": -3.829919, + }, "ASN.1": map[string]float64{ "(": -1.972757, ")": -1.972757, @@ -1897,6 +2192,143 @@ var TokensLogProbabilities = map[string]map[string]float64{ "|": -3.407842, "}": -3.630985, }, + "ASP.NET": map[string]float64{ + "\"": -5.683580, + ".": -5.683580, + "/h": -4.584967, + "10": -4.990433, + "<": -3.891820, + "<%#:>": -4.990433, + "<%:>": -5.683580, + "<%@>": -4.074142, + "": -5.683580, + "": -5.683580, + "": -5.683580, + "": -5.683580, + "": -4.990433, + "": -4.584967, + "": -5.683580, + "": -5.683580, + "": -5.683580, + "": -2.975530, + "

": -4.074142, + "": -4.990433, + "": -5.683580, + "": -5.683580, + "": -5.683580, + "": -5.683580, + "": -5.683580, + "": -5.683580, + "": -4.990433, + "": -4.584967, + "": -5.683580, + "": -5.683580, + "": -5.683580, + "": -4.990433, + "": -4.990433, + "