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