Commit 15e18c2e5e686276d663efb8d6729a54a7d83d11

Authored by Dmitriy Zaporozhets
2 parents c062e56b a9fc97db

Merge pull request #406 from pdfr/syntax

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)$/
... ...