Zed is a modern open-source code editor, built from the ground up in Rust with a GPU-accelerated renderer.

  • kazaika@lemmy.world
    link
    fedilink
    arrow-up
    27
    ·
    5 months ago

    I mean its already in the nix repos as well as homebrew which means its essentially taken care of

    • krolden
      link
      fedilink
      arrow-up
      11
      ·
      5 months ago

      So it should say hey check your distros package repos first.

    • GravitySpoiled
      link
      fedilink
      English
      arrow-up
      9
      ·
      5 months ago

      I’ve been using it with the nix package manager. It’s awesome how easy nix works

      • pukeko@lemm.ee
        link
        fedilink
        English
        arrow-up
        5
        ·
        5 months ago

        It appears to be a couple of versions behind … and have some issues with dynamically linked libraries that hinder LSPs. Neither of these is Zed’s fault. I’m sure the packaged version will be up to date momentarily (given the interest in Zed, sooner rather than later). Not sure how easy the LSP thing will be to fix, though there are some workarounds in the github issue.

        • priapus@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          5
          ·
          5 months ago

          yeah the editor is being updated way too fast for nix to keep up. I’m sure it’ll be easier once it has its stable release. I see the have a nix flake in the repo, it would be great if they added a package to the outputs instead of just a devshell, nix users could easily build it from master or whichever tag they want.

          There are solutions in this issue to the LSP issue. The editor would need to be built in an fhs-env, or they will need to find a way to make it uses binaries installed with nix instead of the ones it downloads itself. VSCode had a similar issue, so there is a version of the package that let’s you install extensions through nix, and another that uses an fhs-env that allows extensions to work out of the box.