2023-04-23 17:45:37 -04:00
|
|
|
{...}: {
|
2023-04-10 14:13:06 -04:00
|
|
|
imports = [
|
2023-05-25 12:43:26 -04:00
|
|
|
./languages.nix
|
2023-04-10 14:16:07 -04:00
|
|
|
./themes/catppuccin_mocha.nix
|
2023-04-10 14:13:06 -04:00
|
|
|
];
|
2023-01-30 11:31:46 -05:00
|
|
|
programs.helix = {
|
2023-04-23 17:45:37 -04:00
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
theme = "catppuccin_mocha";
|
|
|
|
editor = {
|
2023-05-25 12:43:26 -04:00
|
|
|
auto-save = true;
|
2023-01-30 11:31:46 -05:00
|
|
|
true-color = true;
|
|
|
|
color-modes = true;
|
|
|
|
cursorline = true;
|
2023-05-25 12:43:26 -04:00
|
|
|
completion-replace = true;
|
|
|
|
soft-wrap.enable = true;
|
|
|
|
idle-timeout = 1;
|
|
|
|
gutters = ["diff" "diagnostics" "line-numbers" "spacer"];
|
|
|
|
statusline = {
|
|
|
|
left = ["mode" "spinner"];
|
|
|
|
center = ["file-name"];
|
|
|
|
right = ["diagnostics" "selections" "position" "file-line-ending" "file-type" "version-control"];
|
|
|
|
separator = "|";
|
|
|
|
mode = {
|
|
|
|
normal = "NORMAL";
|
|
|
|
insert = "INSERT";
|
|
|
|
select = "SELECT";
|
|
|
|
};
|
|
|
|
};
|
2023-01-30 11:31:46 -05:00
|
|
|
cursor-shape = {
|
|
|
|
insert = "bar";
|
|
|
|
normal = "block";
|
|
|
|
select = "underline";
|
|
|
|
};
|
|
|
|
indent-guides = {
|
|
|
|
render = true;
|
|
|
|
rainbow = "dim";
|
2023-05-25 12:43:26 -04:00
|
|
|
character = "┆";
|
|
|
|
};
|
|
|
|
whitespace = {
|
|
|
|
characters = {
|
|
|
|
space = "·";
|
|
|
|
nbsp = "⍽";
|
|
|
|
tab = "→";
|
|
|
|
newline = "⏎";
|
|
|
|
tabpad = "·";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
lsp = {
|
|
|
|
display-messages = true;
|
|
|
|
display-inlay-hints = true;
|
2023-04-23 17:45:37 -04:00
|
|
|
};
|
|
|
|
};
|
2023-01-30 11:31:46 -05:00
|
|
|
};
|
|
|
|
};
|
2023-04-10 14:13:06 -04:00
|
|
|
}
|