Skip to content
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

Updates to treesitter queries to support upstream changes #425

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

ahorine
Copy link
Contributor

@ahorine ahorine commented Feb 1, 2024

I believe this should fix #423

Full disclosure, I know absolutely nothing about treesitter/the scheme query definitions. I just read the docs a bit and tweaked stuff here until things stopped hemorrhaging errors 😆

I imagine there should also be some updates to the queries defined here, but that's probably best left to someone with some actual knowledge on the subject.

For at least everything I do in my usual workflow, these commits stop any errors regarding 'local' indexing issues that I've been running into.

@ray-x ray-x merged commit 41c1267 into ray-x:master Feb 2, 2024
3 checks passed
weirdgiraffe pushed a commit to weirdgiraffe/go.nvim that referenced this pull request Feb 19, 2024
* Adjusted local.scm queries to fix crashes when using treesitter post-v0.9.2

* Accounted for 'local' subtable in treesitter matches when querying locals
weirdgiraffe pushed a commit to weirdgiraffe/go.nvim that referenced this pull request Feb 19, 2024
* Adjusted local.scm queries to fix crashes when using treesitter post-v0.9.2

* Accounted for 'local' subtable in treesitter matches when querying locals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash with latest treesitter
2 participants