]> asedeno.scripts.mit.edu Git - vt_decor.git/blobdiff - vt_decor.py
Don't wrap on double-space after colon
[vt_decor.git] / vt_decor.py
index 1d88d38f3e0d64ba71a488dcd0b85976b2365e9d..ac9fb553275caac0dabbb429d5516949d32c3157 100644 (file)
@@ -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)