k0kubun / hamlit

High Performance Haml Implementation
https://rubygems.org/gems/hamlit
Other
981 stars 59 forks source link

Option to generate compile/parse/... output from cli *without* ANSI color codes #111

Closed kikonen closed 7 years ago

kikonen commented 7 years ago

Having ANSI color codes in output makes life more difficult when intension is to open file in text editor (which by itself handles proper color highlighting based into file type).

So far I noticed only workaround to be editing "cli.rb" and disabling pry highlighting there.

Not really big deal since my workaround works fine enough.

Side note: Personally I don't care much about highlighting either in console (due to readability; yellow or such fg in "white/light yellow" terminal bg color is not very good for reading :) )

k0kubun commented 7 years ago

Actually it was evil to switch behavior with pry existence. So I changed coloring to opt-in. Released as v2.8.2.

k0kubun commented 7 years ago

Ah... forgot about parse...

k0kubun commented 7 years ago

Fixed them too in v2.8.3.

kikonen commented 7 years ago

nice :)