RRethy / vim-illuminate

illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
2.18k stars 50 forks source link

nvim-treesitter deprecations #179

Closed RRethy closed 12 months ago

RRethy commented 1 year ago

See https://github.com/nvim-treesitter/nvim-treesitter/issues/5378

davidpdrsn commented 1 year ago

Could this be causing

vim-illuminate: An internal error has occured: false"...im/0.9.1/share/nvim/runtime/lua/vim/treesitter/que ry.lua:259: query: invalid structure at position 2992 for language lua"

Errors being printed on start up? I tried https://github.com/RRethy/vim-illuminate/pull/182 but that didn't help.

RRethy commented 1 year ago

Try updating nvim-treesitter and running :TSInstall! lua

davidpdrsn commented 12 months ago

That did it. Thanks!