cursive
cursive copied to clipboard
Unused require removal is broken with Parinfer
Whenever an unused require is deleted, it indents lines after the next line by one space, nesting them under the first line's vector. Naturally, this causes compilation errors. This only happens in Parinfer mode.
;; Before
(ns my.namespace
(:require [my.foo :as a]
[my.bar :as b] ;; unused and will get removed by "optimize imports"
[my.baz :as c]
[my.quux :as d]
[my.other :as e]))
;; After
(ns my.namespace
(:require [my.foo :as a]
[my.baz :as c
[my.quux :as d]
[my.other :as e]]))