diff options
| author | William Boman <william@redwill.se> | 2023-04-11 03:12:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 03:12:52 +0200 |
| commit | e5bb23fa9ee2a2047368b05f262de6b2152d7a27 (patch) | |
| tree | 1265e826e89e92a493e37c85385a77fcf6089b2c | |
| parent | feat(registry): pcall require Lua registry packages (#1200) (diff) | |
| download | mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.gz mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.bz2 mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.lz mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.xz mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.zst mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.zip | |
chore: migrate packages (#1203)
99 files changed, 105 insertions, 2181 deletions
diff --git a/PACKAGES.md b/PACKAGES.md index 1f286755..d0e17210 100644 --- a/PACKAGES.md +++ b/PACKAGES.md @@ -2553,7 +2553,7 @@ Categories: `Linter` ``` # prosemd-lsp -> An experimental proofreading and linting language server for markdown files ✍️ +> An experimental proofreading and linting language server for markdown files. Homepage: [https://github.com/kitten/prosemd-lsp](https://github.com/kitten/prosemd-lsp) Languages: `Markdown` @@ -2564,7 +2564,7 @@ Categories: `LSP` ``` # protolint -> protolint is the pluggable linting/fixing utility for Protocol Buffer files (proto2+proto3) +> protolint is the pluggable linting/fixing utility for Protocol Buffer files (proto2+proto3). Homepage: [https://github.com/yoheimuta/protolint](https://github.com/yoheimuta/protolint) Languages: `Protobuf` @@ -2575,7 +2575,7 @@ Categories: `Linter` ``` # psalm -> A static analysis tool for finding errors in PHP applications +> A static analysis tool for finding errors in PHP applications. Homepage: [https://psalm.dev/](https://psalm.dev/) Languages: `PHP` @@ -2586,7 +2586,7 @@ Categories: `LSP` ``` # puppet-editor-services -> Puppet Language Server for editors +> Puppet Language Server for editors. Homepage: [https://github.com/puppetlabs/puppet-editor-services](https://github.com/puppetlabs/puppet-editor-services) Languages: `Puppet` @@ -2597,9 +2597,9 @@ Categories: `LSP` `DAP` ``` # purescript-language-server -> Node-based Language Server Protocol server for PureScript based on the PureScript IDE server (aka psc-ide / purs -ide server). Used as the vscode plugin backend but should be compatible with other Language Server Client -implementations. +> Node-based Language Server Protocol server for PureScript based on the PureScript IDE server (aka psc-ide / purs ide +server). Used as the vscode plugin backend but should be compatible with other Language Server Client implementations. + Homepage: [https://github.com/nwolverson/purescript-language-server](https://github.com/nwolverson/purescript-language-server) Languages: `PureScript` @@ -2610,7 +2610,7 @@ Categories: `LSP` ``` # pydocstyle -> pydocstyle is a static analysis tool for checking compliance with Python docstring conventions +> pydocstyle is a static analysis tool for checking compliance with Python docstring conventions. Homepage: [https://www.pydocstyle.org/](https://www.pydocstyle.org/) Languages: `Python` @@ -2623,8 +2623,9 @@ Categories: `Linter` > A simple program which checks Python source files for errors. -Pyflakes analyzes programs and detects various errors. It works by parsing the source file, not importing it, so -it is safe to use on modules with side effects. It’s also much faster. +Pyflakes analyzes programs and detects various errors. It works by parsing the source file, not importing it, so it is +safe to use on modules with side effects. It’s also much faster. + Homepage: [https://pypi.org/project/pyflakes/](https://pypi.org/project/pyflakes/) Languages: `Python` @@ -2646,7 +2647,7 @@ Categories: `Linter` ``` # pylint -> Pylint is a static code analyser for Python 2 or 3 +> Pylint is a static code analyser for Python 2 or 3. Homepage: [https://pypi.org/project/pylint/](https://pypi.org/project/pylint/) Languages: `Python` @@ -2668,18 +2669,18 @@ Categories: `Linter` ``` # pyre -> Pyre is a performant type checker for Python compliant with PEP 484 +> Pyre is a performant type checker for Python compliant with PEP 484. Homepage: [https://pypi.org/project/pyre-check/](https://pypi.org/project/pyre-check/) Languages: `Python` -Categories: `Linter` `LSP` +Categories: `LSP` `Linter` ``` :MasonInstall pyre ``` # pyright -> Static type checker for Python +> Static type checker for Python. Homepage: [https://github.com/microsoft/pyright](https://github.com/microsoft/pyright) Languages: `Python` @@ -2690,7 +2691,7 @@ Categories: `LSP` ``` # python-lsp-server -> Fork of the python-language-server project, maintained by the Spyder IDE team and the community +> Fork of the python-language-server project, maintained by the Spyder IDE team and the community. Homepage: [https://github.com/python-lsp/python-lsp-server](https://github.com/python-lsp/python-lsp-server) Languages: `Python` @@ -2704,6 +2705,7 @@ Categories: `LSP` > Over 130× faster than ESLint, quick-lint-js gives you instant feedback as you code. Find bugs in your JavaScript before your finger leaves the keyboard. Lint any JavaScript file with no configuration. + Homepage: [https://quick-lint-js.com/](https://quick-lint-js.com/) Languages: `JavaScript` Categories: `LSP` `Linter` @@ -2724,7 +2726,7 @@ Categories: `LSP` ``` # raku-navigator -> Raku Language Server that includes Raku critic and code navigation +> Raku Language Server that includes Raku critic and code navigation. Homepage: [https://github.com/bscan/RakuNavigator](https://github.com/bscan/RakuNavigator) Languages: `Raku` @@ -2735,7 +2737,7 @@ Categories: `LSP` ``` # reason-language-server -> A language server for reason, in reason +> A language server for reason, in reason. Homepage: [https://github.com/jaredly/reason-language-server](https://github.com/jaredly/reason-language-server) Languages: `Reason` @@ -2757,7 +2759,7 @@ Categories: `Formatter` ``` # remark-language-server -> A language server to lint and format markdown files with remark +> A language server to lint and format markdown files with remark. Homepage: [https://github.com/remarkjs/remark-language-server](https://github.com/remarkjs/remark-language-server) Languages: `Markdown` @@ -2790,7 +2792,7 @@ Categories: `LSP` ``` # revive -> ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint +> ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint. Homepage: [https://github.com/mgechev/revive](https://github.com/mgechev/revive) Languages: `Go` @@ -2801,7 +2803,7 @@ Categories: `Linter` ``` # rnix-lsp -> Language Server for Nix +> Language Server for Nix. Homepage: [https://github.com/nix-community/rnix-lsp](https://github.com/nix-community/rnix-lsp) Languages: `Nix` @@ -2812,7 +2814,7 @@ Categories: `LSP` ``` # robotframework-lsp -> Language Server Protocol implementation for Robot Framework +> Language Server Protocol implementation for Robot Framework. Homepage: [https://github.com/robocorp/robotframework-lsp](https://github.com/robocorp/robotframework-lsp) Languages: `Robot Framework` @@ -2826,7 +2828,7 @@ Categories: `LSP` > Rome is a formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS. Homepage: [https://rome.tools](https://rome.tools) -Languages: `TypeScript` `JavaScript` +Languages: `CSS` `HTML` `JSON` `JavaScript` `Markdown` `TypeScript` Categories: `LSP` `Linter` ``` @@ -2845,7 +2847,7 @@ Categories: `Linter` ``` # rubocop -> The Ruby Linter/Formatter that Serves and Protects +> The Ruby Linter/Formatter that Serves and Protects. Homepage: [https://rubocop.org](https://rubocop.org) Languages: `Ruby` @@ -2858,6 +2860,7 @@ Categories: `Formatter` `Linter` > This gem is an implementation of the language server protocol specification for Ruby, used to improve editor features. + Homepage: [https://github.com/Shopify/ruby-lsp](https://github.com/Shopify/ruby-lsp) Languages: `Ruby` Categories: `LSP` @@ -2903,7 +2906,7 @@ Categories: `LSP` ``` # rustfmt -> A tool for formatting Rust code according to style guidelines +> A tool for formatting Rust code according to style guidelines. Homepage: [https://github.com/rust-lang/rustfmt](https://github.com/rust-lang/rustfmt) Languages: `Rust` @@ -2914,10 +2917,10 @@ Categories: `Formatter` ``` # rustywind -> CLI for organizing Tailwind CSS classes +> CLI for organizing Tailwind CSS classes. Homepage: [https://github.com/avencera/rustywind](https://github.com/avencera/rustywind) -Languages: `JavaScript` `TypeScript` `JSX` `HTML` `Vue` `Angular` +Languages: `Angular` `HTML` `JSX` `JavaScript` `TypeScript` `Vue` Categories: `Formatter` ``` @@ -2925,7 +2928,7 @@ Categories: `Formatter` ``` # salt-lsp -> Salt Language Server Protocol Server +> Salt Language Server Protocol Server. Homepage: [https://github.com/dcermak/salt-lsp](https://github.com/dcermak/salt-lsp) Languages: `Salt` @@ -2936,7 +2939,7 @@ Categories: `LSP` ``` # selene -> A blazing-fast modern Lua linter written in Rust +> A blazing-fast modern Lua linter written in Rust. Homepage: [https://kampfkarren.github.io/selene/](https://kampfkarren.github.io/selene/) Languages: `Lua` `Luau` @@ -2947,10 +2950,12 @@ Categories: `Linter` ``` # semgrep -> Semgrep is a fast, open-source, static analysis engine for finding bugs, detecting vulnerabilities in third-party dependencies, and enforcing code standards. +> Semgrep is a fast, open-source, static analysis engine for finding bugs, detecting vulnerabilities in third-party +dependencies, and enforcing code standards. + Homepage: [https://github.com/returntocorp/semgrep](https://github.com/returntocorp/semgrep) -Languages: `C#` `Go` `Java` `JavaScript` `JSON` `PHP` `Python` `Ruby` `TypeScript` `Scala` +Languages: `C#` `Go` `JSON` `Java` `JavaScript` `PHP` `Python` `Ruby` `Scala` `TypeScript` Categories: `Linter` ``` @@ -2958,7 +2963,7 @@ Categories: `Linter` ``` # serve-d -> Microsoft language server protocol implementation for D using workspace-d +> Microsoft language server protocol implementation for D using workspace-d. Homepage: [https://github.com/Pure-D/serve-d](https://github.com/Pure-D/serve-d) Languages: `D` @@ -2969,7 +2974,7 @@ Categories: `LSP` ``` # shellcheck -> ShellCheck, a static analysis tool for shell scripts +> ShellCheck, a static analysis tool for shell scripts. Homepage: [https://www.shellcheck.net/](https://www.shellcheck.net/) Languages: `Bash` @@ -2980,7 +2985,7 @@ Categories: `Linter` ``` # shellharden -> The corrective bash syntax highlighter +> The corrective bash syntax highlighter. Homepage: [https://github.com/anordal/shellharden](https://github.com/anordal/shellharden) Languages: `Bash` @@ -2991,7 +2996,7 @@ Categories: `Formatter` `Linter` ``` # shfmt -> A shell formatter (sh/bash/mksh) +> A shell formatter (sh/bash/mksh). Homepage: [https://github.com/mvdan/sh](https://github.com/mvdan/sh) Languages: `Bash` `Mksh` `Shell` @@ -3002,7 +3007,7 @@ Categories: `Formatter` ``` # shopify-theme-check -> The Ultimate Shopify Theme Linter +> The Ultimate Shopify Theme Linter. Homepage: [https://github.com/Shopify/theme-check](https://github.com/Shopify/theme-check) Languages: `Liquid` @@ -3035,7 +3040,7 @@ Categories: `LSP` ``` # snakefmt -> The uncompromising Snakemake code formatter +> The uncompromising Snakemake code formatter. Homepage: [https://github.com/snakemake/snakefmt](https://github.com/snakemake/snakefmt) Languages: `Snakemake` @@ -3079,7 +3084,7 @@ Categories: `LSP` ``` # solhint -> Solhint is a linting utility for Solidity code +> Solhint is a linting utility for Solidity code. Homepage: [https://protofire.github.io/solhint/](https://protofire.github.io/solhint/) Languages: `Solidity` @@ -3090,7 +3095,7 @@ Categories: `Linter` ``` # solidity -> Solidity, the Smart Contract Programming Language +> Solidity, the Smart Contract Programming Language. Homepage: [https://github.com/ethereum/solidity](https://github.com/ethereum/solidity) Languages: `Solidity` @@ -3123,8 +3128,9 @@ Categories: `LSP` ``` # sourcery -> Sourcery is a tool available in your IDE, GitHub, or as a CLI that suggests refactoring improvements to help -make your code more readable and generally higher quality. +> Sourcery is a tool available in your IDE, GitHub, or as a CLI that suggests refactoring improvements to help make your +code more readable and generally higher quality. + Homepage: [https://docs.sourcery.ai/](https://docs.sourcery.ai/) Languages: `Python` @@ -3135,8 +3141,9 @@ Categories: `LSP` ``` # spectral-language-server -> Awesome Spectral JSON/YAML linter with OpenAPI/AsyncAPI support. Spectral is a flexible object linter with out -of the box support for OpenAPI v2 and v3, JSON Schema, and AsyncAPI. +> Awesome Spectral JSON/YAML linter with OpenAPI/AsyncAPI support. Spectral is a flexible object linter with out of the +box support for OpenAPI v2 and v3, JSON Schema, and AsyncAPI. + Homepage: [https://github.com/stoplightio/vscode-spectral](https://github.com/stoplightio/vscode-spectral) Languages: `JSON` `YAML` @@ -3147,7 +3154,7 @@ Categories: `LSP` ``` # sql-formatter -> A whitespace formatter for different query languages +> A whitespace formatter for different query languages. Homepage: [https://sql-formatter-org.github.io/sql-formatter/](https://sql-formatter-org.github.io/sql-formatter/) Languages: `SQL` @@ -3158,7 +3165,7 @@ Categories: `Formatter` ``` # sqlfluff -> SQLFluff is a dialect-flexible and configurable SQL linter +> SQLFluff is a dialect-flexible and configurable SQL linter. Homepage: [https://github.com/sqlfluff/sqlfluff](https://github.com/sqlfluff/sqlfluff) Languages: `SQL` @@ -3180,7 +3187,7 @@ Categories: `Formatter` ``` # sqlls -> SQL Language Server +> SQL Language Server. Homepage: [https://github.com/joe-re/sql-language-server](https://github.com/joe-re/sql-language-server) Languages: `SQL` @@ -3202,7 +3209,7 @@ Categories: `LSP` ``` # standardrb -> Ruby Style Guide, with linter and automatic code fixer +> Ruby Style Guide, with linter and automatic code fixer. Homepage: [https://github.com/testdouble/standard/](https://github.com/testdouble/standard/) Languages: `Ruby` @@ -3213,7 +3220,7 @@ Categories: `Formatter` `Linter` ``` # staticcheck -> The advanced Go linter +> The advanced Go linter. Homepage: [https://staticcheck.io/](https://staticcheck.io/) Languages: `Go` @@ -3235,7 +3242,7 @@ Categories: `Linter` ``` # stylelint-lsp -> A stylelint Language Server +> A stylelint Language Server. Homepage: [https://github.com/bmatcuk/stylelint-lsp](https://github.com/bmatcuk/stylelint-lsp) Languages: `Stylelint` @@ -3246,7 +3253,7 @@ Categories: `LSP` ``` # stylua -> An opinionated Lua code formatter +> An opinionated Lua code formatter. Homepage: [https://github.com/JohnnyMorganz/StyLua](https://github.com/JohnnyMorganz/StyLua) Languages: `Lua` `Luau` @@ -3268,8 +3275,9 @@ Categories: `LSP` ``` # svlangserver -> A language server for systemverilog that has been tested to work with coc.nvim, VSCode, Sublime Text 4, emacs, -and Neovim. +> A language server for systemverilog that has been tested to work with coc.nvim, VSCode, Sublime Text 4, emacs, and +Neovim. + Homepage: [https://github.com/imc-trading/svlangserver](https://github.com/imc-trading/svlangserver) Languages: `SystemVerilog` @@ -3313,7 +3321,7 @@ Categories: `LSP` ``` # teal-language-server -> A language server for Teal, a typed dialect of Lua +> A language server for Teal, a typed dialect of Lua. Homepage: [https://github.com/teal-language/teal-language-server](https://github.com/teal-language/teal-language-server) Languages: `Teal` @@ -3335,7 +3343,7 @@ Categories: `Compiler` ``` # terraform-ls -> Terraform Language Server +> Terraform Language Server. Homepage: [https://github.com/hashicorp/terraform-ls](https://github.com/hashicorp/terraform-ls) Languages: `Terraform` @@ -3346,7 +3354,7 @@ Categories: `LSP` ``` # texlab -> An implementation of the Language Server Protocol for LaTeX +> An implementation of the Language Server Protocol for LaTeX. Homepage: [https://github.com/latex-lsp/texlab](https://github.com/latex-lsp/texlab) Languages: `LaTeX` @@ -3368,7 +3376,7 @@ Categories: `Linter` ``` # tflint -> A Pluggable Terraform Linter +> A Pluggable Terraform Linter. Homepage: [https://github.com/terraform-linters/tflint](https://github.com/terraform-linters/tflint) Languages: `Terraform` @@ -3392,8 +3400,9 @@ Categories: `Compiler` ``` # twigcs -> The missing checkstyle for twig! Twigcs aims to be what phpcs is to php. It checks your codebase for violations -on coding standards. +> The missing checkstyle for twig! Twigcs aims to be what phpcs is to php. It checks your codebase for violations on +coding standards. + Homepage: [https://github.com/friendsoftwig/twigcs](https://github.com/friendsoftwig/twigcs) Languages: `Twig` @@ -3404,7 +3413,7 @@ Categories: `Linter` ``` # typescript-language-server -> TypeScript & JavaScript Language Server +> TypeScript & JavaScript Language Server. Homepage: [https://github.com/typescript-language-server/typescript-language-server](https://github.com/typescript-language-server/typescript-language-server) Languages: `TypeScript` `JavaScript` @@ -3448,9 +3457,10 @@ Categories: `Formatter` ``` # vacuum -> vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. -Built in go, it tears through API specs faster than you can think. -vacuum is compatible with Spectral rulesets and generates compatible reports. +> vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears +through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible +reports. + Homepage: [https://github.com/daveshanley/vacuum](https://github.com/daveshanley/vacuum) Languages: `OpenAPI` @@ -3461,7 +3471,7 @@ Categories: `Linter` ``` # vala-language-server -> Code Intelligence for Vala & Genie +> Code Intelligence for Vala & Genie. Homepage: [https://github.com/vala-lang/vala-language-server](https://github.com/vala-lang/vala-language-server) Languages: `Vala` @@ -3494,7 +3504,7 @@ Categories: `LSP` `Linter` `Formatter` ``` # veryl-ls -> Veryl language server +> Veryl language server. Homepage: [https://github.com/dalance/veryl](https://github.com/dalance/veryl) Languages: `Veryl` @@ -3538,7 +3548,7 @@ Categories: `Linter` ``` # visualforce-language-server -> Visualforce language server +> Visualforce language server. Homepage: [https://github.com/forcedotcom/salesforcedx-vscode](https://github.com/forcedotcom/salesforcedx-vscode) Languages: `Visualforce` @@ -3549,7 +3559,7 @@ Categories: `LSP` ``` # vls -> V language server +> V language server. Homepage: [https://github.com/vlang/vls](https://github.com/vlang/vls) Languages: `V` @@ -3563,7 +3573,7 @@ Categories: `LSP` > LSP wrapper around the TypeScript extension bundled with VSCode. Homepage: [https://github.com/yioneko/vtsls](https://github.com/yioneko/vtsls) -Languages: `TypeScript` `JavaScript` +Languages: `JavaScript` `TypeScript` Categories: `LSP` ``` @@ -3571,7 +3581,7 @@ Categories: `LSP` ``` # vue-language-server -> ⚡ Explore high-performance tooling for Vue +> ⚡ Explore high-performance tooling for Vue. Homepage: [https://github.com/johnsoncodehk/volar](https://github.com/johnsoncodehk/volar) Languages: `Vue` @@ -3582,12 +3592,13 @@ Categories: `LSP` ``` # vulture -> Vulture finds unused code in Python programs. This is useful for cleaning up and finding errors in large code -bases. If you run Vulture on both your library and test suite you can find untested code. +> Vulture finds unused code in Python programs. This is useful for cleaning up and finding errors in large code bases. +If you run Vulture on both your library and test suite you can find untested code. + +Due to Python's dynamic nature, static code analyzers like Vulture are likely to miss some dead code. Also, code that +is only called implicitly may be reported as unused. Nonetheless, Vulture can be a very helpful tool for higher code +quality. -Due to Python's dynamic nature, static code analyzers like Vulture are likely to miss some dead code. Also, code -that is only called implicitly may be reported as unused. Nonetheless, Vulture can be a very helpful tool for -higher code quality. Homepage: [https://github.com/jendrikseipp/vulture](https://github.com/jendrikseipp/vulture) Languages: `Python` @@ -3598,7 +3609,7 @@ Categories: `Linter` ``` # wgsl-analyzer -> A language server implementation for the WGSL shading language +> A language server implementation for the WGSL shading language. Homepage: [https://github.com/wgsl-analyzer/wgsl-analyzer](https://github.com/wgsl-analyzer/wgsl-analyzer) Languages: `WGSL` @@ -3611,6 +3622,7 @@ Categories: `LSP` > Naive linter for English prose for developers who can't write good and wanna learn to do other stuff good too. + Homepage: [https://github.com/btford/write-good](https://github.com/btford/write-good) Languages: `Markdown` Categories: `Linter` @@ -3620,10 +3632,10 @@ Categories: `Linter` ``` # xmlformatter -> xmlformatter is an Open Source Python package that provides formatting of XML documents. xmlformatter differs -from others formatters by handling whitespaces by a distinct set of formatting rules - formatting element -content by an object style and mixed content by a text style. You may find xmlformatter useful for corrections -and presentations. +> xmlformatter is an Open Source Python package that provides formatting of XML documents. xmlformatter differs from +others formatters by handling whitespaces by a distinct set of formatting rules - formatting element content by an +object style and mixed content by a text style. You may find xmlformatter useful for corrections and presentations. + Homepage: [https://github.com/pamoller/xmlformatter](https://github.com/pamoller/xmlformatter) Languages: `XML` @@ -3634,7 +3646,7 @@ Categories: `Formatter` ``` # xo -> JavaScript/TypeScript linter (ESLint wrapper) with great defaults +> JavaScript/TypeScript linter (ESLint wrapper) with great defaults. Homepage: [https://github.com/xojs/xo](https://github.com/xojs/xo) Languages: `JavaScript` `TypeScript` @@ -3645,7 +3657,7 @@ Categories: `Linter` ``` # yaml-language-server -> Language Server for YAML Files +> Language Server for YAML Files. Homepage: [https://github.com/redhat-developer/yaml-language-server](https://github.com/redhat-developer/yaml-language-server) Languages: `YAML` @@ -3667,8 +3679,9 @@ Categories: `Formatter` ``` # yamllint -> Linter for YAML files. yamllint does not only check for syntax validity, but for weirdnesses like key repetition -and cosmetic problems such as lines length, trailing spaces, indentation, etc. +> Linter for YAML files. yamllint does not only check for syntax validity, but for weirdnesses like key repetition and +cosmetic problems such as lines length, trailing spaces, indentation, etc. + Homepage: [https://github.com/adrienverge/yamllint](https://github.com/adrienverge/yamllint) Languages: `YAML` @@ -3679,7 +3692,7 @@ Categories: `Linter` ``` # yapf -> YAPF, Yet Another Python Formatter +> YAPF, Yet Another Python Formatter. Homepage: [https://pypi.org/project/yapf/](https://pypi.org/project/yapf/) Languages: `Python` @@ -3690,10 +3703,10 @@ Categories: `Formatter` ``` # yls-yara -> Language Server for YARA Files +> Language server for the YARA language. Homepage: [https://avast.github.io/yls/](https://avast.github.io/yls/) -Languages: `Yara` +Languages: `YARA` Categories: `LSP` ``` @@ -3701,7 +3714,7 @@ Categories: `LSP` ``` # zk -> A plain text note-taking assistant +> A plain text note-taking assistant. Homepage: [https://github.com/mickael-menu/zk](https://github.com/mickael-menu/zk) Languages: `Markdown` @@ -3712,7 +3725,7 @@ Categories: `LSP` ``` # zls -> Zig LSP implementation + Zig Language Server +> Zig LSP implementation + Zig Language Server. Homepage: [https://github.com/zigtools/zls](https://github.com/zigtools/zls) Languages: `Zig` diff --git a/lua/mason-registry/index/init.lua b/lua/mason-registry/index/init.lua index 2ebd1010..67ebace8 100644 --- a/lua/mason-registry/index/init.lua +++ b/lua/mason-registry/index/init.lua @@ -3,101 +3,6 @@ return { ["haskell-language-server"] = "mason-registry.index.haskell-language-server", ["julia-lsp"] = "mason-registry.index.julia-lsp", - ["prosemd-lsp"] = "mason-registry.index.prosemd-lsp", - protolint = "mason-registry.index.protolint", - psalm = "mason-registry.index.psalm", - ["puppet-editor-services"] = "mason-registry.index.puppet-editor-services", - ["purescript-language-server"] = "mason-registry.index.purescript-language-server", - pydocstyle = "mason-registry.index.pydocstyle", - pyflakes = "mason-registry.index.pyflakes", - pylama = "mason-registry.index.pylama", - pylint = "mason-registry.index.pylint", - ["pyproject-flake8"] = "mason-registry.index.pyproject-flake8", - pyre = "mason-registry.index.pyre", - pyright = "mason-registry.index.pyright", - ["python-lsp-server"] = "mason-registry.index.python-lsp-server", - ["quick-lint-js"] = "mason-registry.index.quick-lint-js", ["r-languageserver"] = "mason-registry.index.r-languageserver", - ["raku-navigator"] = "mason-registry.index.raku-navigator", - ["reason-language-server"] = "mason-registry.index.reason-language-server", - ["remark-cli"] = "mason-registry.index.remark-cli", - ["remark-language-server"] = "mason-registry.index.remark-language-server", - ["reorder-python-imports"] = "mason-registry.index.reorder-python-imports", - ["rescript-lsp"] = "mason-registry.index.rescript-lsp", - revive = "mason-registry.index.revive", - ["rnix-lsp"] = "mason-registry.index.rnix-lsp", - ["robotframework-lsp"] = "mason-registry.index.robotframework-lsp", - rome = "mason-registry.index.rome", - rstcheck = "mason-registry.index.rstcheck", - rubocop = "mason-registry.index.rubocop", - ["ruby-lsp"] = "mason-registry.index.ruby-lsp", - ruff = "mason-registry.index.ruff", - ["ruff-lsp"] = "mason-registry.index.ruff-lsp", - rustfmt = "mason-registry.index.rustfmt", - rustywind = "mason-registry.index.rustywind", - ["salt-lsp"] = "mason-registry.index.salt-lsp", - selene = "mason-registry.index.selene", - semgrep = "mason-registry.index.semgrep", - ["serve-d"] = "mason-registry.index.serve-d", - shellcheck = "mason-registry.index.shellcheck", - shellharden = "mason-registry.index.shellharden", - shfmt = "mason-registry.index.shfmt", - ["shopify-theme-check"] = "mason-registry.index.shopify-theme-check", - ["slint-lsp"] = "mason-registry.index.slint-lsp", - ["smithy-language-server"] = "mason-registry.index.smithy-language-server", - snakefmt = "mason-registry.index.snakefmt", - solargraph = "mason-registry.index.solargraph", - solhint = "mason-registry.index.solhint", - solidity = "mason-registry.index.solidity", - ["solidity-ls"] = "mason-registry.index.solidity-ls", - sorbet = "mason-registry.index.sorbet", - sourcery = "mason-registry.index.sourcery", - ["spectral-language-server"] = "mason-registry.index.spectral-language-server", - ["sql-formatter"] = "mason-registry.index.sql-formatter", - sqlfluff = "mason-registry.index.sqlfluff", - sqlls = "mason-registry.index.sqlls", - sqls = "mason-registry.index.sqls", - standardrb = "mason-registry.index.standardrb", - staticcheck = "mason-registry.index.staticcheck", - ["stylelint-lsp"] = "mason-registry.index.stylelint-lsp", - stylua = "mason-registry.index.stylua", - ["svelte-language-server"] = "mason-registry.index.svelte-language-server", - svlangserver = "mason-registry.index.svlangserver", - svls = "mason-registry.index.svls", - ["tailwindcss-language-server"] = "mason-registry.index.tailwindcss-language-server", - taplo = "mason-registry.index.taplo", - ["teal-language-server"] = "mason-registry.index.teal-language-server", - tectonic = "mason-registry.index.tectonic", - ["terraform-ls"] = "mason-registry.index.terraform-ls", - texlab = "mason-registry.index.texlab", - textlint = "mason-registry.index.textlint", - tflint = "mason-registry.index.tflint", - twigcs = "mason-registry.index.twigcs", - ["typescript-language-server"] = "mason-registry.index.typescript-language-server", - ["unocss-language-server"] = "mason-registry.index.unocss-language-server", - usort = "mason-registry.index.usort", - vacuum = "mason-registry.index.vacuum", - ["vala-language-server"] = "mason-registry.index.vala-language-server", - vale = "mason-registry.index.vale", - verible = "mason-registry.index.verible", - ["veryl-ls"] = "mason-registry.index.veryl-ls", - ["vetur-vls"] = "mason-registry.index.vetur-vls", - ["vim-language-server"] = "mason-registry.index.vim-language-server", - vint = "mason-registry.index.vint", - ["visualforce-language-server"] = "mason-registry.index.visualforce-language-server", - vls = "mason-registry.index.vls", - vtsls = "mason-registry.index.vtsls", - ["vue-language-server"] = "mason-registry.index.vue-language-server", - vulture = "mason-registry.index.vulture", - ["wgsl-analyzer"] = "mason-registry.index.wgsl-analyzer", - ["write-good"] = "mason-registry.index.write-good", - xmlformatter = "mason-registry.index.xmlformatter", - xo = "mason-registry.index.xo", - ["yaml-language-server"] = "mason-registry.index.yaml-language-server", - yamlfmt = "mason-registry.index.yamlfmt", - yamllint = "mason-registry.index.yamllint", - yapf = "mason-registry.index.yapf", - ["yls-yara"] = "mason-registry.index.yls-yara", - zk = "mason-registry.index.zk", - zls = "mason-registry.index.zls" + verible = "mason-registry.index.verible" }
\ No newline at end of file diff --git a/lua/mason-registry/index/prosemd-lsp/init.lua b/lua/mason-registry/index/prosemd-lsp/init.lua deleted file mode 100644 index 3ae8f589..00000000 --- a/lua/mason-registry/index/prosemd-lsp/init.lua +++ /dev/null @@ -1,32 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "prosemd-lsp", - desc = [[An experimental proofreading and linting language server for markdown files ✍️]], - homepage = "https://github.com/kitten/prosemd-lsp", - languages = { Pkg.Lang.Markdown }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .download_release_file({ - repo = "kitten/prosemd-lsp", - out_file = platform.is.win and "prosemd-lsp.exe" or "prosemd-lsp", - asset_file = coalesce( - when(platform.is.mac, "prosemd-lsp-macos"), - when(platform.is.linux_x64_gnu, "prosemd-lsp-linux"), - when(platform.is.win_x64, "prosemd-lsp-windows.exe") - ), - }) - .with_receipt() - std.chmod("+x", { "prosemd-lsp" }) - ctx:link_bin("prosemd-lsp", platform.is.win and "prosemd-lsp.exe" or "prosemd-lsp") - end, -} diff --git a/lua/mason-registry/index/protolint/init.lua b/lua/mason-registry/index/protolint/init.lua deleted file mode 100644 index c2615468..00000000 --- a/lua/mason-registry/index/protolint/init.lua +++ /dev/null @@ -1,36 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "protolint", - desc = [[protolint is the pluggable linting/fixing utility for Protocol Buffer files (proto2+proto3)]], - homepage = "https://github.com/yoheimuta/protolint", - categories = { Pkg.Cat.Linter }, - languages = { Pkg.Lang.Protobuf }, - install = function(ctx) - ---@param template_string string - local function release_file(template_string) - return _.compose(_.format(template_string), _.gsub("^v", "")) - end - - github - .untargz_release_file({ - repo = "yoheimuta/protolint", - asset_file = coalesce( - when(platform.is.mac_arm64, release_file "protolint_%s_Darwin_arm64.tar.gz"), - when(platform.is.mac_x64, release_file "protolint_%s_Darwin_x86_64.tar.gz"), - when(platform.is.linux_arm64, release_file "protolint_%s_Linux_arm64.tar.gz"), - when(platform.is.linux_x64, release_file "protolint_%s_Linux_x86_64.tar.gz"), - when(platform.is.win_arm64, release_file "protolint_%s_Windows_arm64.tar.gz"), - when(platform.is.win_x64, release_file "protolint_%s_Windows_x86_64.tar.gz") - ), - }) - .with_receipt() - ctx:link_bin("protolint", platform.is.win and "protolint.exe" or "protolint") - ctx:link_bin("protoc-gen-protolint", platform.is.win and "protoc-gen-protolint.exe" or "protoc-gen-protolint") - end, -} diff --git a/lua/mason-registry/index/psalm/init.lua b/lua/mason-registry/index/psalm/init.lua deleted file mode 100644 index 7a994a56..00000000 --- a/lua/mason-registry/index/psalm/init.lua +++ /dev/null @@ -1,20 +0,0 @@ -local Pkg = require "mason-core.package" -local composer = require "mason-core.managers.composer" - -return Pkg.new { - name = "psalm", - desc = [[A static analysis tool for finding errors in PHP applications]], - homepage = "https://psalm.dev/", - languages = { Pkg.Lang.PHP }, - categories = { Pkg.Cat.LSP }, - install = composer.packages { - "vimeo/psalm", - bin = { - "psalm", - "psalm-language-server", - "psalm-plugin", - "psalm-refactor", - "psalter", - }, - }, -} diff --git a/lua/mason-registry/index/puppet-editor-services/init.lua b/lua/mason-registry/index/puppet-editor-services/init.lua deleted file mode 100644 index d38c2359..00000000 --- a/lua/mason-registry/index/puppet-editor-services/init.lua +++ /dev/null @@ -1,26 +0,0 @@ -local Pkg = require "mason-core.package" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -return Pkg.new { - name = "puppet-editor-services", - desc = [[Puppet Language Server for editors]], - homepage = "https://github.com/puppetlabs/puppet-editor-services", - languages = { Pkg.Lang.Puppet }, - categories = { Pkg.Cat.LSP, Pkg.Cat.DAP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - assert(platform.is.unix, "puppet-editor-services only supports UNIX environments.") - github - .unzip_release_file({ - repo = "puppetlabs/puppet-editor-services", - asset_file = function(version) - return ("puppet_editor_services_%s.zip"):format(version) - end, - }) - .with_receipt() - ctx:link_bin("puppet-languageserver", "puppet-languageserver") - ctx:link_bin("puppet-debugserver", "puppet-debugserver") - end, -} diff --git a/lua/mason-registry/index/purescript-language-server/init.lua b/lua/mason-registry/index/purescript-language-server/init.lua deleted file mode 100644 index a6b33742..00000000 --- a/lua/mason-registry/index/purescript-language-server/init.lua +++ /dev/null @@ -1,16 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "purescript-language-server", - desc = _.dedent [[ - Node-based Language Server Protocol server for PureScript based on the PureScript IDE server (aka psc-ide / purs - ide server). Used as the vscode plugin backend but should be compatible with other Language Server Client - implementations. - ]], - languages = { Pkg.Lang.PureScript }, - categories = { Pkg.Cat.LSP }, - homepage = "https://github.com/nwolverson/purescript-language-server", - install = npm.packages { "purescript-language-server", bin = { "purescript-language-server" } }, -} diff --git a/lua/mason-registry/index/pydocstyle/init.lua b/lua/mason-registry/index/pydocstyle/init.lua deleted file mode 100644 index 7a15e5d4..00000000 --- a/lua/mason-registry/index/pydocstyle/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "pydocstyle", - desc = "pydocstyle is a static analysis tool for checking compliance with Python docstring conventions", - homepage = "https://www.pydocstyle.org/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "pydocstyle[toml]", bin = { "pydocstyle" } }, -} diff --git a/lua/mason-registry/index/pyflakes/init.lua b/lua/mason-registry/index/pyflakes/init.lua deleted file mode 100644 index ba084f3e..00000000 --- a/lua/mason-registry/index/pyflakes/init.lua +++ /dev/null @@ -1,17 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "pyflakes", - desc = _.dedent [[ - A simple program which checks Python source files for errors. - - Pyflakes analyzes programs and detects various errors. It works by parsing the source file, not importing it, so - it is safe to use on modules with side effects. It’s also much faster. -]], - homepage = "https://pypi.org/project/pyflakes/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "pyflakes", bin = { "pyflakes" } }, -} diff --git a/lua/mason-registry/index/pylama/init.lua b/lua/mason-registry/index/pylama/init.lua deleted file mode 100644 index 42e0c562..00000000 --- a/lua/mason-registry/index/pylama/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "pylama", - desc = [[Code audit tool for Python.]], - homepage = "https://klen.github.io/pylama/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "pylama[all]", bin = { "pylama" } }, -} diff --git a/lua/mason-registry/index/pylint/init.lua b/lua/mason-registry/index/pylint/init.lua deleted file mode 100644 index 292847c7..00000000 --- a/lua/mason-registry/index/pylint/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "pylint", - desc = [[Pylint is a static code analyser for Python 2 or 3]], - homepage = "https://pypi.org/project/pylint/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "pylint", bin = { "pylint" } }, -} diff --git a/lua/mason-registry/index/pyproject-flake8/init.lua b/lua/mason-registry/index/pyproject-flake8/init.lua deleted file mode 100644 index 9657942a..00000000 --- a/lua/mason-registry/index/pyproject-flake8/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "pyproject-flake8", - desc = "A monkey patching wrapper to connect flake8 with pyproject.toml configuration.", - homepage = "https://github.com/csachs/pyproject-flake8", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "pyproject-flake8", bin = { "pflake8" } }, -} diff --git a/lua/mason-registry/index/pyre/init.lua b/lua/mason-registry/index/pyre/init.lua deleted file mode 100644 index 878e1abe..00000000 --- a/lua/mason-registry/index/pyre/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "pyre", - desc = [[Pyre is a performant type checker for Python compliant with PEP 484]], - homepage = "https://pypi.org/project/pyre-check/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter, Pkg.Cat.LSP }, - install = pip3.packages { "pyre-check", bin = { "pyre" } }, -} diff --git a/lua/mason-registry/index/pyright/init.lua b/lua/mason-registry/index/pyright/init.lua deleted file mode 100644 index 82957fa0..00000000 --- a/lua/mason-registry/index/pyright/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "pyright", - desc = [[Static type checker for Python]], - homepage = "https://github.com/microsoft/pyright", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "pyright", bin = { "pyright", "pyright-langserver" } }, -} diff --git a/lua/mason-registry/index/python-lsp-server/init.lua b/lua/mason-registry/index/python-lsp-server/init.lua deleted file mode 100644 index 8fb212a4..00000000 --- a/lua/mason-registry/index/python-lsp-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "python-lsp-server", - desc = [[Fork of the python-language-server project, maintained by the Spyder IDE team and the community]], - homepage = "https://github.com/python-lsp/python-lsp-server", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.LSP }, - install = pip3.packages { "python-lsp-server[all]", bin = { "pylsp" } }, -} diff --git a/lua/mason-registry/index/quick-lint-js/init.lua b/lua/mason-registry/index/quick-lint-js/init.lua deleted file mode 100644 index 3aa515d8..00000000 --- a/lua/mason-registry/index/quick-lint-js/init.lua +++ /dev/null @@ -1,53 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "quick-lint-js", - desc = _.dedent [[ - Over 130× faster than ESLint, quick-lint-js gives you instant feedback as you code. Find bugs in your JavaScript - before your finger leaves the keyboard. Lint any JavaScript file with no configuration. - ]], - homepage = "https://quick-lint-js.com/", - languages = { Pkg.Lang.JavaScript }, - categories = { Pkg.Cat.LSP, Pkg.Cat.Linter }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local repo = "quick-lint/quick-lint-js" - local release_file = assert( - coalesce( - when(platform.is.mac_x64, "macos.tar.gz"), - when(platform.is.mac_arm64, "macos-aarch64.tar.gz"), - when(platform.is.linux_x64, "linux.tar.gz"), - when(platform.is.linux_arm64, "linux-aarch64.tar.gz"), - when(platform.is.linux_arm, "linux-armhf.tar.gz"), - when(platform.is.win_x64, "windows.zip"), - when(platform.is.win_arm64, "windows-arm64.zip"), - when(platform.is.win_arm, "windows-arm.zip") - ), - "Current platform is not supported." - ) - - local source = github.tag { repo = repo } - source.with_receipt() - - local url = ("https://c.quick-lint-js.com/releases/%s/manual/%s"):format(source.tag, release_file) - platform.when { - unix = function() - std.download_file(url, "archive.tar.gz") - std.untar("archive.tar.gz", { strip_components = 1 }) - end, - win = function() - std.download_file(url, "archive.zip") - std.unzip("archive.zip", ".") - end, - } - ctx:link_bin("quick-lint-js", path.concat { "bin", platform.is.win and "quick-lint-js.exe" or "quick-lint-js" }) - end, -} diff --git a/lua/mason-registry/index/raku-navigator/init.lua b/lua/mason-registry/index/raku-navigator/init.lua deleted file mode 100644 index 3c9cb3e1..00000000 --- a/lua/mason-registry/index/raku-navigator/init.lua +++ /dev/null @@ -1,22 +0,0 @@ -local Pkg = require "mason-core.package" -local git = require "mason-core.managers.git" -local path = require "mason-core.path" - -return Pkg.new { - name = "raku-navigator", - desc = [[Raku Language Server that includes Raku critic and code navigation]], - homepage = "https://github.com/bscan/RakuNavigator", - languages = { Pkg.Lang.Raku }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - git.clone({ "https://github.com/bscan/RakuNavigator" }).with_receipt() - ctx.spawn.npm { "install" } - ctx.spawn.npm { "run", "compile" } - ctx:link_bin( - "raku-navigator", - ctx:write_node_exec_wrapper("raku-navigator", path.concat { "server", "out", "server.js" }) - ) - end, -} diff --git a/lua/mason-registry/index/reason-language-server/init.lua b/lua/mason-registry/index/reason-language-server/init.lua deleted file mode 100644 index 01879bc1..00000000 --- a/lua/mason-registry/index/reason-language-server/init.lua +++ /dev/null @@ -1,38 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "reason-language-server", - desc = [[A language server for reason, in reason]], - homepage = "https://github.com/jaredly/reason-language-server", - languages = { Pkg.Lang.Reason }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local archive_name = coalesce( - when(platform.is.mac, "rls-macos"), - when(platform.is.linux_x64, "rls-linux"), - when(platform.is.win_x64, "rls-windows") - ) - github - .unzip_release_file({ - repo = "jaredly/reason-language-server", - asset_file = ("%s.zip"):format(archive_name), - }) - .with_receipt() - ctx.fs:rename(archive_name, "reason") - ctx:link_bin( - "reason-language-server", - path.concat { - "reason", - platform.is.win and "reason-language-server.exe" or "reason-language-server", - } - ) - end, -} diff --git a/lua/mason-registry/index/remark-cli/init.lua b/lua/mason-registry/index/remark-cli/init.lua deleted file mode 100644 index 46be0619..00000000 --- a/lua/mason-registry/index/remark-cli/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "remark-cli", - desc = [[Command line interface to inspect and change markdown files with remark.]], - homepage = "https://remark.js.org/", - languages = { Pkg.Lang.Markdown }, - categories = { Pkg.Cat.Formatter }, - install = npm.packages { "remark-cli", bin = { "remark" } }, -} diff --git a/lua/mason-registry/index/remark-language-server/init.lua b/lua/mason-registry/index/remark-language-server/init.lua deleted file mode 100644 index e891b370..00000000 --- a/lua/mason-registry/index/remark-language-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "remark-language-server", - desc = [[A language server to lint and format markdown files with remark]], - homepage = "https://github.com/remarkjs/remark-language-server", - languages = { Pkg.Lang.Markdown }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "remark-language-server", bin = { "remark-language-server" } }, -} diff --git a/lua/mason-registry/index/reorder-python-imports/init.lua b/lua/mason-registry/index/reorder-python-imports/init.lua deleted file mode 100644 index 6a267aad..00000000 --- a/lua/mason-registry/index/reorder-python-imports/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "reorder-python-imports", - desc = [[Tool for automatically reordering python imports. Similar to isort but uses static analysis more.]], - homepage = "https://github.com/asottile/reorder_python_imports", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Formatter }, - install = pip3.packages { "reorder-python-imports", bin = { "reorder-python-imports" } }, -} diff --git a/lua/mason-registry/index/rescript-lsp/init.lua b/lua/mason-registry/index/rescript-lsp/init.lua deleted file mode 100644 index ec79ab09..00000000 --- a/lua/mason-registry/index/rescript-lsp/init.lua +++ /dev/null @@ -1,36 +0,0 @@ -local Pkg = require "mason-core.package" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" - -return Pkg.new { - name = "rescript-lsp", - desc = [[Language Server for ReScript.]], - homepage = "https://github.com/rescript-lang/rescript-vscode", - languages = { Pkg.Lang.ReScript }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .unzip_release_file({ - repo = "rescript-lang/rescript-vscode", - asset_file = function(version) - return ("rescript-vscode-%s.vsix"):format(version) - end, - }) - .with_receipt() - - ctx:link_bin( - "rescript-lsp", - ctx:write_node_exec_wrapper( - "rescript-lsp", - path.concat { - "extension", - "server", - "out", - "server.js", - } - ) - ) - end, -} diff --git a/lua/mason-registry/index/revive/init.lua b/lua/mason-registry/index/revive/init.lua deleted file mode 100644 index 3f9678d0..00000000 --- a/lua/mason-registry/index/revive/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local go = require "mason-core.managers.go" - -return Pkg.new { - name = "revive", - desc = [[~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint]], - homepage = "https://github.com/mgechev/revive", - categories = { Pkg.Cat.Linter }, - languages = { Pkg.Lang.Go }, - install = go.packages { "github.com/mgechev/revive", bin = { "revive" } }, -} diff --git a/lua/mason-registry/index/rnix-lsp/init.lua b/lua/mason-registry/index/rnix-lsp/init.lua deleted file mode 100644 index 75576ed6..00000000 --- a/lua/mason-registry/index/rnix-lsp/init.lua +++ /dev/null @@ -1,13 +0,0 @@ -local Pkg = require "mason-core.package" -local cargo = require "mason-core.managers.cargo" - -return Pkg.new { - name = "rnix-lsp", - desc = [[Language Server for Nix]], - homepage = "https://github.com/nix-community/rnix-lsp", - languages = { Pkg.Lang.Nix }, - categories = { Pkg.Cat.LSP }, - install = cargo.crate("rnix-lsp", { - bin = { "rnix-lsp" }, - }), -} diff --git a/lua/mason-registry/index/robotframework-lsp/init.lua b/lua/mason-registry/index/robotframework-lsp/init.lua deleted file mode 100644 index 4458e3b3..00000000 --- a/lua/mason-registry/index/robotframework-lsp/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "robotframework-lsp", - desc = [[Language Server Protocol implementation for Robot Framework]], - homepage = "https://github.com/robocorp/robotframework-lsp", - languages = { Pkg.Lang["Robot Framework"] }, - categories = { Pkg.Cat.LSP }, - install = pip3.packages { "robotframework-lsp", bin = { "robotframework_ls" } }, -} diff --git a/lua/mason-registry/index/rome/init.lua b/lua/mason-registry/index/rome/init.lua deleted file mode 100644 index 66faf621..00000000 --- a/lua/mason-registry/index/rome/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "rome", - desc = [[Rome is a formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS.]], - homepage = "https://rome.tools", - languages = { Pkg.Lang.TypeScript, Pkg.Lang.JavaScript }, - categories = { Pkg.Cat.LSP, Pkg.Cat.Linter }, - install = npm.packages { "rome", bin = { "rome" } }, -} diff --git a/lua/mason-registry/index/rstcheck/init.lua b/lua/mason-registry/index/rstcheck/init.lua deleted file mode 100644 index 0c939b04..00000000 --- a/lua/mason-registry/index/rstcheck/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "rstcheck", - desc = "Checks syntax of reStructuredText and code blocks nested within it.", - homepage = "https://rstcheck.readthedocs.io/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "rstcheck", bin = { "rstcheck" } }, -} diff --git a/lua/mason-registry/index/rubocop/init.lua b/lua/mason-registry/index/rubocop/init.lua deleted file mode 100644 index 8b502756..00000000 --- a/lua/mason-registry/index/rubocop/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local gem = require "mason-core.managers.gem" - -return Pkg.new { - name = "rubocop", - desc = [[The Ruby Linter/Formatter that Serves and Protects]], - homepage = "https://rubocop.org", - languages = { Pkg.Lang.Ruby }, - categories = { Pkg.Cat.Formatter, Pkg.Cat.Linter }, - install = gem.packages { "rubocop", bin = { "rubocop" } }, -} diff --git a/lua/mason-registry/index/ruby-lsp/init.lua b/lua/mason-registry/index/ruby-lsp/init.lua deleted file mode 100644 index d84487b3..00000000 --- a/lua/mason-registry/index/ruby-lsp/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local gem = require "mason-core.managers.gem" - -return Pkg.new { - name = "ruby-lsp", - desc = [[This gem is an implementation of the language server protocol specification for Ruby, used to improve editor features.]], - homepage = "https://github.com/Shopify/ruby-lsp", - languages = { Pkg.Lang.Ruby }, - categories = { Pkg.Cat.LSP }, - install = gem.packages { "ruby-lsp", bin = { "ruby-lsp" } }, -} diff --git a/lua/mason-registry/index/ruff-lsp/init.lua b/lua/mason-registry/index/ruff-lsp/init.lua deleted file mode 100644 index dc9d42cd..00000000 --- a/lua/mason-registry/index/ruff-lsp/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "ruff-lsp", - desc = [[A Language Server Protocol implementation for Ruff - An extremely fast Python linter, written in Rust.]], - homepage = "https://github.com/charliermarsh/ruff-lsp/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.LSP }, - install = pip3.packages { "ruff-lsp", bin = { "ruff-lsp" } }, -} diff --git a/lua/mason-registry/index/ruff/init.lua b/lua/mason-registry/index/ruff/init.lua deleted file mode 100644 index 354f013c..00000000 --- a/lua/mason-registry/index/ruff/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "ruff", - desc = [[An extremely fast Python linter, written in Rust.]], - homepage = "https://github.com/charliermarsh/ruff/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "ruff", bin = { "ruff" } }, -} diff --git a/lua/mason-registry/index/rustfmt/init.lua b/lua/mason-registry/index/rustfmt/init.lua deleted file mode 100644 index b07664cf..00000000 --- a/lua/mason-registry/index/rustfmt/init.lua +++ /dev/null @@ -1,40 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "rustfmt", - desc = [[A tool for formatting Rust code according to style guidelines]], - homepage = "https://github.com/rust-lang/rustfmt", - categories = { Pkg.Cat.Formatter }, - languages = { Pkg.Lang.Rust }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - platform.when { - unix = function() - local source = github.untargz_release_file { - repo = "rust-lang/rustfmt", - asset_file = coalesce( - when(platform.is.mac, _.format "rustfmt_macos-x86_64_%s.tar.gz"), - when(platform.is.linux_x64, _.format "rustfmt_linux-x86_64_%s.tar.gz") - ), - } - source.with_receipt() - ctx:link_bin("rustfmt", path.concat { source.asset_file:gsub("%.tar%.gz$", ""), "rustfmt" }) - end, - win = function() - local source = github.unzip_release_file { - repo = "rust-lang/rustfmt", - asset_file = coalesce(when(platform.is.win_x64, _.format "rustfmt_windows-x86_64-msvc_%s.zip")), - } - source.with_receipt() - ctx:link_bin("rustfmt", path.concat { source.asset_file:gsub("%.zip$", ""), "rustfmt.exe" }) - end, - } - end, -} diff --git a/lua/mason-registry/index/rustywind/init.lua b/lua/mason-registry/index/rustywind/init.lua deleted file mode 100644 index ab81db51..00000000 --- a/lua/mason-registry/index/rustywind/init.lua +++ /dev/null @@ -1,18 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "rustywind", - desc = [[CLI for organizing Tailwind CSS classes]], - homepage = "https://github.com/avencera/rustywind", - languages = { - Pkg.Lang.JavaScript, - Pkg.Lang.TypeScript, - Pkg.Lang.JSX, - Pkg.Lang.HTML, - Pkg.Lang.Vue, - Pkg.Lang.Angular, - }, - categories = { Pkg.Cat.Formatter }, - install = npm.packages { "rustywind", bin = { "rustywind" } }, -} diff --git a/lua/mason-registry/index/salt-lsp/init.lua b/lua/mason-registry/index/salt-lsp/init.lua deleted file mode 100644 index 91f79be5..00000000 --- a/lua/mason-registry/index/salt-lsp/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "salt-lsp", - desc = [[Salt Language Server Protocol Server]], - languages = { Pkg.Lang.Salt }, - categories = { Pkg.Cat.LSP }, - homepage = "https://github.com/dcermak/salt-lsp", - install = pip3.packages { "salt-lsp", bin = { "salt_lsp_server" } }, -} diff --git a/lua/mason-registry/index/selene/init.lua b/lua/mason-registry/index/selene/init.lua deleted file mode 100644 index 1c676dad..00000000 --- a/lua/mason-registry/index/selene/init.lua +++ /dev/null @@ -1,34 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "selene", - desc = [[A blazing-fast modern Lua linter written in Rust]], - homepage = "https://kampfkarren.github.io/selene/", - languages = { Pkg.Lang.Lua, Pkg.Lang.Luau }, - categories = { Pkg.Cat.Linter }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .unzip_release_file({ - repo = "Kampfkarren/selene", - asset_file = function(release) - local target = coalesce( - when(platform.is.mac, "selene-%s-macos.zip"), - when(platform.is.linux_x64, "selene-%s-linux.zip"), - when(platform.is.win_x64, "selene-%s-windows.zip") - ) - return target and target:format(release) - end, - }) - .with_receipt() - std.chmod("+x", { "selene" }) - ctx:link_bin("selene", platform.is.win and "selene.exe" or "selene") - end, -} diff --git a/lua/mason-registry/index/semgrep/init.lua b/lua/mason-registry/index/semgrep/init.lua deleted file mode 100644 index 45e766cb..00000000 --- a/lua/mason-registry/index/semgrep/init.lua +++ /dev/null @@ -1,22 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "semgrep", - desc = "Semgrep is a fast, open-source, static analysis engine for finding bugs, detecting vulnerabilities in third-party dependencies, and enforcing code standards.", - homepage = "https://github.com/returntocorp/semgrep", - languages = { - Pkg.Lang["C#"], - Pkg.Lang.Go, - Pkg.Lang.Java, - Pkg.Lang.JavaScript, - Pkg.Lang.JSON, - Pkg.Lang.PHP, - Pkg.Lang.Python, - Pkg.Lang.Ruby, - Pkg.Lang.TypeScript, - Pkg.Lang.Scala, - }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "semgrep", bin = { "semgrep" } }, -} diff --git a/lua/mason-registry/index/serve-d/init.lua b/lua/mason-registry/index/serve-d/init.lua deleted file mode 100644 index 5509ff6e..00000000 --- a/lua/mason-registry/index/serve-d/init.lua +++ /dev/null @@ -1,51 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "serve-d", - desc = [[Microsoft language server protocol implementation for D using workspace-d]], - homepage = "https://github.com/Pure-D/serve-d", - languages = { Pkg.Lang.D }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local repo = "Pure-D/serve-d" - platform.when { - unix = function() - github - .untarxz_release_file({ - repo = repo, - asset_file = function(release) - local target = coalesce( - when(platform.is.mac, "serve-d_%s-osx-x86_64.tar.xz"), - when(platform.is.linux_x64, "serve-d_%s-linux-x86_64.tar.xz") - ) - return target and target:format(release:gsub("^v", "")) - end, - }) - .with_receipt() - ctx:link_bin("serve-d", "serve-d") - end, - win = function() - github - .unzip_release_file({ - repo = repo, - asset_file = function(release) - local target = coalesce( - when(platform.arch == "x64", "serve-d_%s-windows-x86_64.zip"), - when(platform.arch == "x86", "serve-d_%s-windows-x86.zip") - ) - return target and target:format(release:gsub("^v", "")) - end, - }) - .with_receipt() - ctx:link_bin("serve-d", "serve-d.exe") - end, - } - end, -} diff --git a/lua/mason-registry/index/shellcheck/init.lua b/lua/mason-registry/index/shellcheck/init.lua deleted file mode 100644 index 4d6ef2bc..00000000 --- a/lua/mason-registry/index/shellcheck/init.lua +++ /dev/null @@ -1,42 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -return Pkg.new { - name = "shellcheck", - desc = [[ShellCheck, a static analysis tool for shell scripts]], - homepage = "https://www.shellcheck.net/", - categories = { Pkg.Cat.Linter }, - languages = { Pkg.Lang.Bash }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - platform.when { - unix = function() - github - .untarxz_release_file({ - strip_components = 1, - repo = "koalaman/shellcheck", - asset_file = _.coalesce( - _.when(platform.is.mac, _.format "shellcheck-%s.darwin.x86_64.tar.xz"), - _.when(platform.is.linux_x64, _.format "shellcheck-%s.linux.x86_64.tar.xz"), - _.when(platform.is.linux_arm64, _.format "shellcheck-%s.linux.aarch64.tar.xz"), - _.when(platform.is.linux_arm, _.format "shellcheck-%s.linux.armv6hf.tar.xz") - ), - }) - .with_receipt() - ctx:link_bin("shellcheck", "shellcheck") - end, - win = function() - github - .unzip_release_file({ - repo = "koalaman/shellcheck", - asset_file = _.coalesce(_.when(platform.is.win_x64, _.format "shellcheck-%s.zip")), - }) - .with_receipt() - ctx:link_bin("shellcheck", "shellcheck.exe") - end, - } - end, -} diff --git a/lua/mason-registry/index/shellharden/init.lua b/lua/mason-registry/index/shellharden/init.lua deleted file mode 100644 index 847dc766..00000000 --- a/lua/mason-registry/index/shellharden/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local cargo = require "mason-core.managers.cargo" - -return Pkg.new { - name = "shellharden", - desc = [[The corrective bash syntax highlighter]], - homepage = "https://github.com/anordal/shellharden", - languages = { Pkg.Lang.Bash }, - categories = { Pkg.Cat.Formatter, Pkg.Cat.Linter }, - install = cargo.crate("shellharden", { bin = { "shellharden" } }), -} diff --git a/lua/mason-registry/index/shfmt/init.lua b/lua/mason-registry/index/shfmt/init.lua deleted file mode 100644 index 3101af97..00000000 --- a/lua/mason-registry/index/shfmt/init.lua +++ /dev/null @@ -1,33 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "shfmt", - desc = [[A shell formatter (sh/bash/mksh)]], - homepage = "https://github.com/mvdan/sh", - languages = { Pkg.Lang.Bash, Pkg.Lang.Mksh, Pkg.Lang.Shell }, - categories = { Pkg.Cat.Formatter }, - install = function(ctx) - github - .download_release_file({ - repo = "mvdan/sh", - out_file = platform.is.win and "shfmt.exe" or "shfmt", - asset_file = coalesce( - when(platform.is.mac_arm64, _.format "shfmt_%s_darwin_arm64"), - when(platform.is.mac_x64, _.format "shfmt_%s_darwin_amd64"), - when(platform.is.linux_arm64, _.format "shfmt_%s_linux_arm64"), - when(platform.is.linux_x64, _.format "shfmt_%s_linux_amd64"), - when(platform.is.win_x86, _.format "shfmt_%s_windows_386.exe"), - when(platform.is.win_x64, _.format "shfmt_%s_windows_amd64.exe") - ), - }) - .with_receipt() - std.chmod("+x", { "shfmt" }) - ctx:link_bin("shfmt", platform.is.win and "shfmt.exe" or "shfmt") - end, -} diff --git a/lua/mason-registry/index/shopify-theme-check/init.lua b/lua/mason-registry/index/shopify-theme-check/init.lua deleted file mode 100644 index bba774f8..00000000 --- a/lua/mason-registry/index/shopify-theme-check/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local gem = require "mason-core.managers.gem" - -return Pkg.new { - name = "shopify-theme-check", - desc = [[The Ultimate Shopify Theme Linter]], - homepage = "https://github.com/Shopify/theme-check", - languages = { Pkg.Lang.Liquid }, - categories = { Pkg.Cat.LSP, Pkg.Cat.Linter }, - install = gem.packages { "theme-check", bin = { "theme-check-language-server" } }, -} diff --git a/lua/mason-registry/index/slint-lsp/init.lua b/lua/mason-registry/index/slint-lsp/init.lua deleted file mode 100644 index 7eb687d2..00000000 --- a/lua/mason-registry/index/slint-lsp/init.lua +++ /dev/null @@ -1,36 +0,0 @@ -local Pkg = require "mason-core.package" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" -local platform = require "mason-core.platform" - -return Pkg.new { - name = "slint-lsp", - desc = [[A LSP Server that adds features like auto-complete and live preview of the .slint files to many editors.]], - homepage = "https://slint-ui.com/", - languages = { Pkg.Lang.Slint }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local repo = "slint-ui/slint" - platform.when { - win = function() - github - .unzip_release_file({ - repo = repo, - asset_file = "slint-lsp-windows.zip", - }) - .with_receipt() - end, - linux = function() - github - .untargz_release_file({ - repo = repo, - asset_file = "slint-lsp-linux.tar.gz", - }) - .with_receipt() - end, - } - ctx:link_bin("slint-lsp", path.concat { "slint-lsp", platform.is.win and "slint-lsp.exe" or "slint-lsp" }) - end, -} diff --git a/lua/mason-registry/index/smithy-language-server/init.lua b/lua/mason-registry/index/smithy-language-server/init.lua deleted file mode 100644 index cef679c5..00000000 --- a/lua/mason-registry/index/smithy-language-server/init.lua +++ /dev/null @@ -1,38 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local fs = require "mason-core.fs" -local git = require "mason-core.managers.git" -local path = require "mason-core.path" - -return Pkg.new { - name = "smithy-language-server", - desc = "A Language Server Protocol implementation for the Smithy IDL.", - homepage = "https://github.com/awslabs/smithy-language-server", - languages = { Pkg.Lang.Smithy }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - git.clone({ "https://github.com/awslabs/smithy-language-server" }).with_receipt() - ctx:promote_cwd() - ctx.spawn.gradlew { - "build", - with_paths = { ctx.cwd:get() }, - } - - local version = _.trim(ctx.fs:read_file "VERSION") - - ctx:link_bin( - "smithy-language-server", - ctx:write_shell_exec_wrapper( - "smithy-language-server", - ("java -jar %q"):format(path.concat { - ctx.package:get_install_path(), - "build", - "libs", - ("smithy-language-server-%s.jar"):format(version), - }) - ) - ) - end, -} diff --git a/lua/mason-registry/index/snakefmt/init.lua b/lua/mason-registry/index/snakefmt/init.lua deleted file mode 100644 index 732ba0a0..00000000 --- a/lua/mason-registry/index/snakefmt/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "snakefmt", - desc = "The uncompromising Snakemake code formatter", - homepage = "https://github.com/snakemake/snakefmt", - languages = { Pkg.Lang.Snakemake }, - categories = { Pkg.Cat.Formatter }, - install = pip3.packages { "snakefmt", bin = { "snakefmt" } }, -} diff --git a/lua/mason-registry/index/solargraph/init.lua b/lua/mason-registry/index/solargraph/init.lua deleted file mode 100644 index e69f84cd..00000000 --- a/lua/mason-registry/index/solargraph/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local gem = require "mason-core.managers.gem" - -return Pkg.new { - name = "solargraph", - desc = [[Solargraph is a Ruby gem that provides intellisense features through the language server protocol.]], - homepage = "https://solargraph.org", - languages = { Pkg.Lang.Ruby }, - categories = { Pkg.Cat.LSP }, - install = gem.packages { "solargraph", bin = { "solargraph" } }, -} diff --git a/lua/mason-registry/index/solhint/init.lua b/lua/mason-registry/index/solhint/init.lua deleted file mode 100644 index be55e2f5..00000000 --- a/lua/mason-registry/index/solhint/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "solhint", - desc = [[Solhint is a linting utility for Solidity code]], - homepage = "https://protofire.github.io/solhint/", - languages = { Pkg.Lang.Solidity }, - categories = { Pkg.Cat.Linter }, - install = npm.packages { "solhint", bin = { "solhint" } }, -} diff --git a/lua/mason-registry/index/solidity-ls/init.lua b/lua/mason-registry/index/solidity-ls/init.lua deleted file mode 100644 index d5a9259e..00000000 --- a/lua/mason-registry/index/solidity-ls/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "solidity-ls", - desc = [[Solidity language server.]], - homepage = "https://github.com/qiuxiang/solidity-ls", - languages = { Pkg.Lang.Solidity }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "solidity-ls", bin = { "solidity-ls" } }, -} diff --git a/lua/mason-registry/index/solidity/init.lua b/lua/mason-registry/index/solidity/init.lua deleted file mode 100644 index 8824d63a..00000000 --- a/lua/mason-registry/index/solidity/init.lua +++ /dev/null @@ -1,32 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "solidity", - desc = [[Solidity, the Smart Contract Programming Language]], - homepage = "https://github.com/ethereum/solidity", - categories = { Pkg.Cat.Compiler, Pkg.Cat.LSP }, - languages = { Pkg.Lang.Solidity }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .download_release_file({ - repo = "ethereum/solidity", - out_file = platform.is.win and "solc.exe" or "solc", - asset_file = coalesce( - when(platform.is.mac, "solc-macos"), - when(platform.is.linux, "solc-static-linux"), - when(platform.is.win, "solc-windows.exe") - ), - }) - .with_receipt() - std.chmod("+x", { "solc" }) - ctx:link_bin("solc", platform.is.win and "solc.exe" or "solc") - end, -} diff --git a/lua/mason-registry/index/sorbet/init.lua b/lua/mason-registry/index/sorbet/init.lua deleted file mode 100644 index 4b111542..00000000 --- a/lua/mason-registry/index/sorbet/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local gem = require "mason-core.managers.gem" - -return Pkg.new { - name = "sorbet", - desc = [[Sorbet is a fast, powerful type checker designed for Ruby.]], - homepage = "https://sorbet.org/", - languages = { Pkg.Lang.Ruby }, - categories = { Pkg.Cat.LSP }, - install = gem.packages { "sorbet", bin = { "srb" } }, -} diff --git a/lua/mason-registry/index/sourcery/init.lua b/lua/mason-registry/index/sourcery/init.lua deleted file mode 100644 index 45a88177..00000000 --- a/lua/mason-registry/index/sourcery/init.lua +++ /dev/null @@ -1,15 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "sourcery", - desc = _.dedent [[ - Sourcery is a tool available in your IDE, GitHub, or as a CLI that suggests refactoring improvements to help - make your code more readable and generally higher quality. - ]], - homepage = "https://docs.sourcery.ai/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.LSP }, - install = pip3.packages { "sourcery-cli", bin = { "sourcery" } }, -} diff --git a/lua/mason-registry/index/spectral-language-server/init.lua b/lua/mason-registry/index/spectral-language-server/init.lua deleted file mode 100644 index 4749d60c..00000000 --- a/lua/mason-registry/index/spectral-language-server/init.lua +++ /dev/null @@ -1,35 +0,0 @@ -local Optional = require "mason-core.optional" -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local git = require "mason-core.managers.git" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" - -return Pkg.new { - name = "spectral-language-server", - desc = _.dedent [[ - Awesome Spectral JSON/YAML linter with OpenAPI/AsyncAPI support. Spectral is a flexible object linter with out - of the box support for OpenAPI v2 and v3, JSON Schema, and AsyncAPI. - ]], - homepage = "https://github.com/stoplightio/vscode-spectral", - languages = { Pkg.Lang.JSON, Pkg.Lang.YAML }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local source = github.tag { repo = "stoplightio/vscode-spectral" } - source.with_receipt() - ctx.fs:mkdir "build" - ctx:chdir("build", function() - git.clone { "https://github.com/stoplightio/vscode-spectral", version = Optional.of(source.tag) } - ctx.spawn.npm { "install" } - ctx.spawn.node { "make", "package" } - end) - ctx.fs:rename(path.concat { "build", "dist", "server", "index.js" }, "spectral-language-server.js") - ctx.fs:rmrf "build" - ctx:link_bin( - "spectral-language-server", - ctx:write_node_exec_wrapper("spectral-language-server", "spectral-language-server.js") - ) - end, -} diff --git a/lua/mason-registry/index/sql-formatter/init.lua b/lua/mason-registry/index/sql-formatter/init.lua deleted file mode 100644 index c3bcf10f..00000000 --- a/lua/mason-registry/index/sql-formatter/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "sql-formatter", - desc = [[A whitespace formatter for different query languages]], - homepage = "https://sql-formatter-org.github.io/sql-formatter/", - languages = { Pkg.Lang.SQL }, - categories = { Pkg.Cat.Formatter }, - install = npm.packages { "sql-formatter", bin = { "sql-formatter" } }, -} diff --git a/lua/mason-registry/index/sqlfluff/init.lua b/lua/mason-registry/index/sqlfluff/init.lua deleted file mode 100644 index bbd9ed7d..00000000 --- a/lua/mason-registry/index/sqlfluff/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "sqlfluff", - desc = [[SQLFluff is a dialect-flexible and configurable SQL linter]], - homepage = "https://github.com/sqlfluff/sqlfluff", - languages = { Pkg.Lang.SQL }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "sqlfluff", bin = { "sqlfluff" } }, -} diff --git a/lua/mason-registry/index/sqlls/init.lua b/lua/mason-registry/index/sqlls/init.lua deleted file mode 100644 index 7d719838..00000000 --- a/lua/mason-registry/index/sqlls/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "sqlls", - desc = [[SQL Language Server]], - homepage = "https://github.com/joe-re/sql-language-server", - languages = { Pkg.Lang.SQL }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "sql-language-server", bin = { "sql-language-server" } }, -} diff --git a/lua/mason-registry/index/sqls/init.lua b/lua/mason-registry/index/sqls/init.lua deleted file mode 100644 index eb3215ea..00000000 --- a/lua/mason-registry/index/sqls/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local go = require "mason-core.managers.go" - -return Pkg.new { - name = "sqls", - desc = [[SQL language server written in Go.]], - homepage = "https://github.com/lighttiger2505/sqls", - languages = { Pkg.Lang.SQL }, - categories = { Pkg.Cat.LSP }, - install = go.packages { "github.com/lighttiger2505/sqls", bin = { "sqls" } }, -} diff --git a/lua/mason-registry/index/standardrb/init.lua b/lua/mason-registry/index/standardrb/init.lua deleted file mode 100644 index eefb361f..00000000 --- a/lua/mason-registry/index/standardrb/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local gem = require "mason-core.managers.gem" - -return Pkg.new { - name = "standardrb", - desc = [[Ruby Style Guide, with linter and automatic code fixer]], - homepage = "https://github.com/testdouble/standard/", - languages = { Pkg.Lang.Ruby }, - categories = { Pkg.Cat.Formatter, Pkg.Cat.Linter }, - install = gem.packages { "standard", bin = { "standardrb" } }, -} diff --git a/lua/mason-registry/index/staticcheck/init.lua b/lua/mason-registry/index/staticcheck/init.lua deleted file mode 100644 index ab3f0fff..00000000 --- a/lua/mason-registry/index/staticcheck/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local go = require "mason-core.managers.go" - -return Pkg.new { - name = "staticcheck", - desc = [[The advanced Go linter]], - homepage = "https://staticcheck.io/", - categories = { Pkg.Cat.Linter }, - languages = { Pkg.Lang.Go }, - install = go.packages { "honnef.co/go/tools/cmd/staticcheck", bin = { "staticcheck" } }, -} diff --git a/lua/mason-registry/index/stylelint-lsp/init.lua b/lua/mason-registry/index/stylelint-lsp/init.lua deleted file mode 100644 index 999ab033..00000000 --- a/lua/mason-registry/index/stylelint-lsp/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "stylelint-lsp", - desc = [[A stylelint Language Server]], - homepage = "https://github.com/bmatcuk/stylelint-lsp", - languages = { Pkg.Lang.Stylelint }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "stylelint-lsp", bin = { "stylelint-lsp" } }, -} diff --git a/lua/mason-registry/index/stylua/init.lua b/lua/mason-registry/index/stylua/init.lua deleted file mode 100644 index bbcdb9b3..00000000 --- a/lua/mason-registry/index/stylua/init.lua +++ /dev/null @@ -1,31 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "stylua", - desc = [[An opinionated Lua code formatter]], - homepage = "https://github.com/JohnnyMorganz/StyLua", - languages = { Pkg.Lang.Lua, Pkg.Lang.Luau }, - categories = { Pkg.Cat.Formatter }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .unzip_release_file({ - repo = "johnnymorganz/stylua", - asset_file = coalesce( - when(platform.is.mac_arm64, "stylua-macos-aarch64.zip"), - when(platform.is.mac_x64, "stylua-macos.zip"), - when(platform.is.linux_x64, "stylua-linux-x86_64.zip"), - when(platform.is.linux_arm64, "stylua-linux-aarch64.zip"), - when(platform.is.win_x64, "stylua-win64.zip") - ), - }) - .with_receipt() - ctx:link_bin("stylua", platform.is.win and "stylua.exe" or "stylua") - end, -} diff --git a/lua/mason-registry/index/svelte-language-server/init.lua b/lua/mason-registry/index/svelte-language-server/init.lua deleted file mode 100644 index ff495bda..00000000 --- a/lua/mason-registry/index/svelte-language-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "svelte-language-server", - desc = [[A language server (implementing the language server protocol) for Svelte.]], - languages = { Pkg.Lang.Svelte }, - categories = { Pkg.Cat.LSP }, - homepage = "https://github.com/sveltejs/language-tools", - install = npm.packages { "svelte-language-server", bin = { "svelteserver" } }, -} diff --git a/lua/mason-registry/index/svlangserver/init.lua b/lua/mason-registry/index/svlangserver/init.lua deleted file mode 100644 index 387eedf0..00000000 --- a/lua/mason-registry/index/svlangserver/init.lua +++ /dev/null @@ -1,15 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "svlangserver", - desc = _.dedent [[ - A language server for systemverilog that has been tested to work with coc.nvim, VSCode, Sublime Text 4, emacs, - and Neovim. - ]], - homepage = "https://github.com/imc-trading/svlangserver", - languages = { Pkg.Lang.SystemVerilog }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "@imc-trading/svlangserver", bin = { "svlangserver" } }, -} diff --git a/lua/mason-registry/index/svls/init.lua b/lua/mason-registry/index/svls/init.lua deleted file mode 100644 index 12e6b297..00000000 --- a/lua/mason-registry/index/svls/init.lua +++ /dev/null @@ -1,13 +0,0 @@ -local Pkg = require "mason-core.package" -local cargo = require "mason-core.managers.cargo" - -return Pkg.new { - name = "svls", - desc = [[SystemVerilog language server]], - homepage = "https://github.com/dalance/svls", - languages = { Pkg.Lang.SystemVerilog }, - categories = { Pkg.Cat.LSP }, - install = cargo.crate("svls", { - bin = { "svls" }, - }), -} diff --git a/lua/mason-registry/index/tailwindcss-language-server/init.lua b/lua/mason-registry/index/tailwindcss-language-server/init.lua deleted file mode 100644 index 9bde697a..00000000 --- a/lua/mason-registry/index/tailwindcss-language-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "tailwindcss-language-server", - desc = [[Language Server Protocol implementation for Tailwind CSS.]], - homepage = "https://github.com/tailwindlabs/tailwindcss-intellisense", - languages = { Pkg.Lang.CSS }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "@tailwindcss/language-server", bin = { "tailwindcss-language-server" } }, -} diff --git a/lua/mason-registry/index/taplo/init.lua b/lua/mason-registry/index/taplo/init.lua deleted file mode 100644 index 145efd13..00000000 --- a/lua/mason-registry/index/taplo/init.lua +++ /dev/null @@ -1,51 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "taplo", - desc = [[A versatile, feature-rich TOML toolkit.]], - homepage = "https://taplo.tamasfe.dev/", - languages = { Pkg.Lang.TOML }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - platform.when { - unix = function() - github - .gunzip_release_file({ - repo = "tamasfe/taplo", - asset_file = coalesce( - when(platform.is.mac_arm64, "taplo-full-darwin-aarch64.gz"), - when(platform.is.mac_x64, "taplo-full-darwin-x86_64.gz"), - when(platform.is.linux_x64, "taplo-full-linux-x86_64.gz"), - when(platform.is.linux_x86, "taplo-full-linux-x86.gz"), - when(platform.is.linux_arm64, "taplo-full-linux-aarch64.gz") - ), - out_file = "taplo", - }) - .with_receipt() - std.chmod("+x", { "taplo" }) - ctx:link_bin("taplo", "taplo") - end, - win = function() - github - .unzip_release_file({ - repo = "tamasfe/taplo", - asset_file = coalesce( - when(platform.is.win_x64, "taplo-full-windows-x86_64.zip"), - when(platform.is.win_x86, "taplo-full-windows-x86.zip") - ), - out_file = "taplo.zip", - }) - .with_receipt() - ctx:link_bin("taplo", "taplo.exe") - end, - } - end, -} diff --git a/lua/mason-registry/index/teal-language-server/init.lua b/lua/mason-registry/index/teal-language-server/init.lua deleted file mode 100644 index fcbdf9c4..00000000 --- a/lua/mason-registry/index/teal-language-server/init.lua +++ /dev/null @@ -1,14 +0,0 @@ -local Pkg = require "mason-core.package" -local luarocks = require "mason-core.managers.luarocks" - -return Pkg.new { - name = "teal-language-server", - desc = [[A language server for Teal, a typed dialect of Lua]], - homepage = "https://github.com/teal-language/teal-language-server", - languages = { Pkg.Lang.Teal }, - categories = { Pkg.Cat.LSP }, - install = luarocks.package("teal-language-server", { - dev = true, - bin = { "teal-language-server" }, - }), -} diff --git a/lua/mason-registry/index/tectonic/init.lua b/lua/mason-registry/index/tectonic/init.lua deleted file mode 100644 index c2bbaade..00000000 --- a/lua/mason-registry/index/tectonic/init.lua +++ /dev/null @@ -1,62 +0,0 @@ -local Optional = require "mason-core.optional" -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "tectonic", - desc = [[Tectonic is a modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.]], - homepage = "https://tectonic-typesetting.github.io", - languages = { Pkg.Lang.LaTeX }, - categories = { Pkg.Cat.Compiler }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local repo = "tectonic-typesetting/tectonic" - local function format_release_file(file) - return _.compose(_.format(file), _.gsub("^tectonic@", "")) - end - - platform.when { - unix = function() - github - .untargz_release_file({ - repo = repo, - version = Optional.of "tectonic@0.12.0", - asset_file = coalesce( - when(platform.is.mac_x64, format_release_file "tectonic-%s-x86_64-apple-darwin.tar.gz"), - when(platform.is.mac_arm64, format_release_file "tectonic-%s-aarch64-apple-darwin.tar.gz"), - when( - platform.is.linux_x64_gnu, - format_release_file "tectonic-%s-x86_64-unknown-linux-gnu.tar.gz" - ), - when( - platform.is.linux_x64, - format_release_file "tectonic-%s-x86_64-unknown-linux-musl.tar.gz" - ), - when( - platform.is.linux_arm, - format_release_file "tectonic-%s-arm-unknown-linux-musleabihf.tar.gz" - ) - ), - }) - .with_receipt() - std.chmod("+x", { "tectonic" }) - ctx:link_bin("tectonic", "tectonic") - end, - win = function() - github - .unzip_release_file({ - repo = repo, - asset_file = format_release_file "tectonic-%s-x86_64-pc-windows-msvc.zip", - }) - .with_receipt() - ctx:link_bin("tectonic", "tectonic.exe") - end, - } - end, -} diff --git a/lua/mason-registry/index/terraform-ls/init.lua b/lua/mason-registry/index/terraform-ls/init.lua deleted file mode 100644 index e87ae337..00000000 --- a/lua/mason-registry/index/terraform-ls/init.lua +++ /dev/null @@ -1,47 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "terraform-ls", - desc = [[Terraform Language Server]], - homepage = "https://github.com/hashicorp/terraform-ls", - languages = { Pkg.Lang.Terraform }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local source = github.release_version { - repo = "hashicorp/terraform-ls", - } - source.with_receipt() - - local version = _.strip_prefix("v", source.release) - - local target = coalesce( - when(platform.is.mac_arm64, "terraform-ls_%s_darwin_arm64.zip"), - when(platform.is.mac_x64, "terraform-ls_%s_darwin_amd64.zip"), - when(platform.is.linux_arm64, "terraform-ls_%s_linux_arm64.zip"), - when(platform.is.linux_arm, "terraform-ls_%s_linux_arm.zip"), - when(platform.is.linux_x64, "terraform-ls_%s_linux_amd64.zip"), - when(platform.is.linux_x86, "terraform-ls_%s_linux_386.zip"), - when(platform.is.win_arm64, "terraform-ls_%s_windows_arm64.zip"), - when(platform.is.win_x64, "terraform-ls_%s_windows_amd64.zip"), - when(platform.is.win_x86, "terraform-ls_%s_windows_386.zip") - ) - - assert(target, "Current platform is not supported.") - - std.download_file( - ("https://releases.hashicorp.com/terraform-ls/%s/%s"):format(version, target:format(version)), - "terraform-ls.zip" - ) - std.unzip("terraform-ls.zip", ".") - - ctx:link_bin("terraform-ls", platform.is.win and "terraform-ls.exe" or "terraform-ls") - end, -} diff --git a/lua/mason-registry/index/texlab/init.lua b/lua/mason-registry/index/texlab/init.lua deleted file mode 100644 index df2b2b54..00000000 --- a/lua/mason-registry/index/texlab/init.lua +++ /dev/null @@ -1,43 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "texlab", - desc = [[An implementation of the Language Server Protocol for LaTeX]], - homepage = "https://github.com/latex-lsp/texlab", - categories = { Pkg.Cat.LSP }, - languages = { Pkg.Lang.LaTeX }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local repo = "latex-lsp/texlab" - platform.when { - unix = function() - github - .untargz_release_file({ - repo = repo, - asset_file = coalesce( - when(platform.is.mac_arm64, "texlab-aarch64-macos.tar.gz"), - when(platform.is.mac_x64, "texlab-x86_64-macos.tar.gz"), - when(platform.is.linux_x64, "texlab-x86_64-linux.tar.gz") - ), - }) - .with_receipt() - ctx:link_bin("texlab", "texlab") - end, - win = function() - github - .unzip_release_file({ - repo = repo, - asset_file = coalesce(when(platform.arch == "x64", "texlab-x86_64-windows.zip")), - }) - .with_receipt() - ctx:link_bin("texlab", "texlab.exe") - end, - } - end, -} diff --git a/lua/mason-registry/index/textlint/init.lua b/lua/mason-registry/index/textlint/init.lua deleted file mode 100644 index c5126793..00000000 --- a/lua/mason-registry/index/textlint/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "textlint", - desc = [[The pluggable natural language linter for text and markdown.]], - homepage = "https://textlint.github.io", - languages = { Pkg.Lang.Text, Pkg.Lang.Markdown }, - categories = { Pkg.Cat.Linter }, - install = npm.packages { "textlint", bin = { "textlint" } }, -} diff --git a/lua/mason-registry/index/tflint/init.lua b/lua/mason-registry/index/tflint/init.lua deleted file mode 100644 index e50f6483..00000000 --- a/lua/mason-registry/index/tflint/init.lua +++ /dev/null @@ -1,32 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "tflint", - desc = [[A Pluggable Terraform Linter]], - homepage = "https://github.com/terraform-linters/tflint", - languages = { Pkg.Lang.Terraform }, - categories = { Pkg.Cat.LSP, Pkg.Cat.Linter }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .unzip_release_file({ - repo = "terraform-linters/tflint", - asset_file = coalesce( - when(platform.is.mac_x64, "tflint_darwin_amd64.zip"), - when(platform.is.mac_arm64, "tflint_darwin_arm64.zip"), - when(platform.is.linux_x64, "tflint_linux_amd64.zip"), - when(platform.is.linux_arm64, "tflint_linux_arm64.zip"), - when(platform.is.linux_x86, "tflint_linux_386.zip"), - when(platform.is.win_x64, "tflint_windows_amd64.zip") - ), - }) - .with_receipt() - ctx:link_bin("tflint", platform.is.win and "tflint.exe" or "tflint") - end, -} diff --git a/lua/mason-registry/index/twigcs/init.lua b/lua/mason-registry/index/twigcs/init.lua deleted file mode 100644 index 942c0192..00000000 --- a/lua/mason-registry/index/twigcs/init.lua +++ /dev/null @@ -1,36 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -return Pkg.new { - name = "twigcs", - desc = _.dedent [[ - The missing checkstyle for twig! Twigcs aims to be what phpcs is to php. It checks your codebase for violations - on coding standards. - ]], - homepage = "https://github.com/friendsoftwig/twigcs", - languages = { Pkg.Lang.Twig }, - categories = { Pkg.Cat.Linter }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .download_release_file({ - repo = "friendsoftwig/twigcs", - asset_file = "twigcs.phar", - out_file = platform.is.win and "twigcs.phar" or "twigcs", - }) - .with_receipt() - platform.when { - unix = function() - std.chmod("+x", { "twigcs" }) - ctx:link_bin("twigcs", "twigcs") - end, - win = function() - ctx:link_bin("twigcs", ctx:write_php_exec_wrapper("twigcs", "twigcs.phar")) - end, - } - end, -} diff --git a/lua/mason-registry/index/typescript-language-server/init.lua b/lua/mason-registry/index/typescript-language-server/init.lua deleted file mode 100644 index d978c4e1..00000000 --- a/lua/mason-registry/index/typescript-language-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "typescript-language-server", - desc = [[TypeScript & JavaScript Language Server]], - homepage = "https://github.com/typescript-language-server/typescript-language-server", - categories = { Pkg.Cat.LSP }, - languages = { Pkg.Lang.TypeScript, Pkg.Lang.JavaScript }, - install = npm.packages { "typescript-language-server", "typescript", bin = { "typescript-language-server" } }, -} diff --git a/lua/mason-registry/index/unocss-language-server/init.lua b/lua/mason-registry/index/unocss-language-server/init.lua deleted file mode 100644 index 5d00c873..00000000 --- a/lua/mason-registry/index/unocss-language-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "unocss-language-server", - desc = [[Language Server Protocol implementation for UnoCSS.]], - homepage = "https://github.com/xna00/unocss-language-server", - languages = { Pkg.Lang.CSS }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "unocss-language-server", bin = { "unocss-language-server" } }, -} diff --git a/lua/mason-registry/index/usort/init.lua b/lua/mason-registry/index/usort/init.lua deleted file mode 100644 index 03c4d3a8..00000000 --- a/lua/mason-registry/index/usort/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "usort", - desc = [[Safe, minimal import sorting for Python projects.]], - homepage = "https://usort.readthedocs.io/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Formatter }, - install = pip3.packages { "usort", bin = { "usort" } }, -} diff --git a/lua/mason-registry/index/vacuum/init.lua b/lua/mason-registry/index/vacuum/init.lua deleted file mode 100644 index a044db2a..00000000 --- a/lua/mason-registry/index/vacuum/init.lua +++ /dev/null @@ -1,43 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "vacuum", - desc = _.dedent [[ - vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. - Built in go, it tears through API specs faster than you can think. - vacuum is compatible with Spectral rulesets and generates compatible reports. - ]], - homepage = "https://github.com/daveshanley/vacuum", - languages = { Pkg.Lang.OpenAPI }, - categories = { Pkg.Cat.Linter }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - ---@param template string - local function release_file(template) - return _.compose(_.format(template), _.strip_prefix "v") - end - - github - .untargz_release_file({ - repo = "daveshanley/vacuum", - asset_file = coalesce( - when(platform.is.darwin_arm64, release_file "vacuum_%s_darwin_arm64.tar.gz"), - when(platform.is.darwin_x64, release_file "vacuum_%s_darwin_x86_64.tar.gz"), - when(platform.is.linux_arm64, release_file "vacuum_%s_linux_arm64.tar.gz"), - when(platform.is.linux_x64, release_file "vacuum_%s_linux_x86_64.tar.gz"), - when(platform.is.linux_x86, release_file "vacuum_%s_linux_i386.tar.gz"), - when(platform.is.win_arm64, release_file "vacuum_%s_windows_arm64.tar.gz"), - when(platform.is.win_x64, release_file "vacuum_%s_windows_x86_64.tar.gz"), - when(platform.is.win_x86, release_file "vacuum_%s_windows_i386.tar.gz") - ), - }) - .with_receipt() - ctx:link_bin("vacuum", platform.is.win and "vacuum.exe" or "vacuum") - end, -} diff --git a/lua/mason-registry/index/vala-language-server/init.lua b/lua/mason-registry/index/vala-language-server/init.lua deleted file mode 100644 index aaa32d17..00000000 --- a/lua/mason-registry/index/vala-language-server/init.lua +++ /dev/null @@ -1,36 +0,0 @@ -local Optional = require "mason-core.optional" -local Pkg = require "mason-core.package" -local git = require "mason-core.managers.git" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -return Pkg.new { - name = "vala-language-server", - desc = [[Code Intelligence for Vala & Genie]], - homepage = "https://github.com/vala-lang/vala-language-server", - languages = { Pkg.Lang.Vala }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - std.ensure_executable("meson", { help_url = "https://mesonbuild.com/Getting-meson.html" }) - std.ensure_executable("ninja", { help_url = "https://ninja-build.org/" }) - std.ensure_executable("valac", { help_url = "https://wiki.gnome.org/Projects/Vala" }) - - local repo = "vala-lang/vala-language-server" - local source = github.tag { repo = repo } - source.with_receipt() - git.clone { ("https://github.com/%s.git"):format(repo), version = Optional.of(source.tag) } - - local install_dir = ctx.cwd:get() - ctx.spawn.meson { "setup", ("-Dprefix=%s"):format(install_dir), "build" } - ctx.spawn.meson { "compile", "-C", "build" } - ctx.spawn.meson { "install", "-C", "build" } - ctx:link_bin( - "vala-language-server", - path.concat { "bin", platform.is.win and "vala-language-server.exe" or "vala-language-server" } - ) - end, -} diff --git a/lua/mason-registry/index/vale/init.lua b/lua/mason-registry/index/vale/init.lua deleted file mode 100644 index 9dfa5f38..00000000 --- a/lua/mason-registry/index/vale/init.lua +++ /dev/null @@ -1,49 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "vale", - desc = [[📝 A syntax-aware linter for prose built with speed and extensibility in mind.]], - homepage = "https://vale.sh/", - languages = { Pkg.Lang.Text, Pkg.Lang.Markdown, Pkg.Lang.LaTeX }, - categories = { Pkg.Cat.Linter }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local repo = "errata-ai/vale" - local release_file = assert( - coalesce( - when(platform.is.mac_x64, "vale_%s_macOS_64-bit.tar.gz"), - when(platform.is.mac_arm64, "vale_%s_macOS_arm64.tar.gz"), - when(platform.is.linux_x64, "vale_%s_Linux_64-bit.tar.gz"), - when(platform.is.linux_arm64, "vale_%s_Linux_arm64.tar.gz"), - when(platform.is.win_x64, "vale_%s_Windows_64-bit.zip") - ), - "Current platform is not supported." - ) - - platform.when { - unix = function() - github - .untargz_release_file({ - repo = repo, - asset_file = _.compose(_.format(release_file), _.gsub("^v", "")), - }) - .with_receipt() - end, - win = function() - github - .unzip_release_file({ - repo = repo, - asset_file = _.compose(_.format(release_file), _.gsub("^v", "")), - }) - .with_receipt() - end, - } - ctx:link_bin("vale", platform.is.win and "vale.exe" or "vale") - end, -} diff --git a/lua/mason-registry/index/veryl-ls/init.lua b/lua/mason-registry/index/veryl-ls/init.lua deleted file mode 100644 index 6b45e20f..00000000 --- a/lua/mason-registry/index/veryl-ls/init.lua +++ /dev/null @@ -1,13 +0,0 @@ -local Pkg = require "mason-core.package" -local cargo = require "mason-core.managers.cargo" - -return Pkg.new { - name = "veryl-ls", - desc = [[Veryl language server]], - homepage = "https://github.com/dalance/veryl", - languages = { Pkg.Lang.Veryl }, - categories = { Pkg.Cat.LSP }, - install = cargo.crate("veryl-ls", { - bin = { "veryl-ls" }, - }), -} diff --git a/lua/mason-registry/index/vetur-vls/init.lua b/lua/mason-registry/index/vetur-vls/init.lua deleted file mode 100644 index 5bb0deff..00000000 --- a/lua/mason-registry/index/vetur-vls/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "vetur-vls", - desc = [[VLS (Vue Language Server) is a language server implementation compatible with Language Server Protocol.]], - homepage = "https://github.com/vuejs/vetur", - languages = { Pkg.Lang.Vue }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "vls", bin = { "vls" } }, -} diff --git a/lua/mason-registry/index/vim-language-server/init.lua b/lua/mason-registry/index/vim-language-server/init.lua deleted file mode 100644 index e24e2f3b..00000000 --- a/lua/mason-registry/index/vim-language-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "vim-language-server", - desc = [[VimScript language server.]], - homepage = "https://github.com/iamcco/vim-language-server", - languages = { Pkg.Lang.VimScript }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "vim-language-server", bin = { "vim-language-server" } }, -} diff --git a/lua/mason-registry/index/vint/init.lua b/lua/mason-registry/index/vint/init.lua deleted file mode 100644 index 694a81aa..00000000 --- a/lua/mason-registry/index/vint/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "vint", - desc = [[Fast and Highly Extensible Vim script Language Lint implemented in Python.]], - homepage = "https://github.com/Vimjas/vint", - languages = { Pkg.Lang.VimScript }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "vim-vint", bin = { "vint" } }, -} diff --git a/lua/mason-registry/index/visualforce-language-server/init.lua b/lua/mason-registry/index/visualforce-language-server/init.lua deleted file mode 100644 index 5cb6bf77..00000000 --- a/lua/mason-registry/index/visualforce-language-server/init.lua +++ /dev/null @@ -1,34 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" - -return Pkg.new { - name = "visualforce-language-server", - desc = [[Visualforce language server]], - homepage = "https://github.com/forcedotcom/salesforcedx-vscode", - languages = { Pkg.Lang.Visualforce }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .unzip_release_file({ - asset_file = _.compose(_.format "salesforcedx-vscode-visualforce-%s.vsix", _.gsub("^v", "")), - repo = "forcedotcom/salesforcedx-vscode", - }) - .with_receipt() - - ctx:link_bin( - "visualforce-language-server", - ctx:write_node_exec_wrapper( - "visualforce-language-server", - path.concat { - "extension", - "dist", - "visualforceServer.js", - } - ) - ) - end, -} diff --git a/lua/mason-registry/index/vls/init.lua b/lua/mason-registry/index/vls/init.lua deleted file mode 100644 index 33bc20f7..00000000 --- a/lua/mason-registry/index/vls/init.lua +++ /dev/null @@ -1,34 +0,0 @@ -local Optional = require "mason-core.optional" -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -return Pkg.new { - name = "vls", - desc = [[V language server]], - homepage = "https://github.com/vlang/vls", - languages = { Pkg.Lang.V }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local repo = "vlang/vls" - - github - .download_release_file({ - version = Optional.of "latest", - repo = repo, - out_file = platform.is.win and "vls.exe" or "vls", - asset_file = _.coalesce( - _.when(platform.is.linux_x64, "vls_linux_x64"), - _.when(platform.is.mac, "vls_macos_x64"), - _.when(platform.is.win_x64, "vls_windows_x64.exe") - ), - }) - .with_receipt() - std.chmod("+x", { "vls" }) - ctx:link_bin("vls", platform.is.win and "vls.exe" or "vls") - end, -} diff --git a/lua/mason-registry/index/vtsls/init.lua b/lua/mason-registry/index/vtsls/init.lua deleted file mode 100644 index 89254fc7..00000000 --- a/lua/mason-registry/index/vtsls/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "vtsls", - desc = [[LSP wrapper around the TypeScript extension bundled with VSCode.]], - homepage = "https://github.com/yioneko/vtsls", - categories = { Pkg.Cat.LSP }, - languages = { Pkg.Lang.TypeScript, Pkg.Lang.JavaScript }, - install = npm.packages { "@vtsls/language-server", bin = { "vtsls" } }, -} diff --git a/lua/mason-registry/index/vue-language-server/init.lua b/lua/mason-registry/index/vue-language-server/init.lua deleted file mode 100644 index a9405a41..00000000 --- a/lua/mason-registry/index/vue-language-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "vue-language-server", - desc = [[⚡ Explore high-performance tooling for Vue]], - homepage = "https://github.com/johnsoncodehk/volar", - languages = { Pkg.Lang.Vue }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "@volar/vue-language-server", "typescript", bin = { "vue-language-server" } }, -} diff --git a/lua/mason-registry/index/vulture/init.lua b/lua/mason-registry/index/vulture/init.lua deleted file mode 100644 index f19ed128..00000000 --- a/lua/mason-registry/index/vulture/init.lua +++ /dev/null @@ -1,19 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "vulture", - desc = _.dedent [[ - Vulture finds unused code in Python programs. This is useful for cleaning up and finding errors in large code - bases. If you run Vulture on both your library and test suite you can find untested code. - - Due to Python's dynamic nature, static code analyzers like Vulture are likely to miss some dead code. Also, code - that is only called implicitly may be reported as unused. Nonetheless, Vulture can be a very helpful tool for - higher code quality. - ]], - homepage = "https://github.com/jendrikseipp/vulture", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "vulture", bin = { "vulture" } }, -} diff --git a/lua/mason-registry/index/wgsl-analyzer/init.lua b/lua/mason-registry/index/wgsl-analyzer/init.lua deleted file mode 100644 index c5ff2bb8..00000000 --- a/lua/mason-registry/index/wgsl-analyzer/init.lua +++ /dev/null @@ -1,17 +0,0 @@ -local Pkg = require "mason-core.package" -local cargo = require "mason-core.managers.cargo" - -return Pkg.new { - name = "wgsl-analyzer", - desc = [[A language server implementation for the WGSL shading language]], - homepage = "https://github.com/wgsl-analyzer/wgsl-analyzer", - languages = { Pkg.Lang.WGSL }, - categories = { Pkg.Cat.LSP }, - install = cargo.crate("wgsl_analyzer", { - git = { - url = "https://github.com/wgsl-analyzer/wgsl-analyzer", - tag = true, - }, - bin = { "wgsl_analyzer" }, - }), -} diff --git a/lua/mason-registry/index/write-good/init.lua b/lua/mason-registry/index/write-good/init.lua deleted file mode 100644 index 6ca66d46..00000000 --- a/lua/mason-registry/index/write-good/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "write-good", - desc = [[Naive linter for English prose for developers who can't write good and wanna learn to do other stuff good too.]], - homepage = "https://github.com/btford/write-good", - languages = { Pkg.Lang.Markdown }, - categories = { Pkg.Cat.Linter }, - install = npm.packages { "write-good", bin = { "write-good" } }, -} diff --git a/lua/mason-registry/index/xmlformatter/init.lua b/lua/mason-registry/index/xmlformatter/init.lua deleted file mode 100644 index 34fb7268..00000000 --- a/lua/mason-registry/index/xmlformatter/init.lua +++ /dev/null @@ -1,17 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "xmlformatter", - desc = _.dedent [[ - xmlformatter is an Open Source Python package that provides formatting of XML documents. xmlformatter differs - from others formatters by handling whitespaces by a distinct set of formatting rules - formatting element - content by an object style and mixed content by a text style. You may find xmlformatter useful for corrections - and presentations. - ]], - homepage = "https://github.com/pamoller/xmlformatter", - languages = { Pkg.Lang.XML }, - categories = { Pkg.Cat.Formatter }, - install = pip3.packages { "xmlformatter", bin = { "xmlformat" } }, -} diff --git a/lua/mason-registry/index/xo/init.lua b/lua/mason-registry/index/xo/init.lua deleted file mode 100644 index 17769ae7..00000000 --- a/lua/mason-registry/index/xo/init.lua +++ /dev/null @@ -1,14 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "xo", - desc = [[JavaScript/TypeScript linter (ESLint wrapper) with great defaults]], - homepage = "https://github.com/xojs/xo", - languages = { - Pkg.Lang.JavaScript, - Pkg.Lang.TypeScript, - }, - categories = { Pkg.Cat.Linter }, - install = npm.packages { "xo", bin = { "xo" } }, -} diff --git a/lua/mason-registry/index/yaml-language-server/init.lua b/lua/mason-registry/index/yaml-language-server/init.lua deleted file mode 100644 index 67010889..00000000 --- a/lua/mason-registry/index/yaml-language-server/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local npm = require "mason-core.managers.npm" - -return Pkg.new { - name = "yaml-language-server", - desc = [[Language Server for YAML Files]], - homepage = "https://github.com/redhat-developer/yaml-language-server", - languages = { Pkg.Lang.YAML }, - categories = { Pkg.Cat.LSP }, - install = npm.packages { "yaml-language-server", bin = { "yaml-language-server" } }, -} diff --git a/lua/mason-registry/index/yamlfmt/init.lua b/lua/mason-registry/index/yamlfmt/init.lua deleted file mode 100644 index 717817e4..00000000 --- a/lua/mason-registry/index/yamlfmt/init.lua +++ /dev/null @@ -1,35 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "yamlfmt", - desc = [[yamlfmt is an extensible command line tool or library to format yaml files.]], - homepage = "https://github.com/google/yamlfmt", - categories = { Pkg.Cat.Formatter }, - languages = { Pkg.Lang.YAML }, - install = function(ctx) - ---@param template_string string - local function release_file(template_string) - return _.compose(_.format(template_string), _.gsub("^v", "")) - end - - github - .untargz_release_file({ - repo = "google/yamlfmt", - asset_file = coalesce( - when(platform.is.mac_arm64, release_file "yamlfmt_%s_Darwin_arm64.tar.gz"), - when(platform.is.mac_x64, release_file "yamlfmt_%s_Darwin_x86_64.tar.gz"), - when(platform.is.linux_arm64, release_file "yamlfmt_%s_Linux_arm64.tar.gz"), - when(platform.is.linux_x64, release_file "yamlfmt_%s_Linux_x86_64.tar.gz"), - when(platform.is.win_x86, release_file "yamlfmt_%s_Windows_i386.tar.gz"), - when(platform.is.win_x64, release_file "yamlfmt_%s_Windows_x86_64.tar.gz") - ), - }) - .with_receipt() - ctx:link_bin("yamlfmt", platform.is.win and "yamlfmt.exe" or "yamlfmt") - end, -} diff --git a/lua/mason-registry/index/yamllint/init.lua b/lua/mason-registry/index/yamllint/init.lua deleted file mode 100644 index 93b17f72..00000000 --- a/lua/mason-registry/index/yamllint/init.lua +++ /dev/null @@ -1,15 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "yamllint", - desc = _.dedent [[ - Linter for YAML files. yamllint does not only check for syntax validity, but for weirdnesses like key repetition - and cosmetic problems such as lines length, trailing spaces, indentation, etc. - ]], - homepage = "https://github.com/adrienverge/yamllint", - languages = { Pkg.Lang.YAML }, - categories = { Pkg.Cat.Linter }, - install = pip3.packages { "yamllint", bin = { "yamllint" } }, -} diff --git a/lua/mason-registry/index/yapf/init.lua b/lua/mason-registry/index/yapf/init.lua deleted file mode 100644 index 15041f2f..00000000 --- a/lua/mason-registry/index/yapf/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "yapf", - desc = [[YAPF, Yet Another Python Formatter]], - homepage = "https://pypi.org/project/yapf/", - languages = { Pkg.Lang.Python }, - categories = { Pkg.Cat.Formatter }, - install = pip3.packages { "yapf", "toml", bin = { "yapf" } }, -} diff --git a/lua/mason-registry/index/yls-yara/init.lua b/lua/mason-registry/index/yls-yara/init.lua deleted file mode 100644 index 7fc3ac6c..00000000 --- a/lua/mason-registry/index/yls-yara/init.lua +++ /dev/null @@ -1,11 +0,0 @@ -local Pkg = require "mason-core.package" -local pip3 = require "mason-core.managers.pip3" - -return Pkg.new { - name = "yls-yara", - desc = [[Language Server for YARA Files]], - homepage = "https://avast.github.io/yls/", - languages = { Pkg.Lang.Yara }, - categories = { Pkg.Cat.LSP }, - install = pip3.packages { "yls-yara", bin = { "yls" } }, -} diff --git a/lua/mason-registry/index/zk/init.lua b/lua/mason-registry/index/zk/init.lua deleted file mode 100644 index a6b3990b..00000000 --- a/lua/mason-registry/index/zk/init.lua +++ /dev/null @@ -1,55 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local platform = require "mason-core.platform" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "zk", - desc = [[A plain text note-taking assistant]], - homepage = "https://github.com/mickael-menu/zk", - languages = { Pkg.Lang.Markdown }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local repo = "mickael-menu/zk" - platform.when { - mac = function() - github - .unzip_release_file({ - repo = repo, - asset_file = coalesce( - when(platform.arch == "arm64", function(version) - return ("zk-%s-macos-arm64.zip"):format(version) - end), - when(platform.arch == "x64", function(version) - return ("zk-%s-macos-x86_64.zip"):format(version) - end) - ), - }) - :with_receipt() - end, - linux = function() - github - .untargz_release_file({ - repo = repo, - asset_file = coalesce( - when(platform.arch == "arm64", function(version) - return ("zk-%s-linux-arm64.tar.gz"):format(version) - end), - when(platform.arch == "x64", function(version) - return ("zk-%s-linux-amd64.tar.gz"):format(version) - end), - when(platform.arch == "x86", function(version) - return ("zk-%s-linux-i386.tar.gz"):format(version) - end) - ), - }) - .with_receipt() - end, - } - ctx:link_bin("zk", "zk") - end, -} diff --git a/lua/mason-registry/index/zls/init.lua b/lua/mason-registry/index/zls/init.lua deleted file mode 100644 index 8f7f4a78..00000000 --- a/lua/mason-registry/index/zls/init.lua +++ /dev/null @@ -1,36 +0,0 @@ -local Pkg = require "mason-core.package" -local _ = require "mason-core.functional" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" -local platform = require "mason-core.platform" -local std = require "mason-core.managers.std" - -local coalesce, when = _.coalesce, _.when - -return Pkg.new { - name = "zls", - desc = [[Zig LSP implementation + Zig Language Server]], - homepage = "https://github.com/zigtools/zls", - languages = { Pkg.Lang.Zig }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - local asset_file = coalesce( - when(platform.is.mac_arm64, "aarch64-macos.tar.zst"), - when(platform.is.mac_x64, "x86_64-macos.tar.zst"), - when(platform.is.linux_x64, "x86_64-linux.tar.zst"), - when(platform.is.linux_x86, "i386-linux.tar.zst"), - when(platform.is.win_x64, "x86_64-windows.tar.zst"), - when(platform.is.win_x86, "i386-windows.tar.zst") - ) - github - .untarzst_release_file({ - repo = "zigtools/zls", - asset_file = asset_file, - }) - .with_receipt() - std.chmod("+x", { path.concat { "bin", "zls" } }) - ctx:link_bin("zls", path.concat { "bin", platform.is.win and "zls.exe" or "zls" }) - end, -} diff --git a/lua/mason-schemas/lsp/rust-analyzer.lua b/lua/mason-schemas/lsp/rust-analyzer.lua index 63b1a635..76320090 100644 --- a/lua/mason-schemas/lsp/rust-analyzer.lua +++ b/lua/mason-schemas/lsp/rust-analyzer.lua @@ -1,3 +1,3 @@ -- THIS FILE IS GENERATED. DO NOT EDIT MANUALLY. -- stylua: ignore start -return {properties = {["$generated-end"] = vim.empty_dict(),["$generated-start"] = vim.empty_dict(),["rust-analyzer.assist.emitMustUse"] = {default = false,markdownDescription = "Whether to insert #[must_use] when generating `as_` methods\nfor enum variants.",type = "boolean"},["rust-analyzer.assist.expressionFillDefault"] = {default = "todo",enum = { "todo", "default" },enumDescriptions = { "Fill missing expressions with the `todo` macro", "Fill missing expressions with reasonable defaults, `new` or `default` constructors." },markdownDescription = "Placeholder expression to use for missing expressions in assists.",type = "string"},["rust-analyzer.cachePriming.enable"] = {default = true,markdownDescription = "Warm up caches on project load.",type = "boolean"},["rust-analyzer.cachePriming.numThreads"] = {default = 0,markdownDescription = "How many worker threads to handle priming caches. The default `0` means to pick automatically.",maximum = 255,minimum = 0,type = "number"},["rust-analyzer.cargo.autoreload"] = {default = true,markdownDescription = "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` or `.cargo/config.toml` changes.",type = "boolean"},["rust-analyzer.cargo.buildScripts.enable"] = {default = true,markdownDescription = "Run build scripts (`build.rs`) for more precise code analysis.",type = "boolean"},["rust-analyzer.cargo.buildScripts.invocationLocation"] = {default = "workspace",enum = { "workspace", "root" },enumDescriptions = { "The command will be executed in the corresponding workspace root.", "The command will be executed in the project root." },markdownDescription = "Specifies the working directory for running build scripts.\n- \"workspace\": run build scripts for a workspace in the workspace's root directory.\n This is incompatible with `#rust-analyzer.cargo.buildScripts.invocationStrategy#` set to `once`.\n- \"root\": run build scripts in the project's root directory.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",type = "string"},["rust-analyzer.cargo.buildScripts.invocationStrategy"] = {default = "per_workspace",enum = { "per_workspace", "once" },enumDescriptions = { "The command will be executed for each workspace.", "The command will be executed once." },markdownDescription = "Specifies the invocation strategy to use when running the build scripts command.\nIf `per_workspace` is set, the command will be executed for each workspace.\nIf `once` is set, the command will be executed once.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",type = "string"},["rust-analyzer.cargo.buildScripts.overrideCommand"] = {default = vim.NIL,items = {type = "string"},markdownDescription = "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets\n```\n.",type = { "null", "array" }},["rust-analyzer.cargo.buildScripts.useRustcWrapper"] = {default = true,markdownDescription = "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid checking unnecessary things.",type = "boolean"},["rust-analyzer.cargo.extraArgs"] = {default = {},items = {type = "string"},markdownDescription = "Extra arguments that are passed to every cargo invocation.",type = "array"},["rust-analyzer.cargo.extraEnv"] = {default = vim.empty_dict(),markdownDescription = "Extra environment variables that will be set when running cargo, rustc\nor other commands within the workspace. Useful for setting RUSTFLAGS.",type = "object"},["rust-analyzer.cargo.features"] = {anyOf = { {enum = { "all" },enumDescriptions = { "Pass `--all-features` to cargo" },type = "string"}, {items = {type = "string"},type = "array"} },default = {},markdownDescription = 'List of features to activate.\n\nSet this to `"all"` to pass `--all-features` to cargo.'},["rust-analyzer.cargo.noDefaultFeatures"] = {default = false,markdownDescription = "Whether to pass `--no-default-features` to cargo.",type = "boolean"},["rust-analyzer.cargo.sysroot"] = {default = "discover",markdownDescription = 'Relative path to the sysroot, or "discover" to try to automatically find it via\n"rustc --print sysroot".\n\nUnsetting this disables sysroot loading.\n\nThis option does not take effect until rust-analyzer is restarted.',type = { "null", "string" }},["rust-analyzer.cargo.sysrootSrc"] = {default = vim.NIL,markdownDescription = "Relative path to the sysroot library sources. If left unset, this will default to\n`{cargo.sysroot}/lib/rustlib/src/rust/library`.\n\nThis option does not take effect until rust-analyzer is restarted.",type = { "null", "string" }},["rust-analyzer.cargo.target"] = {default = vim.NIL,markdownDescription = "Compilation target override (target triple).",type = { "null", "string" }},["rust-analyzer.cargo.unsetTest"] = {default = { "core" },items = {type = "string"},markdownDescription = "Unsets `#[cfg(test)]` for the specified crates.",type = "array"},["rust-analyzer.cargoRunner"] = {default = vim.NIL,description = "Custom cargo runner extension ID.",type = { "null", "string" }},["rust-analyzer.check.allTargets"] = {default = true,markdownDescription = "Check all targets and tests (`--all-targets`).",type = "boolean"},["rust-analyzer.check.command"] = {default = "check",markdownDescription = "Cargo command to use for `cargo check`.",type = "string"},["rust-analyzer.check.extraArgs"] = {default = {},items = {type = "string"},markdownDescription = "Extra arguments for `cargo check`.",type = "array"},["rust-analyzer.check.extraEnv"] = {default = vim.empty_dict(),markdownDescription = "Extra environment variables that will be set when running `cargo check`.\nExtends `#rust-analyzer.cargo.extraEnv#`.",type = "object"},["rust-analyzer.check.features"] = {anyOf = { {enum = { "all" },enumDescriptions = { "Pass `--all-features` to cargo" },type = "string"}, {items = {type = "string"},type = "array"}, {type = "null"} },default = vim.NIL,markdownDescription = 'List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.\n\nSet to `"all"` to pass `--all-features` to Cargo.'},["rust-analyzer.check.invocationLocation"] = {default = "workspace",enum = { "workspace", "root" },enumDescriptions = { "The command will be executed in the corresponding workspace root.", "The command will be executed in the project root." },markdownDescription = "Specifies the working directory for running checks.\n- \"workspace\": run checks for workspaces in the corresponding workspaces' root directories.\n This falls back to \"root\" if `#rust-analyzer.cargo.checkOnSave.invocationStrategy#` is set to `once`.\n- \"root\": run checks in the project's root directory.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",type = "string"},["rust-analyzer.check.invocationStrategy"] = {default = "per_workspace",enum = { "per_workspace", "once" },enumDescriptions = { "The command will be executed for each workspace.", "The command will be executed once." },markdownDescription = "Specifies the invocation strategy to use when running the checkOnSave command.\nIf `per_workspace` is set, the command will be executed for each workspace.\nIf `once` is set, the command will be executed once.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",type = "string"},["rust-analyzer.check.noDefaultFeatures"] = {default = vim.NIL,markdownDescription = "Whether to pass `--no-default-features` to Cargo. Defaults to\n`#rust-analyzer.cargo.noDefaultFeatures#`.",type = { "null", "boolean" }},["rust-analyzer.check.overrideCommand"] = {default = vim.NIL,items = {type = "string"},markdownDescription = "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects, this command is invoked for\neach of them, with the working directory being the project root\n(i.e., the folder containing the `Cargo.toml`).\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",type = { "null", "array" }},["rust-analyzer.check.targets"] = {anyOf = { {type = "null"}, {type = "string"}, {items = {type = "string"},type = "array"} },default = vim.NIL,markdownDescription = 'Check for specific targets. Defaults to `#rust-analyzer.cargo.target#` if empty.\n\nCan be a single target, e.g. `"x86_64-unknown-linux-gnu"` or a list of targets, e.g.\n`["aarch64-apple-darwin", "x86_64-apple-darwin"]`.\n\nAliased as `"checkOnSave.targets"`.'},["rust-analyzer.checkOnSave"] = {default = true,markdownDescription = "Run the check command for diagnostics on save.",type = "boolean"},["rust-analyzer.completion.autoimport.enable"] = {default = true,markdownDescription = "Toggles the additional completions that automatically add imports when completed.\nNote that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.",type = "boolean"},["rust-analyzer.completion.autoself.enable"] = {default = true,markdownDescription = "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.",type = "boolean"},["rust-analyzer.completion.callable.snippets"] = {default = "fill_arguments",enum = { "fill_arguments", "add_parentheses", "none" },enumDescriptions = { "Add call parentheses and pre-fill arguments.", "Add call parentheses.", "Do no snippet completions for callables." },markdownDescription = "Whether to add parenthesis and argument snippets when completing function.",type = "string"},["rust-analyzer.completion.limit"] = {default = vim.NIL,markdownDescription = "Maximum number of completions to return. If `None`, the limit is infinite.",minimum = 0,type = { "null", "integer" }},["rust-analyzer.completion.postfix.enable"] = {default = true,markdownDescription = "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",type = "boolean"},["rust-analyzer.completion.privateEditable.enable"] = {default = false,markdownDescription = "Enables completions of private items and fields that are defined in the current workspace even if they are not visible at the current position.",type = "boolean"},["rust-analyzer.completion.snippets.custom"] = {default = {["Arc::new"] = {body = "Arc::new(${receiver})",description = "Put the expression into an `Arc`",postfix = "arc",requires = "std::sync::Arc",scope = "expr"},["Box::pin"] = {body = "Box::pin(${receiver})",description = "Put the expression into a pinned `Box`",postfix = "pinbox",requires = "std::boxed::Box",scope = "expr"},Err = {body = "Err(${receiver})",description = "Wrap the expression in a `Result::Err`",postfix = "err",scope = "expr"},Ok = {body = "Ok(${receiver})",description = "Wrap the expression in a `Result::Ok`",postfix = "ok",scope = "expr"},["Rc::new"] = {body = "Rc::new(${receiver})",description = "Put the expression into an `Rc`",postfix = "rc",requires = "std::rc::Rc",scope = "expr"},Some = {body = "Some(${receiver})",description = "Wrap the expression in an `Option::Some`",postfix = "some",scope = "expr"}},markdownDescription = "Custom completion snippets.",type = "object"},["rust-analyzer.debug.engine"] = {default = "auto",description = "Preferred debug engine.",enum = { "auto", "vadimcn.vscode-lldb", "ms-vscode.cpptools" },markdownEnumDescriptions = { "First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).", "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)", "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)" },type = "string"},["rust-analyzer.debug.engineSettings"] = {default = vim.empty_dict(),markdownDescription = 'Optional settings passed to the debug engine. Example: `{ "lldb": { "terminal":"external"} }`',type = "object"},["rust-analyzer.debug.openDebugPane"] = {default = false,markdownDescription = "Whether to open up the `Debug Panel` on debugging start.",type = "boolean"},["rust-analyzer.debug.sourceFileMap"] = {const = "auto",default = {["/rustc/<id>"] = "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"},description = "Optional source file mappings passed to the debug engine.",type = { "object", "string" }},["rust-analyzer.diagnostics.disabled"] = {default = {},items = {type = "string"},markdownDescription = "List of rust-analyzer diagnostics to disable.",type = "array",uniqueItems = true},["rust-analyzer.diagnostics.enable"] = {default = true,markdownDescription = "Whether to show native rust-analyzer diagnostics.",type = "boolean"},["rust-analyzer.diagnostics.experimental.enable"] = {default = false,markdownDescription = "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",type = "boolean"},["rust-analyzer.diagnostics.previewRustcOutput"] = {default = false,markdownDescription = "Whether to show the main part of the rendered rustc output of a diagnostic message.",type = "boolean"},["rust-analyzer.diagnostics.remapPrefix"] = {default = vim.empty_dict(),markdownDescription = "Map of prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.",type = "object"},["rust-analyzer.diagnostics.useRustcErrorCode"] = {default = false,markdownDescription = "Whether to use the rustc error code.",type = "boolean"},["rust-analyzer.diagnostics.warningsAsHint"] = {default = {},items = {type = "string"},markdownDescription = "List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code\nand will not show up in the `Problems Panel`.",type = "array"},["rust-analyzer.diagnostics.warningsAsInfo"] = {default = {},items = {type = "string"},markdownDescription = "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.",type = "array"},["rust-analyzer.discoverProjectCommand"] = {default = vim.NIL,items = {type = "string"},markdownDescription = "Sets the command that rust-analyzer uses to generate `rust-project.json` files. This command should only be used\n if a build system like Buck or Bazel is also in use. The command must accept files as arguments and return \n a rust-project.json over stdout.",type = { "null", "array" }},["rust-analyzer.files.excludeDirs"] = {default = {},items = {type = "string"},markdownDescription = "These directories will be ignored by rust-analyzer. They are\nrelative to the workspace root, and globs are not supported. You may\nalso need to add the folders to Code's `files.watcherExclude`.",type = "array"},["rust-analyzer.files.watcher"] = {default = "client",enum = { "client", "server" },enumDescriptions = { "Use the client (editor) to watch files for changes", "Use server-side file watching" },markdownDescription = "Controls file watching implementation.",type = "string"},["rust-analyzer.highlightRelated.breakPoints.enable"] = {default = true,markdownDescription = "Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.",type = "boolean"},["rust-analyzer.highlightRelated.exitPoints.enable"] = {default = true,markdownDescription = "Enables highlighting of all exit points while the cursor is on any `return`, `?`, `fn`, or return type arrow (`->`).",type = "boolean"},["rust-analyzer.highlightRelated.references.enable"] = {default = true,markdownDescription = "Enables highlighting of related references while the cursor is on any identifier.",type = "boolean"},["rust-analyzer.highlightRelated.yieldPoints.enable"] = {default = true,markdownDescription = "Enables highlighting of all break points for a loop or block context while the cursor is on any `async` or `await` keywords.",type = "boolean"},["rust-analyzer.hover.actions.debug.enable"] = {default = true,markdownDescription = "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.actions.enable"] = {default = true,markdownDescription = "Whether to show HoverActions in Rust files.",type = "boolean"},["rust-analyzer.hover.actions.gotoTypeDef.enable"] = {default = true,markdownDescription = "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.actions.implementations.enable"] = {default = true,markdownDescription = "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.actions.references.enable"] = {default = false,markdownDescription = "Whether to show `References` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.actions.run.enable"] = {default = true,markdownDescription = "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.documentation.enable"] = {default = true,markdownDescription = "Whether to show documentation on hover.",type = "boolean"},["rust-analyzer.hover.documentation.keywords.enable"] = {default = true,markdownDescription = "Whether to show keyword hover popups. Only applies when\n`#rust-analyzer.hover.documentation.enable#` is set.",type = "boolean"},["rust-analyzer.hover.links.enable"] = {default = true,markdownDescription = "Use markdown syntax for links in hover.",type = "boolean"},["rust-analyzer.imports.granularity.enforce"] = {default = false,markdownDescription = "Whether to enforce the import granularity setting for all files. If set to false rust-analyzer will try to keep import styles consistent per file.",type = "boolean"},["rust-analyzer.imports.granularity.group"] = {default = "crate",enum = { "preserve", "crate", "module", "item" },enumDescriptions = { "Do not change the granularity of any imports and preserve the original structure written by the developer.", "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.", "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.", "Flatten imports so that each has its own use statement." },markdownDescription = "How imports should be grouped into use statements.",type = "string"},["rust-analyzer.imports.group.enable"] = {default = true,markdownDescription = "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",type = "boolean"},["rust-analyzer.imports.merge.glob"] = {default = true,markdownDescription = "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.",type = "boolean"},["rust-analyzer.imports.prefer.no.std"] = {default = false,markdownDescription = "Prefer to unconditionally use imports of the core and alloc crate, over the std crate.",type = "boolean"},["rust-analyzer.imports.prefix"] = {default = "plain",enum = { "plain", "self", "crate" },enumDescriptions = { "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item. Prefixes `self` in front of the path if it starts with a module.", "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from." },markdownDescription = "The path structure for newly inserted paths to use.",type = "string"},["rust-analyzer.inlayHints.bindingModeHints.enable"] = {default = false,markdownDescription = "Whether to show inlay type hints for binding modes.",type = "boolean"},["rust-analyzer.inlayHints.chainingHints.enable"] = {default = true,markdownDescription = "Whether to show inlay type hints for method chains.",type = "boolean"},["rust-analyzer.inlayHints.closingBraceHints.enable"] = {default = true,markdownDescription = "Whether to show inlay hints after a closing `}` to indicate what item it belongs to.",type = "boolean"},["rust-analyzer.inlayHints.closingBraceHints.minLines"] = {default = 25,markdownDescription = "Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1\nto always show them).",minimum = 0,type = "integer"},["rust-analyzer.inlayHints.closureReturnTypeHints.enable"] = {default = "never",enum = { "always", "never", "with_block" },enumDescriptions = { "Always show type hints for return types of closures.", "Never show type hints for return types of closures.", "Only show type hints for return types of closures with blocks." },markdownDescription = "Whether to show inlay type hints for return types of closures.",type = "string"},["rust-analyzer.inlayHints.discriminantHints.enable"] = {default = "never",enum = { "always", "never", "fieldless" },enumDescriptions = { "Always show all discriminant hints.", "Never show discriminant hints.", "Only show discriminant hints on fieldless enum variants." },markdownDescription = "Whether to show enum variant discriminant hints.",type = "string"},["rust-analyzer.inlayHints.expressionAdjustmentHints.enable"] = {default = "never",enum = { "always", "never", "reborrow" },enumDescriptions = { "Always show all adjustment hints.", "Never show adjustment hints.", "Only show auto borrow and dereference adjustment hints." },markdownDescription = "Whether to show inlay hints for type adjustments.",type = "string"},["rust-analyzer.inlayHints.expressionAdjustmentHints.hideOutsideUnsafe"] = {default = false,markdownDescription = "Whether to hide inlay hints for type adjustments outside of `unsafe` blocks.",type = "boolean"},["rust-analyzer.inlayHints.expressionAdjustmentHints.mode"] = {default = "prefix",enum = { "prefix", "postfix", "prefer_prefix", "prefer_postfix" },enumDescriptions = { "Always show adjustment hints as prefix (`*expr`).", "Always show adjustment hints as postfix (`expr.*`).", "Show prefix or postfix depending on which uses less parenthesis, prefering prefix.", "Show prefix or postfix depending on which uses less parenthesis, prefering postfix." },markdownDescription = "Whether to show inlay hints as postfix ops (`.*` instead of `*`, etc).",type = "string"},["rust-analyzer.inlayHints.lifetimeElisionHints.enable"] = {default = "never",enum = { "always", "never", "skip_trivial" },enumDescriptions = { "Always show lifetime elision hints.", "Never show lifetime elision hints.", "Only show lifetime elision hints if a return type is involved." },markdownDescription = "Whether to show inlay type hints for elided lifetimes in function signatures.",type = "string"},["rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames"] = {default = false,markdownDescription = "Whether to prefer using parameter names as the name for elided lifetime hints if possible.",type = "boolean"},["rust-analyzer.inlayHints.maxLength"] = {default = 25,markdownDescription = "Maximum length for inlay hints. Set to null to have an unlimited length.",minimum = 0,type = { "null", "integer" }},["rust-analyzer.inlayHints.parameterHints.enable"] = {default = true,markdownDescription = "Whether to show function parameter name inlay hints at the call\nsite.",type = "boolean"},["rust-analyzer.inlayHints.reborrowHints.enable"] = {default = "never",enum = { "always", "never", "mutable" },enumDescriptions = { "Always show reborrow hints.", "Never show reborrow hints.", "Only show mutable reborrow hints." },markdownDescription = "Whether to show inlay hints for compiler inserted reborrows.\nThis setting is deprecated in favor of #rust-analyzer.inlayHints.expressionAdjustmentHints.enable#.",type = "string"},["rust-analyzer.inlayHints.renderColons"] = {default = true,markdownDescription = "Whether to render leading colons for type hints, and trailing colons for parameter hints.",type = "boolean"},["rust-analyzer.inlayHints.typeHints.enable"] = {default = true,markdownDescription = "Whether to show inlay type hints for variables.",type = "boolean"},["rust-analyzer.inlayHints.typeHints.hideClosureInitialization"] = {default = false,markdownDescription = "Whether to hide inlay type hints for `let` statements that initialize to a closure.\nOnly applies to closures with blocks, same as `#rust-analyzer.inlayHints.closureReturnTypeHints.enable#`.",type = "boolean"},["rust-analyzer.inlayHints.typeHints.hideNamedConstructor"] = {default = false,markdownDescription = "Whether to hide inlay type hints for constructors.",type = "boolean"},["rust-analyzer.interpret.tests"] = {default = false,markdownDescription = "Enables the experimental support for interpreting tests.",type = "boolean"},["rust-analyzer.joinLines.joinAssignments"] = {default = true,markdownDescription = "Join lines merges consecutive declaration and initialization of an assignment.",type = "boolean"},["rust-analyzer.joinLines.joinElseIf"] = {default = true,markdownDescription = "Join lines inserts else between consecutive ifs.",type = "boolean"},["rust-analyzer.joinLines.removeTrailingComma"] = {default = true,markdownDescription = "Join lines removes trailing commas.",type = "boolean"},["rust-analyzer.joinLines.unwrapTrivialBlock"] = {default = true,markdownDescription = "Join lines unwraps trivial blocks.",type = "boolean"},["rust-analyzer.lens.debug.enable"] = {default = true,markdownDescription = "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.enable"] = {default = true,markdownDescription = "Whether to show CodeLens in Rust files.",type = "boolean"},["rust-analyzer.lens.forceCustomCommands"] = {default = true,markdownDescription = "Internal config: use custom client-side commands even when the\nclient doesn't set the corresponding capability.",type = "boolean"},["rust-analyzer.lens.implementations.enable"] = {default = true,markdownDescription = "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.location"] = {default = "above_name",enum = { "above_name", "above_whole_item" },enumDescriptions = { "Render annotations above the name of the item.", "Render annotations above the whole item, including documentation comments and attributes." },markdownDescription = "Where to render annotations.",type = "string"},["rust-analyzer.lens.references.adt.enable"] = {default = false,markdownDescription = "Whether to show `References` lens for Struct, Enum, and Union.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.references.enumVariant.enable"] = {default = false,markdownDescription = "Whether to show `References` lens for Enum Variants.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.references.method.enable"] = {default = false,markdownDescription = "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.references.trait.enable"] = {default = false,markdownDescription = "Whether to show `References` lens for Trait.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.run.enable"] = {default = true,markdownDescription = "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.linkedProjects"] = {default = {},items = {type = { "string", "object" }},markdownDescription = "Disable project auto-discovery in favor of explicitly specified set\nof projects.\n\nElements must be paths pointing to `Cargo.toml`,\n`rust-project.json`, or JSON objects in `rust-project.json` format.",type = "array"},["rust-analyzer.lru.capacity"] = {default = vim.NIL,markdownDescription = "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.",minimum = 0,type = { "null", "integer" }},["rust-analyzer.lru.query.capacities"] = {default = vim.empty_dict(),markdownDescription = "Sets the LRU capacity of the specified queries.",type = "object"},["rust-analyzer.notifications.cargoTomlNotFound"] = {default = true,markdownDescription = "Whether to show `can't find Cargo.toml` error message.",type = "boolean"},["rust-analyzer.numThreads"] = {default = vim.NIL,markdownDescription = "How many worker threads in the main loop. The default `null` means to pick automatically.",minimum = 0,type = { "null", "integer" }},["rust-analyzer.procMacro.attributes.enable"] = {default = true,markdownDescription = "Expand attribute macros. Requires `#rust-analyzer.procMacro.enable#` to be set.",type = "boolean"},["rust-analyzer.procMacro.enable"] = {default = true,markdownDescription = "Enable support for procedural macros, implies `#rust-analyzer.cargo.buildScripts.enable#`.",type = "boolean"},["rust-analyzer.procMacro.ignored"] = {default = vim.empty_dict(),markdownDescription = "These proc-macros will be ignored when trying to expand them.\n\nThis config takes a map of crate names with the exported proc-macro names to ignore as values.",type = "object"},["rust-analyzer.procMacro.server"] = {default = vim.NIL,markdownDescription = "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).",type = { "null", "string" }},["rust-analyzer.references.excludeImports"] = {default = false,markdownDescription = "Exclude imports from find-all-references.",type = "boolean"},["rust-analyzer.restartServerOnConfigChange"] = {default = false,markdownDescription = "Whether to restart the server automatically when certain settings that require a restart are changed.",type = "boolean"},["rust-analyzer.runnableEnv"] = {anyOf = { {type = "null"}, {items = {properties = {env = {description = 'Variables in form of { "key": "value"}',type = "object"},mask = {description = "Runnable name mask",type = "string"}},type = "object"},type = "array"}, {description = 'Variables in form of { "key": "value"}',type = "object"} },default = vim.NIL,markdownDescription = "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command."},["rust-analyzer.runnables.command"] = {default = vim.NIL,markdownDescription = "Command to be executed instead of 'cargo' for runnables.",type = { "null", "string" }},["rust-analyzer.runnables.extraArgs"] = {default = {},items = {type = "string"},markdownDescription = "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",type = "array"},["rust-analyzer.rustc.source"] = {default = vim.NIL,markdownDescription = 'Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private\nprojects, or "discover" to try to automatically find it if the `rustc-dev` component\nis installed.\n\nAny project which uses rust-analyzer with the rustcPrivate\ncrates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.\n\nThis option does not take effect until rust-analyzer is restarted.',type = { "null", "string" }},["rust-analyzer.rustfmt.extraArgs"] = {default = {},items = {type = "string"},markdownDescription = "Additional arguments to `rustfmt`.",type = "array"},["rust-analyzer.rustfmt.overrideCommand"] = {default = vim.NIL,items = {type = "string"},markdownDescription = "Advanced option, fully override the command rust-analyzer uses for\nformatting. This should be the equivalent of `rustfmt` here, and\nnot that of `cargo fmt`. The file contents will be passed on the\nstandard input and the formatted result will be read from the\nstandard output.",type = { "null", "array" }},["rust-analyzer.rustfmt.rangeFormatting.enable"] = {default = false,markdownDescription = "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.",type = "boolean"},["rust-analyzer.semanticHighlighting.doc.comment.inject.enable"] = {default = true,markdownDescription = "Inject additional highlighting into doc comments.\n\nWhen enabled, rust-analyzer will highlight rust source in doc comments as well as intra\ndoc links.",type = "boolean"},["rust-analyzer.semanticHighlighting.operator.enable"] = {default = true,markdownDescription = "Use semantic tokens for operators.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for operator tokens when\nthey are tagged with modifiers.",type = "boolean"},["rust-analyzer.semanticHighlighting.operator.specialization.enable"] = {default = false,markdownDescription = "Use specialized semantic tokens for operators.\n\nWhen enabled, rust-analyzer will emit special token types for operator tokens instead\nof the generic `operator` token type.",type = "boolean"},["rust-analyzer.semanticHighlighting.punctuation.enable"] = {default = false,markdownDescription = "Use semantic tokens for punctuations.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for punctuation tokens when\nthey are tagged with modifiers or have a special role.",type = "boolean"},["rust-analyzer.semanticHighlighting.punctuation.separate.macro.bang"] = {default = false,markdownDescription = "When enabled, rust-analyzer will emit a punctuation semantic token for the `!` of macro\ncalls.",type = "boolean"},["rust-analyzer.semanticHighlighting.punctuation.specialization.enable"] = {default = false,markdownDescription = "Use specialized semantic tokens for punctuations.\n\nWhen enabled, rust-analyzer will emit special token types for punctuation tokens instead\nof the generic `punctuation` token type.",type = "boolean"},["rust-analyzer.semanticHighlighting.strings.enable"] = {default = true,markdownDescription = "Use semantic tokens for strings.\n\nIn some editors (e.g. vscode) semantic tokens override other highlighting grammars.\nBy disabling semantic tokens for strings, other grammars can be used to highlight\ntheir contents.",type = "boolean"},["rust-analyzer.server.extraEnv"] = {additionalProperties = {type = { "string", "number" }},default = vim.NIL,markdownDescription = "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging.",type = { "null", "object" }},["rust-analyzer.server.path"] = {default = vim.NIL,markdownDescription = "Path to rust-analyzer executable (points to bundled binary by default).",scope = "machine-overridable",type = { "null", "string" }},["rust-analyzer.showUnlinkedFileNotification"] = {default = true,markdownDescription = "Whether to show a notification for unlinked files asking the user to add the corresponding Cargo.toml to the linked projects setting.",type = "boolean"},["rust-analyzer.signatureInfo.detail"] = {default = "full",enum = { "full", "parameters" },enumDescriptions = { "Show the entire signature.", "Show only the parameters." },markdownDescription = "Show full signature of the callable. Only shows parameters if disabled.",type = "string"},["rust-analyzer.signatureInfo.documentation.enable"] = {default = true,markdownDescription = "Show documentation.",type = "boolean"},["rust-analyzer.trace.extension"] = {default = false,description = "Enable logging of VS Code extensions itself.",type = "boolean"},["rust-analyzer.trace.server"] = {default = "off",description = "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users).",enum = { "off", "messages", "verbose" },enumDescriptions = { "No traces", "Error only", "Full log" },scope = "window",type = "string"},["rust-analyzer.typing.autoClosingAngleBrackets.enable"] = {default = false,markdownDescription = "Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.",type = "boolean"},["rust-analyzer.typing.continueCommentsOnNewline"] = {default = true,markdownDescription = "Whether to prefix newlines after comments with the corresponding comment prefix.",type = "boolean"},["rust-analyzer.workspace.symbol.search.kind"] = {default = "only_types",enum = { "only_types", "all_symbols" },enumDescriptions = { "Search for types only.", "Search for all symbols kinds." },markdownDescription = "Workspace symbol search kind.",type = "string"},["rust-analyzer.workspace.symbol.search.limit"] = {default = 128,markdownDescription = "Limits the number of items returned from a workspace symbol search (Defaults to 128).\nSome clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search.\nOther clients requires all results upfront and might require a higher limit.",minimum = 0,type = "integer"},["rust-analyzer.workspace.symbol.search.scope"] = {default = "workspace",enum = { "workspace", "workspace_and_dependencies" },enumDescriptions = { "Search in current workspace only.", "Search in current workspace and dependencies." },markdownDescription = "Workspace symbol search scope.",type = "string"}},title = "rust-analyzer",type = "object"}
\ No newline at end of file +return {properties = {["$generated-end"] = vim.empty_dict(),["$generated-start"] = vim.empty_dict(),["rust-analyzer.assist.emitMustUse"] = {default = false,markdownDescription = "Whether to insert #[must_use] when generating `as_` methods\nfor enum variants.",type = "boolean"},["rust-analyzer.assist.expressionFillDefault"] = {default = "todo",enum = { "todo", "default" },enumDescriptions = { "Fill missing expressions with the `todo` macro", "Fill missing expressions with reasonable defaults, `new` or `default` constructors." },markdownDescription = "Placeholder expression to use for missing expressions in assists.",type = "string"},["rust-analyzer.cachePriming.enable"] = {default = true,markdownDescription = "Warm up caches on project load.",type = "boolean"},["rust-analyzer.cachePriming.numThreads"] = {default = 0,markdownDescription = "How many worker threads to handle priming caches. The default `0` means to pick automatically.",maximum = 255,minimum = 0,type = "number"},["rust-analyzer.cargo.autoreload"] = {default = true,markdownDescription = "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` or `.cargo/config.toml` changes.",type = "boolean"},["rust-analyzer.cargo.buildScripts.enable"] = {default = true,markdownDescription = "Run build scripts (`build.rs`) for more precise code analysis.",type = "boolean"},["rust-analyzer.cargo.buildScripts.invocationLocation"] = {default = "workspace",enum = { "workspace", "root" },enumDescriptions = { "The command will be executed in the corresponding workspace root.", "The command will be executed in the project root." },markdownDescription = "Specifies the working directory for running build scripts.\n- \"workspace\": run build scripts for a workspace in the workspace's root directory.\n This is incompatible with `#rust-analyzer.cargo.buildScripts.invocationStrategy#` set to `once`.\n- \"root\": run build scripts in the project's root directory.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",type = "string"},["rust-analyzer.cargo.buildScripts.invocationStrategy"] = {default = "per_workspace",enum = { "per_workspace", "once" },enumDescriptions = { "The command will be executed for each workspace.", "The command will be executed once." },markdownDescription = "Specifies the invocation strategy to use when running the build scripts command.\nIf `per_workspace` is set, the command will be executed for each workspace.\nIf `once` is set, the command will be executed once.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",type = "string"},["rust-analyzer.cargo.buildScripts.overrideCommand"] = {default = vim.NIL,items = {type = "string"},markdownDescription = "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets\n```\n.",type = { "null", "array" }},["rust-analyzer.cargo.buildScripts.useRustcWrapper"] = {default = true,markdownDescription = "Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to\navoid checking unnecessary things.",type = "boolean"},["rust-analyzer.cargo.extraArgs"] = {default = {},items = {type = "string"},markdownDescription = "Extra arguments that are passed to every cargo invocation.",type = "array"},["rust-analyzer.cargo.extraEnv"] = {default = vim.empty_dict(),markdownDescription = "Extra environment variables that will be set when running cargo, rustc\nor other commands within the workspace. Useful for setting RUSTFLAGS.",type = "object"},["rust-analyzer.cargo.features"] = {anyOf = { {enum = { "all" },enumDescriptions = { "Pass `--all-features` to cargo" },type = "string"}, {items = {type = "string"},type = "array"} },default = {},markdownDescription = 'List of features to activate.\n\nSet this to `"all"` to pass `--all-features` to cargo.'},["rust-analyzer.cargo.noDefaultFeatures"] = {default = false,markdownDescription = "Whether to pass `--no-default-features` to cargo.",type = "boolean"},["rust-analyzer.cargo.sysroot"] = {default = "discover",markdownDescription = 'Relative path to the sysroot, or "discover" to try to automatically find it via\n"rustc --print sysroot".\n\nUnsetting this disables sysroot loading.\n\nThis option does not take effect until rust-analyzer is restarted.',type = { "null", "string" }},["rust-analyzer.cargo.sysrootSrc"] = {default = vim.NIL,markdownDescription = "Relative path to the sysroot library sources. If left unset, this will default to\n`{cargo.sysroot}/lib/rustlib/src/rust/library`.\n\nThis option does not take effect until rust-analyzer is restarted.",type = { "null", "string" }},["rust-analyzer.cargo.target"] = {default = vim.NIL,markdownDescription = "Compilation target override (target triple).",type = { "null", "string" }},["rust-analyzer.cargo.unsetTest"] = {default = { "core" },items = {type = "string"},markdownDescription = "Unsets `#[cfg(test)]` for the specified crates.",type = "array"},["rust-analyzer.cargoRunner"] = {default = vim.NIL,description = "Custom cargo runner extension ID.",type = { "null", "string" }},["rust-analyzer.check.allTargets"] = {default = true,markdownDescription = "Check all targets and tests (`--all-targets`).",type = "boolean"},["rust-analyzer.check.command"] = {default = "check",markdownDescription = "Cargo command to use for `cargo check`.",type = "string"},["rust-analyzer.check.extraArgs"] = {default = {},items = {type = "string"},markdownDescription = "Extra arguments for `cargo check`.",type = "array"},["rust-analyzer.check.extraEnv"] = {default = vim.empty_dict(),markdownDescription = "Extra environment variables that will be set when running `cargo check`.\nExtends `#rust-analyzer.cargo.extraEnv#`.",type = "object"},["rust-analyzer.check.features"] = {anyOf = { {enum = { "all" },enumDescriptions = { "Pass `--all-features` to cargo" },type = "string"}, {items = {type = "string"},type = "array"}, {type = "null"} },default = vim.NIL,markdownDescription = 'List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.\n\nSet to `"all"` to pass `--all-features` to Cargo.'},["rust-analyzer.check.invocationLocation"] = {default = "workspace",enum = { "workspace", "root" },enumDescriptions = { "The command will be executed in the corresponding workspace root.", "The command will be executed in the project root." },markdownDescription = "Specifies the working directory for running checks.\n- \"workspace\": run checks for workspaces in the corresponding workspaces' root directories.\n This falls back to \"root\" if `#rust-analyzer.cargo.checkOnSave.invocationStrategy#` is set to `once`.\n- \"root\": run checks in the project's root directory.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",type = "string"},["rust-analyzer.check.invocationStrategy"] = {default = "per_workspace",enum = { "per_workspace", "once" },enumDescriptions = { "The command will be executed for each workspace.", "The command will be executed once." },markdownDescription = "Specifies the invocation strategy to use when running the checkOnSave command.\nIf `per_workspace` is set, the command will be executed for each workspace.\nIf `once` is set, the command will be executed once.\nThis config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`\nis set.",type = "string"},["rust-analyzer.check.noDefaultFeatures"] = {default = vim.NIL,markdownDescription = "Whether to pass `--no-default-features` to Cargo. Defaults to\n`#rust-analyzer.cargo.noDefaultFeatures#`.",type = { "null", "boolean" }},["rust-analyzer.check.overrideCommand"] = {default = vim.NIL,items = {type = "string"},markdownDescription = "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects, this command is invoked for\neach of them, with the working directory being the project root\n(i.e., the folder containing the `Cargo.toml`).\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",type = { "null", "array" }},["rust-analyzer.check.targets"] = {anyOf = { {type = "null"}, {type = "string"}, {items = {type = "string"},type = "array"} },default = vim.NIL,markdownDescription = 'Check for specific targets. Defaults to `#rust-analyzer.cargo.target#` if empty.\n\nCan be a single target, e.g. `"x86_64-unknown-linux-gnu"` or a list of targets, e.g.\n`["aarch64-apple-darwin", "x86_64-apple-darwin"]`.\n\nAliased as `"checkOnSave.targets"`.'},["rust-analyzer.checkOnSave"] = {default = true,markdownDescription = "Run the check command for diagnostics on save.",type = "boolean"},["rust-analyzer.completion.autoimport.enable"] = {default = true,markdownDescription = "Toggles the additional completions that automatically add imports when completed.\nNote that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.",type = "boolean"},["rust-analyzer.completion.autoself.enable"] = {default = true,markdownDescription = "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.",type = "boolean"},["rust-analyzer.completion.callable.snippets"] = {default = "fill_arguments",enum = { "fill_arguments", "add_parentheses", "none" },enumDescriptions = { "Add call parentheses and pre-fill arguments.", "Add call parentheses.", "Do no snippet completions for callables." },markdownDescription = "Whether to add parenthesis and argument snippets when completing function.",type = "string"},["rust-analyzer.completion.limit"] = {default = vim.NIL,markdownDescription = "Maximum number of completions to return. If `None`, the limit is infinite.",minimum = 0,type = { "null", "integer" }},["rust-analyzer.completion.postfix.enable"] = {default = true,markdownDescription = "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",type = "boolean"},["rust-analyzer.completion.privateEditable.enable"] = {default = false,markdownDescription = "Enables completions of private items and fields that are defined in the current workspace even if they are not visible at the current position.",type = "boolean"},["rust-analyzer.completion.snippets.custom"] = {default = {["Arc::new"] = {body = "Arc::new(${receiver})",description = "Put the expression into an `Arc`",postfix = "arc",requires = "std::sync::Arc",scope = "expr"},["Box::pin"] = {body = "Box::pin(${receiver})",description = "Put the expression into a pinned `Box`",postfix = "pinbox",requires = "std::boxed::Box",scope = "expr"},Err = {body = "Err(${receiver})",description = "Wrap the expression in a `Result::Err`",postfix = "err",scope = "expr"},Ok = {body = "Ok(${receiver})",description = "Wrap the expression in a `Result::Ok`",postfix = "ok",scope = "expr"},["Rc::new"] = {body = "Rc::new(${receiver})",description = "Put the expression into an `Rc`",postfix = "rc",requires = "std::rc::Rc",scope = "expr"},Some = {body = "Some(${receiver})",description = "Wrap the expression in an `Option::Some`",postfix = "some",scope = "expr"}},markdownDescription = "Custom completion snippets.",type = "object"},["rust-analyzer.debug.engine"] = {default = "auto",description = "Preferred debug engine.",enum = { "auto", "vadimcn.vscode-lldb", "ms-vscode.cpptools" },markdownEnumDescriptions = { "First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).", "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)", "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)" },type = "string"},["rust-analyzer.debug.engineSettings"] = {default = vim.empty_dict(),markdownDescription = 'Optional settings passed to the debug engine. Example: `{ "lldb": { "terminal":"external"} }`',type = "object"},["rust-analyzer.debug.openDebugPane"] = {default = false,markdownDescription = "Whether to open up the `Debug Panel` on debugging start.",type = "boolean"},["rust-analyzer.debug.sourceFileMap"] = {const = "auto",default = {["/rustc/<id>"] = "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"},description = "Optional source file mappings passed to the debug engine.",type = { "object", "string" }},["rust-analyzer.diagnostics.disabled"] = {default = {},items = {type = "string"},markdownDescription = "List of rust-analyzer diagnostics to disable.",type = "array",uniqueItems = true},["rust-analyzer.diagnostics.enable"] = {default = true,markdownDescription = "Whether to show native rust-analyzer diagnostics.",type = "boolean"},["rust-analyzer.diagnostics.experimental.enable"] = {default = false,markdownDescription = "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",type = "boolean"},["rust-analyzer.diagnostics.previewRustcOutput"] = {default = false,markdownDescription = "Whether to show the main part of the rendered rustc output of a diagnostic message.",type = "boolean"},["rust-analyzer.diagnostics.remapPrefix"] = {default = vim.empty_dict(),markdownDescription = "Map of prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.",type = "object"},["rust-analyzer.diagnostics.useRustcErrorCode"] = {default = false,markdownDescription = "Whether to use the rustc error code.",type = "boolean"},["rust-analyzer.diagnostics.warningsAsHint"] = {default = {},items = {type = "string"},markdownDescription = "List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code\nand will not show up in the `Problems Panel`.",type = "array"},["rust-analyzer.diagnostics.warningsAsInfo"] = {default = {},items = {type = "string"},markdownDescription = "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.",type = "array"},["rust-analyzer.discoverProjectCommand"] = {default = vim.NIL,items = {type = "string"},markdownDescription = "Sets the command that rust-analyzer uses to generate `rust-project.json` files. This command should only be used\n if a build system like Buck or Bazel is also in use. The command must accept files as arguments and return \n a rust-project.json over stdout.",type = { "null", "array" }},["rust-analyzer.files.excludeDirs"] = {default = {},items = {type = "string"},markdownDescription = "These directories will be ignored by rust-analyzer. They are\nrelative to the workspace root, and globs are not supported. You may\nalso need to add the folders to Code's `files.watcherExclude`.",type = "array"},["rust-analyzer.files.watcher"] = {default = "client",enum = { "client", "server" },enumDescriptions = { "Use the client (editor) to watch files for changes", "Use server-side file watching" },markdownDescription = "Controls file watching implementation.",type = "string"},["rust-analyzer.highlightRelated.breakPoints.enable"] = {default = true,markdownDescription = "Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.",type = "boolean"},["rust-analyzer.highlightRelated.exitPoints.enable"] = {default = true,markdownDescription = "Enables highlighting of all exit points while the cursor is on any `return`, `?`, `fn`, or return type arrow (`->`).",type = "boolean"},["rust-analyzer.highlightRelated.references.enable"] = {default = true,markdownDescription = "Enables highlighting of related references while the cursor is on any identifier.",type = "boolean"},["rust-analyzer.highlightRelated.yieldPoints.enable"] = {default = true,markdownDescription = "Enables highlighting of all break points for a loop or block context while the cursor is on any `async` or `await` keywords.",type = "boolean"},["rust-analyzer.hover.actions.debug.enable"] = {default = true,markdownDescription = "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.actions.enable"] = {default = true,markdownDescription = "Whether to show HoverActions in Rust files.",type = "boolean"},["rust-analyzer.hover.actions.gotoTypeDef.enable"] = {default = true,markdownDescription = "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.actions.implementations.enable"] = {default = true,markdownDescription = "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.actions.references.enable"] = {default = false,markdownDescription = "Whether to show `References` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.actions.run.enable"] = {default = true,markdownDescription = "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` is set.",type = "boolean"},["rust-analyzer.hover.documentation.enable"] = {default = true,markdownDescription = "Whether to show documentation on hover.",type = "boolean"},["rust-analyzer.hover.documentation.keywords.enable"] = {default = true,markdownDescription = "Whether to show keyword hover popups. Only applies when\n`#rust-analyzer.hover.documentation.enable#` is set.",type = "boolean"},["rust-analyzer.hover.links.enable"] = {default = true,markdownDescription = "Use markdown syntax for links in hover.",type = "boolean"},["rust-analyzer.imports.granularity.enforce"] = {default = false,markdownDescription = "Whether to enforce the import granularity setting for all files. If set to false rust-analyzer will try to keep import styles consistent per file.",type = "boolean"},["rust-analyzer.imports.granularity.group"] = {default = "crate",enum = { "preserve", "crate", "module", "item" },enumDescriptions = { "Do not change the granularity of any imports and preserve the original structure written by the developer.", "Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.", "Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.", "Flatten imports so that each has its own use statement." },markdownDescription = "How imports should be grouped into use statements.",type = "string"},["rust-analyzer.imports.group.enable"] = {default = true,markdownDescription = "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",type = "boolean"},["rust-analyzer.imports.merge.glob"] = {default = true,markdownDescription = "Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.",type = "boolean"},["rust-analyzer.imports.prefer.no.std"] = {default = false,markdownDescription = "Prefer to unconditionally use imports of the core and alloc crate, over the std crate.",type = "boolean"},["rust-analyzer.imports.prefix"] = {default = "plain",enum = { "plain", "self", "crate" },enumDescriptions = { "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item.", "Insert import paths relative to the current module, using up to one `super` prefix if the parent module contains the requested item. Prefixes `self` in front of the path if it starts with a module.", "Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from." },markdownDescription = "The path structure for newly inserted paths to use.",type = "string"},["rust-analyzer.inlayHints.bindingModeHints.enable"] = {default = false,markdownDescription = "Whether to show inlay type hints for binding modes.",type = "boolean"},["rust-analyzer.inlayHints.chainingHints.enable"] = {default = true,markdownDescription = "Whether to show inlay type hints for method chains.",type = "boolean"},["rust-analyzer.inlayHints.closingBraceHints.enable"] = {default = true,markdownDescription = "Whether to show inlay hints after a closing `}` to indicate what item it belongs to.",type = "boolean"},["rust-analyzer.inlayHints.closingBraceHints.minLines"] = {default = 25,markdownDescription = "Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1\nto always show them).",minimum = 0,type = "integer"},["rust-analyzer.inlayHints.closureReturnTypeHints.enable"] = {default = "never",enum = { "always", "never", "with_block" },enumDescriptions = { "Always show type hints for return types of closures.", "Never show type hints for return types of closures.", "Only show type hints for return types of closures with blocks." },markdownDescription = "Whether to show inlay type hints for return types of closures.",type = "string"},["rust-analyzer.inlayHints.closureStyle"] = {default = "impl_fn",enum = { "impl_fn", "rust_analyzer", "with_id", "hide" },enumDescriptions = { "`impl_fn`: `impl FnMut(i32, u64) -> i8`", "`rust_analyzer`: `|i32, u64| -> i8`", "`with_id`: `{closure#14352}`, where that id is the unique number of the closure in r-a internals", "`hide`: Shows `...` for every closure type" },markdownDescription = "Closure notation in type and chaining inaly hints.",type = "string"},["rust-analyzer.inlayHints.discriminantHints.enable"] = {default = "never",enum = { "always", "never", "fieldless" },enumDescriptions = { "Always show all discriminant hints.", "Never show discriminant hints.", "Only show discriminant hints on fieldless enum variants." },markdownDescription = "Whether to show enum variant discriminant hints.",type = "string"},["rust-analyzer.inlayHints.expressionAdjustmentHints.enable"] = {default = "never",enum = { "always", "never", "reborrow" },enumDescriptions = { "Always show all adjustment hints.", "Never show adjustment hints.", "Only show auto borrow and dereference adjustment hints." },markdownDescription = "Whether to show inlay hints for type adjustments.",type = "string"},["rust-analyzer.inlayHints.expressionAdjustmentHints.hideOutsideUnsafe"] = {default = false,markdownDescription = "Whether to hide inlay hints for type adjustments outside of `unsafe` blocks.",type = "boolean"},["rust-analyzer.inlayHints.expressionAdjustmentHints.mode"] = {default = "prefix",enum = { "prefix", "postfix", "prefer_prefix", "prefer_postfix" },enumDescriptions = { "Always show adjustment hints as prefix (`*expr`).", "Always show adjustment hints as postfix (`expr.*`).", "Show prefix or postfix depending on which uses less parenthesis, prefering prefix.", "Show prefix or postfix depending on which uses less parenthesis, prefering postfix." },markdownDescription = "Whether to show inlay hints as postfix ops (`.*` instead of `*`, etc).",type = "string"},["rust-analyzer.inlayHints.lifetimeElisionHints.enable"] = {default = "never",enum = { "always", "never", "skip_trivial" },enumDescriptions = { "Always show lifetime elision hints.", "Never show lifetime elision hints.", "Only show lifetime elision hints if a return type is involved." },markdownDescription = "Whether to show inlay type hints for elided lifetimes in function signatures.",type = "string"},["rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames"] = {default = false,markdownDescription = "Whether to prefer using parameter names as the name for elided lifetime hints if possible.",type = "boolean"},["rust-analyzer.inlayHints.maxLength"] = {default = 25,markdownDescription = "Maximum length for inlay hints. Set to null to have an unlimited length.",minimum = 0,type = { "null", "integer" }},["rust-analyzer.inlayHints.parameterHints.enable"] = {default = true,markdownDescription = "Whether to show function parameter name inlay hints at the call\nsite.",type = "boolean"},["rust-analyzer.inlayHints.reborrowHints.enable"] = {default = "never",enum = { "always", "never", "mutable" },enumDescriptions = { "Always show reborrow hints.", "Never show reborrow hints.", "Only show mutable reborrow hints." },markdownDescription = "Whether to show inlay hints for compiler inserted reborrows.\nThis setting is deprecated in favor of #rust-analyzer.inlayHints.expressionAdjustmentHints.enable#.",type = "string"},["rust-analyzer.inlayHints.renderColons"] = {default = true,markdownDescription = "Whether to render leading colons for type hints, and trailing colons for parameter hints.",type = "boolean"},["rust-analyzer.inlayHints.typeHints.enable"] = {default = true,markdownDescription = "Whether to show inlay type hints for variables.",type = "boolean"},["rust-analyzer.inlayHints.typeHints.hideClosureInitialization"] = {default = false,markdownDescription = "Whether to hide inlay type hints for `let` statements that initialize to a closure.\nOnly applies to closures with blocks, same as `#rust-analyzer.inlayHints.closureReturnTypeHints.enable#`.",type = "boolean"},["rust-analyzer.inlayHints.typeHints.hideNamedConstructor"] = {default = false,markdownDescription = "Whether to hide inlay type hints for constructors.",type = "boolean"},["rust-analyzer.interpret.tests"] = {default = false,markdownDescription = "Enables the experimental support for interpreting tests.",type = "boolean"},["rust-analyzer.joinLines.joinAssignments"] = {default = true,markdownDescription = "Join lines merges consecutive declaration and initialization of an assignment.",type = "boolean"},["rust-analyzer.joinLines.joinElseIf"] = {default = true,markdownDescription = "Join lines inserts else between consecutive ifs.",type = "boolean"},["rust-analyzer.joinLines.removeTrailingComma"] = {default = true,markdownDescription = "Join lines removes trailing commas.",type = "boolean"},["rust-analyzer.joinLines.unwrapTrivialBlock"] = {default = true,markdownDescription = "Join lines unwraps trivial blocks.",type = "boolean"},["rust-analyzer.lens.debug.enable"] = {default = true,markdownDescription = "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.enable"] = {default = true,markdownDescription = "Whether to show CodeLens in Rust files.",type = "boolean"},["rust-analyzer.lens.forceCustomCommands"] = {default = true,markdownDescription = "Internal config: use custom client-side commands even when the\nclient doesn't set the corresponding capability.",type = "boolean"},["rust-analyzer.lens.implementations.enable"] = {default = true,markdownDescription = "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.location"] = {default = "above_name",enum = { "above_name", "above_whole_item" },enumDescriptions = { "Render annotations above the name of the item.", "Render annotations above the whole item, including documentation comments and attributes." },markdownDescription = "Where to render annotations.",type = "string"},["rust-analyzer.lens.references.adt.enable"] = {default = false,markdownDescription = "Whether to show `References` lens for Struct, Enum, and Union.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.references.enumVariant.enable"] = {default = false,markdownDescription = "Whether to show `References` lens for Enum Variants.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.references.method.enable"] = {default = false,markdownDescription = "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.references.trait.enable"] = {default = false,markdownDescription = "Whether to show `References` lens for Trait.\nOnly applies when `#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.lens.run.enable"] = {default = true,markdownDescription = "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.",type = "boolean"},["rust-analyzer.linkedProjects"] = {default = {},items = {type = { "string", "object" }},markdownDescription = "Disable project auto-discovery in favor of explicitly specified set\nof projects.\n\nElements must be paths pointing to `Cargo.toml`,\n`rust-project.json`, or JSON objects in `rust-project.json` format.",type = "array"},["rust-analyzer.lru.capacity"] = {default = vim.NIL,markdownDescription = "Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.",minimum = 0,type = { "null", "integer" }},["rust-analyzer.lru.query.capacities"] = {default = vim.empty_dict(),markdownDescription = "Sets the LRU capacity of the specified queries.",type = "object"},["rust-analyzer.notifications.cargoTomlNotFound"] = {default = true,markdownDescription = "Whether to show `can't find Cargo.toml` error message.",type = "boolean"},["rust-analyzer.numThreads"] = {default = vim.NIL,markdownDescription = "How many worker threads in the main loop. The default `null` means to pick automatically.",minimum = 0,type = { "null", "integer" }},["rust-analyzer.procMacro.attributes.enable"] = {default = true,markdownDescription = "Expand attribute macros. Requires `#rust-analyzer.procMacro.enable#` to be set.",type = "boolean"},["rust-analyzer.procMacro.enable"] = {default = true,markdownDescription = "Enable support for procedural macros, implies `#rust-analyzer.cargo.buildScripts.enable#`.",type = "boolean"},["rust-analyzer.procMacro.ignored"] = {default = vim.empty_dict(),markdownDescription = "These proc-macros will be ignored when trying to expand them.\n\nThis config takes a map of crate names with the exported proc-macro names to ignore as values.",type = "object"},["rust-analyzer.procMacro.server"] = {default = vim.NIL,markdownDescription = "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).",type = { "null", "string" }},["rust-analyzer.references.excludeImports"] = {default = false,markdownDescription = "Exclude imports from find-all-references.",type = "boolean"},["rust-analyzer.restartServerOnConfigChange"] = {default = false,markdownDescription = "Whether to restart the server automatically when certain settings that require a restart are changed.",type = "boolean"},["rust-analyzer.runnableEnv"] = {anyOf = { {type = "null"}, {items = {properties = {env = {description = 'Variables in form of { "key": "value"}',type = "object"},mask = {description = "Runnable name mask",type = "string"}},type = "object"},type = "array"}, {description = 'Variables in form of { "key": "value"}',type = "object"} },default = vim.NIL,markdownDescription = "Environment variables passed to the runnable launched using `Test` or `Debug` lens or `rust-analyzer.run` command."},["rust-analyzer.runnables.command"] = {default = vim.NIL,markdownDescription = "Command to be executed instead of 'cargo' for runnables.",type = { "null", "string" }},["rust-analyzer.runnables.extraArgs"] = {default = {},items = {type = "string"},markdownDescription = "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",type = "array"},["rust-analyzer.rustc.source"] = {default = vim.NIL,markdownDescription = 'Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private\nprojects, or "discover" to try to automatically find it if the `rustc-dev` component\nis installed.\n\nAny project which uses rust-analyzer with the rustcPrivate\ncrates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.\n\nThis option does not take effect until rust-analyzer is restarted.',type = { "null", "string" }},["rust-analyzer.rustfmt.extraArgs"] = {default = {},items = {type = "string"},markdownDescription = "Additional arguments to `rustfmt`.",type = "array"},["rust-analyzer.rustfmt.overrideCommand"] = {default = vim.NIL,items = {type = "string"},markdownDescription = "Advanced option, fully override the command rust-analyzer uses for\nformatting. This should be the equivalent of `rustfmt` here, and\nnot that of `cargo fmt`. The file contents will be passed on the\nstandard input and the formatted result will be read from the\nstandard output.",type = { "null", "array" }},["rust-analyzer.rustfmt.rangeFormatting.enable"] = {default = false,markdownDescription = "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.",type = "boolean"},["rust-analyzer.semanticHighlighting.doc.comment.inject.enable"] = {default = true,markdownDescription = "Inject additional highlighting into doc comments.\n\nWhen enabled, rust-analyzer will highlight rust source in doc comments as well as intra\ndoc links.",type = "boolean"},["rust-analyzer.semanticHighlighting.operator.enable"] = {default = true,markdownDescription = "Use semantic tokens for operators.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for operator tokens when\nthey are tagged with modifiers.",type = "boolean"},["rust-analyzer.semanticHighlighting.operator.specialization.enable"] = {default = false,markdownDescription = "Use specialized semantic tokens for operators.\n\nWhen enabled, rust-analyzer will emit special token types for operator tokens instead\nof the generic `operator` token type.",type = "boolean"},["rust-analyzer.semanticHighlighting.punctuation.enable"] = {default = false,markdownDescription = "Use semantic tokens for punctuations.\n\nWhen disabled, rust-analyzer will emit semantic tokens only for punctuation tokens when\nthey are tagged with modifiers or have a special role.",type = "boolean"},["rust-analyzer.semanticHighlighting.punctuation.separate.macro.bang"] = {default = false,markdownDescription = "When enabled, rust-analyzer will emit a punctuation semantic token for the `!` of macro\ncalls.",type = "boolean"},["rust-analyzer.semanticHighlighting.punctuation.specialization.enable"] = {default = false,markdownDescription = "Use specialized semantic tokens for punctuations.\n\nWhen enabled, rust-analyzer will emit special token types for punctuation tokens instead\nof the generic `punctuation` token type.",type = "boolean"},["rust-analyzer.semanticHighlighting.strings.enable"] = {default = true,markdownDescription = "Use semantic tokens for strings.\n\nIn some editors (e.g. vscode) semantic tokens override other highlighting grammars.\nBy disabling semantic tokens for strings, other grammars can be used to highlight\ntheir contents.",type = "boolean"},["rust-analyzer.server.extraEnv"] = {additionalProperties = {type = { "string", "number" }},default = vim.NIL,markdownDescription = "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging.",type = { "null", "object" }},["rust-analyzer.server.path"] = {default = vim.NIL,markdownDescription = "Path to rust-analyzer executable (points to bundled binary by default).",scope = "machine-overridable",type = { "null", "string" }},["rust-analyzer.showUnlinkedFileNotification"] = {default = true,markdownDescription = "Whether to show a notification for unlinked files asking the user to add the corresponding Cargo.toml to the linked projects setting.",type = "boolean"},["rust-analyzer.signatureInfo.detail"] = {default = "full",enum = { "full", "parameters" },enumDescriptions = { "Show the entire signature.", "Show only the parameters." },markdownDescription = "Show full signature of the callable. Only shows parameters if disabled.",type = "string"},["rust-analyzer.signatureInfo.documentation.enable"] = {default = true,markdownDescription = "Show documentation.",type = "boolean"},["rust-analyzer.trace.extension"] = {default = false,description = "Enable logging of VS Code extensions itself.",type = "boolean"},["rust-analyzer.trace.server"] = {default = "off",description = "Trace requests to the rust-analyzer (this is usually overly verbose and not recommended for regular users).",enum = { "off", "messages", "verbose" },enumDescriptions = { "No traces", "Error only", "Full log" },scope = "window",type = "string"},["rust-analyzer.typing.autoClosingAngleBrackets.enable"] = {default = false,markdownDescription = "Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.",type = "boolean"},["rust-analyzer.typing.continueCommentsOnNewline"] = {default = true,markdownDescription = "Whether to prefix newlines after comments with the corresponding comment prefix.",type = "boolean"},["rust-analyzer.workspace.symbol.search.kind"] = {default = "only_types",enum = { "only_types", "all_symbols" },enumDescriptions = { "Search for types only.", "Search for all symbols kinds." },markdownDescription = "Workspace symbol search kind.",type = "string"},["rust-analyzer.workspace.symbol.search.limit"] = {default = 128,markdownDescription = "Limits the number of items returned from a workspace symbol search (Defaults to 128).\nSome clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search.\nOther clients requires all results upfront and might require a higher limit.",minimum = 0,type = "integer"},["rust-analyzer.workspace.symbol.search.scope"] = {default = "workspace",enum = { "workspace", "workspace_and_dependencies" },enumDescriptions = { "Search in current workspace only.", "Search in current workspace and dependencies." },markdownDescription = "Workspace symbol search scope.",type = "string"}},title = "rust-analyzer",type = "object"}
\ No newline at end of file diff --git a/lua/mason/mappings/language.lua b/lua/mason/mappings/language.lua index 0121d0b7..cf880f24 100644 --- a/lua/mason/mappings/language.lua +++ b/lua/mason/mappings/language.lua @@ -30,7 +30,7 @@ return { cql = { "cql-language-server" }, crystal = { "crystalline" }, csh = { "beautysh" }, - css = { "css-lsp", "cssmodules-language-server", "prettier", "prettierd", "stylelint", "tailwindcss-language-server", "unocss-language-server" }, + css = { "css-lsp", "cssmodules-language-server", "prettier", "prettierd", "rome", "stylelint", "tailwindcss-language-server", "unocss-language-server" }, cucumber = { "cucumber-language-server" }, cue = { "cueimports", "cuelsp" }, d = { "serve-d" }, @@ -63,12 +63,12 @@ return { haskell = { "fourmolu", "haskell-language-server" }, haxe = { "haxe-language-server" }, hoon = { "hoon-language-server" }, - html = { "erb-lint", "html-lsp", "prettier", "prettierd", "rustywind" }, + html = { "erb-lint", "html-lsp", "prettier", "prettierd", "rome", "rustywind" }, java = { "clang-format", "google-java-format", "java-debug-adapter", "java-language-server", "java-test", "jdtls", "semgrep" }, javascript = { "chrome-debug-adapter", "clang-format", "deno", "eslint-lsp", "eslint_d", "firefox-debug-adapter", "glint", "js-debug-adapter", "node-debug2-adapter", "prettier", "prettierd", "quick-lint-js", "rome", "rustywind", "semgrep", "typescript-language-server", "vtsls", "xo" }, jinja = { "curlylint", "djlint" }, jq = { "jq-lsp" }, - json = { "cfn-lint", "clang-format", "fixjson", "jq", "json-lsp", "jsonlint", "nxls", "prettier", "prettierd", "semgrep", "spectral-language-server" }, + json = { "cfn-lint", "clang-format", "fixjson", "jq", "json-lsp", "jsonlint", "nxls", "prettier", "prettierd", "rome", "semgrep", "spectral-language-server" }, jsonnet = { "jsonnet-language-server" }, jsx = { "prettier", "prettierd", "rustywind" }, julia = { "julia-lsp" }, @@ -80,7 +80,7 @@ return { liquid = { "curlylint", "shopify-theme-check" }, lua = { "lemmy-help", "lua-language-server", "luacheck", "luaformatter", "selene", "stylua" }, luau = { "luau-lsp", "selene", "stylua" }, - markdown = { "alex", "cbfmt", "glow", "grammarly-languageserver", "ltex-ls", "markdown-toc", "markdownlint", "marksman", "prettier", "prettierd", "proselint", "prosemd-lsp", "remark-cli", "remark-language-server", "textlint", "vale", "write-good", "zk" }, + markdown = { "alex", "cbfmt", "glow", "grammarly-languageserver", "ltex-ls", "markdown-toc", "markdownlint", "marksman", "prettier", "prettierd", "proselint", "prosemd-lsp", "remark-cli", "remark-language-server", "rome", "textlint", "vale", "write-good", "zk" }, ["metamath zero"] = { "metamath-zero-lsp" }, mksh = { "shfmt" }, move = { "move-analyzer" }, |
