Error in decoration provider treesitter/highlighter.win
nsmohan opened this issue · comments
Nitin Mohan commented
I installed the "make" highlighter and I seem to be getting the following error:
Error in decoration provider treesitter/highlighter.win:
Error executing lua: /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:248: Query error at 9:4. Invalid node type "heredoc_end":
(heredoc_end) @injection.language)
^
stack traceback:
[C]: in function '_ts_parse_query'
/usr/share/nvim/runtime/lua/vim/treesitter/query.lua:248: in function 'fn'
/usr/share/nvim/runtime/lua/vim/func/_memoize.lua:54: in function 'fn'
/usr/share/nvim/runtime/lua/vim/func/_memoize.lua:54: in function 'get'
/usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:132: in function 'new'
/usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:503: in function 'add_child'
/usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:388: in function '_add_injections'
/usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:440: in function 'parse'
/usr/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:350: in function </usr/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:345>
Please advise.
qimingchu commented
I'm having the same problem.
Zach Waite commented
I had encountered this as well. In my case the fix was to install the bash plugin. See also: nvim-treesitter/nvim-treesitter#5690 (reply in thread)