helix? more like helNIX

Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
Alex Stan 2023-05-14 15:18:27 +03:00
parent c4d34c202c
commit f3c8be591f

View file

@ -95,7 +95,7 @@ in {
man-pages man-pages
ckan ckan
cool-retro-term cool-retro-term
helix # helix
]; ];
}; };
programs = { programs = {
@ -105,5 +105,54 @@ in {
doomPrivateDir = ./doom.d; doomPrivateDir = ./doom.d;
}; };
# fish.enable = true; # fish.enable = true;
helix = {
enable = true;
package = helix;
languages = [
{
name = "cpp";
scope = "source.cpp";
indent = {
tab-width = 4;
unit = " ";
};
language-server.command = "clangd";
file-types = [ "cpp" ];
}
{
name = "c";
scope = "source.c";
indent = {
tab-width = 4;
unit = " ";
};
language-server.command = "clangd";
file-types = [ "c" ];
}
{
name = "nix";
scope = "source.nix";
indent = {
tab-width = 4;
unit = " ";
};
language-server.command = "nil";
file-types = [ "nix" ];
}
];
settings = {
theme = "everblush";
editor = {
line-number = "relative";
mouse = true;
cursor-shape = {
insert = "bar";
normal = "block";
select = "underline";
};
file-picker.hidden = false;
};
};
};
}; };
} }