hpack icon indicating copy to clipboard operation
hpack copied to clipboard

Preserve `tested-with` formatting from existing `.cabal` file

Open webdevred opened this issue 2 months ago • 2 comments

Problem:
hpack changes capitalization and spacing in the tested-with section, breaking Gild formatting. Related: #617

Expected behavior:
Maintain exact formatting, including capitalization, spacing, and commas.

Example:

-- Before (Gild-formatted)

tested-with:
  ghc ==9.4.7
  ghc ==9.6.6

-- After (hpack)

tested-with:
  GHC == 9.4.7,
  GHC == 9.6.6

webdevred avatar Oct 31 '25 19:10 webdevred