stsewd / tree-sitter-rst

reStructuredText grammar for tree-sitter
https://stsewd.dev/tree-sitter-rst/
MIT License
50 stars 7 forks source link

fix: don't over-parse text nodes #50

Closed stsewd closed 8 months ago

stsewd commented 8 months ago

In some situations, the parser was parsing "too much" as text. Marking the end of the text node more early fixes this.

Fixes https://github.com/stsewd/tree-sitter-rst/issues/49