From: Alejandro R. SedeƱo Date: Tue, 15 Nov 2022 13:59:36 +0000 (-0500) Subject: Don't wrap on double-space after colon X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=HEAD;p=vt_decor.git Don't wrap on double-space after colon --- diff --git a/vt_decor.py b/vt_decor.py index 1d88d38..ac9fb55 100644 --- a/vt_decor.py +++ b/vt_decor.py @@ -134,7 +134,7 @@ def _get_width(): MSG_NO_WRAP_PATTERNS = [re.compile(x, re.MULTILINE) for x in ( r'^(?: |>)', r'\t', - r'[^.?!,] ', + r'[^.?!,:] ', )] MSG_LIST_WRAP_PATTERN = re.compile(r'(^\s*[-*]\s+)', re.MULTILINE)