Skip to content

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

@MarcusXavierr

Description

@MarcusXavierr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions