diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2011-07-26 23:08:55 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2011-07-26 23:08:55 +0200 |
commit | 74a55182e8422f053cc8efc805c5a077de8f4c8c (patch) | |
tree | 56174d5264251e6e130ab1159627dc553ecb17ad /lib/coderay/scanners | |
parent | 9798ee644fa44cc7fdf2bd524261dcf6481c05e5 (diff) | |
download | coderay-74a55182e8422f053cc8efc805c5a077de8f4c8c.tar.gz |
add :erb as Ruby scanner alias
Diffstat (limited to 'lib/coderay/scanners')
-rw-r--r-- | lib/coderay/scanners/_map.rb | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/lib/coderay/scanners/_map.rb b/lib/coderay/scanners/_map.rb index d1b1a29..b94d452 100644 --- a/lib/coderay/scanners/_map.rb +++ b/lib/coderay/scanners/_map.rb @@ -2,20 +2,21 @@ 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 + :erb => :rhtml, + :irb => :ruby, + :javascript => :java_script, + :js => :java_script, + :nitro => :nitro_xhtml, + :pascal => :delphi, + :patch => :diff, + :plain => :text, + :plaintext => :text, + :xhtml => :html, + :yml => :yaml default :text |