Skip to content

Math detection using treesitter #15

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

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

Conversation

kkanden
Copy link

@kkanden kkanden commented Apr 28, 2025

hi,
i have implemented math detection using treesitter. there are still zone detections that rely on vimtex which i'm not sure could be so easily replaced with treesitter (eg. treesitter doesn't report the name of the math environment you're in). from my testing everything related to math detection works fine, including in markdown (and most likely any markdown superset).

credit goes to this comment.

cheers :)

@evesdropper
Copy link
Owner

super sorry I haven't gotten to this in a while, got sick and have been busy with various things.

I should have more time to test things this coming week and maybe some of the next week. I'm assuming things work except for the issue mentioned in #16, which I'll take a look at as well

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.

2 participants