Gruntfuggly / todo-tree

Use ripgrep to find TODO tags and display the results in a tree view
Other
1.4k stars 134 forks source link

[HELP] Using Tags containing '\'. #791

Open CORaisch opened 10 months ago

CORaisch commented 10 months ago

I currently have the problem that I have to use the tag \todo to mark todo's in my code and I now want to add it to todo-tree.

When I do so by adding "\\todo" to todo-tree.general.tags my tags will not be considered by todo-tree and I can see from debug output that $TAGS expands to \\\todo|\[x\]|\[ \]|TODO|NOTE|HACK|FIXME|BUG. So it seems that some logic is adding an additional \ sign to my tag. On the other side when I add the tag "\todo" to todo-tree.general.tags, $TAGS will expand to \[x\]|\[ \]|TODO|NOTE|HACK|FIXME|BUG| odo, i.e., \t is interpreted as tab and no additional \ sign was added now.

Does anyone have any suggestions how to make this work?