Colorize all files, even if they are generated

This commit is contained in:
Vicent Martí
2012-04-29 16:01:02 -07:00
parent c3d6fc5af8
commit 4d984e9622

View File

@@ -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)