diff options
| -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? |
