add zed config and fix font config
This commit is contained in:
parent
1e36b390e5
commit
04323ffad8
3 changed files with 20 additions and 4 deletions
|
|
@ -43,12 +43,10 @@
|
|||
font-feature = [
|
||||
"calt"
|
||||
"zero"
|
||||
"cv01"
|
||||
"cv03"
|
||||
"cv96"
|
||||
"cv97"
|
||||
"cv98"
|
||||
"cv99"
|
||||
"ss05"
|
||||
"ss08"
|
||||
];
|
||||
font-size = lib.mkForce 17;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ in
|
|||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix.targets.zed.enable = false;
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
|
|
@ -24,6 +25,23 @@ in
|
|||
nil
|
||||
];
|
||||
userSettings = {
|
||||
autosave = "on_focus_change";
|
||||
auto_update = false;
|
||||
"format_on_save" = "off";
|
||||
ui_font_size = 20;
|
||||
buffer_font_size = 20;
|
||||
buffer_font_family = "Maple Mono NF CN";
|
||||
buffer_font_features = {
|
||||
"calt" = true;
|
||||
"zero" = true;
|
||||
"cv03" = true;
|
||||
"cv96" = true;
|
||||
"cv97" = true;
|
||||
"cv98" = true;
|
||||
"ss08" = true;
|
||||
};
|
||||
ui_font_family = "Source Han Sans SC";
|
||||
theme = "Ayu Dark";
|
||||
vim_mode = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue