Skip to content

Some records configs cause variant types to not line up  #395

Open
@tysonzero

Description

@tysonzero

With the following config:

  - records:
      equals: "same_line"
      first_field: "indent 4"
      field_comment: 2
      deriving: 4
      via: "same_line"
      break_enums: true
      break_single_constructors: false
      curried_context: false

This code:

data Foo
    = Bar Bar
    | Baz
    | Qux Qux

Becomes:

data Foo = Bar Bar
           | Baz
           | Qux Qux

This is on stylish-haskell 0.12.1.0, so I apologize if this has already been fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions