lib/coderay/scanners/_map.rb in coderay-1.0.0.800pre vs lib/coderay/scanners/_map.rb in coderay-1.0.0.815pre
- old
+ new
@@ -1,22 +1,23 @@
module CodeRay
module Scanners
map \
- :cplusplus => :cpp,
- :'c++' => :cpp,
- :ecmascript => :java_script,
+ :'c++' => :cpp,
+ :cplusplus => :cpp,
+ :ecmascript => :java_script,
:ecma_script => :java_script,
- :irb => :ruby,
- :javascript => :java_script,
- :js => :java_script,
- :nitro => :nitro_xhtml,
- :pascal => :delphi,
- :patch => :diff,
- :plain => :text,
- :plaintext => :text,
- :xhtml => :html,
- :yml => :yaml
+ :rhtml => :erb,
+ :eruby => :erb,
+ :irb => :ruby,
+ :javascript => :java_script,
+ :js => :java_script,
+ :pascal => :delphi,
+ :patch => :diff,
+ :plain => :text,
+ :plaintext => :text,
+ :xhtml => :html,
+ :yml => :yaml
default :text
end
end