-
Notifications
You must be signed in to change notification settings - Fork 17
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
Indentation needs fixing #1
Comments
It is currently working, but not containing all items needed. Will likely rewrite the entire indentation heuristic.
|
You should check modern modes like https://github.com/chrisbarrett/swift-mode and https://github.com/elixir-lang/emacs-elixir for ideas how to improve indentation overall. It's generally a good idea to leverage smie these days - https://www.gnu.org/software/emacs/manual/html_node/elisp/SMIE.html |
Indentation doesn't seem to be working at all on my setup (emacs x64 25.1.90.2 on Microsoft Windows). Similarly, when installing via melpa, I get this warning: |
Yeah, there's no |
@p3r7 I've just pushed a fix for this. |
I have just created pull request #30 with a few fixes to the indentation code. It now works correctly for a 1800 line AHK script, for me and fixes some blatant misbehaviours. |
Just came here to say thanks. It works great! |
In the Switch-Case statement the Default keyword sticks to the beginning of the line. |
Fix indentation algorithm
The text was updated successfully, but these errors were encountered: