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