Skip to content

Make it clear that configuration files must end with a newline #1122

@mngrm3a

Description

@mngrm3a

Is your feature request related to a problem? Please describe.
.ormolu files need to end with a newline or the config parser will fail. This isn't clear from the README. It's not a big deal when ormolu is being used from the shell. But when running as a library in hls, it's not immediately obvious what is causing the formatter to fail.

Describe the solution you'd like
Make the parser more lenient or add a hint to the readme.

Describe alternatives you've considered

Additional context

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