Skip to content

newtype vs type formatting #1154

Open
Open
@Flinner

Description

@Flinner

Is your feature request related to a problem? Please describe.
I am relatively new to Haskell, so I apologize in case I am the problem :)

Describe the solution you'd like
When formatting this:

newtype Html =
  Html String

type Title =
  String

it gets formatted as:

newtype Html
  = Html String

type Title =
  String

the equal sign placement bothers me, it isn't consistent between newtype and type, maybe this is intended behavior, I am not really sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    styleNitpicking and things related to purely visual aspect for formatting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions