aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/linguist/blob_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb
index fbbaff9..04c3f0a 100644
--- a/lib/linguist/blob_helper.rb
+++ b/lib/linguist/blob_helper.rb
@@ -160,7 +160,7 @@ module Linguist
#
# Return true or false
def safe_to_colorize?
- text? && !large? && !high_ratio_of_long_lines?
+ !large? && text? && !high_ratio_of_long_lines?
end
# Internal: Does the blob have a ratio of long lines?