top | item 40903652

(no title)

Dobbs | 1 year ago

Just migrated from Vim to NeoVim. Downloading and configuring all the various LSPs has genuinely been one of the most frustrating aspects.

discuss

order

nrabulinski|1 year ago

Then you’d click the „yes and never ask me again” if a prompt about whether you want to download a random binary showed up. But a lot of people wouldn’t want to click that and would either click „no and never ask me again” or vet each case one by one

theultdev|1 year ago

How are you going to "vet" the language server when it pops up?

It's not a "random binary" either, it's a hosted binary for language features coming from the zed developers github release.

Even if the binary was compiled on demand when you clicked the button, were you going to go through the entire source of node to verify?

setopt|1 year ago

With Vim + ALE this is dead easy: Install LSP servers via your OS package manager, and ALE will find them in $PATH and use them.

If you want to use NeoVim, then LSP-zero + Mason was also a decent experience last I tried.

Woshiwuja|1 year ago

just use mason

Dobbs|1 year ago

mason can install them, but there isn't a way to "ensure-installed" built in. So that was a second package I needed. Then I needed a third package to configure things.

Maybe I'm missing something, but it was definitely more complicated than "just use mason".