Skip to content

No indentation suggested for case clauses #786

Closed
@dzhus

Description

@dzhus

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:

f x =
  case x of
    Just 5 -> return ()

When I hit TAB on the line with Just, it suggests to line it up with case:

f x =
  case x of
  Just 5 -> return ()

Here's an illustration of the problem with «Show indentations» option switched on:

2015-07-30-001022_1280x800_scrot

The rest of the options in haskell-indentation group are set to standard.

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