mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 13:06:35 +05:30
update helix
This commit is contained in:
@ -14,6 +14,7 @@
|
|||||||
./vs-code
|
./vs-code
|
||||||
./bitwarden
|
./bitwarden
|
||||||
./tmux
|
./tmux
|
||||||
|
./helix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
37
modules/home-manager/helix/default.nix
Normal file
37
modules/home-manager/helix/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
programs.helix = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
theme = "gruvbox";
|
||||||
|
editor = {
|
||||||
|
line-number = "relative";
|
||||||
|
cursorline = true;
|
||||||
|
color-modes = true;
|
||||||
|
bufferline = "multiple";
|
||||||
|
|
||||||
|
"cursor-shape" = {
|
||||||
|
insert = "bar";
|
||||||
|
normal = "block";
|
||||||
|
select = "underline";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
languages = {
|
||||||
|
language = [
|
||||||
|
{
|
||||||
|
name = "nix";
|
||||||
|
auto-format = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
language-server = {
|
||||||
|
nil = {
|
||||||
|
command = "${pkgs.nil}/bin/nil";
|
||||||
|
config.nil.formatting = {
|
||||||
|
command = "${pkgs.alejandra}/bin/alejandra";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user