Skip to content

Indentation wrong after destructured tuple with underscore #526

Closed
@rietmann

Description

@rietmann

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions