diff --git a/lib/utils.rb b/lib/utils.rb index 82463f9ec0c8e1464db258cf73dd2c687e7916bc..dfd2f94e8b4e3c59af7438789d81213694bf0bb8 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