fix(home): helix formatters

This commit is contained in:
Ahurac 2024-11-12 10:41:41 +01:00
parent ed9df3bf9f
commit 5a7f10659e

View file

@ -7,6 +7,7 @@
home.stateVersion = "24.05";
home.packages = with pkgs; [
jdt-language-server
python3
swaybg
catimg
@ -24,16 +25,13 @@
gnumake
man-pages
man-pages-posix
clang-tools
gdb
gcc
valgrind
nixfmt-classic
cloc
nodejs_22
texliveFull
bash-language-server
shfmt
libnotify
(nerdfonts.override { fonts = [ "Hack" ]; })
@ -97,17 +95,22 @@
{
name = "nix";
auto-format = true;
formatter.command = "nixfmt";
formatter.command = "${pkgs.nixfmt-classic}/bin/nixfmt";
}
{
name = "c";
auto-format = true;
formatter.command = "clang-format";
formatter.command = "${pkgs.clang-tools}/bin/clang-format";
}
{
name = "bash";
auto-format = true;
formatter.command = "shfmt";
formatter.command = "${pkgs.shfmt}/bin/shfmt";
}
{
name = "java";
auto-format = true;
formatter.command = "${pkgs.google-java-format}/bin/google-java-format";
}
];
};