nvim-lsp-installer icon indicating copy to clipboard operation
nvim-lsp-installer copied to clipboard

install elixir-lsp from .zip break autocomplete

Open csokun opened this issue 3 years ago • 3 comments

It took me a while to figure out why after adding use Ecto.Schema the server doesn't suggest schema. It turns out I've got a different elixir version installed on my machine.

I peeked into the lsp installation script and of cause the installer use .zip version.

https://github.com/williamboman/nvim-lsp-installer/blob/c13ea61d85e2170af35c06b47bcba143cf2f244b/lua/nvim-lsp-installer/servers/elixirls/init.lua#L18-L22

I resolved my problem by manually install elixir-ls.

I wonder why .zip file is used instead of something like this https://raw.githubusercontent.com/csokun/nvim/master/install-elixir-ls.sh.

csokun avatar Jul 02 '22 04:07 csokun

Hello! What elixir version are you using?

williamboman avatar Jul 03 '22 13:07 williamboman

v1.13.4

csokun avatar Jul 06 '22 08:07 csokun

My understanding is that the base zip file should be compatible with the last 3 Elixir and OTP versions - does it work if you download and unpack the elixir-ls-1.13.zip file from their release page?

Disclaimer: I don't do any elixir development

williamboman avatar Jul 06 '22 11:07 williamboman