tfausak / cabal-gild

:crown: Format Haskell package descriptions.
https://hackage.haskell.org/package/cabal-gild
MIT License
49 stars 5 forks source link

Sort extensions by name #33

Closed tfausak closed 8 months ago

tfausak commented 8 months ago

Fixes #31. Revisits #30 which was a fix for #29.

This PR changes Gild to simply sort extensions by name. Previously Gild would sort No* extensions after others. If you need this behavior, use multiple default-extensions fields like this:

-- before
default-extensions:
  ScopedTypeVariables
  NoExplicitForAll
-- after
default-extensions: ScopedTypeVariables
default-extensions: NoExplicitForAll