dev: add formatting config
lread opened this issue · comments
Lee Read commented
I'm finding it a tiny bit annoying that formatting from doom emacs with clojure-lsp is not what I'd like it to be.
For example, the default formatting config assumes formatting should be like so:
(e/when-safari *driver*
(do some stuff)
(here))
Instead of like so:
(e/when-safari *driver*
(do some stuff)
(here))
This makes sense, cljfmt does not know about when-safari
, etc.
Can I add a .cljfmt.edn
to resolve?
To be clear, I'm not proposing format validation with cljfmt, just a better default config when editing Etaoin source code. I suppose this config could also be a useful example for folks using Etaoin.