mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Merge pull request #1211 from yui-knk/fix-1016
Overwrite CodeRay's comment color.
This commit is contained in:
commit
c710ec3661
1 changed files with 2 additions and 0 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Reference in a new issue