feat(helix): create helix config

This commit is contained in:
jacekpoz 2023-08-15 17:53:02 +02:00
parent fe71ac1724
commit b5a38375d8

View file

@ -1,5 +1,6 @@
{
config,
lib,
inputs,
pkgs,
...
@ -8,7 +9,44 @@
enable = true;
package = inputs.helix.packages.${pkgs.system}.helix;
settings = {
theme = "catppuccin_mocha";
editor = {
scrolloff = 7;
mouse = false;
middle-click-paste = false;
line-number = "relative";
auto-completion = false;
auto-format = false;
completion-replace = true;
true-color = true;
undercurl = true;
rulers = [ 80 ];
bufferline = "multiple";
color-modes = true;
lsp = {
display-messages = true;
display-inlay-hints = true;
};
cursor-shape = {
normal = "block";
insert = "bar";
select = "underline";
};
auto-pairs = false;
whitespace.render.newline = "all";
indent-guides.render = true;
};
};
languages = {
language-server = {
nil.command = lib.getExe pkgs.nil;
};
language = [
{
name = "rust";
auto-format = false;
}
];
};
};
}