-
Notifications
You must be signed in to change notification settings - Fork 347
No indentation suggested for case clauses #786
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
Comments
Hmm, technically this is correct in current implementation of I see how this might be confusing though... just not sure how to improve given current indentation design. |
Thanks for the explanation. However, a there's an equal possibility that there is a clause after the
I believe in this case we should look at the line before the current line? And how is this different from |
Hmm, I think I misunderstood your comment. To clarify: I get BOTH indentation points proposed. Do you get something else? |
Yes, I am only suggested to have my |
That is interesting. Are you using |
To my best knowledge this is working correctly. Reopen if you check against latest github version of haskell-indentation mode and it does not work. |
I'm experiencing broken indentation for
case
keyword clauses with haskell-mode version 13.15-git (/home/dzhus/.emacs.d/elpa/haskell-mode-20150729.316/)Minimal example:
When I hit TAB on the line with
Just
, it suggests to line it up withcase
:Here's an illustration of the problem with «Show indentations» option switched on:
The rest of the options in
haskell-indentation
group are set to standard.The text was updated successfully, but these errors were encountered: