mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Still index .txt
This commit is contained in:
@@ -238,6 +238,8 @@ module Linguist
|
||||
def indexable?
|
||||
if binary?
|
||||
false
|
||||
elsif extname == '.txt'
|
||||
true
|
||||
elsif language.nil?
|
||||
false
|
||||
elsif !language.searchable?
|
||||
|
||||
Reference in New Issue
Block a user