The cider-format-*
functionality (on the spacemacs develop branch) is not applying my indent rules specified via define-clojure-indent
in the clojure-mode-hook
. Is this by-design? Should I be using a different approach? Or perhaps defining it for a different mode? It works if I indent via =
in evil-mode. The cider docs seem to only cover the {:style/indent ...}
metadata approach.
From a quick look at the code, it seems that Spacemacs is calling CIDER without changing anything. If it's not covered in https://docs.cider.mx/cider/indent_spec.html then probably should ask maintainers on #cider
@pithyless, this is a bit of a long shot, but a while ago spacemacs started indenting in unexpected ways for me after moving to the develop branch. The cause was an old stray .editorconfig
file, which spacemacs v0.300 now reads, in my home dir. After deleting .editorconfig
all was good.