Closed barucden closed 1 year ago
This is working now.
@barucden are you sure this is now working? I still have this error.
You are right. I accidentally checked the working version a == nothing ? true : (a == 1)
. The original issue is still there.
Hi, I am using
tree-sitter-julia
via the neovim tree-sitter plugin. I stumbled upon a piece of valid Julia code that neovim fails to highlight correctly. I am not sure why (hence the title), but I could get the following MWE:Running
tree-sitter parse
producesEDIT: I further reduced the MWE, and the problem seems to be the ternary expression:
Parsed tree:
However, adding parentheses
fixes the problem