From 0fc7643456685a38624a7ff26f2b9b7e7fe95961 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 8 Jul 2009 20:11:28 +0000 Subject: Adding .dpr, .pas and .rxml to FileType::TypeFromExt list. Thanks to 0xf30fc7 for the patch. --- lib/coderay/helpers/file_type.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/coderay/helpers') diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb index 3b57608..1715fee 100644 --- a/lib/coderay/helpers/file_type.rb +++ b/lib/coderay/helpers/file_type.rb @@ -85,6 +85,7 @@ module FileType 'cpp' => :c, 'css' => :css, 'diff' => :diff, + 'dpr' => :delphi, 'groovy' => :groovy, 'gvy' => :groovy, 'h' => :c, @@ -95,6 +96,7 @@ module FileType 'js' => :java_script, 'json' => :json, 'mab' => :ruby, + 'pas' => :delphi, 'patch' => :diff, 'php' => :php, 'php3' => :php, @@ -108,6 +110,7 @@ module FileType 'rb' => :ruby, 'rbw' => :ruby, 'rhtml' => :rhtml, + 'rxml' => :ruby, 'sch' => :scheme, 'sql' => :sql, 'ss' => :scheme, -- cgit v1.2.1