fix(home): helix formatters
This commit is contained in:
parent
ed9df3bf9f
commit
5a7f10659e
1 changed files with 9 additions and 6 deletions
|
@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue