|
@@ -322,3 +322,12 @@ export const shfmt: Info = {
|
|
|
return Bun.which("shfmt") !== null
|
|
return Bun.which("shfmt") !== null
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+export const nixfmt: Info = {
|
|
|
|
|
+ name: "nixfmt",
|
|
|
|
|
+ command: ["nixfmt", "$FILE"],
|
|
|
|
|
+ extensions: [".nix"],
|
|
|
|
|
+ async enabled() {
|
|
|
|
|
+ return Bun.which("nixfmt") !== null
|
|
|
|
|
+ },
|
|
|
|
|
+}
|