Fork me on GitHub
#lsp
<
2021-11-09
>
Darin Douglass21:11:44

when using the thread-*-all code actions, is there a config i can set to have it wrap all forms in parens (regardless of parameter count)?

ericdallo22:11:13

do you have an example?

ericdallo22:11:30

no, we don't have this, and it sounds kind of odd to me want to add (-> 1 (foo)) if there is only one parameter instead of (-> 1 foo)

ericdallo22:11:37

but we could have a flag for that I think

Darin Douglass22:11:30

Ya it's definitely a personal preference. I simply like (and think it's less confusing) when all forms in a thread-through are in parens

ericdallo22:11:23

I see, could you open an issue on clojure-lsp suggesting that please?

ericdallo02:11:54

Done, available on next release

Darin Douglass14:11:26

❤️ thanks for the quick turnaround!

ericdallo14:11:32

You are welcome :)