From 44192c0e82e86c0ce847824a03dea682ff2ebfb5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20R=2E=20Sede=C3=B1o?= Date: Tue, 15 Nov 2022 08:59:36 -0500 Subject: [PATCH] Don't wrap on double-space after colon --- vt_decor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2