nixfleet/hmModules/helix/default.nix
Andrea Ciceri a394b9cefd
All checks were successful
/ test (push) Successful in 32s
Reformat everything
2024-09-20 11:37:17 +02:00

49 lines
1 KiB
Nix

{
programs.helix = {
enable = true;
defaultEditor = true;
settings = {
theme = "catppuccin_mocha";
editor = {
indent-guides.render = true;
cursor-shape = {
insert = "bar";
normal = "block";
select = "underline";
};
true-color = true; # to make colors coherent when in ssh
# inline-diagnostic = {
# cursor-line = "hint";
# other-lines = "error";
# };
};
};
languages = {
language = [
{
name = "nix";
language-servers = [ "nixd" ];
}
{
name = "markdown";
language-servers = [ "zk" ];
}
{
name = "typescript";
language-servers = [ "vtsls" ];
}
];
language-server = {
nixd.command = "nixd";
vtsls = {
command = "vtsls";
args = [ "--stdio" ];
};
zk = {
command = "zk";
args = [ "lsp" ];
};
};
};
};
}