-
-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
I've loved using clojure-mcp but one point of annoyance has been that after any edit to a section of a file I have to go and manually re-run CIDER's clojure-align operation to fix vertical alignments of let expressions, destructures, and maps.
I would love it if there were a config option or default to keeping forms vertically aligned for readability.
e.g.
Actual
(let [short-var true
much-longer-var-name-that-should-force-alignment true
some-map {:a 1
:alphabetical 2}]
...)Expected
(let [short-var true
much-longer-var-name-that-should-force-alignment true
some-map {:a 1
:alphabetical 2}]
...)Similarly for comments, a real snippet where I had manually aligned a comment and then clojure-mcp undid it:
Actual
(filter (fn [[_k v]]
(or (= type-kw (:document/type v)) ;; v1
(= type-kw (:type-kw v))))) ;; v0Expected
(filter (fn [[_k v]]
(or (= type-kw (:document/type v)) ;; v1
(= type-kw (:type-kw v))))) ;; v0kommen
Metadata
Metadata
Assignees
Labels
No labels