mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-05 00:33:09 +02:00
helix? more like helNIX
Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
parent
c4d34c202c
commit
f3c8be591f
1 changed files with 50 additions and 1 deletions
|
@ -95,7 +95,7 @@ in {
|
|||
man-pages
|
||||
ckan
|
||||
cool-retro-term
|
||||
helix
|
||||
# helix
|
||||
];
|
||||
};
|
||||
programs = {
|
||||
|
@ -105,5 +105,54 @@ in {
|
|||
doomPrivateDir = ./doom.d;
|
||||
};
|
||||
# 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue