tree-sitter-latex
tree-sitter-latex copied to clipboard
Hyphens in multi word expressions are operators instead of words
Hi,
It seems that hyphens are incorrectly parsed as operators instead of being part of the word (so they are also highlighted differently).
off-the-shelf
(source_file [0, 0] - [1, 0]
(text [0, 0] - [0, 13]
word: (word [0, 0] - [0, 3])
word: (operator [0, 3] - [0, 4])
word: (word [0, 4] - [0, 7])
word: (operator [0, 7] - [0, 8])
word: (word [0, 8] - [0, 13])))