mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Colorize all files, even if they are generated
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user