Skip to content

Preserve inline ghc-options formatting from existing .cabal file #633

Description

@webdevred

Problem:
hpack merges multiple ghc-options entries into a single line or changes indentation. Related: #617

Expected behavior:
Keep each ghc-options entry on its own line with the original indentation.

Example:

-- Before (Gild-formatted)

ghc-options:
  -Wall
  -Wcompat
  -Widentities

-- After (hpack)

ghc-options: -Wall -Wcompat -Widentities

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions