add settings for zed

This commit is contained in:
ulic-youthlic 2025-04-29 00:39:36 +08:00
parent e44894c666
commit d64679dbfe
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 30 additions and 9 deletions

View file

@ -16,15 +16,17 @@ in {
programs.zed-editor = {
enable = true;
extensions = [
"Nix"
"HTML"
"Java"
"Git Firely"
"Make"
"Deno"
"Java with Eclipse JDTLS"
"NeoCMake"
"Typst"
"nix"
"html"
"java"
"git-firely"
"make"
"deno"
"java-eclipse-jdtlS"
"neocMake"
"typst"
"toml"
"markdown-oxide"
];
extraPackages = with pkgs; [
nixd
@ -32,10 +34,18 @@ in {
neocmakelsp
deno
jdt-language-server
taplo
alejandra
markdown-oxide
];
userSettings = {
soft_wrap = "editor_width";
autosave = "on_focus_change";
auto_update = false;
calls = {
mute_on_join = true;
share_on_join = false;
};
"format_on_save" = "off";
ui_font_size = 20;
buffer_font_size = 20;