summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/utils.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/utils.rb b/lib/utils.rb
index 677322c98d4..82463f9ec0c 100644
--- a/lib/utils.rb
+++ b/lib/utils.rb
@@ -34,6 +34,10 @@ module Utils
:c
when /(\.cpp|\.hpp|\.c++|\.h++|\.cc|\.hh|\.cxx|\.hxx)$/
:cpp
+ when /(\.d|\.di)$/
+ :d
+ when /(\.hs|\.lhs)$/
+ :haskell
when /(\.rb|\.ru|\.rake|Rakefile|\.gemspec|\.rbx|Gemfile)$/
:ruby
when /(\.py|\.pyw|\.sc|SConstruct|SConscript|\.tac)$/