helix: added shfmt

This commit is contained in:
Giulio De Pasquale 2023-12-21 16:11:01 +01:00
parent 66aa5ee5e2
commit 4e63ebed38

View File

@ -53,6 +53,11 @@ in
[[language]]
name = "python"
formatter = { command = "black", args = [ "-" ] }
[[language]]
name = "bash"
indent = { tab-width = 2, unit = " " }
formatter = { command = 'shfmt', args = ["-i", "2"] }
'';
packages = with pkgs.unstablePkgs; [
@ -65,6 +70,7 @@ in
nixpkgs-fmt
ruff
shellcheck
shfmt
] ++ pythonPkgs ++ nodePkgs;
};
}