summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-03-07 22:46:47 +0000
committermurphy <murphy@rubychan.de>2011-03-07 22:46:47 +0000
commitca6fe10b028403347d25911e220d872679cc1a82 (patch)
tree7e5f00ed1b3e8ae99cc9f975b20e5b909458a9a4 /lib/coderay/encoders
parent4a8301855693fc520cdd98d518f89ae06874dcd7 (diff)
downloadcoderay-ca6fe10b028403347d25911e220d872679cc1a82.tar.gz
updating terminal encoder a bit
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r--lib/coderay/encoders/terminal.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/coderay/encoders/terminal.rb b/lib/coderay/encoders/terminal.rb
index 3a774a0..4d64aba 100644
--- a/lib/coderay/encoders/terminal.rb
+++ b/lib/coderay/encoders/terminal.rb
@@ -93,11 +93,10 @@ module CodeRay
TOKEN_COLORS[:method] = TOKEN_COLORS[:function]
TOKEN_COLORS[:imaginary] = TOKEN_COLORS[:complex]
TOKEN_COLORS[:begin_group] = TOKEN_COLORS[:end_group] =
- TOKEN_COLORS[:nesting_delimiter] = TOKEN_COLORS[:escape] =
- TOKEN_COLORS[:delimiter]
-
+ TOKEN_COLORS[:escape] = TOKEN_COLORS[:delimiter]
+
protected
-
+
def setup(options)
super
@opened = []