Searching a bit around I think a fix is already available from this commit
But I don’t know when this will land to the latest tree-sitter release.
It looks like tree-sitter doesn’t gracefully handle versioning of 3rd party modules like julia.
I don’t even know how to poll which tree-sitter-julia version is installed, let alone how to instruct tree-sitter to use the newest version.
My understanding is that the parsers are locked in the nvim-treesitter plugin (in their lockfile.json). So you’d have to pin a version of nvim-treesitter that has the julia parser you want, or potentially look into an advanced setup.
What syntax do you have in your .jl file that triggers this error? I’m on nvim-treesitter v0.9.3, and I’m haven’t seen any issues.