When wrapping an existing form, parinfer currently produces a broken result. I start with:
(let [a 1]
(foo))
I want to wrap (foo) in another form, perhaps an if. So I create a new line:
(let [a 1]
|
(foo))
And then wrap the following form. This will cause an open paren to be inserted at the caret, and a close paren to be inserted after the (foo). Cursive will also indent the (foo).
When wrapping an existing form, parinfer currently produces a broken result. I start with:
I want to wrap
(foo)
in another form, perhaps anif
. So I create a new line:And then wrap the following form. This will cause an open paren to be inserted at the caret, and a close paren to be inserted after the
(foo)
. Cursive will also indent the(foo)
.Sandbox code to reproduce:
Produces: