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
Zig's ZLS download URLs have changed #4445
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
lsp-zig.el needs to be adjusted to download the now uncompressed binary from https://github.com/zigtools/zls/wiki/Installation#latest-nightly.
Steps to reproduce
Open a .zig file and the error occurrs.
Expected behavior
The output in Message become
LSP :: Download zls started.
LSP :: Starting to download https://github.com/zigtools/zls/releases/latest/download/zls-x86_64-linux.tar.gz to ~/.emacs.d/.cache/lsp/zig/temp.tar.gz...
Contacting host: github.com:443
Wrote ~/.emacs.d/.cache/lsp/zig/temp.tar.gz
LSP :: Finished downloading ~/.emacs.d/.cache/lsp/zig/temp.tar.gz...
LSP :: Decompressing ~/.emacs.d/.cache/lsp/zig/temp.tar.gz...
tar: This does not look like a tar archive
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
LSP :: Decompressed ~/.emacs.d/.cache/lsp/zig/temp...
LSP :: Server zls downloaded, auto-starting in 1 buffers.
Quit [2 times]
Displaying messages...
Mark set
Which Language Server did you use?
I used lsp-zig.
OS
Linux
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: