2024-05-27 12:07:19 -04:00
|
|
|
_: {
|
2023-04-10 14:13:06 -04:00
|
|
|
imports = [
|
2023-05-25 12:43:26 -04:00
|
|
|
./languages.nix
|
2023-11-27 07:24:45 -05:00
|
|
|
./themes/tokyonight.nix
|
2023-04-10 14:13:06 -04:00
|
|
|
];
|
2024-05-27 12:07:19 -04:00
|
|
|
|
2023-01-30 11:31:46 -05:00
|
|
|
programs.helix = {
|
2023-04-23 17:45:37 -04:00
|
|
|
enable = true;
|
2024-05-26 16:49:29 -04:00
|
|
|
defaultEditor = true;
|
2023-04-23 17:45:37 -04:00
|
|
|
settings = {
|
2023-11-24 04:23:43 -05:00
|
|
|
theme = "tokyonight";
|
2023-04-23 17:45:37 -04:00
|
|
|
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
|
|
|
}
|