haskell-prettyprinter / haskell-prettyprinter/prettyprinter
Add support for disabling colors
Open
Feature request
- Dominant language
- Haskell
- Stars
- 309
- Forks
- 43
- Avg merge
- 21h 25m
- Merged PRs (30d)
- 1
Description
[LayoutOptions](https://hackage.haskell.org/package/prettyprinter-1.7.1/docs/src/Prettyprinter.Internal.html#LayoutOptions) should have a `layoutColor` field that lets you output the document without any colors. Another option could be to automatically read the `NO_COLOR` env variable as described in https://no-color.org/
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.