williamboman/nvim-lsp-installer

install elixir-lsp from .zip break autocomplete

csokun opened this issue · 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.

github.unzip_release_file({
repo = "elixir-lsp/elixir-ls",
asset_file = "elixir-ls.zip",
}).with_receipt()
std.chmod("+x", { "language_server.sh" })

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.

Hello! What elixir version are you using?

v1.13.4

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