Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for LaTeX files #568

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added support for LaTeX files #568

wants to merge 1 commit into from

Conversation

cfgnunes
Copy link

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

@aljoshakoecher
Copy link

aljoshakoecher commented Oct 25, 2021

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
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