From 3286f3d0b7fcbd304520c5044779fc107761c613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Fri, 27 Mar 2026 10:48:26 -0300 Subject: [PATCH] Update lspclient.json to separate command from its parameters. --- bin/assets/plugins/lspclient.json | 54 ++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/bin/assets/plugins/lspclient.json b/bin/assets/plugins/lspclient.json index 2e5619386..b424739e9 100644 --- a/bin/assets/plugins/lspclient.json +++ b/bin/assets/plugins/lspclient.json @@ -69,14 +69,16 @@ "language": "php", "name": "phpactor", "url": "https://phpactor.readthedocs.io", - "command": "phpactor language-server", + "command": "phpactor", + "command_parameters": "language-server", "file_patterns": ["%.php$", "%.php%d$"] }, { "language": "c", "name": "clangd", "url": "https://clangd.llvm.org/", - "command": "clangd -log=error --background-index --header-insertion=never --limit-results=0 --limit-references=0 --clang-tidy=0 --completion-style=bundled -j $NPROC", + "command": "clangd", + "command_parameters": "-log=error --background-index --header-insertion=never --limit-results=0 --limit-references=0 --clang-tidy=0 --completion-style=bundled -j $NPROC", "share_process": true, "file_patterns": ["%.c$", "%.h$", "%.C$", "%.H$", "%.objc$"] }, @@ -125,7 +127,8 @@ "language": "python", "name": "pylsp", "url": "https://github.com/python-lsp/python-lsp-server", - "command": "pylsp --check-parent-process", + "command": "pylsp", + "command_parameters": "--check-parent-process", "file_patterns": ["%.py$"] }, { @@ -161,7 +164,8 @@ "language": "ruby", "name": "solargraph", "url": "https://solargraph.org", - "command": "solargraph stdio", + "command": "solargraph", + "command_parameters": "stdio", "rootIndicationFileNames": ["Gemfile", "Gemfile.lock", "gems.rb", "gems.lock", "Rakefile"], "file_patterns": ["%.rb$"] }, @@ -169,28 +173,32 @@ "language": "yaml", "name": "yaml-language-server", "url": "https://github.com/redhat-developer/yaml-language-server", - "command": "yaml-language-server --stdio", + "command": "yaml-language-server", + "command_parameters": "--stdio", "file_patterns": ["%.yaml$", "%.yml$"] }, { "language": "dart", "name": "dart language-server", "url": "https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/tool/lsp_spec", - "command": "dart language-server --client-id ecode", + "command": "dart", + "command_parameters": "language-server --client-id ecode", "file_patterns": ["%.dart$"] }, { "language": "shellscript", "name": "bash-language-server", "url": "https://github.com/bash-lsp/bash-language-server", - "command": "bash-language-server start", + "command": "bash-language-server", + "command_parameters": "start", "file_patterns": ["%.sh$", "%.bash$"] }, { "language": "html", "name": "emmet-language-server", "url": "https://github.com/olrtg/emmet-language-server", - "command": "emmet-language-server --stdio", + "command": "emmet-language-server", + "command_parameters": "--stdio", "file_patterns": ["%.[mp]?html?"], "rootIndicationFileNames": [".git"], "initializationOptions": { @@ -219,14 +227,16 @@ "language": "dockerfile", "name": "docker-langserver", "url": "https://github.com/rcjsuen/dockerfile-language-server-nodejs", - "command": "docker-langserver --stdio", + "command": "docker-langserver", + "command_parameters": "--stdio", "file_patterns": ["^[Cc]ontainerfile$", "^[dD]ockerfile$"] }, { "language": "csharp", "name": "OmniSharp", "url": "https://github.com/OmniSharp/omnisharp-roslyn", - "command": "OmniSharp -lsp", + "command": "OmniSharp", + "command_parameters": "-lsp", "file_patterns": ["%.cs$", "%.csx$"], "rootIndicationFileNames": ["%.sln$"] }, @@ -248,14 +258,16 @@ "language": "solidity", "name": "solc", "url": "https://soliditylang.org", - "command": "solc --lsp", + "command": "solc", + "command_parameters": "--lsp", "file_patterns": ["%.sol$"] }, { "language": "haskell", "name": "haskell-language-server", "url": "https://github.com/haskell/haskell-language-server", - "command": "haskell-language-server-wrapper --lsp", + "command": "haskell-language-server-wrapper", + "command_parameters": "--lsp", "file_patterns": ["%.hs$"], "rootIndicationFileNames": ["%.cabal$", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"] }, @@ -270,7 +282,8 @@ "language": "cmake", "name": "neocmakelsp", "url": "https://github.com/neocmakelsp/neocmakelsp", - "command": "neocmakelsp stdio", + "command": "neocmakelsp", + "command_parameters": "stdio", "file_patterns": ["%.cmake$", "CMakeLists%.txt$"], "rootIndicationFileNames": ["build"] }, @@ -286,7 +299,8 @@ "language": "crystal", "name": "crystalline", "url": "https://github.com/elbywan/crystalline", - "command": "crystalline --stdio", + "command": "crystalline", + "command_parameters": "--stdio", "file_patterns": ["%.cr$"], "rootIndicationFileNames": ["shard.yml"] }, @@ -294,7 +308,8 @@ "language": "v", "name": "v-analyzer", "url": "https://github.com/v-analyzer/v-analyzer", - "command": "v-analyzer --stdio", + "command": "v-analyzer", + "command_parameters": "--stdio", "file_patterns": ["%.v$"] }, { @@ -342,7 +357,8 @@ "vars": { "ADEPT_ROOT": "adept --root" }, - "command": "adeptls --infrastructure $ADEPT_ROOT", + "command": "adeptls", + "command_parameters": "--infrastructure $ADEPT_ROOT", "file_patterns": ["%.adept$"] }, { @@ -381,7 +397,8 @@ "language": "fortran", "name": "fortls", "url": "https://github.com/fortran-lang/fortls", - "command": "fortls --hover_signature --hover_language fortran --use_signature_help --incremental_sync", + "command": "fortls", + "command_parameters": "--hover_signature --hover_language fortran --use_signature_help --incremental_sync", "file_patterns": ["%.f$", "%.f90$", "%.f95$"], "rootIndicationFileNames": [".fortls"] }, @@ -427,7 +444,8 @@ "language": "racket", "name": "racket-langserver", "url": "https://github.com/jeapostrophe/racket-langserver", - "command": "racket -l racket-langserver", + "command": "racket", + "command_parameters": "-l racket-langserver", "file_patterns": ["%.rkt$"], "rootIndicationFileNames": [".git"] },