mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 22:54:01 +05:30
Some zed fixes
This commit is contained in:
parent
8770c61d40
commit
68e2da66c8
2 changed files with 16 additions and 12 deletions
|
|
@ -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)
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue