elixir-tools / elixir-tools.nvim

Neovim plugin for Elixir
MIT License
413 stars 31 forks source link

make auto-update of nextls configurable #209

Open dch opened 6 months ago

dch commented 6 months ago

nextls is automatically fetched for more common OS & platforms, but for other platforms it should be possible to disable the auto-update, or at least handle it more gracefully than just bailing out.

Currently I'm just building nextls locally in a repo and starting it listening on the appropriate port as required.

What's a reasonable approach here? I see a few options:

mhanberg commented 6 months ago

If you set the cmd field to the location of your locally built exe, it will disable auto update and still run it through stdio as usual.

mhanberg commented 6 months ago

Also do you mean auto update or the auto install?

Auto update is done by next ls (updates itself in place) and auto install is when the nvim plugin downloads it if it can't find one and cmd isn't set

mhanberg commented 6 months ago

Also what platform are you on?