From 047d23862ef7cb6783aa0dd2c656383a4587c3de Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Fri, 3 Aug 2012 16:34:53 -0500 Subject: [PATCH] Still index .txt --- lib/linguist/blob_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb index e56d0956..2c80346b 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?