Commit 5ac434a60e7714e1248fd37f741f2a96641d4440
Exists in
master
and in
4 other branches
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
lib/utils.rb
| @@ -34,6 +34,10 @@ module Utils | @@ -34,6 +34,10 @@ module Utils | ||
| 34 | :c | 34 | :c |
| 35 | when /(\.cpp|\.hpp|\.c++|\.h++|\.cc|\.hh|\.cxx|\.hxx)$/ | 35 | when /(\.cpp|\.hpp|\.c++|\.h++|\.cc|\.hh|\.cxx|\.hxx)$/ |
| 36 | :cpp | 36 | :cpp |
| 37 | + when /(\.d|\.di)$/ | ||
| 38 | + :d | ||
| 39 | + when /(\.hs|\.lhs)$/ | ||
| 40 | + :haskell | ||
| 37 | when /(\.rb|\.ru|\.rake|Rakefile|\.gemspec|\.rbx|Gemfile)$/ | 41 | when /(\.rb|\.ru|\.rake|Rakefile|\.gemspec|\.rbx|Gemfile)$/ |
| 38 | :ruby | 42 | :ruby |
| 39 | when /(\.py|\.pyw|\.sc|SConstruct|SConscript|\.tac)$/ | 43 | when /(\.py|\.pyw|\.sc|SConstruct|SConscript|\.tac)$/ |