diff options
| author | Joshua Peek <josh@joshpeek.com> | 2012-08-03 16:34:53 -0500 |
|---|---|---|
| committer | Joshua Peek <josh@joshpeek.com> | 2012-08-03 16:34:53 -0500 |
| commit | 047d23862ef7cb6783aa0dd2c656383a4587c3de (patch) | |
| tree | c4b00d46871688b1ccce0852d3a973806a6bba5c /lib | |
| parent | 804e23e99536187207863eb780e1e30a20c12c8d (diff) | |
Still index .txt
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/linguist/blob_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb index e56d095..2c80346 100644 --- a/lib/linguist/blob_helper.rb +++ b/lib/linguist/blob_helper.rb @@ -238,6 +238,8 @@ module Linguist def indexable? if binary? false + elsif extname == '.txt' + true elsif language.nil? false elsif !language.searchable? |
