-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix removal of empty lines in free text fields
... like `description` With cabal-version: 3.0 one doesn't need to use single dot lines to indicate empty lines, but cabal-fmt removed completely empty lines squashing paragraphs together We now treat free text fields specially (as does `Cabal-fmt`), by not parsing&prettyprinting them
- Loading branch information
Showing
14 changed files
with
241 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cabal-version: 3.0 | ||
name: issue29 | ||
version: 0 | ||
description: | ||
First Paragraph | ||
|
||
|
||
|
||
|
||
|
||
Second Paragraph | ||
|
||
library | ||
default-language: Haskell2010 | ||
hs-source-dirs: src | ||
build-depends: | ||
base >=4.3 && <4.18 | ||
|
||
exposed-modules: | ||
Data.Bifunctor.Assoc | ||
Data.Bifunctor.Swap | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
cabal-version: 3.0 | ||
name: issue29 | ||
version: 0 | ||
description: | ||
First Paragraph | ||
|
||
Second Paragraph | ||
|
||
library | ||
default-language: Haskell2010 | ||
hs-source-dirs: src | ||
build-depends: base >=4.3 && <4.18 | ||
exposed-modules: | ||
Data.Bifunctor.Assoc | ||
Data.Bifunctor.Swap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.