forked from poz/niksos
feat(helix): create helix config
This commit is contained in:
parent
fe71ac1724
commit
b5a38375d8
1 changed files with 39 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue