diff options
author | tomoya ishida <[email protected]> | 2023-02-13 05:27:27 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-02-12 20:27:32 +0000 |
commit | f313514563853f1ee623135c2959df2b518ee755 (patch) | |
tree | 797b73d013f0781fafda841a3d8da14d70ca94c8 /lib | |
parent | 6517d1a188cb0b9aff70f93df8630105dbb98ebc (diff) |
[ruby/irb] Fix colorize backtick symbol
(https://github.com/ruby/irb/pull/508)
https://github.com/ruby/irb/commit/dd7f25cd45
Co-authored-by: Stan Lo <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/color.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/color.rb b/lib/irb/color.rb index 6378e14856..52d6240910 100644 --- a/lib/irb/color.rb +++ b/lib/irb/color.rb @@ -242,7 +242,7 @@ module IRB # :nodoc: case token when :on_symbeg, :on_symbols_beg, :on_qsymbols_beg @stack << true - when :on_ident, :on_op, :on_const, :on_ivar, :on_cvar, :on_gvar, :on_kw + when :on_ident, :on_op, :on_const, :on_ivar, :on_cvar, :on_gvar, :on_kw, :on_backtick if @stack.last # Pop only when it's Symbol @stack.pop return prev_state |