Lua query breaking chages
donus3 opened this issue · 1 comments
donus3 commented
After updating the latest nvim-treesitter, this plugin raises the error due to breaking change of Lua queries on PR: nvim-treesitter/nvim-treesitter#2272
Error detected while processing FileType Autocommands for "*":
E5108: Error executing lua /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:161: query: invalid node
type at position 46
stack traceback:
[C]: in function '_ts_parse_query'
/usr/share/nvim/runtime/lua/vim/treesitter/query.lua:161: in function 'get_query'
...cker/start/nvim-treesitter/lua/nvim-treesitter/query.lua:91: in function 'get_query'
.../packer/start/nvim-tree-docs/lua/nvim-tree-docs/main.lua:51: in function 'is_supported'
...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:349: in function 'is_enabled'
...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:456: in function 'attach_module'
...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:481: in function 'reattach_module'
[string ":lua"]:1: in main chunk
After uninstalling the plugin the error does not show anymore.