2024-07-18 14:16:04 +00:00
|
|
|
{
|
2023-11-03 04:12:17 +00:00
|
|
|
imports = [ ./extras/helix/auto-theme.nix ];
|
|
|
|
programs.helix = {
|
|
|
|
enable = true;
|
|
|
|
defaultEditor = true;
|
2022-11-28 21:55:43 +00:00
|
|
|
|
2023-11-03 04:12:17 +00:00
|
|
|
settings.editor = {
|
|
|
|
bufferline = "multiple";
|
|
|
|
color-modes = true;
|
|
|
|
cursor-shape.insert = "bar";
|
|
|
|
cursorline = true;
|
|
|
|
indent-guides = {
|
|
|
|
render = true;
|
|
|
|
skip-levels = 1;
|
|
|
|
};
|
2023-12-23 01:49:53 +00:00
|
|
|
line-number = "absolute";
|
2023-11-03 04:12:17 +00:00
|
|
|
soft-wrap.enable = true;
|
|
|
|
whitespace.render = {
|
|
|
|
space = "none";
|
|
|
|
tab = "all";
|
|
|
|
newline = "all";
|
|
|
|
};
|
2022-11-28 21:55:43 +00:00
|
|
|
};
|
|
|
|
|
2023-11-03 04:12:17 +00:00
|
|
|
# grammars = [{
|
|
|
|
# name = "lalrpop";
|
|
|
|
# source = {
|
|
|
|
# git = "https://github.com/traxys/tree-sitter-lalrpop";
|
|
|
|
# rev = "7744b56f03ac1e5643fad23c9dd90837fe97291e";
|
|
|
|
# };
|
|
|
|
# }];
|
2023-06-07 20:14:01 +00:00
|
|
|
|
2024-07-21 04:25:16 +00:00
|
|
|
autoTheme = {
|
2023-11-03 04:12:17 +00:00
|
|
|
enable = true;
|
|
|
|
light = "rose_pine_dawn";
|
|
|
|
dark = "rose_pine";
|
|
|
|
};
|
2022-11-28 21:55:43 +00:00
|
|
|
};
|
|
|
|
}
|