Open HernandoR opened 5 months ago
Noticed that this week will also include %
in the equation input part i.e. $ \% todo$
will be matched.
and if merged, a=b%todo
in auto languages will be matched. Even though %
is not a comment symbol in python.
This behavior aligned with other languages: # todo
in markdown will also be matched. Even though #
is not a comment symbol in markdown.
Should be closed as duplicate of #568 which notes:
Hi, sorry to disappoint you, but this won't get merged. I no longer update the default regex as it causes too many issues for people who use the original default. Every time I've done it (after convincing myself it wouldn't have any effect) I've had to back it out again.
The default is really only intended to be a starting point - it would be impossible for the default to work for everybody.
The wiki contains some example configurations for LaTeX: https://github.com/Gruntfuggly/todo-tree/wiki/Configuration-Examples#latex
add
%
to regex for tex files, untested