Merge pull request #406 from pdfr/syntax
Add syntax highlighting for D and Haskell
This commit is contained in:
commit
15e18c2e5e
1 changed files with 4 additions and 0 deletions
|
@ -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)$/
|
||||
|
|
Loading…
Reference in a new issue