Merge pull request #406 from pdfr/syntax

Add syntax highlighting for D and Haskell
This commit is contained in:
Dmitriy Zaporozhets 2012-02-14 12:52:28 -08:00
commit 15e18c2e5e

View file

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