diff options
author | Pedro Rodrigues <pedro@onimail.net> | 2012-02-15 00:46:56 +0400 |
---|---|---|
committer | Pedro Rodrigues <pedro@onimail.net> | 2012-02-15 00:46:56 +0400 |
commit | a9fc97db468df2f1ae539c0b54f3c0b8852d7336 (patch) | |
tree | add65c26ca1ab91ea95aa94c04090b7aca1411ed /lib | |
parent | c062e56b4cc8d0397bb709e4f5e3aa251b63aa90 (diff) |
Add syntax highlighting for D and Haskell
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/utils.rb b/lib/utils.rb index 677322c98d4..82463f9ec0c 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)$/ |