Update zed.nix
This commit is contained in:
parent
6e01d90f3c
commit
f99fd81781
1 changed files with 39 additions and 39 deletions
|
@ -11,53 +11,53 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
zed-editor
|
zed-editor
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
extraPackages = with pkgs; [ nixd nil alejandra ];
|
extraPackages = with pkgs; [ nixd nil alejandra ];
|
||||||
extensions = ["nix" "toml" "html"];
|
extensions = ["nix" "toml" "html"];
|
||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
assistant.enabled = false;
|
assistant.enabled = false;
|
||||||
|
|
||||||
vim_mode = false;
|
vim_mode = false;
|
||||||
load_direnv = "shell_hook";
|
load_direnv = "shell_hook";
|
||||||
base_keymap = "JetBrains";
|
base_keymap = "JetBrains";
|
||||||
|
|
||||||
tabs = {
|
tabs = {
|
||||||
file_icons = true;
|
file_icons = true;
|
||||||
git_status = true;
|
git_status = true;
|
||||||
};
|
};
|
||||||
project_panel.auto_reveal_entries = false;
|
project_panel.auto_reveal_entries = false;
|
||||||
|
|
||||||
hour_format = "hour24";
|
hour_format = "hour24";
|
||||||
auto_update = false;
|
auto_update = false;
|
||||||
|
|
||||||
lsp = {
|
lsp = {
|
||||||
nixd = {};
|
nixd = {};
|
||||||
nil = {
|
nil = {
|
||||||
initialization_options = {
|
initialization_options = {
|
||||||
formatting = {
|
formatting = {
|
||||||
command = ["alejandra" "--quiet" "--"];
|
command = ["alejandra" "--quiet" "--"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
binary = {
|
||||||
|
path_lookup = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
binary = {
|
|
||||||
path_lookup = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
languages = {
|
||||||
languages = {
|
"Nix" = {
|
||||||
"Nix" = {
|
language_servers = ["nixd" "nil"];
|
||||||
language_servers = ["nixd" "nil"];
|
format_on_save = "on";
|
||||||
format_on_save = "on";
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue