haskell-prettyprinter / haskell-prettyprinter/prettyprinter

Add support for disabling colors

Open
#259 2 comments 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.