diff options
author | murphy <murphy@rubychan.de> | 2010-06-27 02:49:23 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-06-27 02:49:23 +0000 |
commit | b5dd1ba683fb9eb0a74ab0b1f54fd9977e0ed3be (patch) | |
tree | 07620834114bf7b7ec19acfb8f86647c3d0f88b1 /lib/coderay/token_kinds.rb | |
parent | 1a3a0670c82a6e7d75c2ada82dd50a78d8b5de36 (diff) | |
download | coderay-b5dd1ba683fb9eb0a74ab0b1f54fd9977e0ed3be.tar.gz |
More speedups for HTML encoding (numbering, CSS styles, Ruby 1.9).
Diffstat (limited to 'lib/coderay/token_kinds.rb')
-rwxr-xr-x | lib/coderay/token_kinds.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/coderay/token_kinds.rb b/lib/coderay/token_kinds.rb index e9e60cf..756f75e 100755 --- a/lib/coderay/token_kinds.rb +++ b/lib/coderay/token_kinds.rb @@ -4,7 +4,7 @@ module CodeRay if $CODERAY_DEBUG raise 'Undefined Token kind: %p' % [k] # :nodoc: else - :NO_HIGHLIGHT + false end end AbbreviationForKind.update with = { # :nodoc: @@ -74,11 +74,11 @@ module CodeRay :eyecatcher => 'eye', - :ident => :NO_HIGHLIGHT, # 'id' - #:operator => 'op', - :operator => :NO_HIGHLIGHT, # 'op' - :space => :NO_HIGHLIGHT, # 'sp' - :plain => :NO_HIGHLIGHT, + :ident => false, # 'id' + :operator => false, # 'op' + + :space => false, # 'sp' + :plain => false, } AbbreviationForKind[:method] = AbbreviationForKind[:function] AbbreviationForKind[:nesting_delimiter] = AbbreviationForKind[:delimiter] |