From c21099d3d18fbc6f04593ba57cb45363544c4ab5 Mon Sep 17 00:00:00 2001 From: Yvan Date: Thu, 16 Feb 2012 17:55:14 +0100 Subject: [PATCH] Added syntax color for Drupal files (.inc, .module and .install) --- lib/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.rb b/lib/utils.rb index 82463f9ec0c..dfd2f94e8b4 100644 --- a/lib/utils.rb +++ b/lib/utils.rb @@ -28,7 +28,7 @@ module Utils def handle_file_type(file_name, mime_type = nil) case file_name - when /(\.pl|\.scala|\.java|\.haml|\.jade|\.scaml|\.html|\.sass|\.scss|\.php|\.erb)$/ + when /(\.pl|\.scala|\.java|\.haml|\.jade|\.scaml|\.html|\.sass|\.scss|\.php|\.inc|\.erb|\.install|\.module)$/ $1[1..-1].to_sym when /(\.c|\.h|\.idc)$/ :c -- GitLab