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 = [
|
font-feature = [
|
||||||
"calt"
|
"calt"
|
||||||
"zero"
|
"zero"
|
||||||
"cv01"
|
"cv03"
|
||||||
"cv96"
|
"cv96"
|
||||||
"cv97"
|
"cv97"
|
||||||
"cv98"
|
"cv98"
|
||||||
"cv99"
|
|
||||||
"ss05"
|
|
||||||
"ss08"
|
"ss08"
|
||||||
];
|
];
|
||||||
font-size = lib.mkForce 17;
|
font-size = lib.mkForce 17;
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
stylix.targets.zed.enable = false;
|
||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = [
|
extensions = [
|
||||||
|
|
@ -24,6 +25,23 @@ in
|
||||||
nil
|
nil
|
||||||
];
|
];
|
||||||
userSettings = {
|
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;
|
vim_mode = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
};
|
};
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
package = pkgs.source-han-sans;
|
package = pkgs.source-han-sans;
|
||||||
name = " Serif Han Sans SC";
|
name = "Source Han Sans SC";
|
||||||
};
|
};
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.maple-mono.NF-CN;
|
package = pkgs.maple-mono.NF-CN;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue