diff --git a/CHANGELOG.md b/CHANGELOG.md index b9758c2..b96ab74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ The format is based on [Keep a Changelog]. * `ktlint` would emit log messages into its stdout when formatting, and these would get spliced into the source file. This has been fixed by suppressing all logs from `ktlint`. +* Disable colorized output with the jq formatter ([#213]). ### Formatters @@ -64,6 +65,7 @@ The format is based on [Keep a Changelog]. [#182]: https://github.com/radian-software/apheleia/pull/182 [#187]: https://github.com/radian-software/apheleia/pull/187 [#196]: https://github.com/radian-software/apheleia/pull/196 +[#213]: https://github.com/radian-software/apheleia/pull/213 [#214]: https://github.com/radian-software/apheleia/pull/214 ## 3.2 (released 2023-02-25) diff --git a/apheleia.el b/apheleia.el index 6203710..3d22978 100644 --- a/apheleia.el +++ b/apheleia.el @@ -79,7 +79,7 @@ 'web-mode-indent-style))) (apheleia-formatters-fill-column "-wrap")) (isort . ("isort" "-")) - (jq "jq" "." + (jq "jq" "." "-M" (apheleia-formatters-js-indent "--tab" "--indent")) (lisp-indent . apheleia-indent-lisp-buffer) (ktlint . ("ktlint" "--log-level=none" "--stdin" "-F" "-"))