Skip to content

Avoid trailing whitespace when aligning empty lines #46

@purcell

Description

@purcell

Hi! I'm using Dhall, and dhall-format is built using prettyprinter. Using the align function leads to trailing whitespace when empty lines are aligned, as in the example at dhall-lang/dhall-haskell#183.

It's picky, to be sure, but (at least) my brain associates "pretty" with "tidy", so I wonder if it would be straightforward to avoid this case?

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