diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-21 15:21:06 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-21 15:21:06 +0100 |
commit | 5652807c915a6266ed9e6ad8d347634c64909d40 (patch) | |
tree | b788f1749adb5db65a9c717c36f5a3f170a5ae76 | |
parent | fc10ff87c52005d660900953d48a1d7c327b544b (diff) |
widgets/thread: update comment
-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 |