cursive
cursive copied to clipboard
cond-> gets over-indented on 3rd+ lines
IntelliJ 2022.3.3 w/ Cursive 1.12.8
Steps to reproduce:
- Paste the following code into Cursive:
(cond-> response
(:schema response) (update :schema transform {:type :schema})
true (update :description (fnil identity ""))
true -remove-empty-keys)
- Select those lines and run Code -> Auto-Indent Lines.
Expected: Cursive would leave those lines alone as they are already correctly indented.
Observed: Cursive over-indents the 3rd+ lines like so:
(cond-> response
(:schema response) (update :schema transform {:type :schema})
true (update :description (fnil identity ""))
true -remove-empty-keys)