You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When typing, indentation is correct, but when indenting using something like gg=G, the indentation becomes incorrect. The following example is in Fennel, but the idea is the same.
I'm unable to reproduce this bug in a *.clj file. But you might be interested to know that the indentation algorithm (and configuration) is getting a big rewrite in #31 that will make it faster, more reliable and should make it work better for Fennel too.
I think I might have figured out why the indentation in Fennel files was messed up. The Clojure indent script (currently) relies on syntax highlighting. So when used with Fennel, the "syntax groups" had different names so the indentation failed.
The PR I linked to yesterday (#31) will decouple Clojure indentation from syntax highlighting.
When typing, indentation is correct, but when indenting using something like
gg=G
, the indentation becomes incorrect. The following example is in Fennel, but the idea is the same.Correct indentation:
After
gg=G
:Also see neovim/neovim#24080
The text was updated successfully, but these errors were encountered: