summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-07-26 23:08:55 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-07-26 23:08:55 +0200
commit74a55182e8422f053cc8efc805c5a077de8f4c8c (patch)
tree56174d5264251e6e130ab1159627dc553ecb17ad /lib/coderay/scanners
parent9798ee644fa44cc7fdf2bd524261dcf6481c05e5 (diff)
downloadcoderay-74a55182e8422f053cc8efc805c5a077de8f4c8c.tar.gz
add :erb as Ruby scanner alias
Diffstat (limited to 'lib/coderay/scanners')
-rw-r--r--lib/coderay/scanners/_map.rb27
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