summaryrefslogtreecommitdiff
path: root/lib/coderay/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/helpers')
-rw-r--r--lib/coderay/helpers/file_type.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb
index e955b9d..fbc95ec 100644
--- a/lib/coderay/helpers/file_type.rb
+++ b/lib/coderay/helpers/file_type.rb
@@ -88,7 +88,12 @@ module FileType
'cpp' => :c,
'c' => :c,
'h' => :c,
+ 'java' => :java,
'js' => :java_script,
+ 'json' => :json,
+ 'diff' => :diff,
+ 'patch' => :diff,
+ 'css' => :css,
'xml' => :xml,
'htm' => :html,
'html' => :html,