elixir-tools / elixir-tools.nvim

Neovim plugin for Elixir
MIT License
403 stars 30 forks source link

[Question] Manage LSPs (ElixirLs, Credo) with mason? #82

Closed ronscho closed 1 year ago

ronscho commented 1 year ago

Would it be possible to use mason for LSP management but have also the nice integration with elixir-tools? ElixirLS is available through mason, but is it possible to add Credo LSP also to masen, so it could be managed with this tool?

mhanberg commented 1 year ago

There is no real reason to have Mason manage credo-language-server, as it's just a single script contained in the plugin and runs Mix.install to install itself.

It is possible to use mason to install ElixirLS and then start it with elixir-tools.nvim, but I don't really understand the benefit of that. one of the benefits to elixir-tools.nvim is that it compiles it for the exact elixir and erlang versions of your project, to ensure there is no weirdness.

There is still some improvement to be made around this, which I have #12 and #13 to track those efforts.