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

query: invalid node type at position 2037 for language go #179

Open
MarcusXavierr opened this issue Nov 23, 2024 · 0 comments
Open

query: invalid node type at position 2037 for language go #179

MarcusXavierr opened this issue Nov 23, 2024 · 0 comments

Comments

@MarcusXavierr
Copy link

I've catch this error using nvim-dap-ui. Every time time I step through code, this error message pops up.

I've ran :checkhealth nvim-treesitter and this error appears again.

  Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
         +) multiple parsers found, only one will be used
         x) errors found in the query, try to run :TSUpdate {lang} ~

The following errors have been detected: ~
- ERROR go(locals): /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 2037 for language go
  go(locals) is concatenated from the following files:
  |    [OK]:"/home/marcus/.local/share/nvim/plugged/nvim-treesitter/queries/go/locals.scm"
  | [ERROR]:"/home/marcus/.local/share/nvim/plugged/go.nvim/after/queries/go/locals.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 109 for language go

My go treesitter healthcheck
image

I tried running both :TSUpdate go and :TSIntall go, and both didn't worked

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

No branches or pull requests

1 participant