mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Update documentation related to Pygments
This commit is contained in:
@@ -189,10 +189,9 @@ module Linguist
|
|||||||
|
|
||||||
# Public: Is the blob safe to colorize?
|
# Public: Is the blob safe to colorize?
|
||||||
#
|
#
|
||||||
# We use Pygments.rb for syntax highlighting blobs, which
|
# We use Pygments for syntax highlighting blobs. Pygments
|
||||||
# has some quirks and also is essentially 'un-killable' via
|
# can be too slow for very large blobs or for certain
|
||||||
# normal timeout. To workaround this we try to
|
# corner-case blobs.
|
||||||
# carefully handling Pygments.rb anything it can't handle.
|
|
||||||
#
|
#
|
||||||
# Return true or false
|
# Return true or false
|
||||||
def safe_to_colorize?
|
def safe_to_colorize?
|
||||||
|
|||||||
Reference in New Issue
Block a user