tree-sitter-just
tree-sitter-just copied to clipboard
Treesitter does not handle [private] alias
It seems the treesitter will error on a private alias. Using InspectTree I see the error, remove the private anno and fixed. Example:
alias foo := bar
[private]
alias o := open
What version and editor are you using? This works correctly when I try with the latest main
and Helix
A screenshot would be helpful too
@AddictArts in case you didn't see the above
@AddictArts in case you didn't see the above
Thank you. I will get a better example, it will take some time though. Hopefully on Monday I can. Don't have the machine available to get it. But we are doing some fairly advanced justfile stuff, so I wasn't surprised. Apologies that I made an assumption on the issue.
@tgross35 Found the issue, I couldn't share the file, updated the issue to the below
It seems the treesitter will error on a private alias. Using InspectTree I see the error, remove the private anno and fixed. Example:
alias foo := bar
[private]
alias o := open