Open Tarmil opened 2 years ago
On linux, at least, there is also an issue that the server installed had no permissions on the files (probably due to faulty .zip archive or unzip params?) -- I need to do chmod +rwx -R *
on the extracted directory
Fixed now
Hello, Any news on this issue ? I encountered it just today, OP's solution seems reasonable to me.
Thank you for the bug report
lsp-mode
related packages.where
lsp-start-plain.el
can be downloaded here.Bug description
On a Windows system that has an
unzip
command in the PATH, the fsautocomplete client doesn't install properly.Steps to reproduce
On Windows:
unzip.exe
somewhere in thePATH
.Expected behavior
fsautocomplete installs properly.
Which Language Server did you use?
lsp-fsharp
OS
Windows
Error callstack
Anything else?
The problem is that when
unzip
is present, the install function assumes that it's on a Unix system and runs a command intended forsh
; but on Windows, it is misinterpreted bycmd
. A possible fix would be to switch the conditions here to usepowershell
in priority if present: https://github.com/emacs-lsp/lsp-mode/blob/b4e51450188acf41f8273542db299936461087a4/clients/lsp-fsharp.el#L212-L214