bug: Unitful.jl macros break syntax highlighting when applied outside of brackets #160
Open
2 tasks done
Labels
bug
Something isn't working
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.23.2
Describe the bug
Writing a vector or bracketed operation using the unitful u"unit" macro prevents parsing of subsequent lines. Inserting a multiplication operator between the bracket and the macro fixes the issue.
With multiplication operator:

Without:

Steps To Reproduce/Bad Parse Tree
The bug appears when the unit macro is applied in two subsequent lines. i.e.
Whereas
Expected Behavior/Parse Tree
Repro
The text was updated successfully, but these errors were encountered: