summaryrefslogtreecommitdiff
path: root/lib/coderay
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-07-08 20:11:28 +0000
committermurphy <murphy@rubychan.de>2009-07-08 20:11:28 +0000
commit0fc7643456685a38624a7ff26f2b9b7e7fe95961 (patch)
treee1c95d03183bf78122dec7c9e49f779f8e684e09 /lib/coderay
parent35ba94fe6ba3fa9aa9dce364521417b7cbbb7b94 (diff)
downloadcoderay-0fc7643456685a38624a7ff26f2b9b7e7fe95961.tar.gz
Adding .dpr, .pas and .rxml to FileType::TypeFromExt list.
Thanks to 0xf30fc7 for the patch.
Diffstat (limited to 'lib/coderay')
-rw-r--r--lib/coderay/helpers/file_type.rb3
1 files changed, 3 insertions, 0 deletions
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,