ray-x / go.nvim

G'day Nvimer, Joyful Gopher: Discover the Feature-Rich Go Plugin for Neovim
MIT License
1.91k stars 119 forks source link

Updates to treesitter queries to support upstream changes #425

Closed ahorine closed 5 months ago

ahorine commented 5 months ago

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.