feat(opencode): add cljfmt formatter support for Clojure files (#13426)

This commit is contained in:
Salam Elbilig
2026-02-15 13:21:57 -08:00
committed by GitHub
parent 62a24c2dda
commit 9b23130ac4
2 changed files with 28 additions and 18 deletions

View File

@@ -364,3 +364,12 @@ export const ormolu: Info = {
return Bun.which("ormolu") !== null
},
}
export const cljfmt: Info = {
name: "cljfmt",
command: ["cljfmt", "fix", "--quiet", "$FILE"],
extensions: [".clj", ".cljs", ".cljc", ".edn"],
async enabled() {
return Bun.which("cljfmt") !== null
},
}