Some zed fixes

This commit is contained in:
Emmet 2025-10-25 15:03:45 -05:00
parent 8770c61d40
commit 68e2da66c8
2 changed files with 16 additions and 12 deletions

View file

@ -38,8 +38,9 @@ in {
(lib.mkIf (editor == "emacs") "emacsclient -c")
(lib.mkIf (editor == "neovide") "neovide -- --listen /tmp/nvimsocket")
(lib.mkIf (editor == "vscodium") "codium -n")
(lib.mkIf (editor == "zed") "zeditor --wait")
(lib.mkIf (builtins.elem editor [ "vim" "nvim" "nano" "micro" ]) ("exec " + term + " -e " + editor))
(lib.mkIf (!(builtins.elem editor [ "emacs" "vim" "nvim" "neovide" "nano" "micro" "vscodium" ])) editor)
(lib.mkIf (!(builtins.elem editor [ "emacs" "vim" "nvim" "neovide" "nano" "micro" "vscodium" "zed" ])) editor)
];
};
};