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

Allow overriding the path to forc-lsp executable #174

Merged
merged 5 commits into from
Apr 17, 2024

Conversation

sdankel
Copy link
Member

@sdankel sdankel commented Apr 17, 2024

Closes #167

Apr-16-2024 23-14-37

crodas and others added 2 commits April 1, 2024 16:37
Fixes #167

By default the field is empty and it is only useful to advanced users.

The runtime will use the field to try to boot the lsp but in case the
configuration is invalid it will fallback to finding the forc-lsp in $PATH
@JoshuaBatty JoshuaBatty added the enhancement New feature or request label Apr 17, 2024
@sdankel sdankel requested a review from JoshuaBatty April 17, 2024 06:24
Copy link
Member

@JoshuaBatty JoshuaBatty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one thanks Sophie. We should cut a release after this is merged.

Pinging @luizstacio as he originally requested this feature :)

@JoshuaBatty JoshuaBatty merged commit bec27a7 into master Apr 17, 2024
4 checks passed
@JoshuaBatty JoshuaBatty deleted the sophie/custom-forc-lsp-path branch April 17, 2024 06:36
sdankel added a commit that referenced this pull request Apr 17, 2024
* Add configuration to let users select their forc-lsp

Fixes #167

By default the field is empty and it is only useful to advanced users.

The runtime will use the field to try to boot the lsp but in case the
configuration is invalid it will fallback to finding the forc-lsp in $PATH

* Allow overriding the path to forc-lsp executable

* prettier

* update reload opts

* fix typo

---------

Co-authored-by: Cesar Rodas <cesar@rodasm.com.py>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a drop down menu in sway settings to allow users to select which forc lsp they want to launch.
3 participants