From d9ce3ae240d851e1b64ab4d610e46b3f8c8e35d9 Mon Sep 17 00:00:00 2001 From: murphy Date: Fri, 26 Mar 2010 02:57:00 +0000 Subject: 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 --- lib/coderay/scanners/_map.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/coderay/scanners/_map.rb') 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 -- cgit v1.2.1