-
Notifications
You must be signed in to change notification settings - Fork 24
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
Commas are not represented as a word node #73
Comments
Its mainly this way for historic reasons. This grammar was extracted from |
I see, thanks for the clarification! Dots are actually fine for me as they are now. What would be great for me is to have commas in some type of leaf nodes as well (either together with the preceding word or as an individual node) instead of contained only by one of the-non leaf nodes (the section node in the example). |
Hi,
Thanks for the awesome tool. I'm working on a project where I'd like to extract the text content of latex files using TS (https://github.com/hangyav/textLSP). I noticed that commas aren't part of the preceding word's node but instead only part of the parent node, in contrast to how dots behave. Here's an example:
Is that a bug or intentional for some reason? Thanks a lot!
The text was updated successfully, but these errors were encountered: