Closed ignamartinoli closed 4 months ago
I've looked at this a couple of times now, and I'm still not sure about how to adjust the precedence of macro calls and short functions so this doesn't happen.
The nvim-treesitter Julia highlighting was updated a few weeks ago so this isn't as noticeable, but the bug is still there!
This code:
The relevant tree produced for the two last lines is:
The first
@test
is correctly recognized, the second not.This is the resulting highlight is:
Because of this bug, on the egality operator for the second
@test
, only the last two=
get highlighted