Commit a9fc97db468df2f1ae539c0b54f3c0b8852d7336

Authored by Pedro Rodrigues
1 parent c062e56b

Add syntax highlighting for D and Haskell

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
lib/utils.rb
... ... @@ -34,6 +34,10 @@ module Utils
34 34 :c
35 35 when /(\.cpp|\.hpp|\.c++|\.h++|\.cc|\.hh|\.cxx|\.hxx)$/
36 36 :cpp
  37 + when /(\.d|\.di)$/
  38 + :d
  39 + when /(\.hs|\.lhs)$/
  40 + :haskell
37 41 when /(\.rb|\.ru|\.rake|Rakefile|\.gemspec|\.rbx|Gemfile)$/
38 42 :ruby
39 43 when /(\.py|\.pyw|\.sc|SConstruct|SConscript|\.tac)$/
... ...