However, it still only matches 'FIXME:', not 'FIXME'. If I make the same change in todo.py in the core_patterns variable, then it works. Something is borked in line 74 where patterns is merged into core_patterns, but I'm not a python guy. If a pattern is declared in user prefs, it should overwrite the core pattern.
I want to match FIXME and TODO without the trailing colon. I added the following to my prefs (I removed ':+' from the regex):
"todo": { "patterns": { "TODO": "TODO[\s]?(?P. )$",
"FIXME": "FIX ?ME[\s]?(?P\S. )$"
}
}
However, it still only matches 'FIXME:', not 'FIXME'. If I make the same change in todo.py in the core_patterns variable, then it works. Something is borked in line 74 where patterns is merged into core_patterns, but I'm not a python guy. If a pattern is declared in user prefs, it should overwrite the core pattern.
Thanks! John