From 4d984e9622fbf444f35fefbb5976626cb1c675df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicent=20Mart=C3=AD?= Date: Sun, 29 Apr 2012 16:01:02 -0700 Subject: [PATCH] Colorize all files, even if they are generated --- lib/linguist/blob_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb index 49fa3ca7..f62a67d7 100644 --- a/lib/linguist/blob_helper.rb +++ b/lib/linguist/blob_helper.rb @@ -640,7 +640,7 @@ module Linguist # # Returns html String def colorize(options = {}) - return if !text? || large? || generated? + return if !text? || large? options[:options] ||= {} options[:options][:encoding] ||= encoding lexer.highlight(data, options)