greglook / whidbey

nREPL middleware to pretty-print colored values
The Unlicense
158 stars 10 forks source link

Colors can't be turned off with plugin usage #8

Closed gfredericks closed 10 years ago

gfredericks commented 10 years ago

The plugin hardcodes the call to puget.printer/cprint-str, which turns coloring on even if the :puget-options in the profile have :print-color false.

Would it be reasonable to start using pprint-str instead, and maybe change the default value in puget.printer/*options* to :print-color true?

greglook commented 10 years ago

Hmm, good catch. I don't want to change the default in puget, but it should be possible to set a default value for whidbey and change the function to pprint-str.

greglook commented 10 years ago

Released 0.3.3 with the new functionality.