add zed editor

This commit is contained in:
Salar Rahmanian 2024-11-10 20:50:48 -08:00
parent 4aaca19c8c
commit 5c8bf490c2
2 changed files with 28 additions and 0 deletions

View file

@ -5,4 +5,5 @@
./tmux ./tmux
./wezterm ./wezterm
./vscode ./vscode
./zed
] ]

27
programs/zed/default.nix Normal file
View file

@ -0,0 +1,27 @@
{ ... }:
let
myextensions = [
"fish"
"lua"
"nix"
"ruff"
"scala"
"sql"
"swift"
"toml"
];
in
{
programs.zed-editor = {
enable = true;
extensions = myextensions;
userSettings = {
features = {
copilot = true;
};
telemetry.metrics = false;
theme = "Andromeda";
vim_mode = true;
};
};
}