-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add suport for clojure-align-forms-automatically #16
Comments
This will depend on semantic indentation being done (at least the first pass). Once that is in place I plan to look into this. |
Dev Note: check out builtin |
Related: Since clojure-emacs/clojure-mode#673 |
@kommen
never hit that bug you fixed, are you just keybinding clojure-align, or how do you use this with clojure-ts-mode |
@jasonjckn I'm not using Also, because I ran into performance problems with aggressive-indent-mode and clojure-mode's indent functions, I do want to use the treesit-indent-* functions come as default for clojure-ts-mode , as they don't have these performance problems. |
i'm also a big aggressive indent user, one cool way to get aligned forms without ever relying on clojure-mode in-process, is have https://github.com/radian-software/apheleia invoke a separate process every time you save the buffer, and run clojure-mode across your whole buffer, it works great. https://gist.github.com/jasonjckn/750e01086b24bcaacef3946c698943c2 |
I liked the concept of |
(setq clojure-align-forms-automatically t)
in clojure-mode.el'indents'
to
The text was updated successfully, but these errors were encountered: