When I paste a string deep in a form in spacemacs, the entire top-level form gets autoformatted. Does anyone know how I would figure out what is doing that? It still happens when lsp-mode and cider-mode are turned off.
For anyone looking at this later, I finally figured out a solution:
set lsp-enable-indentation to nil.
My configuration layer now looks like this:
(lsp :variables
lsp-ui-doc-show-with-mouse nil
lsp-ui-doc-show-with-cursor t
lsp-enable-indentation nil)
😌Well, this is silly, but I solved it by switching to text-mode. 🤪
Do you have aggressive-indent enabled for clojure-mode
Nope, global-aggressive-indent-mode is nil. 🤷
Thanks for the thought though.