diff options
Diffstat (limited to 'alot/widgets')
-rw-r--r-- | alot/widgets/thread.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index 6cffa909..8692eeda 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -407,10 +407,7 @@ class _TextPart(_MIMEPartWidget): return colored_lines, cur_fold, max_level def _highlight_pygments(self, text, part, attr_text): - # color git patches using pygments - # FIXME this is quite ad-hoc - # make it more configurable, detect other patch formats - # and possibly other kinds of text + """Color text using pygments""" if not have_pygments: return None |