Skip to content

Drop the indent specs cljfmt and clojure-ts-mode don't have - #710

Merged
bbatsov merged 1 commit into
masterfrom
drop-extra-indent-specs
Nov 3, 2026
Merged

bbatsov merged 1 commit into
masterfrom
drop-extra-indent-specs

Conversation

@bbatsov

@bbatsov bbatsov commented Nov 1, 2026

Copy link
Copy Markdown
Member

async, this-as and core.logic's run, run* and fresh were the only built-in specs neither cljfmt nor clojure-ts-mode has, so the same code came out indented differently depending on the tool. They're indented like function calls now; put-clojure-indent brings the old behavior back for anyone who wants it.

async (from cljs.test), this-as and core.logic's run, run* and fresh
were the only built-in indent specs that neither cljfmt nor
clojure-ts-mode has, so the same code got indented differently
depending on the tool.  Without them they're indented like function
calls, as the other two do it.  Anyone who wants the old indentation
can put it back with put-clojure-indent.
@bbatsov
bbatsov force-pushed the drop-extra-indent-specs branch from 331f402 to e362a6c Compare November 1, 2026 10:46
@bbatsov
bbatsov merged commit 370c7ff into master Nov 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant