Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

install elixir-lsp from .zip break autocomplete #845

Open
csokun opened this issue Jul 2, 2022 · 3 comments
Open

install elixir-lsp from .zip break autocomplete #845

csokun opened this issue Jul 2, 2022 · 3 comments

Comments

@csokun
Copy link

csokun commented Jul 2, 2022

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.

@williamboman
Copy link
Owner

Hello! What elixir version are you using?

@csokun
Copy link
Author

csokun commented Jul 6, 2022

v1.13.4

@williamboman
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants