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

Indentation wrong after destructured tuple with underscore #526

Closed
rietmann opened this issue Mar 17, 2015 · 2 comments
Closed

Indentation wrong after destructured tuple with underscore #526

rietmann opened this issue Mar 17, 2015 · 2 comments

Comments

@rietmann
Copy link
Contributor

I'm having indentation problems with haskell-indentation-mode (turn-on-haskell-indentation). The following code does not seem to indent correctly:

let (a_b) = 1
            |

(Note: Vertical bar/pipe is where cursor is and will not move if I <tab> or <delete>)
If I remove the parenthesis, it works. If I remove the _ it also works. It's really quite frustrating as I like to use underscore for variables and camelCase for functions. I just update via melpa (20150317.204 installed)

@gracjan
Copy link
Contributor

gracjan commented Mar 17, 2015

@rietmann: Can you check if you have same problem with code on branch wip/hi2? That branch contains improved version of haskell-indentation.

@gracjan
Copy link
Contributor

gracjan commented Mar 25, 2015

Next generation haskell-indentation mode has been merged and it is expected that this issue is fixed. Please check if your issue is resolved by that. If it is not please write a comment here or just open new request. Thanks!

@gracjan gracjan closed this as completed Mar 25, 2015
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

No branches or pull requests

2 participants