helix: added shfmt
This commit is contained in:
parent
66aa5ee5e2
commit
4e63ebed38
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user