nvim-lspinstall
nvim-lspinstall copied to clipboard
Install multiple lsp servers with :LspInstall
Hi there! It'd be great if lspinstall could install many lsp servers at the same time , like having multiple arguments for :LspInstall , example :
:LspInstall html css js
but this gives me some other error
Right now this is mainly blocked because we need a proper UI first. Currently every install runs in a terminal split window. Installing 5 language servers at once would open 5 terminal splits which would be very confusing.
You can already write a Lua function for this, but as I said it'll open a split window for every server that you install.
https://github.com/kabouzeid/nvim-lspinstall/issues/83#issuecomment-854029170
Right now this is mainly blocked because we need a proper UI first. Currently every install runs in a terminal split window. Installing 5 language servers at once would open 5 terminal splits which would be very confusing.
Isnt there something like deleting a buffer without closing its window? if yes then we could just do this :
example : if we run :LspInstall css bash
then lspinstall plugin should do the following
- open new tab ( is done only once and at the starting)
- Install css lsp
- clear its buffer only but not close its window
- Install bash lsp
- clear its buffer
parallel install would be way faster though 🤔
parallel install would be way faster though
oh yes , btw why create splits? cant we just open new tabs? it'll allow parallel install too
Using tabs instead of splits might be a good idea. I'll test it out to see how it "feels"
@kabouzeid any updates?
https://github.com/kabouzeid/nvim-lspinstall/issues/83#issuecomment-854029170 mentions a workaround, but this is a necessary feature so that one can execute post_install_hook only once after multiple LSP servers are intsalled.
I no longer use lspinstall so I'll be closing this :|
I no longer use lspinstall so I'll be closing this :|
What are you using now?
@siduck76 Please leave this opened -- you are not the only user of this plugin. Many users would still want this feature.
I no longer use lspinstall so I'll be closing this :|
What are you using now?
Nothing , i was using lspinstall for nvchad to make things more newbie friendly but lspinstall doesn't work properly for windows , I know there's another lspinstaller too but I'm just fine installing lspservers on my system manually.