Skip to content

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

@webdevred

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

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