Skip to content

Commit

Permalink
Recognise riemann.config files as Clojure files
Browse files Browse the repository at this point in the history
  • Loading branch information
wjlroe committed May 13, 2013
1 parent 597ce9a commit 846e84f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/linguist/languages.yml
Expand Up @@ -232,6 +232,8 @@ Clojure:
primary_extension: .clj
extensions:
- .cljs
filenames:
- riemann.config

CoffeeScript:
type: programming
Expand Down
1 change: 1 addition & 0 deletions test/test_language.rb
Expand Up @@ -242,6 +242,7 @@ def test_find_by_filename
assert_equal [Language['Shell']], Language.find_by_filename('.bashrc')
assert_equal [Language['Shell']], Language.find_by_filename('bash_profile')
assert_equal [Language['Shell']], Language.find_by_filename('.zshrc')
assert_equal [Language['Clojure']], Language.find_by_filename('riemann.config')
end

def test_find
Expand Down

0 comments on commit 846e84f

Please sign in to comment.