Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ronscho opened this issue May 5, 2023 · 1 comment
Closed

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

ronscho opened this issue May 5, 2023 · 1 comment

Comments

@ronscho
Copy link

ronscho commented May 5, 2023

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
Copy link
Collaborator

mhanberg commented May 5, 2023

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.

@mhanberg mhanberg closed this as completed May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants