Skip to content

Indentation of first data constructor does not work with haskell-indent #1080

Closed
@jstolarek

Description

@jstolarek

Say I am declaring a data type:

data FooX

where X is the cursor position. Pressing enter does not indent the new line, but I would expect there to be some indentation:

data Foo
X

Now I define a data constructor:

data Foo
= BarX

In this setting pressing tab does not indent the code. #1079 might be related.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions