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

Switch tool detection for lsp-unzip (#3022) #4472

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Horrih
Copy link

@Horrih Horrih commented Jun 9, 2024

It caused issues on windows if unzip was found on the PATH, because it fell back to the bash command + unzip.

Changing in order of detection fixes the issue.

@yyoncho
Copy link
Member

yyoncho commented Jun 9, 2024

This will force powershell on linux which IIRC was causing trouble in the past. Can you add additional condition (if on windows and if powershell there - use it)

@Horrih
Copy link
Author

Horrih commented Jun 9, 2024

Just pushed a new version, is this what you had in mind ?
Just checked it on both my systems, it seems to work fine.

Btw, thanks a lot for your selfless work on lsp-mode.
Lsp-mode is the sole reason I came back to emacs in 2019 years after I gave up on the tags system.

@yyoncho
Copy link
Member

yyoncho commented Jun 10, 2024

((executable-find "powershell") lsp-ext-pwsh-script

can you keep that too in the end?

It caused issues on windows if unzip was found on the PATH
@Horrih
Copy link
Author

Horrih commented Jun 10, 2024

Sure, is that better ?

I rebased onto master + squashed the previous commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants