Skip to content

indentation doesn't work for complex situations #8

@caox

Description

@caox

case expression of
    pattern when guard ->
        body
    end

    try expression of
        pattern when guard ->
            wath
            catch
                pattern when guard ->
                    body
                    after
                        body
                    end  

The indentation doesn't work properly when use command tab to indent the source code. It seems the increaseIndentPattern and decreaseIndentPattern are too simple to match all the cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions