-
Notifications
You must be signed in to change notification settings - Fork 67
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
how can I normalize elm indentation to standard spacing #125
Comments
What you're seeing is different levels of "bounce indenting" in order to achieve alignment with elements such as the empty list on the line above. If you want to disable that, it looks like you can |
P.S. I personally feel that the best solution is to embrace |
I've made this more straightforward in the latest code, which should build into a MELPA package automatically in the next few hours: specifically, all you'll need to do will be |
The "bounce indentation" you're seeing without |
I do like the cycling though, is it not possible to make it match elm-format behavior, or at least snap to a multiple of 4 spaces? |
If you want multiples of 4 spaces, there'll be a default Emacs indentation function for that. Re. exactly matching |
For me, I took this approach. At least with this, the new line isn't adding a "tab" of its own. |
I expect 4 spaces, but I get very strange combinations of 6, 2, and 1-space, depending on moon phase and cosmic rays.
The text was updated successfully, but these errors were encountered: