-
Notifications
You must be signed in to change notification settings - Fork 215
Make launcher easier wrappable for different install locations #467
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
Conversation
We'd probably need a similar change in |
Indeed! I hope I will be able to take core for that and docs later today. |
I added some small documentation now, and also added the environment |
Not sure why tests are failing… |
Yeah, the tests are flaky at the moment. It's something I'm trying to work on off-and-on #478 is an attempt in that direction although it may not fix this particular error. |
So then I remove the WIP tag and consider this "ready to merge". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! ❤️
This makes the elixir-ls scripts check the
$ELS_INSTALL_PREFIX
variable to know where the LSP got installed.
This change makes it easier for external packagers to install ExLS to
locations appropriate to their packaging system, as then all they need
to do is to provide a small wrapper script that adjusts the
aforementioned variable in the environment.
The launcher will fall back to its default behaviour if the variable
is unset/empty in the environment.