marick / Midje

Midje provides a migration path from clojure.test to a more flexible, readable, abstract, and gracious style of testing
MIT License
1.68k stars 128 forks source link

Using IJ + Cursive on Win10, cannot resolve font color properly. #468

Open ca1123 opened 4 years ago

ca1123 commented 4 years ago

I am following MOOC course, Functional programming in Clojure (http://iloveponies.github.io/120-hour-epic-sax-marathon/index.html) I am mostly happy, but on issue of midje keeps bugging me. The output always contains phunky color code which the terminal in IJ cannot resolve. image

Try turn off the colorizing font.

Have tried https://github.com/marick/Midje/wiki/Configuration-files adding (change-defaults :color false) to .midje-grading-config.clj Which does not work. How to show colorized font in IJ. Or easier, how to disable midje colorized font?

rodnaph commented 2 years ago

I ran into this as well with vim-fireplace, looks like :pretty-print is responsible for the colorizing here (unsure if it's a bug that :colorize doesn't affect it?). So the following worked for me, with the obvious drawbacks...

(midje.config/change-defaults :pretty-print false)