Skip to content
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

Fix indentation of single line fun declarations after single line fun declarations with when clauses #279

Conversation

gausby
Copy link
Contributor

@gausby gausby commented Oct 23, 2015

Indentation seems to fail if a single-line function declaration comes after a single-line function declaration that contain a when-clause.

I think that I have to touch the smie stuff to fix this; this would probably up my elisp game, but if anyone wanna take this to the finish you are more than welcome :)

This PR is in relation to #276

@gausby gausby changed the title Added a failing (for now) unit test Fix indentation of single line fun declarations after single line fun declarations with when clauses Oct 23, 2015
  - Indentation seems to fail if a single-line function declaration
    comes after a single-line function declaration that contain a
    when-clause.
@gausby gausby force-pushed the indentation-of-single-line-fun-declaration-after-single-line-fun-with-when branch from d3ed11c to dbaa1c3 Compare October 23, 2015 10:43
tonini added a commit that referenced this pull request Oct 23, 2015
…claration-after-single-line-fun-with-when

Fix indentation of single line fun declarations after single line fun declarations with when clauses
@tonini tonini merged commit 70369ff into elixir-editors:master Oct 23, 2015
@tonini
Copy link
Contributor

tonini commented Oct 23, 2015

Great! Thanks Martin

J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants