Fork me on GitHub
#emacs
<
2022-11-09
>
jumar07:11:03

Does anybody have an idea why I'm getting this weird indentation ? I'm not sure when it started happening but it wasn't like that some time ago.

jumar07:11:42

This happens when I simply press enter to add the second arg.

Apple13:11:32

not able to replicate

hifumi12316:11:13

Same here. I'm unable to replicate this. What is your current setup? I'm using Emacs 28.2 with CIDER 1.6.0-snapshot

jumar04:11:50

I'm using Emacs 28.1 with cider 1.5.0-snapshot. This is #spacemacs distribution. Oddly enough, it seems to happen for namespaced symbols but not simple symbols (in this case)

jumar05:11:05

But the aformentioned problem still happens too

hifumi12305:11:08

Are you using clojure-lsp? That may be interfering with indentation. Just to see if it is, what happens to indentation when you disconnect from the LSP server?

jumar05:11:10

No. But I've just updated to Emacs 28.2 and also to latest spacemacs/develop and the problem went away!

hifumi12306:11:00

That's good to hear. 🙂