Fork me on GitHub
#emacs
<
2022-01-17
>
cstby16:01:12

Has anyone gotten clojure-align-forms-automatically (from clojure-mode) to work with clojure-lsp?

ericdallo16:01:36

clojure-lsp uses cljfmt which doesn't support yet vertical map alignments 😔 https://github.com/weavejester/cljfmt/issues/36

cstby16:01:38

Got it. There's no way to disable cljfmt entirely? Between clojure-mode and aggressive-indent mode, I've never had an issue with formatting.

ericdallo17:01:27

yes, you can disable clojure-lsp formatting via client-side (lsp-mode) or server-side via .lsp/config.edn

❤️ 1
ericdallo17:01:19

I think that on lsp-mode is lsp-enable-indentation

cstby17:01:26

Thank you. Setting lsp-enable-indentation to nil worked perfectly for me. 👍

👍 2