Commit 15e18c2e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #406 from pdfr/syntax

Add syntax highlighting for D and Haskell
parents c062e56b a9fc97db
...@@ -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