Any tips for turning off cljfmt auto-formatting on Emacs LSP? I love the auto-formatting but want to get team buy-in + adoption before introducing a bunch of commits that change indentation 🙂
Dear lazy-web, how do I upgrade the lsp-server? I installed it through M-x lsp-install-server RET clojure-lsp
?
@slipset I download it manually. If you put it on the path it should probably just work
But you can also set the path explicitly:
lsp-clojure-custom-server-command '("bash" "-c" "/Users/borkdude/Dropbox/bin/clojure-lsp")
(I don't think the bash thing in between is needed, but I copied this from the example config)@rahx1t are you using lsp-mode? If so you can disable it with lsp-enable-identation nil
@slipset C-u lsp-install-server will force download the latest server even if already installed, I have plans to improve lsp-mode to auto update
Otherwise, do that @borkdude suggested :)
Thanks!
You can also pass flags to clijure-lsp server to disable formatting if using a client that does not support disable it via client config