2022-11-28 21:55:43 +00:00
|
|
|
{
|
|
|
|
programs.helix.enable = true;
|
|
|
|
|
|
|
|
programs.helix.settings = {
|
|
|
|
editor.bufferline = "multiple";
|
|
|
|
editor.color-modes = true;
|
2022-12-18 06:16:08 +00:00
|
|
|
editor.cursor-shape.insert = "bar";
|
|
|
|
editor.cursorline = true;
|
2022-11-28 21:55:43 +00:00
|
|
|
editor.indent-guides.render = true;
|
|
|
|
editor.indent-guides.skip-levels = 1;
|
|
|
|
editor.line-number = "relative";
|
2023-06-07 20:14:01 +00:00
|
|
|
editor.soft-wrap.enable = true;
|
2022-11-28 21:55:43 +00:00
|
|
|
editor.whitespace.render = {
|
|
|
|
space = "none";
|
|
|
|
tab = "all";
|
|
|
|
newline = "all";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-06-07 20:14:01 +00:00
|
|
|
# programs.helix.grammars = [{
|
|
|
|
# name = "lalrpop";
|
|
|
|
# source = {
|
|
|
|
# git = "https://github.com/traxys/tree-sitter-lalrpop";
|
|
|
|
# rev = "7744b56f03ac1e5643fad23c9dd90837fe97291e";
|
|
|
|
# };
|
|
|
|
# }];
|
|
|
|
|
2022-11-28 21:55:43 +00:00
|
|
|
programs.helix.extras.autoTheme = {
|
|
|
|
enable = true;
|
|
|
|
light = "rose_pine_dawn";
|
|
|
|
dark = "rose_pine";
|
|
|
|
};
|
|
|
|
|
2023-08-23 00:50:29 +00:00
|
|
|
home.sessionVariables = { EDITOR = "hx"; };
|
2022-11-28 21:55:43 +00:00
|
|
|
}
|