1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Overwrite CodeRay's comment color.

From 30m(black) to 34m(blue)
This commit is contained in:
yui-knk 2014-05-01 00:17:03 +09:00
parent 24a3ac9e8c
commit 134ecb66c4

View file

@ -10,6 +10,8 @@ class Pry
end
end
CodeRay::Encoders::Terminal::TOKEN_COLORS[:comment][:self] = "\e[1;34m"
def self.pp(obj, out = $>, width = 79)
q = ColorPrinter.new(out, width)
q.guard_inspect_key { q.pp obj }