Since this week, I'm having trouble getting tree-sitter-nu to work. I'm using this neovim version with the current tree-sitter-nu 7e0f16f608a9e804fae61430ade734f9f849fb80 git tag and nvim-treesitter's latest version.
Installation of the parser works fine, a plain :TSInstall nu works without issues. However, when I open a nushell file, I'm getting endless traces like the following:
Error in decoration provider treesitter/highlighter.win:
Error executing lua: ...d-0.10.2/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 1:2. Invalid node type "string":
(string) @string
^
stack traceback:
[C]: in function '_ts_parse_query'
...d-0.10.2/share/nvim/runtime/lua/vim/treesitter/query.lua:252: in function 'fn'
...pped-0.10.2/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'fn'
...pped-0.10.2/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'get'
....2/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:28: in function 'new'
....2/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:243: in function 'get_query'
....2/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:191: in function 'fn'
...2/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:491: in function 'for_each_tree'
....2/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:178: in function 'prepare_highlight_states'
....2/share/nvim/runtime/lua/vim/treesitter/highlighter
Any hints on how to debug and solve the issue are highly appreciated.
Since this week, I'm having trouble getting tree-sitter-nu to work. I'm using this neovim version with the current tree-sitter-nu 7e0f16f608a9e804fae61430ade734f9f849fb80 git tag and nvim-treesitter's latest version.
Installation of the parser works fine, a plain
:TSInstall nu
works without issues. However, when I open a nushell file, I'm getting endless traces like the following:Any hints on how to debug and solve the issue are highly appreciated.