williamboman / nvim-lsp-installer

Further development has moved to https://github.com/williamboman/mason.nvim!
https://github.com/williamboman/mason.nvim
Apache License 2.0
2k stars 123 forks source link

install elixir-lsp from .zip break autocomplete #845

Open csokun opened 2 years ago

csokun commented 2 years ago

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.

williamboman commented 2 years ago

Hello! What elixir version are you using?

csokun commented 2 years ago

v1.13.4

williamboman commented 2 years ago

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