Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in decoration provider treesitter/highlighter.win #23

Open
nsmohan opened this issue Dec 26, 2023 · 2 comments
Open

Error in decoration provider treesitter/highlighter.win #23

nsmohan opened this issue Dec 26, 2023 · 2 comments

Comments

@nsmohan
Copy link

nsmohan commented Dec 26, 2023

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.

@Emin017
Copy link

Emin017 commented Jan 1, 2024

I'm having the same problem.

@zachwaite
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants