helix: added shfmt
This commit is contained in:
parent
66aa5ee5e2
commit
4e63ebed38
@ -53,6 +53,11 @@ in
|
|||||||
[[language]]
|
[[language]]
|
||||||
name = "python"
|
name = "python"
|
||||||
formatter = { command = "black", args = [ "-" ] }
|
formatter = { command = "black", args = [ "-" ] }
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "bash"
|
||||||
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
formatter = { command = 'shfmt', args = ["-i", "2"] }
|
||||||
'';
|
'';
|
||||||
|
|
||||||
packages = with pkgs.unstablePkgs; [
|
packages = with pkgs.unstablePkgs; [
|
||||||
@ -65,6 +70,7 @@ in
|
|||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
ruff
|
ruff
|
||||||
shellcheck
|
shellcheck
|
||||||
|
shfmt
|
||||||
] ++ pythonPkgs ++ nodePkgs;
|
] ++ pythonPkgs ++ nodePkgs;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user