Commit a9fc97db authored by Pedro Rodrigues's avatar Pedro Rodrigues

Add syntax highlighting for D and Haskell

parent c062e56b
...@@ -34,6 +34,10 @@ module Utils ...@@ -34,6 +34,10 @@ module Utils
:c :c
when /(\.cpp|\.hpp|\.c++|\.h++|\.cc|\.hh|\.cxx|\.hxx)$/ when /(\.cpp|\.hpp|\.c++|\.h++|\.cc|\.hh|\.cxx|\.hxx)$/
:cpp :cpp
when /(\.d|\.di)$/
:d
when /(\.hs|\.lhs)$/
:haskell
when /(\.rb|\.ru|\.rake|Rakefile|\.gemspec|\.rbx|Gemfile)$/ when /(\.rb|\.ru|\.rake|Rakefile|\.gemspec|\.rbx|Gemfile)$/
:ruby :ruby
when /(\.py|\.pyw|\.sc|SConstruct|SConscript|\.tac)$/ when /(\.py|\.pyw|\.sc|SConstruct|SConscript|\.tac)$/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment