-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid node type at position error #2
Comments
|
The issue doesn't happen on my linux setup, so it's probably something with my windows setup messing with treesitter. Closing as this seems to be an issue on my side. |
|
Nevermind! It's also happening on my linux setup. |
|
An interesting note is that the tarball downloaded by tree-sitter is empty, and if I force it to use git it gives me: |
|
Okay. This is on me. Luau was recently added to treesitter and the parsers are different. Simply using treesitter's version fixed the issue. |
|
Indeed, it looks like @amaanq added a luau parser to nvim-treesitter. nvim-treesitter/nvim-treesitter@cde3068 I use Luau daily, so I maintain my own. Sorry to cause confusion, I'll add a notice to the readme. |
|
No worries, this isn't on you. I should've checked the moment I got the error. |
I updated the queries and everything broke with the common error being
invalid node type at position X for language luauI have followed every step described by the nvim-treesitter team here: nvim-treesitter/nvim-treesitter#3092
yet the issue still persists.
NVIM version: 0.9.0
OS: Windows 10
Config:
checkhealth nvim-treesitter:
The text was updated successfully, but these errors were encountered: