spacemacs

2022-06-01T19:33:05.158189Z

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.

2022-06-28T19:07:19.721869Z

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)
😌

2022-06-01T20:07:30.846869Z

Well, this is silly, but I solved it by switching to text-mode. 🤪

practicalli-johnny 2022-06-02T01:03:51.744589Z

Do you have aggressive-indent enabled for clojure-mode

2022-06-02T17:15:14.279969Z

Nope, global-aggressive-indent-mode is nil. 🤷

2022-06-02T17:15:22.424529Z

Thanks for the thought though.