Commit 17c29f55 authored by Jacek Sowiński's avatar Jacek Sowiński

Fix context token in PrettyPrinterColorFilter

+ -> @
parent f53aeef6
......@@ -61,7 +61,7 @@ class PrettyPrinterColorFilter(PrettyPrinterFilter):
p_todo_str = re.sub(
r'\B(\+|@)(\S*\w)',
lambda m: (
context_color if m.group(0)[0] == "+"
context_color if m.group(0)[0] == "@"
else project_color)+m.group(0)+color,
p_todo_str)
p_todo_str = re.sub(r'\b\S+:[^/\s]\S+\b',metadata_color+r'\g<0>'+color,p_todo_str)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment