From a9fc97db468df2f1ae539c0b54f3c0b8852d7336 Mon Sep 17 00:00:00 2001 From: Pedro Rodrigues Date: Tue, 14 Feb 2012 20:46:56 +0000 Subject: [PATCH] Add syntax highlighting for D and Haskell --- lib/utils.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/utils.rb b/lib/utils.rb index 677322c9..82463f9e 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)$/