Open yriveiro opened 3 years ago
Yes. If one nodejs language server requires sudo, they all will. I am working on switching to the method that the lspconfig extension used before deprecating lspinstall, which will install packages to a local directory (most likely ~/.local/share/nvim/lspinstall/node_modules
or something similar). In the meantime, you could copy the command that LspInstall
is attempting to run, and replace bash
at the end with sudo bash
. If you were to do this, the command for Docker would turn into
curl https://raw.githubusercontent.com/anott03/nvim-lspinstall-scripts/master/Linux/docker.sh | sudo bash
@yriveiro I believe as of #8 this issue should be resolved.
Running
:LspInstall docker
fails in my machine because is requiring sudo permissions.OS: Ubuntu 20.10
I would assume that all nodejs related language servers will fail as well.