lib/rouge/lexers/scheme.rb in rouge-3.1.1 vs lib/rouge/lexers/scheme.rb in rouge-3.2.0
- old
+ new
@@ -83,11 +83,11 @@
rule /(['#])(\s*)(\()/m do
groups Str::Symbol, Text, Punctuation
end
- rule /\(/, Punctuation, :command
- rule /\)/, Punctuation
+ rule /\(|\[/, Punctuation, :command
+ rule /\)|\]/, Punctuation
rule id, Name::Variable
end
state :command do