[PR #13426] feat(opencode): add cljfmt formatter support for Clojure files #14663

Closed
opened 2026-02-16 18:19:26 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13426

State: closed
Merged: Yes


What does this PR do?

  • Adds cljfmt formatter support for Clojure files (.clj, .cljs, .cljc, and .edn)
  • Automatically enables the formatter when cljfmt is available on PATH
  • The implementation follows the existing formatter pattern (gofmt, rustfmt, and etc.)
  • Updates the documentation with the formatter support

Closes #13424.

How did you verify your code works?

  • Verify formatter is detected when cljfmt is installed and available on PATH
  • Confirm .clj, .cljs, .cljc, and .edn files are formatted on writes/edits
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13426 **State:** closed **Merged:** Yes --- ### What does this PR do? - Adds `cljfmt` formatter support for Clojure files (`.clj`, `.cljs`, `.cljc`, and `.edn`) - Automatically enables the formatter when `cljfmt` is available on `PATH` - The implementation follows the existing formatter pattern (`gofmt`, `rustfmt`, and etc.) - Updates the documentation with the formatter support Closes #13424. ### How did you verify your code works? - Verify formatter is detected when `cljfmt` is installed and available on `PATH` - Confirm `.clj`, `.cljs`, `.cljc`, and `.edn` files are formatted on writes/edits
yindo added the pull-request label 2026-02-16 18:19:26 -05:00
yindo closed this issue 2026-02-16 18:19:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14663