tree-sitter-pkl icon indicating copy to clipboard operation
tree-sitter-pkl copied to clipboard

Error when trying to install

Open KadoBOT opened this issue 11 months ago • 11 comments

I'm getting the following error when installing the pkl grammar. Here's the error output of the tree-sitter health check:

The following errors have been detected: ~
- ERROR pkl(highlights): ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 860 for language pkl
  pkl(highlights) is concatenated from the following files:
  | [ERROR]:"/Users/kadobot/.local/share/nvim/lazy/pkl-neovim/queries/pkl/highlights.scm", failed to load: ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 860 for language pkl
- ERROR pkl(locals): ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid structure at position 1024 for language pkl
  pkl(locals) is concatenated from the following files:
  | [ERROR]:"/Users/kadobot/.local/share/nvim/lazy/pkl-neovim/queries/pkl/locals.scm", failed to load: ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid structure at position 1024 for language pkl
- ERROR pkl(injections): ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 914 for language pkl
  pkl(injections) is concatenated from the following files:
  | [ERROR]:"/Users/kadobot/.local/share/nvim/lazy/pkl-neovim/queries/pkl/injections.scm", failed to load: ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 914 for language pkl


Any ideas?

KadoBOT avatar Mar 12 '24 09:03 KadoBOT

Can you share some versions of things? At least the version of your nvim and the tree sitter package installed for that?

holzensp avatar Mar 12 '24 14:03 holzensp

NVIM v0.9.5 tree-sitter 0.22.1

KadoBOT avatar Mar 12 '24 17:03 KadoBOT