Skip to content

Added support for LaTeX files#568

Open
cfgnunes wants to merge 1 commit into
Gruntfuggly:masterfrom
cfgnunes:my-patch
Open

Added support for LaTeX files#568
cfgnunes wants to merge 1 commit into
Gruntfuggly:masterfrom
cfgnunes:my-patch

Conversation

@cfgnunes

Copy link
Copy Markdown

Added support for LaTeX files, in which the comments start with the symbol %.

@aljoshakoecher

aljoshakoecher commented Oct 25, 2021

Copy link
Copy Markdown

I just came across the issue that todo-tree doesn't pick up to-dos inside LaTex comments. Awesome to see that there is already a PR 👍
Hint for anyone who might be in the strange situation that requires adding to-dos right now and cannot wait for this PR: Just prepend your to-do with something that todo-tree picks up e.g. //:

Some Text...
% //TODO: A To-Do that will get picked up
Some more text

@Gruntfuggly

Copy link
Copy Markdown
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants