kabouzeid / nvim-lspinstall

Provides the missing :LspInstall for nvim-lspconfig
MIT License
526 stars 66 forks source link

Install multiple lsp servers with :LspInstall #85

Open siduck opened 3 years ago

siduck commented 3 years ago

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

image

kabouzeid commented 3 years ago

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.

kabouzeid commented 3 years ago

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

siduck commented 3 years ago

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

kabouzeid commented 3 years ago

parallel install would be way faster though 🤔

siduck commented 3 years ago

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

kabouzeid commented 3 years ago

Using tabs instead of splits might be a good idea. I'll test it out to see how it "feels"

siduck commented 3 years ago

@kabouzeid any updates?

wookayin commented 3 years ago

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.

siduck commented 3 years ago

I no longer use lspinstall so I'll be closing this :|

francois-pasquier commented 3 years ago

I no longer use lspinstall so I'll be closing this :|

What are you using now?

wookayin commented 3 years ago

@siduck76 Please leave this opened -- you are not the only user of this plugin. Many users would still want this feature.

siduck commented 3 years ago

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.