diff options
author | murphy <murphy@rubychan.de> | 2010-03-26 02:57:00 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-03-26 02:57:00 +0000 |
commit | d9ce3ae240d851e1b64ab4d610e46b3f8c8e35d9 (patch) | |
tree | 65af1f8875ff09dce8032c30ac593773d31af085 | |
parent | dcb5ba733a30b1169497b980de57dbedc64f7927 (diff) | |
download | coderay-d9ce3ae240d851e1b64ab4d610e46b3f8c8e35d9.tar.gz |
Cleanup of scanner map:
- removed :h - it's just a file extension, not a language name
- removed :ecma - that's the name of an association, not a language
- added :patch as an alias for :diff
-rw-r--r-- | lib/coderay/scanners/_map.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/coderay/scanners/_map.rb b/lib/coderay/scanners/_map.rb index 01078c1..53eaf7b 100644 --- a/lib/coderay/scanners/_map.rb +++ b/lib/coderay/scanners/_map.rb @@ -2,10 +2,8 @@ module CodeRay module Scanners map \ - :h => :c, :cplusplus => :cpp, :'c++' => :cpp, - :ecma => :java_script, :ecmascript => :java_script, :ecma_script => :java_script, :irb => :ruby, @@ -13,6 +11,7 @@ module Scanners :js => :java_script, :nitro => :nitro_xhtml, :pascal => :delphi, + :patch => :diff, :plain => :plaintext, :xhtml => :html, :yml => :yaml |