zed-extensions / nix

Nix language support in Zed
MIT License
24 stars 10 forks source link

formatter failed #10

Closed deng232 closed 2 months ago

deng232 commented 2 months ago
2024-08-07T17:25:27.253662543-04:00 [ERROR] failed to format via language server

Caused by:
    formatting nixpkgs-fmt command exited with 65280

my zed wrapper

  zed-fhs = pkgs.buildFHSUserEnv {
   name = "zed";
   targetPkgs = pkgs:
     with pkgs; [
       zed-editor
       nodejs_22
       nodePackages_latest.vscode-json-languageserver
       nixd
       nixpkgs-fmt
          ];
      runScript = "zed";
 };
deng232 commented 2 months ago

somehow worked after reboot.