Code Monkey home page Code Monkey logo

Comments (4)

hlissner avatar hlissner commented on September 26, 2024 2

This is simply an upstream issue. ZLS now serves its releases in tar.xz files instead of tar.gz (which is what lsp-mode is configured to look for). We'll have to wait until they either revert or commit to the change in zigtools/zls#1879, and then for lsp-mode to update to accommodate that.

In the meantime, here is a potential workaround:

;;; in $DOOMDIR/config.el
(unless (featurep :system 'windows)
  (setq lsp-zig-download-url-format "https://github.com/zigtools/zls/releases/latest/download/zls-%s-%s.tar.xz"))

I'll leave this open until it is resolved upstream (and is pulled into Doom).

from doomemacs.

gchape avatar gchape commented on September 26, 2024

@hhamud
LSP :: Decompressing /Users/user/.emacs.d/.local/etc/lsp/zig/temp.tar.gz... worked, it seems that the issue might have been transient or related to how the tar command initially interpreted the archive.

Does LSP features work?

from doomemacs.

hhamud avatar hhamud commented on September 26, 2024

@hhamud LSP :: Decompressing /Users/user/.emacs.d/.local/etc/lsp/zig/temp.tar.gz... worked, it seems that the issue might have been transient or related to how the tar command initially interpreted the archive.

Does LSP features work?

No it does not work at all.

from doomemacs.

hlissner avatar hlissner commented on September 26, 2024

Seems to be taking a while for the response, so I've gone ahead and added the corrected lsp-zig-download-url-format in 7bb5df4. I'll revert it if the issue is addressed upstream.

In any case, thanks for bringing this to my attention!

from doomemacs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.