Closed ghost closed 2 years ago
Hello! To completely "get rid" of a server that has already started and attached to one ore more buffers you'll need to restart neovim. You could also try stopping the server manually (either via :LspStop
or through the vim.lsp.*
APIs), which wouldn't necessitate a restart of neovim
Also, make sure you're not callinglspconfig.html.setup {}
anywhere in your config, I have a feeling this might be the culprit
It seems I've missed the lspconfig.html.setup {}
part in my init.vim
. Commenting it out solved my issue! Thanks for your help.
Problem description
After running
:LspUninstall html
the server is not shown in:LspInstallInfo
under installed servers, as it should be. But it IS shown under configured servers when running:LspInfo
. It also shows the errorSpawning language server with cmd: 'vscode-html-language-server' failed. The language server is either not installed, missing from PATH, or not executable.
How do I get rid of this error and fully remove the html server as it was before installation?I have tried:
Neovim version (>= 0.6)
NVIM v0.6.1 Build type: Release LuaJIT 2.1.0-beta3 Compiled by void-buildslave@a-hel-fi
Features: +acl +iconv +tui
Operating system/version
Linux 5.15.24_1 (Void Linux x86_64 musl)
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig
Affected language servers
html
Steps to reproduce
nvim [somefile].html
Actual behavior
get error
Spawning language server with cmd: 'vscode-html-language-server' failed. The language server is either not installed, missing from PATH, or not executable.
Expected behavior
Open the file without errors.
LspInfo
Healthcheck
Screenshots or recordings
No response