diff options
265 files changed, 265 insertions, 0 deletions
diff --git a/lsp/aiken.lua b/lsp/aiken.lua index 78d09879..8fb57b21 100644 --- a/lsp/aiken.lua +++ b/lsp/aiken.lua @@ -6,6 +6,7 @@ --- [Installation](https://aiken-lang.org/installation-instructions) --- --- It can be i + ---@type vim.lsp.Config return { cmd = { 'aiken', 'lsp' }, diff --git a/lsp/air.lua b/lsp/air.lua index 4c654fb4..47dbfc1c 100644 --- a/lsp/air.lua +++ b/lsp/air.lua @@ -5,6 +5,7 @@ --- Air is an R formatter and language server, written in Rust. --- --- Refer to the [documentation](https://posit-dev.github.io/air/editors.html) for more details. + ---@type vim.lsp.Config return { cmd = { 'air', 'language-server' }, diff --git a/lsp/alloy_ls.lua b/lsp/alloy_ls.lua index 890f011c..9fdf6daa 100644 --- a/lsp/alloy_ls.lua +++ b/lsp/alloy_ls.lua @@ -21,6 +21,7 @@ --- ``` --- --- Alternatively, you may use a syntax plugin like https://github.com/runoshun/vim-alloy. + ---@type vim.lsp.Config return { cmd = { 'alloy', 'lsp' }, diff --git a/lsp/anakin_language_server.lua b/lsp/anakin_language_server.lua index 58ae2076..66736837 100644 --- a/lsp/anakin_language_server.lua +++ b/lsp/anakin_language_server.lua @@ -8,6 +8,7 @@ --- --- * Initialization: https://github.com/muffinmad/anakin-language-server#initialization-option --- * Configuration: https://github.com/muffinmad/anakin-language-server#configuration-options + ---@type vim.lsp.Config return { cmd = { 'anakinls' }, diff --git a/lsp/ansiblels.lua b/lsp/ansiblels.lua index 19ff885a..db292c3d 100644 --- a/lsp/ansiblels.lua +++ b/lsp/ansiblels.lua @@ -9,6 +9,7 @@ --- ```sh --- npm install -g @ansible/ansible-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'ansible-language-server', '--stdio' }, diff --git a/lsp/antlersls.lua b/lsp/antlersls.lua index f56b63f2..28777bf3 100644 --- a/lsp/antlersls.lua +++ b/lsp/antlersls.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g antlers-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'antlersls', '--stdio' }, diff --git a/lsp/asm_lsp.lua b/lsp/asm_lsp.lua index 44e6519b..28678c06 100644 --- a/lsp/asm_lsp.lua +++ b/lsp/asm_lsp.lua @@ -6,6 +6,7 @@ --- --- `asm-lsp` can be installed via cargo: --- cargo install asm-lsp + ---@type vim.lsp.Config return { cmd = { 'asm-lsp' }, diff --git a/lsp/ast_grep.lua b/lsp/ast_grep.lua index 0a22693d..47388a98 100644 --- a/lsp/ast_grep.lua +++ b/lsp/ast_grep.lua @@ -7,6 +7,7 @@ --- ```sh --- npm install [-g] @ast-grep/cli --- ``` + ---@type vim.lsp.Config return { cmd = { 'ast-grep', 'lsp' }, diff --git a/lsp/atlas.lua b/lsp/atlas.lua index 26e1089b..e54dbea2 100644 --- a/lsp/atlas.lua +++ b/lsp/atlas.lua @@ -55,6 +55,7 @@ --- vim.treesitter.language.register('hcl', 'atlas-rule') --- ``` --- + ---@type vim.lsp.Config return { cmd = { 'atlas', 'tool', 'lsp', '--stdio' }, diff --git a/lsp/azure_pipelines_ls.lua b/lsp/azure_pipelines_ls.lua index d21de4cf..2313ca4b 100644 --- a/lsp/azure_pipelines_ls.lua +++ b/lsp/azure_pipelines_ls.lua @@ -29,6 +29,7 @@ --- }) --- ``` --- The Azure Pipelines LSP is a fork of `yaml-language-server` and as such the same settings can be passed to it as `yaml-language-server`. + ---@type vim.lsp.Config return { cmd = { 'azure-pipelines-language-server', '--stdio' }, diff --git a/lsp/bacon_ls.lua b/lsp/bacon_ls.lua index cafd753b..44c56977 100644 --- a/lsp/bacon_ls.lua +++ b/lsp/bacon_ls.lua @@ -37,6 +37,7 @@ --- synchronizeAllOpenFilesWaitMillis = 2000, --- } --- ``` + ---@type vim.lsp.Config return { cmd = { 'bacon-ls' }, diff --git a/lsp/ballerina.lua b/lsp/ballerina.lua index 84a00709..dbe8a7e8 100644 --- a/lsp/ballerina.lua +++ b/lsp/ballerina.lua @@ -4,6 +4,7 @@ --- --- The Ballerina language's CLI tool comes with its own language server implementation. --- The `bal` command line tool must be installed and available in your system's PATH. + ---@type vim.lsp.Config return { cmd = { 'bal', 'start-language-server' }, diff --git a/lsp/bashls.lua b/lsp/bashls.lua index 33f088e4..fbd396a7 100644 --- a/lsp/bashls.lua +++ b/lsp/bashls.lua @@ -8,6 +8,7 @@ --- ``` --- --- Language server for bash, written using tree sitter in typescript. + ---@type vim.lsp.Config return { cmd = { 'bash-language-server', 'start' }, diff --git a/lsp/basics_ls.lua b/lsp/basics_ls.lua index d7f5d57c..1810a929 100644 --- a/lsp/basics_ls.lua +++ b/lsp/basics_ls.lua @@ -7,6 +7,7 @@ --- ```sh --- npm install -g basics-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'basics-language-server' }, diff --git a/lsp/bazelrc_lsp.lua b/lsp/bazelrc_lsp.lua index c3d76ffc..6e6b89ff 100644 --- a/lsp/bazelrc_lsp.lua +++ b/lsp/bazelrc_lsp.lua @@ -13,6 +13,7 @@ --- }, --- } --- ``` + ---@type vim.lsp.Config return { cmd = { 'bazelrc-lsp', 'lsp' }, diff --git a/lsp/beancount.lua b/lsp/beancount.lua index 78b01f3b..bb53a767 100644 --- a/lsp/beancount.lua +++ b/lsp/beancount.lua @@ -3,6 +3,7 @@ --- https://github.com/polarmutex/beancount-language-server#installation --- --- See https://github.com/polarmutex/beancount-language-server#configuration for configuration options + ---@type vim.lsp.Config return { cmd = { 'beancount-language-server', '--stdio' }, diff --git a/lsp/bicep.lua b/lsp/bicep.lua index 270d5671..4e6e2152 100644 --- a/lsp/bicep.lua +++ b/lsp/bicep.lua @@ -31,6 +31,7 @@ --- && rm -rf /usr/local/bin/bicep-langserver \ --- && unzip -d /usr/local/bin/bicep-langserver bicep-langserver.zip) --- ``` + ---@type vim.lsp.Config return { filetypes = { 'bicep', 'bicep-params' }, diff --git a/lsp/bitbake_language_server.lua b/lsp/bitbake_language_server.lua index bdd343d7..36e08b3c 100644 --- a/lsp/bitbake_language_server.lua +++ b/lsp/bitbake_language_server.lua @@ -1,6 +1,7 @@ ---@brief --- --- 🛠️ bitbake language server + ---@type vim.lsp.Config return { cmd = { 'bitbake-language-server' }, diff --git a/lsp/blueprint_ls.lua b/lsp/blueprint_ls.lua index 20f57d73..3721f6ab 100644 --- a/lsp/blueprint_ls.lua +++ b/lsp/blueprint_ls.lua @@ -6,6 +6,7 @@ --- --- Language server for the blueprint markup language, written in python and part --- of the blueprint-compiler. + ---@type vim.lsp.Config return { cmd = { 'blueprint-compiler', 'lsp' }, diff --git a/lsp/bqls.lua b/lsp/bqls.lua index d11131e8..cad3cd2a 100644 --- a/lsp/bqls.lua +++ b/lsp/bqls.lua @@ -7,6 +7,7 @@ --- ```sh --- $ go install github.com/kitagry/bqls@latest --- ``` + ---@type vim.lsp.Config return { cmd = { 'bqls' }, diff --git a/lsp/bright_script.lua b/lsp/bright_script.lua index 9689d6da..0f564171 100644 --- a/lsp/bright_script.lua +++ b/lsp/bright_script.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g brighterscript --- ``` + ---@type vim.lsp.Config return { cmd = { 'bsc', '--lsp', '--stdio' }, diff --git a/lsp/buck2.lua b/lsp/buck2.lua index 94686a24..7bc5d258 100644 --- a/lsp/buck2.lua +++ b/lsp/buck2.lua @@ -9,6 +9,7 @@ --- ``` --- vim.cmd [[ autocmd BufRead,BufNewFile *.bxl,BUCK,TARGETS set filetype=bzl ]] --- ``` + ---@type vim.lsp.Config return { cmd = { 'buck2', 'lsp' }, diff --git a/lsp/buddy_ls.lua b/lsp/buddy_ls.lua index 74e898d1..dc82439b 100644 --- a/lsp/buddy_ls.lua +++ b/lsp/buddy_ls.lua @@ -4,6 +4,7 @@ --- The Language Server for the buddy-mlir, a drop-in replacement for mlir-lsp-server, --- supporting new dialects defined in buddy-mlir. --- `buddy-lsp-server` can be installed at the buddy-mlir repository (buddy-compiler/buddy-mlir) + ---@type vim.lsp.Config return { cmd = { 'buddy-lsp-server' }, diff --git a/lsp/bufls.lua b/lsp/bufls.lua index 6fab4fd0..e7dc52fb 100644 --- a/lsp/bufls.lua +++ b/lsp/bufls.lua @@ -8,6 +8,7 @@ --- ``` --- --- bufls is a Protobuf language server compatible with Buf modules and workspaces + ---@type vim.lsp.Config return { cmd = { 'bufls', 'serve' }, diff --git a/lsp/bzl.lua b/lsp/bzl.lua index a9b10077..7dc1dfe5 100644 --- a/lsp/bzl.lua +++ b/lsp/bzl.lua @@ -5,6 +5,7 @@ --- https://docs.stack.build/docs/cli/installation --- --- https://docs.stack.build/docs/vscode/starlark-language-server + ---@type vim.lsp.Config return { cmd = { 'bzl', 'lsp', 'serve' }, diff --git a/lsp/c3_lsp.lua b/lsp/c3_lsp.lua index 8d2b40fc..0ea95228 100644 --- a/lsp/c3_lsp.lua +++ b/lsp/c3_lsp.lua @@ -3,6 +3,7 @@ --- https://github.com/pherrymason/c3-lsp --- --- Language Server for c3. + ---@type vim.lsp.Config return { cmd = { 'c3lsp' }, diff --git a/lsp/cairo_ls.lua b/lsp/cairo_ls.lua index 1d262b1e..7489245f 100644 --- a/lsp/cairo_ls.lua +++ b/lsp/cairo_ls.lua @@ -10,6 +10,7 @@ --- ``` --- --- *cairo-language-server is still under active development, some features might not work yet !* + ---@type vim.lsp.Config return { init_options = { hostInfo = 'neovim' }, diff --git a/lsp/cds_lsp.lua b/lsp/cds_lsp.lua index 19da7e25..12bfab7c 100644 --- a/lsp/cds_lsp.lua +++ b/lsp/cds_lsp.lua @@ -7,6 +7,7 @@ --- ```sh --- npm i -g @sap/cds-lsp --- ``` + ---@type vim.lsp.Config return { cmd = { 'cds-lsp', '--stdio' }, diff --git a/lsp/circom-lsp.lua b/lsp/circom-lsp.lua index eecbdd69..c3bb8a47 100644 --- a/lsp/circom-lsp.lua +++ b/lsp/circom-lsp.lua @@ -3,6 +3,7 @@ --- [Circom Language Server](https://github.com/rubydusa/circom-lsp) --- --- `circom-lsp`, the language server for the Circom language. + ---@type vim.lsp.Config return { cmd = { 'circom-lsp' }, diff --git a/lsp/clarinet.lua b/lsp/clarinet.lua index ba25779b..be93d8a1 100644 --- a/lsp/clarinet.lua +++ b/lsp/clarinet.lua @@ -2,6 +2,7 @@ --- https://github.com/hirosystems/clarinet --- --- Clarinet is the fastest way to build, test, and deploy smart contracts on the Stacks blockchain. + ---@type vim.lsp.Config return { cmd = { 'clarinet', 'lsp' }, diff --git a/lsp/clojure_lsp.lua b/lsp/clojure_lsp.lua index 7bc49d57..f60ee380 100644 --- a/lsp/clojure_lsp.lua +++ b/lsp/clojure_lsp.lua @@ -3,6 +3,7 @@ --- https://github.com/clojure-lsp/clojure-lsp --- --- Clojure Language Server + ---@type vim.lsp.Config return { cmd = { 'clojure-lsp' }, diff --git a/lsp/cmake.lua b/lsp/cmake.lua index abb1a518..38fa06a7 100644 --- a/lsp/cmake.lua +++ b/lsp/cmake.lua @@ -3,6 +3,7 @@ --- https://github.com/regen100/cmake-language-server --- --- CMake LSP Implementation + ---@type vim.lsp.Config return { cmd = { 'cmake-language-server' }, diff --git a/lsp/cobol_ls.lua b/lsp/cobol_ls.lua index 49e1b5a7..a763ed64 100644 --- a/lsp/cobol_ls.lua +++ b/lsp/cobol_ls.lua @@ -1,6 +1,7 @@ ---@brief --- --- Cobol language support + ---@type vim.lsp.Config return { cmd = { 'cobol-language-support' }, diff --git a/lsp/codebook.lua b/lsp/codebook.lua index fed3d9a5..dea265c5 100644 --- a/lsp/codebook.lua +++ b/lsp/codebook.lua @@ -8,6 +8,7 @@ --- --- The default `cmd` assumes that the `codebook-lsp` binary can be found in `$PATH`. --- + ---@type vim.lsp.Config return { cmd = { 'codebook-lsp', 'serve' }, diff --git a/lsp/coffeesense.lua b/lsp/coffeesense.lua index 46c0612a..aeaa2c2f 100644 --- a/lsp/coffeesense.lua +++ b/lsp/coffeesense.lua @@ -7,6 +7,7 @@ --- ```sh --- npm install -g coffeesense-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'coffeesense-language-server', '--stdio' }, diff --git a/lsp/contextive.lua b/lsp/contextive.lua index 380c0b55..3cca3333 100644 --- a/lsp/contextive.lua +++ b/lsp/contextive.lua @@ -9,6 +9,7 @@ --- To install the language server, you need to download the appropriate [GitHub release asset](https://github.com/dev-cycles/contextive/releases/) for your operating system and architecture. --- --- After the download unzip the Contextive.LanguageServer binary and copy the file into a folder that is included in your system's PATH. + ---@type vim.lsp.Config return { cmd = { 'Contextive.LanguageServer' }, diff --git a/lsp/coq_lsp.lua b/lsp/coq_lsp.lua index 29c6cc0c..e8dc76f8 100644 --- a/lsp/coq_lsp.lua +++ b/lsp/coq_lsp.lua @@ -1,6 +1,7 @@ ---@brief --- --- https://github.com/ejgallego/coq-lsp/ + ---@type vim.lsp.Config return { cmd = { 'coq-lsp' }, diff --git a/lsp/crystalline.lua b/lsp/crystalline.lua index f54338ba..f682f7de 100644 --- a/lsp/crystalline.lua +++ b/lsp/crystalline.lua @@ -3,6 +3,7 @@ --- https://github.com/elbywan/crystalline --- --- Crystal language server. + ---@type vim.lsp.Config return { cmd = { 'crystalline' }, diff --git a/lsp/cspell_ls.lua b/lsp/cspell_ls.lua index d33d51f8..d1598dd8 100644 --- a/lsp/cspell_ls.lua +++ b/lsp/cspell_ls.lua @@ -2,6 +2,7 @@ --- --- [cspell language server](https://github.com/vlabo/cspell-lsp) --- + ---@type vim.lsp.Config return { cmd = { 'cspell-lsp', '--stdio' }, diff --git a/lsp/css_variables.lua b/lsp/css_variables.lua index 729b471f..f9cdbcd4 100644 --- a/lsp/css_variables.lua +++ b/lsp/css_variables.lua @@ -9,6 +9,7 @@ --- ```sh --- npm i -g css-variables-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'css-variables-language-server', '--stdio' }, diff --git a/lsp/cssls.lua b/lsp/cssls.lua index 3f590a5f..5f825b4a 100644 --- a/lsp/cssls.lua +++ b/lsp/cssls.lua @@ -19,6 +19,7 @@ --- capabilities = capabilities, --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'vscode-css-language-server', '--stdio' }, diff --git a/lsp/cssmodules_ls.lua b/lsp/cssmodules_ls.lua index e100520a..35a5c59b 100644 --- a/lsp/cssmodules_ls.lua +++ b/lsp/cssmodules_ls.lua @@ -8,6 +8,7 @@ --- ```sh --- npm install -g cssmodules-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'cssmodules-language-server' }, diff --git a/lsp/cucumber_language_server.lua b/lsp/cucumber_language_server.lua index 9dab595a..82bfcff9 100644 --- a/lsp/cucumber_language_server.lua +++ b/lsp/cucumber_language_server.lua @@ -10,6 +10,7 @@ --- ```sh --- npm install -g @cucumber/language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'cucumber-language-server', '--stdio' }, diff --git a/lsp/cue.lua b/lsp/cue.lua index c07a11f0..22941a09 100644 --- a/lsp/cue.lua +++ b/lsp/cue.lua @@ -3,6 +3,7 @@ --- https://github.com/cue-lang/cue --- --- CUE makes it easy to validate data, write schemas, and ensure configurations align with policies. + ---@type vim.lsp.Config return { cmd = { 'cue', 'lsp' }, diff --git a/lsp/custom_elements_ls.lua b/lsp/custom_elements_ls.lua index 86e8a1a7..684786bb 100644 --- a/lsp/custom_elements_ls.lua +++ b/lsp/custom_elements_ls.lua @@ -23,6 +23,7 @@ --- ] --- } --- ``` + ---@type vim.lsp.Config return { init_options = { hostInfo = 'neovim' }, diff --git a/lsp/cypher_ls.lua b/lsp/cypher_ls.lua index c50e8989..8058b1c7 100644 --- a/lsp/cypher_ls.lua +++ b/lsp/cypher_ls.lua @@ -9,6 +9,7 @@ --- ```sh --- npm i -g @neo4j-cypher/language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'cypher-language-server', '--stdio' }, diff --git a/lsp/dafny.lua b/lsp/dafny.lua index 5b0fa86b..39e65d9b 100644 --- a/lsp/dafny.lua +++ b/lsp/dafny.lua @@ -6,6 +6,7 @@ -- older versions of Dafny, you can compile the language server from source at -- [dafny-lang/language-server-csharp](https://github.com/dafny-lang/language-server-csharp) -- and set `cmd = {"dotnet", "<Path to your language server>"}`. + ---@type vim.lsp.Config return { cmd = { 'dafny', 'server' }, diff --git a/lsp/dagger.lua b/lsp/dagger.lua index 03425f75..714e79a8 100644 --- a/lsp/dagger.lua +++ b/lsp/dagger.lua @@ -3,6 +3,7 @@ --- https://github.com/dagger/cuelsp --- --- Dagger's lsp server for cuelang. + ---@type vim.lsp.Config return { cmd = { 'cuelsp' }, diff --git a/lsp/dartls.lua b/lsp/dartls.lua index 327334d8..3731d07c 100644 --- a/lsp/dartls.lua +++ b/lsp/dartls.lua @@ -3,6 +3,7 @@ --- https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server/tool/lsp_spec --- --- Language server for dart. + ---@type vim.lsp.Config return { cmd = { 'dart', 'language-server', '--protocol=lsp' }, diff --git a/lsp/dcmls.lua b/lsp/dcmls.lua index 983f24c1..90f98db2 100644 --- a/lsp/dcmls.lua +++ b/lsp/dcmls.lua @@ -3,6 +3,7 @@ --- https://dcm.dev/ --- --- Language server for DCM analyzer. + ---@type vim.lsp.Config return { cmd = { 'dcm', 'start-server', '--client=neovim' }, diff --git a/lsp/debputy.lua b/lsp/debputy.lua index 0728b015..6d7dce52 100644 --- a/lsp/debputy.lua +++ b/lsp/debputy.lua @@ -3,6 +3,7 @@ --- https://salsa.debian.org/debian/debputy --- --- Language Server for Debian packages. + ---@type vim.lsp.Config return { cmd = { 'debputy', 'lsp', 'server' }, diff --git a/lsp/diagnosticls.lua b/lsp/diagnosticls.lua index b9cee6b3..8c717ead 100644 --- a/lsp/diagnosticls.lua +++ b/lsp/diagnosticls.lua @@ -3,6 +3,7 @@ --- https://github.com/iamcco/diagnostic-languageserver --- --- Diagnostic language server integrate with linters. + ---@type vim.lsp.Config return { -- Configuration from https://github.com/iamcco/diagnostic-languageserver#config--document diff --git a/lsp/digestif.lua b/lsp/digestif.lua index 55641607..863b7720 100644 --- a/lsp/digestif.lua +++ b/lsp/digestif.lua @@ -7,6 +7,7 @@ --- context-sensitive completion, documentation, code navigation, and related functionality to any --- --- text editor that speaks the LSP protocol. + ---@type vim.lsp.Config return { cmd = { 'digestif' }, diff --git a/lsp/docker_language_server.lua b/lsp/docker_language_server.lua index 5a6a89fd..695d51a7 100644 --- a/lsp/docker_language_server.lua +++ b/lsp/docker_language_server.lua @@ -6,6 +6,7 @@ --- ```sh --- go install github.com/docker/docker-language-server/cmd/docker-language-server@latest --- ``` + ---@type vim.lsp.Config return { cmd = { 'docker-language-server', 'start', '--stdio' }, diff --git a/lsp/dockerls.lua b/lsp/dockerls.lua index c3ac3f0c..ee17ed12 100644 --- a/lsp/dockerls.lua +++ b/lsp/dockerls.lua @@ -21,6 +21,7 @@ --- } --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'docker-langserver', '--stdio' }, diff --git a/lsp/dolmenls.lua b/lsp/dolmenls.lua index ec0981bc..de240da0 100644 --- a/lsp/dolmenls.lua +++ b/lsp/dolmenls.lua @@ -6,6 +6,7 @@ --- ```sh --- opam install dolmen_lsp --- ``` + ---@type vim.lsp.Config return { cmd = { 'dolmenls' }, diff --git a/lsp/dotls.lua b/lsp/dotls.lua index 48c17d90..51fca6e2 100644 --- a/lsp/dotls.lua +++ b/lsp/dotls.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g dot-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'dot-language-server', '--stdio' }, diff --git a/lsp/dprint.lua b/lsp/dprint.lua index 528e425a..31acacdd 100644 --- a/lsp/dprint.lua +++ b/lsp/dprint.lua @@ -3,6 +3,7 @@ --- https://github.com/dprint/dprint --- --- Pluggable and configurable code formatting platform written in Rust. + ---@type vim.lsp.Config return { cmd = { 'dprint', 'lsp' }, diff --git a/lsp/ecsact.lua b/lsp/ecsact.lua index 889e2c06..b59aad4f 100644 --- a/lsp/ecsact.lua +++ b/lsp/ecsact.lua @@ -6,6 +6,7 @@ --- --- The default cmd assumes `ecsact_lsp_server` is in your PATH. Typically from the --- Ecsact SDK: https://ecsact.dev/start + ---@type vim.lsp.Config return { cmd = { 'ecsact_lsp_server', '--stdio' }, diff --git a/lsp/elixirls.lua b/lsp/elixirls.lua index e21f9a89..2876ad28 100644 --- a/lsp/elixirls.lua +++ b/lsp/elixirls.lua @@ -25,6 +25,7 @@ --- ``` --- --- 'root_dir' is chosen like this: if two or more directories containing `mix.exs` were found when searching directories upward, the second one (higher up) is chosen, with the assumption that it is the root of an umbrella app. Otherwise the directory containing the single mix.exs that was found is chosen. + ---@type vim.lsp.Config return { filetypes = { 'elixir', 'eelixir', 'heex', 'surface' }, diff --git a/lsp/elp.lua b/lsp/elp.lua index d299a450..38c0716b 100644 --- a/lsp/elp.lua +++ b/lsp/elp.lua @@ -4,6 +4,7 @@ --- --- ELP integrates Erlang into modern IDEs via the language server protocol and was --- inspired by rust-analyzer. + ---@type vim.lsp.Config return { cmd = { 'elp', 'server' }, diff --git a/lsp/ember.lua b/lsp/ember.lua index 81d25d1e..9d1ec2a1 100644 --- a/lsp/ember.lua +++ b/lsp/ember.lua @@ -7,6 +7,7 @@ --- ```sh --- npm install -g @ember-tooling/ember-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'ember-language-server', '--stdio' }, diff --git a/lsp/emmet_language_server.lua b/lsp/emmet_language_server.lua index 82cbbf1d..89c5f4bb 100644 --- a/lsp/emmet_language_server.lua +++ b/lsp/emmet_language_server.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g @olrtg/emmet-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'emmet-language-server', '--stdio' }, diff --git a/lsp/emmet_ls.lua b/lsp/emmet_ls.lua index ba532eb2..7bfede02 100644 --- a/lsp/emmet_ls.lua +++ b/lsp/emmet_ls.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g emmet-ls --- ``` + ---@type vim.lsp.Config return { cmd = { 'emmet-ls', '--stdio' }, diff --git a/lsp/erlangls.lua b/lsp/erlangls.lua index d03975d5..d209d831 100644 --- a/lsp/erlangls.lua +++ b/lsp/erlangls.lua @@ -12,6 +12,7 @@ --- Installation requirements: --- - [Erlang OTP 21+](https://github.com/erlang/otp) --- - [rebar3 3.9.1+](https://github.com/erlang/rebar3) + ---@type vim.lsp.Config return { cmd = { 'erlang_ls' }, diff --git a/lsp/esbonio.lua b/lsp/esbonio.lua index 287c8a30..3b1fcee2 100644 --- a/lsp/esbonio.lua +++ b/lsp/esbonio.lua @@ -42,6 +42,7 @@ --- ``` --- --- A full list and explanation of the available options can be found [here](https://docs.esbon.io/en/esbonio-language-server-v0.16.4/lsp/getting-started.html?editor=neovim-lspconfig#configuration) + ---@type vim.lsp.Config return { cmd = { 'python3', '-m', 'esbonio' }, diff --git a/lsp/facility_language_server.lua b/lsp/facility_language_server.lua index 164b49b1..7a03b877 100644 --- a/lsp/facility_language_server.lua +++ b/lsp/facility_language_server.lua @@ -3,6 +3,7 @@ --- https://github.com/FacilityApi/FacilityLanguageServer --- --- Facility language server protocol (LSP) support. + ---@type vim.lsp.Config return { cmd = { 'facility-language-server' }, diff --git a/lsp/fennel_language_server.lua b/lsp/fennel_language_server.lua index f2f7cb16..8ddf799a 100644 --- a/lsp/fennel_language_server.lua +++ b/lsp/fennel_language_server.lua @@ -3,6 +3,7 @@ --- https://github.com/rydesun/fennel-language-server --- --- Fennel language server protocol (LSP) support. + ---@type vim.lsp.Config return { cmd = { 'fennel-language-server' }, diff --git a/lsp/fish_lsp.lua b/lsp/fish_lsp.lua index e7cb1f5f..05d5cf9a 100644 --- a/lsp/fish_lsp.lua +++ b/lsp/fish_lsp.lua @@ -8,6 +8,7 @@ --- scope aware symbol analysis, per-token hover generation, and many others. --- --- [homepage](https://www.fish-lsp.dev/) + ---@type vim.lsp.Config return { cmd = { 'fish-lsp', 'start' }, diff --git a/lsp/flow.lua b/lsp/flow.lua index 5efdc71c..50568317 100644 --- a/lsp/flow.lua +++ b/lsp/flow.lua @@ -11,6 +11,7 @@ --- ```sh --- npx flow lsp --help --- ``` + ---@type vim.lsp.Config return { cmd = { 'npx', '--no-install', 'flow', 'lsp' }, diff --git a/lsp/flux_lsp.lua b/lsp/flux_lsp.lua index 7a00b55f..c21319a7 100644 --- a/lsp/flux_lsp.lua +++ b/lsp/flux_lsp.lua @@ -5,6 +5,7 @@ --- ```sh --- cargo install --git https://github.com/influxdata/flux-lsp --- ``` + ---@type vim.lsp.Config return { cmd = { 'flux-lsp' }, diff --git a/lsp/fortls.lua b/lsp/fortls.lua index daf91b5d..c85f4a5d 100644 --- a/lsp/fortls.lua +++ b/lsp/fortls.lua @@ -11,6 +11,7 @@ --- Settings to the server can be passed either through the `cmd` option or through --- a local configuration file e.g. `.fortls`. For more information --- see the `fortls` [documentation](https://fortls.fortran-lang.org/options.html). + ---@type vim.lsp.Config return { cmd = { diff --git a/lsp/fstar.lua b/lsp/fstar.lua index 5b3e0d47..749460f1 100644 --- a/lsp/fstar.lua +++ b/lsp/fstar.lua @@ -3,6 +3,7 @@ --- https://github.com/FStarLang/FStar --- --- LSP support is included in FStar. Make sure `fstar.exe` is in your PATH. + ---@type vim.lsp.Config return { cmd = { 'fstar.exe', '--lsp' }, diff --git a/lsp/futhark_lsp.lua b/lsp/futhark_lsp.lua index f8ed4c74..351dda34 100644 --- a/lsp/futhark_lsp.lua +++ b/lsp/futhark_lsp.lua @@ -8,6 +8,7 @@ --- ``` --- futhark lsp --- ``` + ---@type vim.lsp.Config return { cmd = { 'futhark', 'lsp' }, diff --git a/lsp/gdshader_lsp.lua b/lsp/gdshader_lsp.lua index 0bc90057..38a56373 100644 --- a/lsp/gdshader_lsp.lua +++ b/lsp/gdshader_lsp.lua @@ -3,6 +3,7 @@ --- https://github.com/godofavacyn/gdshader-lsp --- --- A language server for the Godot Shading language. + ---@type vim.lsp.Config return { cmd = { 'gdshader-lsp', '--stdio' }, diff --git a/lsp/gh_actions_ls.lua b/lsp/gh_actions_ls.lua index 2a9d8d7f..2e7bd1fd 100644 --- a/lsp/gh_actions_ls.lua +++ b/lsp/gh_actions_ls.lua @@ -13,6 +13,7 @@ --- ```sh --- npm install -g gh-actions-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'gh-actions-language-server', '--stdio' }, diff --git a/lsp/ghcide.lua b/lsp/ghcide.lua index 77581d53..39d4e472 100644 --- a/lsp/ghcide.lua +++ b/lsp/ghcide.lua @@ -4,6 +4,7 @@ --- --- A library for building Haskell IDE tooling. --- "ghcide" isn't for end users now. Use "haskell-language-server" instead of "ghcide". + ---@type vim.lsp.Config return { cmd = { 'ghcide', '--lsp' }, diff --git a/lsp/ghdl_ls.lua b/lsp/ghdl_ls.lua index 85961903..3927cfe9 100644 --- a/lsp/ghdl_ls.lua +++ b/lsp/ghdl_ls.lua @@ -6,6 +6,7 @@ --- --- `ghdl-ls` is part of pyghdl, for installation instructions see --- [the upstream README](https://github.com/ghdl/ghdl/tree/master/pyGHDL/lsp). + ---@type vim.lsp.Config return { cmd = { 'ghdl-ls' }, diff --git a/lsp/ginko_ls.lua b/lsp/ginko_ls.lua index efeebd7a..d9d95df9 100644 --- a/lsp/ginko_ls.lua +++ b/lsp/ginko_ls.lua @@ -7,6 +7,7 @@ --- Install `ginko_ls` from https://github.com/Schottkyc137/ginko and add it to path --- --- `ginko_ls` doesn't require any configuration. + ---@type vim.lsp.Config return { cmd = { 'ginko_ls' }, diff --git a/lsp/glasgow.lua b/lsp/glasgow.lua index 7cf3f3db..5f003b5a 100644 --- a/lsp/glasgow.lua +++ b/lsp/glasgow.lua @@ -20,6 +20,7 @@ --- ```sh --- cargo install glasgow --- ``` + ---@type vim.lsp.Config return { cmd = { 'glasgow' }, diff --git a/lsp/gleam.lua b/lsp/gleam.lua index 3e117a8c..6a560e8b 100644 --- a/lsp/gleam.lua +++ b/lsp/gleam.lua @@ -5,6 +5,7 @@ --- A language server for Gleam Programming Language. --- --- It comes with the Gleam compiler, for installation see: [Installing Gleam](https://gleam.run/getting-started/installing/) + ---@type vim.lsp.Config return { cmd = { 'gleam', 'lsp' }, diff --git a/lsp/glsl_analyzer.lua b/lsp/glsl_analyzer.lua index 510a18fc..5cb96d2b 100644 --- a/lsp/glsl_analyzer.lua +++ b/lsp/glsl_analyzer.lua @@ -3,6 +3,7 @@ --- https://github.com/nolanderc/glsl_analyzer --- --- Language server for GLSL + ---@type vim.lsp.Config return { cmd = { 'glsl_analyzer' }, diff --git a/lsp/glslls.lua b/lsp/glslls.lua index ef2fbcbf..d5a0af59 100644 --- a/lsp/glslls.lua +++ b/lsp/glslls.lua @@ -6,6 +6,7 @@ --- --- `glslls` can be compiled and installed manually, or, if your distribution has access to the AUR, --- via the `glsl-language-server` AUR package + ---@type vim.lsp.Config return { cmd = { 'glslls', '--stdin' }, diff --git a/lsp/gnls.lua b/lsp/gnls.lua index e9621b67..be39e440 100644 --- a/lsp/gnls.lua +++ b/lsp/gnls.lua @@ -12,6 +12,7 @@ --- --- exec node ${GNLS_SRC_DIR}/build/server.js $@ --- ``` + ---@type vim.lsp.Config return { cmd = { 'gnls', '--stdio' }, diff --git a/lsp/golangci_lint_ls.lua b/lsp/golangci_lint_ls.lua index 3ba4a36a..8a95035f 100644 --- a/lsp/golangci_lint_ls.lua +++ b/lsp/golangci_lint_ls.lua @@ -12,6 +12,7 @@ --- go install github.com/nametake/golangci-lint-langserver@latest --- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest --- ``` + ---@type vim.lsp.Config return { cmd = { 'golangci-lint-langserver' }, diff --git a/lsp/grammarly.lua b/lsp/grammarly.lua index 49ab4227..a8ebcd0d 100644 --- a/lsp/grammarly.lua +++ b/lsp/grammarly.lua @@ -9,6 +9,7 @@ --- ``` --- --- WARNING: Since this language server uses Grammarly's API, any document you open with it running is shared with them. Please evaluate their [privacy policy](https://www.grammarly.com/privacy-policy) before using this. + ---@type vim.lsp.Config return { cmd = { 'grammarly-languageserver', '--stdio' }, diff --git a/lsp/groovyls.lua b/lsp/groovyls.lua index e548de60..e1cb8f6a 100644 --- a/lsp/groovyls.lua +++ b/lsp/groovyls.lua @@ -17,6 +17,7 @@ --- ... --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { diff --git a/lsp/guile_ls.lua b/lsp/guile_ls.lua index ad7c69cd..58bb6c7f 100644 --- a/lsp/guile_ls.lua +++ b/lsp/guile_ls.lua @@ -10,6 +10,7 @@ --- Checkout the repo for more info. --- --- Note: This LSP will start on `scheme.guile` filetype. You can set this file type using `:help modeline` or adding https://gitlab.com/HiPhish/guile.vim to your plugins to automatically set it. + ---@type vim.lsp.Config return { cmd = { 'guile-lsp-server' }, diff --git a/lsp/harper_ls.lua b/lsp/harper_ls.lua index ee7906d2..bca5ffed 100644 --- a/lsp/harper_ls.lua +++ b/lsp/harper_ls.lua @@ -16,6 +16,7 @@ --- }, --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'harper-ls', '--stdio' }, diff --git a/lsp/hdl_checker.lua b/lsp/hdl_checker.lua index c6b8b2c3..bd0912cb 100644 --- a/lsp/hdl_checker.lua +++ b/lsp/hdl_checker.lua @@ -3,6 +3,7 @@ --- https://github.com/suoto/hdl_checker --- Language server for hdl-checker. --- Install using: `pip install hdl-checker --upgrade` + ---@type vim.lsp.Config return { cmd = { 'hdl_checker', '--lsp' }, diff --git a/lsp/helm_ls.lua b/lsp/helm_ls.lua index 3931b448..a2deb89c 100644 --- a/lsp/helm_ls.lua +++ b/lsp/helm_ls.lua @@ -9,6 +9,7 @@ --- The default `cmd` assumes that the `helm_ls` binary can be found in `$PATH`. --- --- If need Helm file highlight use [vim-helm](https://github.com/towolf/vim-helm) plugin. + ---@type vim.lsp.Config return { cmd = { 'helm_ls', 'serve' }, diff --git a/lsp/herb_ls.lua b/lsp/herb_ls.lua index 3f83d932..fac5edfa 100644 --- a/lsp/herb_ls.lua +++ b/lsp/herb_ls.lua @@ -20,6 +20,7 @@ --- ```sh --- yarn global add @herb-tools/language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'herb-language-server', '--stdio' }, diff --git a/lsp/hhvm.lua b/lsp/hhvm.lua index 1dfa0277..2016614e 100644 --- a/lsp/hhvm.lua +++ b/lsp/hhvm.lua @@ -5,6 +5,7 @@ --- https://github.com/facebook/hhvm --- See below for how to setup HHVM & typechecker: --- https://docs.hhvm.com/hhvm/getting-started/getting-started + ---@type vim.lsp.Config return { cmd = { 'hh_client', 'lsp' }, diff --git a/lsp/hie.lua b/lsp/hie.lua index 6e53cacc..8d6acac9 100644 --- a/lsp/hie.lua +++ b/lsp/hie.lua @@ -16,6 +16,7 @@ --- } --- } --- ``` + ---@type vim.lsp.Config return { cmd = { 'hie-wrapper', '--lsp' }, diff --git a/lsp/hlasm.lua b/lsp/hlasm.lua index 1c86a24f..9ca794dd 100644 --- a/lsp/hlasm.lua +++ b/lsp/hlasm.lua @@ -3,6 +3,7 @@ --- `hlasm_language_server` is a language server for the High Level Assembler language used on IBM SystemZ mainframes. --- --- To learn how to configure the HLASM language server, see the [HLASM Language Support documentation](https://github.com/eclipse-che4z/che-che4z-lsp-for-hlasm). + ---@type vim.lsp.Config return { cmd = { 'hlasm_language_server' }, diff --git a/lsp/hoon_ls.lua b/lsp/hoon_ls.lua index 0c7cfeb6..165c803d 100644 --- a/lsp/hoon_ls.lua +++ b/lsp/hoon_ls.lua @@ -8,6 +8,7 @@ --- --- Start a fake ~zod with `urbit -F zod`. --- Start the language server at the Urbit Dojo prompt with: `|start %language-server` + ---@type vim.lsp.Config return { cmd = { 'hoon-language-server' }, diff --git a/lsp/html.lua b/lsp/html.lua index ebbcb526..2b53d324 100644 --- a/lsp/html.lua +++ b/lsp/html.lua @@ -21,6 +21,7 @@ --- capabilities = capabilities, --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'vscode-html-language-server', '--stdio' }, diff --git a/lsp/htmx.lua b/lsp/htmx.lua index d7561cad..87b0429a 100644 --- a/lsp/htmx.lua +++ b/lsp/htmx.lua @@ -8,6 +8,7 @@ --- ``` --- --- Lsp is still very much work in progress and experimental. Use at your own risk. + ---@type vim.lsp.Config return { cmd = { 'htmx-lsp' }, diff --git a/lsp/hydra_lsp.lua b/lsp/hydra_lsp.lua index 17e9905e..b4434338 100644 --- a/lsp/hydra_lsp.lua +++ b/lsp/hydra_lsp.lua @@ -3,6 +3,7 @@ --- https://github.com/Retsediv/hydra-lsp --- --- LSP for Hydra Python package config files. + ---@type vim.lsp.Config return { cmd = { 'hydra-lsp' }, diff --git a/lsp/hyprls.lua b/lsp/hyprls.lua index 6bd65e45..64d7cdaf 100644 --- a/lsp/hyprls.lua +++ b/lsp/hyprls.lua @@ -6,6 +6,7 @@ --- ```sh --- go install github.com/hyprland-community/hyprls/cmd/hyprls@latest --- ``` + ---@type vim.lsp.Config return { cmd = { 'hyprls', '--stdio' }, diff --git a/lsp/janet_lsp.lua b/lsp/janet_lsp.lua index 4154678a..7d444e4b 100644 --- a/lsp/janet_lsp.lua +++ b/lsp/janet_lsp.lua @@ -3,6 +3,7 @@ --- https://github.com/CFiggers/janet-lsp --- --- A Language Server Protocol implementation for Janet. + ---@type vim.lsp.Config return { cmd = { diff --git a/lsp/java_language_server.lua b/lsp/java_language_server.lua index 2ba0fe8b..1458254b 100644 --- a/lsp/java_language_server.lua +++ b/lsp/java_language_server.lua @@ -5,6 +5,7 @@ --- Java language server --- --- Point `cmd` to `lang_server_linux.sh` or the equivalent script for macOS/Windows provided by java-language-server + ---@type vim.lsp.Config return { filetypes = { 'java' }, diff --git a/lsp/jedi_language_server.lua b/lsp/jedi_language_server.lua index 9f3e697f..99427a4e 100644 --- a/lsp/jedi_language_server.lua +++ b/lsp/jedi_language_server.lua @@ -3,6 +3,7 @@ --- https://github.com/pappasam/jedi-language-server --- --- `jedi-language-server`, a language server for Python, built on top of jedi + ---@type vim.lsp.Config return { cmd = { 'jedi-language-server' }, diff --git a/lsp/jinja_lsp.lua b/lsp/jinja_lsp.lua index 8b5a433a..c3a034f4 100644 --- a/lsp/jinja_lsp.lua +++ b/lsp/jinja_lsp.lua @@ -13,6 +13,7 @@ --- }, --- } --- ``` + ---@type vim.lsp.Config return { name = 'jinja_lsp', diff --git a/lsp/jqls.lua b/lsp/jqls.lua index e54e3746..2fcdeb30 100644 --- a/lsp/jqls.lua +++ b/lsp/jqls.lua @@ -15,6 +15,7 @@ --- ```lua --- vim.cmd([[au BufRead,BufNewFile *.jq setfiletype jq]]) --- ``` + ---@type vim.lsp.Config return { cmd = { 'jq-lsp' }, diff --git a/lsp/jsonls.lua b/lsp/jsonls.lua index 7c9624c4..93ae1db3 100644 --- a/lsp/jsonls.lua +++ b/lsp/jsonls.lua @@ -20,6 +20,7 @@ --- capabilities = capabilities, --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'vscode-json-language-server', '--stdio' }, diff --git a/lsp/jsonnet_ls.lua b/lsp/jsonnet_ls.lua index 29991b03..c5b0deee 100644 --- a/lsp/jsonnet_ls.lua +++ b/lsp/jsonnet_ls.lua @@ -8,6 +8,7 @@ --- ```sh --- go install github.com/grafana/jsonnet-language-server@latest --- ``` + ---@type vim.lsp.Config return { cmd = { 'jsonnet-language-server' }, diff --git a/lsp/just.lua b/lsp/just.lua index 529ce70b..a5db0582 100644 --- a/lsp/just.lua +++ b/lsp/just.lua @@ -3,6 +3,7 @@ --- https://github.com/terror/just-lsp --- --- `just-lsp` is an LSP for just built on top of the tree-sitter-just parser. + ---@type vim.lsp.Config return { cmd = { 'just-lsp' }, diff --git a/lsp/kcl.lua b/lsp/kcl.lua index 5443da72..08041fc1 100644 --- a/lsp/kcl.lua +++ b/lsp/kcl.lua @@ -4,6 +4,7 @@ --- --- Language server for the KCL configuration and policy language. --- + ---@type vim.lsp.Config return { cmd = { 'kcl-language-server' }, diff --git a/lsp/koka.lua b/lsp/koka.lua index 29ab7faf..c5a3df30 100644 --- a/lsp/koka.lua +++ b/lsp/koka.lua @@ -2,6 +2,7 @@ --- --- https://koka-lang.github.io/koka/doc/index.html --- Koka is a functional programming language with effect types and handlers. + ---@type vim.lsp.Config return { cmd = { 'koka', '--language-server', '--lsstdio' }, diff --git a/lsp/kotlin_lsp.lua b/lsp/kotlin_lsp.lua index 04e6b6e6..cd9e7722 100644 --- a/lsp/kotlin_lsp.lua +++ b/lsp/kotlin_lsp.lua @@ -7,6 +7,7 @@ -- -- These are configuration files for the various build systems supported by -- Kotlin. + ---@type vim.lsp.Config return { filetypes = { 'kotlin' }, diff --git a/lsp/kulala_ls.lua b/lsp/kulala_ls.lua index 318c5998..e56a2cfb 100644 --- a/lsp/kulala_ls.lua +++ b/lsp/kulala_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/mistweaverco/kulala-ls --- --- A minimal language server for HTTP syntax. + ---@type vim.lsp.Config return { cmd = { 'kulala-ls', '--stdio' }, diff --git a/lsp/lelwel_ls.lua b/lsp/lelwel_ls.lua index f486046f..0b04eb12 100644 --- a/lsp/lelwel_ls.lua +++ b/lsp/lelwel_ls.lua @@ -8,6 +8,7 @@ --- ```sh --- cargo install --features="lsp" lelwel --- ``` + ---@type vim.lsp.Config return { cmd = { 'lelwel-ls' }, diff --git a/lsp/lemminx.lua b/lsp/lemminx.lua index 96c09eb1..4aac3a8b 100644 --- a/lsp/lemminx.lua +++ b/lsp/lemminx.lua @@ -5,6 +5,7 @@ --- The easiest way to install the server is to get a binary from https://github.com/redhat-developer/vscode-xml/releases and place it on your PATH. --- --- NOTE to macOS users: Binaries from unidentified developers are blocked by default. If you trust the downloaded binary, run it once, cancel the prompt, then remove the binary from Gatekeeper quarantine with `xattr -d com.apple.quarantine lemminx`. It should now run without being blocked. + ---@type vim.lsp.Config return { cmd = { 'lemminx' }, diff --git a/lsp/lexical.lua b/lsp/lexical.lua index 3def6803..ee6d5951 100644 --- a/lsp/lexical.lua +++ b/lsp/lexical.lua @@ -8,6 +8,7 @@ --- --- **By default, `lexical` doesn't have a `cmd` set.** --- This is because nvim-lspconfig does not make assumptions about your path. + ---@type vim.lsp.Config return { filetypes = { 'elixir', 'eelixir', 'heex', 'surface' }, diff --git a/lsp/lsp_ai.lua b/lsp/lsp_ai.lua index 2b85edaf..ef853e20 100644 --- a/lsp/lsp_ai.lua +++ b/lsp/lsp_ai.lua @@ -9,6 +9,7 @@ --- You will need to provide configuration for the inference backends and models you want to use, as well as configure --- completion/code actions. See the [wiki docs](https://github.com/SilasMarvin/lsp-ai/wiki/Configuration) and --- [examples](https://github.com/SilasMarvin/lsp-ai/blob/main/examples/nvim) for more information. + ---@type vim.lsp.Config return { cmd = { 'lsp-ai' }, diff --git a/lsp/lua_ls.lua b/lsp/lua_ls.lua index 60793fa8..85bd8846 100644 --- a/lsp/lua_ls.lua +++ b/lsp/lua_ls.lua @@ -67,6 +67,7 @@ --- * [Lua.runtime.path](https://luals.github.io/wiki/settings/#runtimepath) --- * [Lua.workspace.library](https://luals.github.io/wiki/settings/#workspacelibrary) --- + ---@type vim.lsp.Config return { cmd = { 'lua-language-server' }, diff --git a/lsp/luau_lsp.lua b/lsp/luau_lsp.lua index 38903bed..86865013 100644 --- a/lsp/luau_lsp.lua +++ b/lsp/luau_lsp.lua @@ -11,6 +11,7 @@ --- ```vim --- autocmd BufRead,BufNewFile *.luau setf luau --- ``` + ---@type vim.lsp.Config return { cmd = { 'luau-lsp', 'lsp' }, diff --git a/lsp/lwc_ls.lua b/lsp/lwc_ls.lua index 0ed76d5b..2e4ded38 100644 --- a/lsp/lwc_ls.lua +++ b/lsp/lwc_ls.lua @@ -16,6 +16,7 @@ --- } --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'lwc-language-server', '--stdio' }, diff --git a/lsp/m68k.lua b/lsp/m68k.lua index d7cc56e9..e54559af 100644 --- a/lsp/m68k.lua +++ b/lsp/m68k.lua @@ -15,6 +15,7 @@ --- ```lua --- vim.g.asmsyntax = 'asm68k' --- ``` + ---@type vim.lsp.Config return { cmd = { 'm68k-lsp-server', '--stdio' }, diff --git a/lsp/marko-js.lua b/lsp/marko-js.lua index 8566ae31..fba69bd1 100644 --- a/lsp/marko-js.lua +++ b/lsp/marko-js.lua @@ -8,6 +8,7 @@ --- ``` --- npm i -g @marko/language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'marko-language-server', '--stdio' }, diff --git a/lsp/matlab_ls.lua b/lsp/matlab_ls.lua index 64c20a8c..6da14a0d 100644 --- a/lsp/matlab_ls.lua +++ b/lsp/matlab_ls.lua @@ -14,6 +14,7 @@ --- }, --- }, --- ``` + ---@type vim.lsp.Config return { cmd = { 'matlab-language-server', '--stdio' }, diff --git a/lsp/metals.lua b/lsp/metals.lua index 3a1478bb..c76ce649 100644 --- a/lsp/metals.lua +++ b/lsp/metals.lua @@ -11,6 +11,7 @@ --- Note: that if you're using [nvim-metals](https://github.com/scalameta/nvim-metals), that plugin fully handles the setup and installation of Metals, and you shouldn't set up Metals both with it and `lspconfig`. --- --- To install Metals, make sure to have [coursier](https://get-coursier.io/docs/cli-installation) installed, and once you do you can install the latest Metals with `cs install metals`. + ---@type vim.lsp.Config return { cmd = { 'metals' }, diff --git a/lsp/millet.lua b/lsp/millet.lua index aca03e85..87207b15 100644 --- a/lsp/millet.lua +++ b/lsp/millet.lua @@ -10,6 +10,7 @@ --- 2. Clone the repo --- 3. Run `cargo build --release --bin millet-ls` --- 4. Move `target/release/millet-ls` to somewhere on your $PATH as `millet` + ---@type vim.lsp.Config return { cmd = { 'millet' }, diff --git a/lsp/mint.lua b/lsp/mint.lua index 6249fa44..fdcc2383 100644 --- a/lsp/mint.lua +++ b/lsp/mint.lua @@ -4,6 +4,7 @@ --- --- Install Mint using the [instructions](https://www.mint-lang.com/install). --- The language server is included since version 0.12.0. + ---@type vim.lsp.Config return { cmd = { 'mint', 'ls' }, diff --git a/lsp/mlir_lsp_server.lua b/lsp/mlir_lsp_server.lua index 5f2dd110..65365f2b 100644 --- a/lsp/mlir_lsp_server.lua +++ b/lsp/mlir_lsp_server.lua @@ -5,6 +5,7 @@ --- The Language Server for the LLVM MLIR language --- --- `mlir-lsp-server` can be installed at the llvm-project repository (https://github.com/llvm/llvm-project) + ---@type vim.lsp.Config return { cmd = { 'mlir-lsp-server' }, diff --git a/lsp/mlir_pdll_lsp_server.lua b/lsp/mlir_pdll_lsp_server.lua index 27402c01..a3b6d888 100644 --- a/lsp/mlir_pdll_lsp_server.lua +++ b/lsp/mlir_pdll_lsp_server.lua @@ -5,6 +5,7 @@ --- The Language Server for the LLVM PDLL language --- --- `mlir-pdll-lsp-server` can be installed at the llvm-project repository (https://github.com/llvm/llvm-project) + ---@type vim.lsp.Config return { cmd = { 'mlir-pdll-lsp-server' }, diff --git a/lsp/mm0_ls.lua b/lsp/mm0_ls.lua index 67f3b5e7..079a08de 100644 --- a/lsp/mm0_ls.lua +++ b/lsp/mm0_ls.lua @@ -6,6 +6,7 @@ --- --- Requires [mm0-rs](https://github.com/digama0/mm0/tree/master/mm0-rs) to be installed --- and available on the `PATH`. + ---@type vim.lsp.Config return { cmd = { 'mm0-rs', 'server' }, diff --git a/lsp/mojo.lua b/lsp/mojo.lua index a4edefcf..b0a9af92 100644 --- a/lsp/mojo.lua +++ b/lsp/mojo.lua @@ -5,6 +5,7 @@ --- `mojo-lsp-server` can be installed [via Modular](https://developer.modular.com/download) --- --- Mojo is a new programming language that bridges the gap between research and production by combining Python syntax and ecosystem with systems programming and metaprogramming features. + ---@type vim.lsp.Config return { cmd = { 'mojo-lsp-server' }, diff --git a/lsp/motoko_lsp.lua b/lsp/motoko_lsp.lua index b9fd6ec4..f4cd7e48 100644 --- a/lsp/motoko_lsp.lua +++ b/lsp/motoko_lsp.lua @@ -3,6 +3,7 @@ --- https://github.com/dfinity/vscode-motoko --- --- Language server for the Motoko programming language. + ---@type vim.lsp.Config return { cmd = { 'motoko-lsp', '--stdio' }, diff --git a/lsp/move_analyzer.lua b/lsp/move_analyzer.lua index 5770a4ad..66708828 100644 --- a/lsp/move_analyzer.lua +++ b/lsp/move_analyzer.lua @@ -11,6 +11,7 @@ --- ``` --- --- See [`move-analyzer`'s doc](https://github.com/move-language/move/blob/1b258a06e3c7d2bc9174578aac92cca3ac19de71/language/move-analyzer/editors/code/README.md#how-to-install) for details. + ---@type vim.lsp.Config return { cmd = { 'move-analyzer' }, diff --git a/lsp/muon.lua b/lsp/muon.lua index e6d4ed8c..160878cf 100644 --- a/lsp/muon.lua +++ b/lsp/muon.lua @@ -1,6 +1,7 @@ ---@brief --- --- https://muon.build + ---@type vim.lsp.Config return { cmd = { 'muon', 'analyze', 'lsp' }, diff --git a/lsp/mutt_ls.lua b/lsp/mutt_ls.lua index 0adee0ec..050b4118 100644 --- a/lsp/mutt_ls.lua +++ b/lsp/mutt_ls.lua @@ -7,6 +7,7 @@ --- ```sh --- pip install mutt-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'mutt-language-server' }, diff --git a/lsp/nelua_lsp.lua b/lsp/nelua_lsp.lua index 524a8ec7..e0feff5e 100644 --- a/lsp/nelua_lsp.lua +++ b/lsp/nelua_lsp.lua @@ -23,6 +23,7 @@ --- cmd = { "nelua", "-L", "/path/to/nelua-lsp/", "--script", "/path/to/nelua-lsp/nelua-lsp.lua" }, --- }) --- ``` + ---@type vim.lsp.Config return { filetypes = { 'nelua' }, diff --git a/lsp/neocmake.lua b/lsp/neocmake.lua index cbf38165..b7e288b4 100644 --- a/lsp/neocmake.lua +++ b/lsp/neocmake.lua @@ -15,6 +15,7 @@ --- capabilities = capabilities, --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'neocmakelsp', '--stdio' }, diff --git a/lsp/nextflow_ls.lua b/lsp/nextflow_ls.lua index 04685e7c..f2635117 100644 --- a/lsp/nextflow_ls.lua +++ b/lsp/nextflow_ls.lua @@ -22,6 +22,7 @@ --- }, --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'java', '-jar', 'nextflow-language-server-all.jar' }, diff --git a/lsp/nextls.lua b/lsp/nextls.lua index d9e3879d..26f60013 100644 --- a/lsp/nextls.lua +++ b/lsp/nextls.lua @@ -3,6 +3,7 @@ --- https://github.com/elixir-tools/next-ls --- --- **By default, next-ls does not set its `cmd`. Please see the following [detailed instructions](https://www.elixir-tools.dev/docs/next-ls/installation/) for possible installation methods.** + ---@type vim.lsp.Config return { filetypes = { 'elixir', 'eelixir', 'heex', 'surface' }, diff --git a/lsp/nginx_language_server.lua b/lsp/nginx_language_server.lua index 6cb7eaf4..4a8c0e87 100644 --- a/lsp/nginx_language_server.lua +++ b/lsp/nginx_language_server.lua @@ -7,6 +7,7 @@ --- ```sh --- pip install -U nginx-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'nginx-language-server' }, diff --git a/lsp/nickel_ls.lua b/lsp/nickel_ls.lua index 0f7238c4..74fe33c4 100644 --- a/lsp/nickel_ls.lua +++ b/lsp/nickel_ls.lua @@ -23,6 +23,7 @@ --- --- In order to have lspconfig detect Nickel filetypes (a prerequisite for autostarting a server), --- install the [Nickel vim plugin](https://github.com/nickel-lang/vim-nickel). + ---@type vim.lsp.Config return { cmd = { 'nls' }, diff --git a/lsp/nil_ls.lua b/lsp/nil_ls.lua index 7f1e49f1..da8ee636 100644 --- a/lsp/nil_ls.lua +++ b/lsp/nil_ls.lua @@ -8,6 +8,7 @@ --- Check the repository README for more information. --- --- _See an example config at https://github.com/oxalica/nil/blob/main/dev/nvim-lsp.nix._ + ---@type vim.lsp.Config return { cmd = { 'nil' }, diff --git a/lsp/nixd.lua b/lsp/nixd.lua index d9b69915..64ff08e7 100644 --- a/lsp/nixd.lua +++ b/lsp/nixd.lua @@ -6,6 +6,7 @@ --- --- If you are using Nix with Flakes support, run `nix profile install github:nix-community/nixd` to install. --- Check the repository README for more information. + ---@type vim.lsp.Config return { cmd = { 'nixd' }, diff --git a/lsp/nushell.lua b/lsp/nushell.lua index 0bc12c2d..0cd85e7a 100644 --- a/lsp/nushell.lua +++ b/lsp/nushell.lua @@ -3,6 +3,7 @@ --- https://github.com/nushell/nushell --- --- Nushell built-in language server. + ---@type vim.lsp.Config return { cmd = { 'nu', '--lsp' }, diff --git a/lsp/nxls.lua b/lsp/nxls.lua index cf98cf1d..1fb9755d 100644 --- a/lsp/nxls.lua +++ b/lsp/nxls.lua @@ -8,6 +8,7 @@ --- ```sh --- npm i -g nxls --- ``` + ---@type vim.lsp.Config return { cmd = { 'nxls', '--stdio' }, diff --git a/lsp/opencl_ls.lua b/lsp/opencl_ls.lua index 8affb07f..53cf67e2 100644 --- a/lsp/opencl_ls.lua +++ b/lsp/opencl_ls.lua @@ -5,6 +5,7 @@ --- Build instructions can be found [here](https://github.com/Galarius/opencl-language-server/blob/main/_dev/build.md). --- --- Prebuilt binaries are available for Linux, macOS and Windows [here](https://github.com/Galarius/opencl-language-server/releases). + ---@type vim.lsp.Config return { cmd = { 'opencl-language-server' }, diff --git a/lsp/openscad_ls.lua b/lsp/openscad_ls.lua index 58140b9d..f0f4e1b5 100644 --- a/lsp/openscad_ls.lua +++ b/lsp/openscad_ls.lua @@ -18,6 +18,7 @@ --- ``` --- --- or by installing a filetype plugin such as https://github.com/sirtaj/vim-openscad + ---@type vim.lsp.Config return { cmd = { 'openscad-language-server' }, diff --git a/lsp/openscad_lsp.lua b/lsp/openscad_lsp.lua index bfbbd5fd..a9b8da04 100644 --- a/lsp/openscad_lsp.lua +++ b/lsp/openscad_lsp.lua @@ -8,6 +8,7 @@ --- ```sh --- cargo install openscad-lsp --- ``` + ---@type vim.lsp.Config return { cmd = { 'openscad-lsp', '--stdio' }, diff --git a/lsp/pact_ls.lua b/lsp/pact_ls.lua index accd6cb3..bb5c392a 100644 --- a/lsp/pact_ls.lua +++ b/lsp/pact_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/kadena-io/pact-lsp --- --- The Pact language server + ---@type vim.lsp.Config return { cmd = { 'pact-lsp' }, diff --git a/lsp/pbls.lua b/lsp/pbls.lua index aa765b77..d6dba22a 100644 --- a/lsp/pbls.lua +++ b/lsp/pbls.lua @@ -10,6 +10,7 @@ --- ``` --- --- pbls is a Language Server for protobuf + ---@type vim.lsp.Config return { cmd = { 'pbls' }, diff --git a/lsp/perlls.lua b/lsp/perlls.lua index 73f1d914..9c664afe 100644 --- a/lsp/perlls.lua +++ b/lsp/perlls.lua @@ -5,6 +5,7 @@ --- `Perl-LanguageServer`, a language server for Perl. --- --- To use the language server, ensure that you have Perl::LanguageServer installed and perl command is on your path. + ---@type vim.lsp.Config return { cmd = { diff --git a/lsp/perlnavigator.lua b/lsp/perlnavigator.lua index 13952287..e33b48e4 100644 --- a/lsp/perlnavigator.lua +++ b/lsp/perlnavigator.lua @@ -19,6 +19,7 @@ --- --- The `contributes.configuration.properties` section of `perlnavigator`'s `package.json` has all available configuration settings. All --- settings have a reasonable default, but, at minimum, you may want to point `perlnavigator` at your `perltidy` and `perlcritic` configurations. + ---@type vim.lsp.Config return { cmd = { 'perlnavigator' }, diff --git a/lsp/perlpls.lua b/lsp/perlpls.lua index b27ed5d7..00be1148 100644 --- a/lsp/perlpls.lua +++ b/lsp/perlpls.lua @@ -6,6 +6,7 @@ --- `PLS`, another language server for Perl. --- --- To use the language server, ensure that you have PLS installed and that it is in your path + ---@type vim.lsp.Config return { cmd = { 'pls' }, diff --git a/lsp/pest_ls.lua b/lsp/pest_ls.lua index 498f959b..6da7f926 100644 --- a/lsp/pest_ls.lua +++ b/lsp/pest_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/pest-parser/pest-ide-tools --- --- Language server for pest grammars. + ---@type vim.lsp.Config return { cmd = { 'pest-language-server' }, diff --git a/lsp/please.lua b/lsp/please.lua index 9fec5264..1d25c445 100644 --- a/lsp/please.lua +++ b/lsp/please.lua @@ -5,6 +5,7 @@ --- High-performance extensible build system for reproducible multi-language builds. --- --- The `plz` binary will automatically install the LSP for you on first run + ---@type vim.lsp.Config return { cmd = { 'plz', 'tool', 'lps' }, diff --git a/lsp/pli.lua b/lsp/pli.lua index 43a9a429..e7e72ca0 100644 --- a/lsp/pli.lua +++ b/lsp/pli.lua @@ -3,6 +3,7 @@ --- `pli_language_server` is a language server for the PL/I language used on IBM SystemZ mainframes. --- --- To learn how to configure the PL/I language server, see the [PL/I Language Support documentation](https://github.com/zowe/zowe-pli-language-support). + ---@type vim.lsp.Config return { cmd = { 'pli_language_server' }, diff --git a/lsp/poryscript_pls.lua b/lsp/poryscript_pls.lua index 1b87a5e5..e8e59b0c 100644 --- a/lsp/poryscript_pls.lua +++ b/lsp/poryscript_pls.lua @@ -3,6 +3,7 @@ --- https://github.com/huderlem/poryscript-pls --- --- Language server for poryscript (a high level scripting language for GBA-era Pokémon decompilation projects) + ---@type vim.lsp.Config return { cmd = { 'poryscript-pls' }, diff --git a/lsp/postgres_lsp.lua b/lsp/postgres_lsp.lua index ddc4a0c7..398123ca 100644 --- a/lsp/postgres_lsp.lua +++ b/lsp/postgres_lsp.lua @@ -3,6 +3,7 @@ --- https://pgtools.dev --- --- A collection of language tools and a Language Server Protocol (LSP) implementation for Postgres, focusing on developer experience and reliable SQL tooling. + ---@type vim.lsp.Config return { cmd = { 'postgrestools', 'lsp-proxy' }, diff --git a/lsp/prismals.lua b/lsp/prismals.lua index cc6101b6..ff234da9 100644 --- a/lsp/prismals.lua +++ b/lsp/prismals.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g @prisma/language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'prisma-language-server', '--stdio' }, diff --git a/lsp/prolog_ls.lua b/lsp/prolog_ls.lua index 9df75da5..aa70d8c4 100644 --- a/lsp/prolog_ls.lua +++ b/lsp/prolog_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/jamesnvc/lsp_server --- --- Language Server Protocol server for SWI-Prolog + ---@type vim.lsp.Config return { cmd = { diff --git a/lsp/prosemd_lsp.lua b/lsp/prosemd_lsp.lua index 653530d9..32d1d64f 100644 --- a/lsp/prosemd_lsp.lua +++ b/lsp/prosemd_lsp.lua @@ -5,6 +5,7 @@ --- An experimental LSP for Markdown. --- --- Please see the manual installation instructions: https://github.com/kitten/prosemd-lsp#manual-installation + ---@type vim.lsp.Config return { cmd = { 'prosemd-lsp', '--stdio' }, diff --git a/lsp/protols.lua b/lsp/protols.lua index 25afa600..87dc0840 100644 --- a/lsp/protols.lua +++ b/lsp/protols.lua @@ -8,6 +8,7 @@ --- ``` --- --- A Language Server for proto3 files. It uses tree-sitter and runs in single file mode. + ---@type vim.lsp.Config return { cmd = { 'protols' }, diff --git a/lsp/psalm.lua b/lsp/psalm.lua index 6541169d..87649815 100644 --- a/lsp/psalm.lua +++ b/lsp/psalm.lua @@ -6,6 +6,7 @@ --- ```sh --- composer global require vimeo/psalm --- ``` + ---@type vim.lsp.Config return { cmd = { 'psalm', '--language-server' }, diff --git a/lsp/pug.lua b/lsp/pug.lua index 1c4aad6f..d04f48fd 100644 --- a/lsp/pug.lua +++ b/lsp/pug.lua @@ -5,6 +5,7 @@ --- An implementation of the Language Protocol Server for [Pug.js](http://pugjs.org) --- --- PugLSP can be installed via `go install github.com/opa-oz/pug-lsp@latest`, or manually downloaded from [releases page](https://github.com/opa-oz/pug-lsp/releases) + ---@type vim.lsp.Config return { cmd = { 'pug-lsp' }, diff --git a/lsp/puppet.lua b/lsp/puppet.lua index 39933416..85cd93a5 100644 --- a/lsp/puppet.lua +++ b/lsp/puppet.lua @@ -14,6 +14,7 @@ --- - Add that repository to $PATH. --- --- - Ensure you can run `puppet-languageserver` from outside the editor-services directory. + ---@type vim.lsp.Config return { cmd = { 'puppet-languageserver', '--stdio' }, diff --git a/lsp/purescriptls.lua b/lsp/purescriptls.lua index ae6e33df..acbd3388 100644 --- a/lsp/purescriptls.lua +++ b/lsp/purescriptls.lua @@ -6,6 +6,7 @@ --- --- * JavaScript package manager such as npm, pnpm, Yarn, et al. --- * Nix under the `nodePackages` and `nodePackages_latest` package sets + ---@type vim.lsp.Config return { cmd = { 'purescript-language-server', '--stdio' }, diff --git a/lsp/pylsp.lua b/lsp/pylsp.lua index 24145849..a17f767f 100644 --- a/lsp/pylsp.lua +++ b/lsp/pylsp.lua @@ -25,6 +25,7 @@ --- ``` --- --- Note: This is a community fork of `pyls`. + ---@type vim.lsp.Config return { cmd = { 'pylsp' }, diff --git a/lsp/pylyzer.lua b/lsp/pylyzer.lua index 137a8cbd..e0086a69 100644 --- a/lsp/pylyzer.lua +++ b/lsp/pylyzer.lua @@ -8,6 +8,7 @@ --- This config sets `ERG_PATH="~/.erg"`. Set `cmd_env` if you want to change it. --- To install Erg, simply extract tarball/zip from [Erg releases](https://github.com/erg-lang/erg/releases/latest) --- to the the path where you want to install it, e.g. `~/.erg`. + ---@type vim.lsp.Config return { cmd = { 'pylyzer', '--server' }, diff --git a/lsp/pyre.lua b/lsp/pyre.lua index b6c95044..a25c8e10 100644 --- a/lsp/pyre.lua +++ b/lsp/pyre.lua @@ -8,6 +8,7 @@ --- which are triggered on save. --- --- Do not report issues for missing features in `pyre` to `lspconfig`. + ---@type vim.lsp.Config return { cmd = { 'pyre', 'persistent' }, diff --git a/lsp/qmlls.lua b/lsp/qmlls.lua index 89d499ff..ef5d5c12 100644 --- a/lsp/qmlls.lua +++ b/lsp/qmlls.lua @@ -5,6 +5,7 @@ --- > QML Language Server is a tool shipped with Qt that helps you write code in your favorite (LSP-supporting) editor. --- --- Source in the [QtDeclarative repository](https://code.qt.io/cgit/qt/qtdeclarative.git/) + ---@type vim.lsp.Config return { cmd = { 'qmlls' }, diff --git a/lsp/quick_lint_js.lua b/lsp/quick_lint_js.lua index 718e0d6d..d1cf87d1 100644 --- a/lsp/quick_lint_js.lua +++ b/lsp/quick_lint_js.lua @@ -5,6 +5,7 @@ --- quick-lint-js finds bugs in JavaScript programs. --- --- See installation [instructions](https://quick-lint-js.com/install/) + ---@type vim.lsp.Config return { cmd = { 'quick-lint-js', '--lsp-server' }, diff --git a/lsp/r_language_server.lua b/lsp/r_language_server.lua index 738c6d54..d393e37a 100644 --- a/lsp/r_language_server.lua +++ b/lsp/r_language_server.lua @@ -9,6 +9,7 @@ --- ```r --- install.packages("languageserver") --- ``` + ---@type vim.lsp.Config return { cmd = { 'R', '--no-echo', '-e', 'languageserver::run()' }, diff --git a/lsp/racket_langserver.lua b/lsp/racket_langserver.lua index 6f0d60b4..f7b98ba6 100644 --- a/lsp/racket_langserver.lua +++ b/lsp/racket_langserver.lua @@ -7,6 +7,7 @@ --- functionality that mimics DrRacket's code tools as closely as possible. --- --- Install via `raco`: `raco pkg install racket-langserver` + ---@type vim.lsp.Config return { cmd = { 'racket', '--lib', 'racket-langserver' }, diff --git a/lsp/raku_navigator.lua b/lsp/raku_navigator.lua index 67e0bb8d..4ffbe94e 100644 --- a/lsp/raku_navigator.lua +++ b/lsp/raku_navigator.lua @@ -19,6 +19,7 @@ --- ``` --- The `contributes.configuration.properties` section of `raku_navigator`'s `package.json` has all available configuration settings. All --- settings have a reasonable default, but, at minimum, you may want to point `raku_navigator` at your `raku_tidy` and `raku_critic` configurations. + ---@type vim.lsp.Config return { cmd = {}, diff --git a/lsp/reason_ls.lua b/lsp/reason_ls.lua index 0e929260..c2ac0303 100644 --- a/lsp/reason_ls.lua +++ b/lsp/reason_ls.lua @@ -3,6 +3,7 @@ --- Reason language server --- --- You can install reason language server from [reason-language-server](https://github.com/jaredly/reason-language-server) repository. + ---@type vim.lsp.Config return { cmd = { 'reason-language-server' }, diff --git a/lsp/remark_ls.lua b/lsp/remark_ls.lua index 45bb4d57..97541d92 100644 --- a/lsp/remark_ls.lua +++ b/lsp/remark_ls.lua @@ -28,6 +28,7 @@ --- ```sh --- npm install remark-preset-lint-recommended --- ``` + ---@type vim.lsp.Config return { cmd = { 'remark-language-server', '--stdio' }, diff --git a/lsp/rescriptls.lua b/lsp/rescriptls.lua index 9c580118..f099d031 100644 --- a/lsp/rescriptls.lua +++ b/lsp/rescriptls.lua @@ -33,6 +33,7 @@ --- }, --- } --- ``` + ---@type vim.lsp.Config return { cmd = { 'rescript-language-server', '--stdio' }, diff --git a/lsp/rls.lua b/lsp/rls.lua index 71b3960c..3c482543 100644 --- a/lsp/rls.lua +++ b/lsp/rls.lua @@ -26,6 +26,7 @@ --- ```lua --- cmd = {"rustup", "run", "nightly", "rls"} --- ``` + ---@type vim.lsp.Config return { cmd = { 'rls' }, diff --git a/lsp/rnix.lua b/lsp/rnix.lua index 8de75646..0260e680 100644 --- a/lsp/rnix.lua +++ b/lsp/rnix.lua @@ -7,6 +7,7 @@ --- To install manually, run `cargo install rnix-lsp`. If you are using nix, rnix-lsp is in nixpkgs. --- --- This server accepts configuration via the `settings` key. + ---@type vim.lsp.Config return { cmd = { 'rnix-lsp' }, diff --git a/lsp/robotcode.lua b/lsp/robotcode.lua index d3fca8cb..a30722e0 100644 --- a/lsp/robotcode.lua +++ b/lsp/robotcode.lua @@ -3,6 +3,7 @@ --- https://robotcode.io --- --- RobotCode - Language Server Protocol implementation for Robot Framework. + ---@type vim.lsp.Config return { cmd = { 'robotcode', 'language-server' }, diff --git a/lsp/robotframework_ls.lua b/lsp/robotframework_ls.lua index 2f3e01f3..53a9f4f1 100644 --- a/lsp/robotframework_ls.lua +++ b/lsp/robotframework_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/robocorp/robotframework-lsp --- --- Language Server Protocol implementation for Robot Framework. + ---@type vim.lsp.Config return { cmd = { 'robotframework_ls' }, diff --git a/lsp/roc_ls.lua b/lsp/roc_ls.lua index 6a2f923a..fd0c00b4 100644 --- a/lsp/roc_ls.lua +++ b/lsp/roc_ls.lua @@ -4,6 +4,7 @@ --- --- The built-in language server for the Roc programming language. --- [Installation](https://github.com/roc-lang/roc/tree/main/crates/language_server#installing) + ---@type vim.lsp.Config return { cmd = { 'roc_language_server' }, diff --git a/lsp/rome.lua b/lsp/rome.lua index 5b929323..d6c787ea 100644 --- a/lsp/rome.lua +++ b/lsp/rome.lua @@ -9,6 +9,7 @@ --- ```sh --- npm install [-g] rome --- ``` + ---@type vim.lsp.Config return { cmd = { 'rome', 'lsp-proxy' }, diff --git a/lsp/rpmspec.lua b/lsp/rpmspec.lua index 36a58b1f..b953f75f 100644 --- a/lsp/rpmspec.lua +++ b/lsp/rpmspec.lua @@ -9,6 +9,7 @@ --- ```sh --- pip install rpm-spec-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'rpm_lsp_server', '--stdio' }, diff --git a/lsp/rubocop.lua b/lsp/rubocop.lua index 079cb619..e24e6161 100644 --- a/lsp/rubocop.lua +++ b/lsp/rubocop.lua @@ -1,6 +1,7 @@ ---@brief --- --- https://github.com/rubocop/rubocop + ---@type vim.lsp.Config return { cmd = { 'rubocop', '--lsp' }, diff --git a/lsp/ruby_lsp.lua b/lsp/ruby_lsp.lua index e987e229..9f32aabc 100644 --- a/lsp/ruby_lsp.lua +++ b/lsp/ruby_lsp.lua @@ -11,6 +11,7 @@ --- ```sh --- gem install ruby-lsp --- ``` + ---@type vim.lsp.Config return { cmd = { 'ruby-lsp' }, diff --git a/lsp/ruff.lua b/lsp/ruff.lua index cc173610..7fb61eaf 100644 --- a/lsp/ruff.lua +++ b/lsp/ruff.lua @@ -25,6 +25,7 @@ --- ``` --- --- Refer to the [documentation](https://docs.astral.sh/ruff/editors/) for more details. + ---@type vim.lsp.Config return { cmd = { 'ruff', 'server' }, diff --git a/lsp/ruff_lsp.lua b/lsp/ruff_lsp.lua index c3867bd1..59b093e5 100644 --- a/lsp/ruff_lsp.lua +++ b/lsp/ruff_lsp.lua @@ -20,6 +20,7 @@ --- } --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'ruff-lsp' }, diff --git a/lsp/rune_languageserver.lua b/lsp/rune_languageserver.lua index ca9c4d98..d8933750 100644 --- a/lsp/rune_languageserver.lua +++ b/lsp/rune_languageserver.lua @@ -4,6 +4,7 @@ --- --- A language server for the [Rune](https://rune-rs.github.io/) Language, --- an embeddable dynamic programming language for Rust + ---@type vim.lsp.Config return { cmd = { 'rune-languageserver' }, diff --git a/lsp/salt_ls.lua b/lsp/salt_ls.lua index c5c62c4e..6bbb1d20 100644 --- a/lsp/salt_ls.lua +++ b/lsp/salt_ls.lua @@ -7,6 +7,7 @@ --- ```sh --- pip install salt-lsp --- ``` + ---@type vim.lsp.Config return { cmd = { 'salt_lsp_server' }, diff --git a/lsp/scry.lua b/lsp/scry.lua index d9729f4a..77431d70 100644 --- a/lsp/scry.lua +++ b/lsp/scry.lua @@ -3,6 +3,7 @@ --- https://github.com/crystal-lang-tools/scry --- --- Crystal language server. + ---@type vim.lsp.Config return { cmd = { 'scry' }, diff --git a/lsp/selene3p_ls.lua b/lsp/selene3p_ls.lua index 0fd7e8c0..0413b11f 100644 --- a/lsp/selene3p_ls.lua +++ b/lsp/selene3p_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/antonk52/lua-3p-language-servers --- --- 3rd party Language Server for Selene lua linter + ---@type vim.lsp.Config return { cmd = { 'selene-3p-language-server' }, diff --git a/lsp/serve_d.lua b/lsp/serve_d.lua index 98d480c6..d0e00c6a 100644 --- a/lsp/serve_d.lua +++ b/lsp/serve_d.lua @@ -4,6 +4,7 @@ --- --- Microsoft language server protocol implementation for D using workspace-d. --- Download a binary from https://github.com/Pure-D/serve-d/releases and put it in your $PATH. + ---@type vim.lsp.Config return { cmd = { 'serve-d' }, diff --git a/lsp/shopify_theme_ls.lua b/lsp/shopify_theme_ls.lua index 0f42f783..8dc7b478 100644 --- a/lsp/shopify_theme_ls.lua +++ b/lsp/shopify_theme_ls.lua @@ -7,6 +7,7 @@ --- `shopify` can be installed via npm `npm install -g @shopify/cli`. --- --- Note: This LSP already includes Theme Check so you don't need to use the `theme_check` server configuration as well. + ---@type vim.lsp.Config return { cmd = { diff --git a/lsp/sixtyfps.lua b/lsp/sixtyfps.lua index 11e4d65b..90cf478c 100644 --- a/lsp/sixtyfps.lua +++ b/lsp/sixtyfps.lua @@ -17,6 +17,7 @@ --- ``` --- --- or by installing a filetype plugin such as https://github.com/RustemB/sixtyfps-vim + ---@type vim.lsp.Config return { cmd = { 'sixtyfps-lsp' }, diff --git a/lsp/slint_lsp.lua b/lsp/slint_lsp.lua index 47986d04..dedc1470 100644 --- a/lsp/slint_lsp.lua +++ b/lsp/slint_lsp.lua @@ -15,6 +15,7 @@ --- ```lua --- vim.cmd [[ autocmd BufRead,BufNewFile *.slint set filetype=slint ]] --- ``` + ---@type vim.lsp.Config return { cmd = { 'slint-lsp' }, diff --git a/lsp/snakeskin_ls.lua b/lsp/snakeskin_ls.lua index eff8d571..82a3eefd 100644 --- a/lsp/snakeskin_ls.lua +++ b/lsp/snakeskin_ls.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g @snakeskin/cli --- ``` + ---@type vim.lsp.Config return { cmd = { 'snakeskin-cli', 'lsp', '--stdio' }, diff --git a/lsp/snyk_ls.lua b/lsp/snyk_ls.lua index 2d61a258..32d0183d 100644 --- a/lsp/snyk_ls.lua +++ b/lsp/snyk_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/snyk/snyk-ls --- --- LSP for Snyk Open Source, Snyk Infrastructure as Code, and Snyk Code. + ---@type vim.lsp.Config return { cmd = { 'snyk-ls' }, diff --git a/lsp/solang.lua b/lsp/solang.lua index 8f992ad8..ab65531f 100644 --- a/lsp/solang.lua +++ b/lsp/solang.lua @@ -10,6 +10,7 @@ --- * Hover --- --- There is currently no support for completion, goto definition, references, or other functionality. + ---@type vim.lsp.Config return { cmd = { 'solang', 'language-server', '--target', 'evm' }, diff --git a/lsp/solargraph.lua b/lsp/solargraph.lua index 86bcc5bd..6f52195c 100644 --- a/lsp/solargraph.lua +++ b/lsp/solargraph.lua @@ -9,6 +9,7 @@ --- ```sh --- gem install --user-install solargraph --- ``` + ---@type vim.lsp.Config return { cmd = { 'solargraph', 'stdio' }, diff --git a/lsp/solidity.lua b/lsp/solidity.lua index 846a9ef4..cdcdbb57 100644 --- a/lsp/solidity.lua +++ b/lsp/solidity.lua @@ -32,6 +32,7 @@ --- ``` --- --- You can omit the node_modules as well. + ---@type vim.lsp.Config return { cmd = { 'solidity-ls', '--stdio' }, diff --git a/lsp/solidity_ls.lua b/lsp/solidity_ls.lua index b1e9f543..207ff9b0 100644 --- a/lsp/solidity_ls.lua +++ b/lsp/solidity_ls.lua @@ -9,6 +9,7 @@ --- ``` --- --- `vscode-solidity-server` is a language server for the Solidity language ported from the VSCode "solidity" extension. + ---@type vim.lsp.Config return { cmd = { 'vscode-solidity-server', '--stdio' }, diff --git a/lsp/solidity_ls_nomicfoundation.lua b/lsp/solidity_ls_nomicfoundation.lua index b0d1ed62..7b14c13a 100644 --- a/lsp/solidity_ls_nomicfoundation.lua +++ b/lsp/solidity_ls_nomicfoundation.lua @@ -9,6 +9,7 @@ --- ``` --- --- A language server for the Solidity programming language, built by the Nomic Foundation for the Ethereum community. + ---@type vim.lsp.Config return { cmd = { 'nomicfoundation-solidity-language-server', '--stdio' }, diff --git a/lsp/somesass_ls.lua b/lsp/somesass_ls.lua index 76a06c79..6f17952b 100644 --- a/lsp/somesass_ls.lua +++ b/lsp/somesass_ls.lua @@ -15,6 +15,7 @@ --- - Rich documentation through SassDoc. --- - Language features for %placeholder-selectors, both when using them and writing them. --- - Suggestions and hover info for built-in Sass modules, when used with @use. + ---@type vim.lsp.Config return { name = 'somesass_ls', diff --git a/lsp/sorbet.lua b/lsp/sorbet.lua index e301e5fb..fe4dee6d 100644 --- a/lsp/sorbet.lua +++ b/lsp/sorbet.lua @@ -10,6 +10,7 @@ --- ```sh --- gem install sorbet --- ``` + ---@type vim.lsp.Config return { cmd = { 'srb', 'tc', '--lsp' }, diff --git a/lsp/spyglassmc_language_server.lua b/lsp/spyglassmc_language_server.lua index 07720c89..61d72050 100644 --- a/lsp/spyglassmc_language_server.lua +++ b/lsp/spyglassmc_language_server.lua @@ -15,6 +15,7 @@ --- `autocmd BufNewFile,BufRead *.mcfunction set filetype=mcfunction` --- --- This is automatically done by [CrystalAlpha358/vim-mcfunction](https://github.com/CrystalAlpha358/vim-mcfunction), which also provide syntax highlight. + ---@type vim.lsp.Config return { cmd = { 'spyglassmc-language-server', '--stdio' }, diff --git a/lsp/sqls.lua b/lsp/sqls.lua index f9af7d9a..994c45ed 100644 --- a/lsp/sqls.lua +++ b/lsp/sqls.lua @@ -9,6 +9,7 @@ --- }) --- ``` --- Sqls can be installed via `go install github.com/sqls-server/sqls@latest`. Instructions for compiling Sqls from the source can be found at [sqls-server/sqls](https://github.com/sqls-server/sqls). + ---@type vim.lsp.Config return { cmd = { 'sqls' }, diff --git a/lsp/sqruff.lua b/lsp/sqruff.lua index e84d7c2a..5f87919e 100644 --- a/lsp/sqruff.lua +++ b/lsp/sqruff.lua @@ -4,6 +4,7 @@ --- --- `sqruff` can be installed by following the instructions [here](https://github.com/quarylabs/sqruff?tab=readme-ov-file#installation) --- + ---@type vim.lsp.Config return { cmd = { 'sqruff', 'lsp' }, diff --git a/lsp/standardrb.lua b/lsp/standardrb.lua index e40c4b42..25a94aa3 100644 --- a/lsp/standardrb.lua +++ b/lsp/standardrb.lua @@ -3,6 +3,7 @@ --- https://github.com/testdouble/standard --- --- Ruby Style Guide, with linter & automatic code fixer. + ---@type vim.lsp.Config return { cmd = { 'standardrb', '--lsp' }, diff --git a/lsp/starlark_rust.lua b/lsp/starlark_rust.lua index efa96560..78980dbc 100644 --- a/lsp/starlark_rust.lua +++ b/lsp/starlark_rust.lua @@ -7,6 +7,7 @@ --- but does not support refactorings. --- --- It can be installed with cargo: https://crates.io/crates/starlark + ---@type vim.lsp.Config return { cmd = { 'starlark', '--lsp' }, diff --git a/lsp/starpls.lua b/lsp/starpls.lua index ae4fd78e..921ed715 100644 --- a/lsp/starpls.lua +++ b/lsp/starpls.lua @@ -3,6 +3,7 @@ --- https://github.com/withered-magic/starpls --- --- `starpls` is an LSP implementation for Starlark. Installation instructions can be found in the project's README. + ---@type vim.lsp.Config return { cmd = { 'starpls' }, diff --git a/lsp/statix.lua b/lsp/statix.lua index f52e518c..5c1ef326 100644 --- a/lsp/statix.lua +++ b/lsp/statix.lua @@ -3,6 +3,7 @@ --- https://github.com/nerdypepper/statix --- --- lints and suggestions for the nix programming language + ---@type vim.lsp.Config return { cmd = { 'statix', 'check', '--stdin' }, diff --git a/lsp/steep.lua b/lsp/steep.lua index ba6b1ca9..a617101b 100644 --- a/lsp/steep.lua +++ b/lsp/steep.lua @@ -5,6 +5,7 @@ --- `steep` is a static type checker for Ruby. --- --- You need `Steepfile` to make it work. Generate it with `steep init`. + ---@type vim.lsp.Config return { cmd = { 'steep', 'langserver' }, diff --git a/lsp/stimulus_ls.lua b/lsp/stimulus_ls.lua index 6e95cc87..83193340 100644 --- a/lsp/stimulus_ls.lua +++ b/lsp/stimulus_ls.lua @@ -13,6 +13,7 @@ --- ```sh --- yarn global add stimulus-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'stimulus-language-server', '--stdio' }, diff --git a/lsp/stylua3p_ls.lua b/lsp/stylua3p_ls.lua index 3474692c..693e7925 100644 --- a/lsp/stylua3p_ls.lua +++ b/lsp/stylua3p_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/antonk52/lua-3p-language-servers --- --- 3rd party Language Server for Stylua lua formatter + ---@type vim.lsp.Config return { cmd = { 'stylua-3p-language-server' }, diff --git a/lsp/superhtml.lua b/lsp/superhtml.lua index b6083a10..522b62b5 100644 --- a/lsp/superhtml.lua +++ b/lsp/superhtml.lua @@ -15,6 +15,7 @@ --- filetypes = { 'superhtml' } --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'superhtml', 'lsp' }, diff --git a/lsp/svls.lua b/lsp/svls.lua index 74ff1481..4fea1170 100644 --- a/lsp/svls.lua +++ b/lsp/svls.lua @@ -8,6 +8,7 @@ --- ```sh --- cargo install svls --- ``` + ---@type vim.lsp.Config return { cmd = { 'svls' }, diff --git a/lsp/swift_mesonls.lua b/lsp/swift_mesonls.lua index 960fbdd0..f2670d72 100644 --- a/lsp/swift_mesonls.lua +++ b/lsp/swift_mesonls.lua @@ -3,6 +3,7 @@ --- https://github.com/JCWasmx86/Swift-MesonLSP --- --- Meson language server written in Swift + ---@type vim.lsp.Config return { cmd = { 'Swift-MesonLSP', '--lsp' }, diff --git a/lsp/syntax_tree.lua b/lsp/syntax_tree.lua index 19305972..ece52e47 100644 --- a/lsp/syntax_tree.lua +++ b/lsp/syntax_tree.lua @@ -12,6 +12,7 @@ --- ```sh --- gem install syntax_tree --- ``` + ---@type vim.lsp.Config return { cmd = { 'stree', 'lsp' }, diff --git a/lsp/systemd_ls.lua b/lsp/systemd_ls.lua index fc184247..b93f68a9 100644 --- a/lsp/systemd_ls.lua +++ b/lsp/systemd_ls.lua @@ -8,6 +8,7 @@ --- ``` --- --- Language Server for Systemd unit files + ---@type vim.lsp.Config return { cmd = { 'systemd-language-server' }, diff --git a/lsp/tabby_ml.lua b/lsp/tabby_ml.lua index ded88840..e21db46b 100644 --- a/lsp/tabby_ml.lua +++ b/lsp/tabby_ml.lua @@ -9,6 +9,7 @@ --- ```sh --- npm install --global tabby-agent --- ``` + ---@type vim.lsp.Config return { cmd = { 'tabby-agent', '--lsp', '--stdio' }, diff --git a/lsp/taplo.lua b/lsp/taplo.lua index c1b7bd7c..694fafa9 100644 --- a/lsp/taplo.lua +++ b/lsp/taplo.lua @@ -8,6 +8,7 @@ --- ```sh --- cargo install --features lsp --locked taplo-cli --- ``` + ---@type vim.lsp.Config return { cmd = { 'taplo', 'lsp', 'stdio' }, diff --git a/lsp/teal_ls.lua b/lsp/teal_ls.lua index c3242227..f68a5a7d 100644 --- a/lsp/teal_ls.lua +++ b/lsp/teal_ls.lua @@ -11,6 +11,7 @@ --- * "--log-mode=by_date" - Enable logging in $HOME/.cache/teal-language-server. Log name will be date + pid of process --- * "--log-mode=by_proj_path" - Enable logging in $HOME/.cache/teal-language-server. Log name will be project path + pid of process --- * "--verbose=true" - Increases log level. Does nothing unless log-mode is set + ---@type vim.lsp.Config return { cmd = { diff --git a/lsp/templ.lua b/lsp/templ.lua index d7536e1c..f5333cdc 100644 --- a/lsp/templ.lua +++ b/lsp/templ.lua @@ -3,6 +3,7 @@ --- https://templ.guide --- --- The official language server for the templ HTML templating language. + ---@type vim.lsp.Config return { cmd = { 'templ', 'lsp' }, diff --git a/lsp/termux_language_server.lua b/lsp/termux_language_server.lua index 7358c444..d8799fe4 100644 --- a/lsp/termux_language_server.lua +++ b/lsp/termux_language_server.lua @@ -3,6 +3,7 @@ --- https://github.com/termux/termux-language-server --- --- Language server for various bash scripts such as Arch PKGBUILD, Gentoo ebuild, Termux build.sh, etc. + ---@type vim.lsp.Config return { cmd = { 'termux-language-server' }, diff --git a/lsp/terraform_lsp.lua b/lsp/terraform_lsp.lua index 384dafd5..bd251571 100644 --- a/lsp/terraform_lsp.lua +++ b/lsp/terraform_lsp.lua @@ -27,6 +27,7 @@ --- - compatibility with a single particular Terraform (0.12.20 at time of writing) --- - configs designed for other 0.12 versions may work, but interpretation may be inaccurate --- - less stability (due to reliance on Terraform's own internal packages) + ---@type vim.lsp.Config return { cmd = { 'terraform-lsp' }, diff --git a/lsp/terraformls.lua b/lsp/terraformls.lua index bb358735..f5897f28 100644 --- a/lsp/terraformls.lua +++ b/lsp/terraformls.lua @@ -31,6 +31,7 @@ --- [which is not supported by terraform-ls](https://github.com/hashicorp/terraform-ls/blob/main/docs/features.md). --- Instead you should use `init_options` which passes the settings as part of the LSP initialize call --- [as is required by terraform-ls](https://github.com/hashicorp/terraform-ls/blob/main/docs/SETTINGS.md#how-to-pass-settings). + ---@type vim.lsp.Config return { cmd = { 'terraform-ls', 'serve' }, diff --git a/lsp/textlsp.lua b/lsp/textlsp.lua index 56bd251c..0a2b5ed4 100644 --- a/lsp/textlsp.lua +++ b/lsp/textlsp.lua @@ -10,6 +10,7 @@ --- For quick testing, LanguageTool is enabled in the default `nvim-lspconfig` configuration. --- --- To install run: `pip install textLSP` + ---@type vim.lsp.Config return { cmd = { 'textlsp' }, diff --git a/lsp/tflint.lua b/lsp/tflint.lua index da689a87..60af7a8a 100644 --- a/lsp/tflint.lua +++ b/lsp/tflint.lua @@ -4,6 +4,7 @@ --- --- A pluggable Terraform linter that can act as lsp server. --- Installation instructions can be found in https://github.com/terraform-linters/tflint#installation. + ---@type vim.lsp.Config return { cmd = { 'tflint', '--langserver' }, diff --git a/lsp/thriftls.lua b/lsp/thriftls.lua index 981d7f5a..234378bb 100644 --- a/lsp/thriftls.lua +++ b/lsp/thriftls.lua @@ -3,6 +3,7 @@ --- https://github.com/joyme123/thrift-ls --- --- you can install thriftls by mason or download binary here: https://github.com/joyme123/thrift-ls/releases + ---@type vim.lsp.Config return { cmd = { 'thriftls' }, diff --git a/lsp/tilt_ls.lua b/lsp/tilt_ls.lua index c7775ce0..bc91d2f8 100644 --- a/lsp/tilt_ls.lua +++ b/lsp/tilt_ls.lua @@ -9,6 +9,7 @@ --- ```vim --- autocmd BufRead Tiltfile setf=tiltfile --- ``` + ---@type vim.lsp.Config return { cmd = { 'tilt', 'lsp', 'start' }, diff --git a/lsp/tofu_ls.lua b/lsp/tofu_ls.lua index 6ff3c620..5c01f66d 100644 --- a/lsp/tofu_ls.lua +++ b/lsp/tofu_ls.lua @@ -2,6 +2,7 @@ --- --- [OpenTofu Language Server](https://github.com/opentofu/tofu-ls) --- + ---@type vim.lsp.Config return { cmd = { 'tofu-ls', 'serve' }, diff --git a/lsp/tombi.lua b/lsp/tombi.lua index 5b369202..1f91ba72 100644 --- a/lsp/tombi.lua +++ b/lsp/tombi.lua @@ -4,6 +4,7 @@ --- --- Language server for Tombi, a TOML toolkit. --- + ---@type vim.lsp.Config return { cmd = { 'tombi', 'lsp' }, diff --git a/lsp/ts_query_ls.lua b/lsp/ts_query_ls.lua index 48abacb3..25f966c2 100644 --- a/lsp/ts_query_ls.lua +++ b/lsp/ts_query_ls.lua @@ -25,6 +25,7 @@ --- }, --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'ts_query_ls' }, diff --git a/lsp/tsgo.lua b/lsp/tsgo.lua index 20730c50..9409b4e3 100644 --- a/lsp/tsgo.lua +++ b/lsp/tsgo.lua @@ -13,6 +13,7 @@ --- --- It is recommended to use the same version of TypeScript in all packages, and therefore have it available in your workspace root. The location of the TypeScript binary will be determined automatically, but only once. --- + ---@type vim.lsp.Config return { cmd = { 'tsgo', '--lsp', '--stdio' }, diff --git a/lsp/tsp_server.lua b/lsp/tsp_server.lua index 1023b99d..bfa84703 100644 --- a/lsp/tsp_server.lua +++ b/lsp/tsp_server.lua @@ -8,6 +8,7 @@ --- ```sh --- npm install -g @typespec/compiler --- ``` + ---@type vim.lsp.Config return { cmd = { 'tsp-server', '--stdio' }, diff --git a/lsp/ttags.lua b/lsp/ttags.lua index 76663bad..a3299999 100644 --- a/lsp/ttags.lua +++ b/lsp/ttags.lua @@ -1,6 +1,7 @@ ---@brief --- --- https://github.com/npezza93/ttags + ---@type vim.lsp.Config return { cmd = { 'ttags', 'lsp' }, diff --git a/lsp/turbo_ls.lua b/lsp/turbo_ls.lua index 593d8c31..3fdeca9f 100644 --- a/lsp/turbo_ls.lua +++ b/lsp/turbo_ls.lua @@ -13,6 +13,7 @@ --- ```sh --- yarn global add turbo-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'turbo-language-server', '--stdio' }, diff --git a/lsp/tvm_ffi_navigator.lua b/lsp/tvm_ffi_navigator.lua index a835b07b..992e853b 100644 --- a/lsp/tvm_ffi_navigator.lua +++ b/lsp/tvm_ffi_navigator.lua @@ -6,6 +6,7 @@ --- --- FFI navigator can be installed with `pip install ffi-navigator`, buf for more details, please see --- https://github.com/tqchen/ffi-navigator?tab=readme-ov-file#installation + ---@type vim.lsp.Config return { cmd = { 'python', '-m', 'ffi_navigator.langserver' }, diff --git a/lsp/twiggy_language_server.lua b/lsp/twiggy_language_server.lua index 86e5259f..7b282495 100644 --- a/lsp/twiggy_language_server.lua +++ b/lsp/twiggy_language_server.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g twiggy-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'twiggy-language-server', '--stdio' }, @@ -5,6 +5,7 @@ --- A Language Server Protocol implementation for ty, an extremely fast Python type checker and language server, written in Rust. --- --- For installation instructions, please refer to the [ty documentation](https://github.com/astral-sh/ty/blob/main/README.md#getting-started). + ---@type vim.lsp.Config return { cmd = { 'ty', 'server' }, diff --git a/lsp/typeprof.lua b/lsp/typeprof.lua index 5b756cf8..7fa34411 100644 --- a/lsp/typeprof.lua +++ b/lsp/typeprof.lua @@ -3,6 +3,7 @@ --- https://github.com/ruby/typeprof --- --- `typeprof` is the built-in analysis and LSP tool for Ruby 3.1+. + ---@type vim.lsp.Config return { cmd = { 'typeprof', '--lsp', '--stdio' }, diff --git a/lsp/typos_lsp.lua b/lsp/typos_lsp.lua index af53ca78..23b39f24 100644 --- a/lsp/typos_lsp.lua +++ b/lsp/typos_lsp.lua @@ -6,6 +6,7 @@ --- A Language Server Protocol implementation for Typos, a low false-positive --- source code spell checker, written in Rust. Download it from the releases page --- on GitHub: https://github.com/tekumara/typos-lsp/releases + ---@type vim.lsp.Config return { cmd = { 'typos-lsp' }, diff --git a/lsp/typst_lsp.lua b/lsp/typst_lsp.lua index 8176de7a..966528bf 100644 --- a/lsp/typst_lsp.lua +++ b/lsp/typst_lsp.lua @@ -3,6 +3,7 @@ --- https://github.com/nvarner/typst-lsp --- --- Language server for Typst. + ---@type vim.lsp.Config return { cmd = { 'typst-lsp' }, diff --git a/lsp/uiua.lua b/lsp/uiua.lua index 8f8ec0ae..eb188934 100644 --- a/lsp/uiua.lua +++ b/lsp/uiua.lua @@ -5,6 +5,7 @@ --- The builtin language server of the Uiua interpreter. --- --- The Uiua interpreter can be installed with `cargo install uiua` + ---@type vim.lsp.Config return { cmd = { 'uiua', 'lsp' }, diff --git a/lsp/ungrammar_languageserver.lua b/lsp/ungrammar_languageserver.lua index 5fb2144c..dc557aa4 100644 --- a/lsp/ungrammar_languageserver.lua +++ b/lsp/ungrammar_languageserver.lua @@ -7,6 +7,7 @@ --- ```sh --- npm i ungrammar-languageserver -g --- ``` + ---@type vim.lsp.Config return { cmd = { 'ungrammar-languageserver', '--stdio' }, diff --git a/lsp/unocss.lua b/lsp/unocss.lua index 82edea31..95bb1053 100644 --- a/lsp/unocss.lua +++ b/lsp/unocss.lua @@ -6,6 +6,7 @@ --- ```sh --- npm i unocss-language-server -g --- ``` + ---@type vim.lsp.Config return { cmd = { 'unocss-language-server', '--stdio' }, diff --git a/lsp/uvls.lua b/lsp/uvls.lua index 421933c1..8987a2f5 100644 --- a/lsp/uvls.lua +++ b/lsp/uvls.lua @@ -14,6 +14,7 @@ --- ```lua --- vim.cmd([[au BufRead,BufNewFile *.uvl setfiletype uvl]]) --- ``` + ---@type vim.lsp.Config return { cmd = { 'uvls' }, diff --git a/lsp/v_analyzer.lua b/lsp/v_analyzer.lua index 14e5b39b..f46d3fce 100644 --- a/lsp/v_analyzer.lua +++ b/lsp/v_analyzer.lua @@ -5,6 +5,7 @@ --- V language server. --- --- `v-analyzer` can be installed by following the instructions [here](https://github.com/vlang/v-analyzer#installation). + ---@type vim.lsp.Config return { cmd = { 'v-analyzer' }, diff --git a/lsp/vacuum.lua b/lsp/vacuum.lua index ca726081..f5c5bd0c 100644 --- a/lsp/vacuum.lua +++ b/lsp/vacuum.lua @@ -14,6 +14,7 @@ --- }, --- } --- ``` + ---@type vim.lsp.Config return { cmd = { 'vacuum', 'language-server' }, diff --git a/lsp/vale_ls.lua b/lsp/vale_ls.lua index 4daa7d84..2021efae 100644 --- a/lsp/vale_ls.lua +++ b/lsp/vale_ls.lua @@ -3,6 +3,7 @@ --- https://github.com/errata-ai/vale-ls --- --- An implementation of the Language Server Protocol (LSP) for the Vale command-line tool. + ---@type vim.lsp.Config return { cmd = { 'vale-ls' }, diff --git a/lsp/vectorcode_server.lua b/lsp/vectorcode_server.lua index 7a560d34..095c453b 100644 --- a/lsp/vectorcode_server.lua +++ b/lsp/vectorcode_server.lua @@ -2,6 +2,7 @@ --- https://github.com/Davidyz/VectorCode --- --- A Language Server Protocol implementation for VectorCode, a code repository indexing tool. + ---@type vim.lsp.Config return { cmd = { 'vectorcode-server' }, diff --git a/lsp/verible.lua b/lsp/verible.lua index 79e6c15b..d2629d67 100644 --- a/lsp/verible.lua +++ b/lsp/verible.lua @@ -8,6 +8,7 @@ --- and placed in a directory on PATH. --- --- See https://github.com/chipsalliance/verible/tree/master/verilog/tools/ls/README.md for options. + ---@type vim.lsp.Config return { cmd = { 'verible-verilog-ls' }, diff --git a/lsp/veridian.lua b/lsp/veridian.lua index 2f576d36..2e74e50a 100644 --- a/lsp/veridian.lua +++ b/lsp/veridian.lua @@ -15,6 +15,7 @@ --- ``` --- cargo install --git https://github.com/vivekmalneedi/veridian.git --- ``` + ---@type vim.lsp.Config return { cmd = { 'veridian' }, diff --git a/lsp/veryl_ls.lua b/lsp/veryl_ls.lua index d003d0d9..807dd664 100644 --- a/lsp/veryl_ls.lua +++ b/lsp/veryl_ls.lua @@ -8,6 +8,7 @@ --- ```sh --- cargo install veryl-ls --- ``` + ---@type vim.lsp.Config return { cmd = { 'veryl-ls' }, diff --git a/lsp/vhdl_ls.lua b/lsp/vhdl_ls.lua index 79805032..f010e70b 100644 --- a/lsp/vhdl_ls.lua +++ b/lsp/vhdl_ls.lua @@ -26,6 +26,7 @@ --- 'tb_ent.vhd' --- ] --- ``` + ---@type vim.lsp.Config return { cmd = { 'vhdl_ls' }, diff --git a/lsp/vimls.lua b/lsp/vimls.lua index 406c5c24..ba202c1d 100644 --- a/lsp/vimls.lua +++ b/lsp/vimls.lua @@ -6,6 +6,7 @@ --- ```sh --- npm install -g vim-language-server --- ``` + ---@type vim.lsp.Config return { cmd = { 'vim-language-server', '--stdio' }, diff --git a/lsp/visualforce_ls.lua b/lsp/visualforce_ls.lua index 85345421..50984474 100644 --- a/lsp/visualforce_ls.lua +++ b/lsp/visualforce_ls.lua @@ -17,6 +17,7 @@ --- } --- }) --- ``` + ---@type vim.lsp.Config return { filetypes = { 'visualforce' }, diff --git a/lsp/vls.lua b/lsp/vls.lua index 1147b6c4..f92981a4 100644 --- a/lsp/vls.lua +++ b/lsp/vls.lua @@ -5,6 +5,7 @@ --- V language server. --- --- `v-language-server` can be installed by following the instructions [here](https://github.com/vlang/vls#installation). + ---@type vim.lsp.Config return { cmd = { 'v', 'ls' }, diff --git a/lsp/vscoqtop.lua b/lsp/vscoqtop.lua index 9cc07c3e..bfa8a613 100644 --- a/lsp/vscoqtop.lua +++ b/lsp/vscoqtop.lua @@ -1,6 +1,7 @@ ---@brief --- --- https://github.com/coq-community/vscoq + ---@type vim.lsp.Config return { cmd = { 'vscoqtop' }, diff --git a/lsp/wasm_language_tools.lua b/lsp/wasm_language_tools.lua index 4a5aa2ac..d79ae6e3 100644 --- a/lsp/wasm_language_tools.lua +++ b/lsp/wasm_language_tools.lua @@ -4,6 +4,7 @@ --- --- WebAssembly Language Tools aims to provide and improve the editing experience of WebAssembly Text Format. --- It also provides an out-of-the-box formatter (a.k.a. pretty printer) for WebAssembly Text Format. + ---@type vim.lsp.Config return { cmd = { 'wat_server' }, diff --git a/lsp/wgsl_analyzer.lua b/lsp/wgsl_analyzer.lua index 1d40cb51..ed38772d 100644 --- a/lsp/wgsl_analyzer.lua +++ b/lsp/wgsl_analyzer.lua @@ -6,6 +6,7 @@ --- ```sh --- cargo install --git https://github.com/wgsl-analyzer/wgsl-analyzer wgsl-analyzer --- ``` + ---@type vim.lsp.Config return { cmd = { 'wgsl-analyzer' }, diff --git a/lsp/yamlls.lua b/lsp/yamlls.lua index ca0660f2..586745a7 100644 --- a/lsp/yamlls.lua +++ b/lsp/yamlls.lua @@ -58,6 +58,7 @@ --- } --- }) --- ``` + ---@type vim.lsp.Config return { cmd = { 'yaml-language-server', '--stdio' }, diff --git a/lsp/yang_lsp.lua b/lsp/yang_lsp.lua index 4f435f93..1ae15f51 100644 --- a/lsp/yang_lsp.lua +++ b/lsp/yang_lsp.lua @@ -3,6 +3,7 @@ --- https://github.com/TypeFox/yang-lsp --- --- A Language Server for the YANG data modeling language. + ---@type vim.lsp.Config return { cmd = { 'yang-language-server' }, diff --git a/lsp/yls.lua b/lsp/yls.lua index e78a0e14..cfa35dfc 100644 --- a/lsp/yls.lua +++ b/lsp/yls.lua @@ -7,6 +7,7 @@ --- This plugin runs yara.compile on every save, parses the errors, and returns list of diagnostic messages. --- --- Language Server: https://github.com/avast/yls + ---@type vim.lsp.Config return { cmd = { 'yls', '-vv' }, diff --git a/lsp/ziggy.lua b/lsp/ziggy.lua index 72b090e9..9d01747d 100644 --- a/lsp/ziggy.lua +++ b/lsp/ziggy.lua @@ -3,6 +3,7 @@ --- https://ziggy-lang.io/documentation/ziggy-lsp/ --- --- Language server for the Ziggy data serialization format + ---@type vim.lsp.Config return { cmd = { 'ziggy', 'lsp' }, diff --git a/lsp/ziggy_schema.lua b/lsp/ziggy_schema.lua index 97f17d8a..d12266b4 100644 --- a/lsp/ziggy_schema.lua +++ b/lsp/ziggy_schema.lua @@ -3,6 +3,7 @@ --- https://ziggy-lang.io/documentation/ziggy-lsp/ --- --- Language server for schema files of the Ziggy data serialization format + ---@type vim.lsp.Config return { cmd = { 'ziggy', 'lsp', '--schema' }, |
