lib/rouge/lexers/racket.rb in rouge-1.1.0 vs lib/rouge/lexers/racket.rb in rouge-1.2.0
- old
+ new
@@ -508,12 +508,10 @@
Str::Char
rule /#t|#f/, Name::Constant
rule /(?:'|#|`|,@|,|\.)/, Operator
rule /(['#])(\s*)(\()/m do
- group Str::Symbol
- group Text
- group Punctuation
+ groups Str::Symbol, Text, Punctuation
end
# () [] {} are all permitted as like pairs
rule /\(|\[|\{/, Punctuation, :command
rule /\)|\]|\}/, Punctuation