nvim-treesitter/nvim-tree-docs

Query: invalid node type at position 3318

captainko opened this issue · 0 comments

Typescript often throws the following error:

Error executing vim.schedule lua callback:

Error detected while processing FileType Autocommands for "*":
Error executing lua callback: /usr/local/share/nvim/runtime/lua/vim/treesitter/query.lua:174: query: invalid node type at position 3318
stack traceback:
	[C]: in function '_ts_parse_query'
	/usr/local/share/nvim/runtime/lua/vim/treesitter/query.lua:174: in function 'get_query'
	...l/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:36: in function 'new'
	/usr/local/share/nvim/runtime/lua/vim/treesitter.lua:46: in function '_create_parser'
	/usr/local/share/nvim/runtime/lua/vim/treesitter.lua:98: in function 'get_parser'
	.../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:155: in function 'start'
	.../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:161: in function 'attach'
 	...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:477: in function 'attach_module'
	...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:500: in function 'reattach_module'
 	...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:108: in function <...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:107>

Neovim version:

NVIM v0.8.0-dev-973-g253f0ffd8
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by cko@mark

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info