mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add colorize
This commit is contained in:
@@ -132,5 +132,10 @@ module Linguist
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def colorize
|
||||
return if !text? || large?
|
||||
lexer.colorize(data)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user