-
Notifications
You must be signed in to change notification settings - Fork 10
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 when trying to install #5
Comments
Can you share some versions of things? At least the version of your |
NVIM v0.9.5 |
Apologies, I hadn't subscribed to the notifications of this repository. Have things improved, or is this still an issue? |
I cannot tell TBH, I haven't been using this package since then. |
I'm getting similar errors when trying to install this:
|
Are you using tree-sitter-pkl directly? The queries in pkl-neovim are tied to a specific version of tree-sitter-pkl. There have been some breaking changes in the grammar recently, so, the queries in pkl-neovim aren't expected to work with the main branch in this repo. |
That's good to know. I tried to install the parser from this repo directly because I was having some issues with the official plugin not loading properly. Is there a branch that is known to be stable? |
pkl-neovim currently pins to commit |
Switched to that branch and I'm still getting the exact same error in |
Hm, that's odd. Those queries are from https://github.com/apple/pkl-neovim/blob/release/0.6/queries/pkl/locals.scm You can try commenting out those lines to see if that helps you. |
Commenting out those lines worked! It seems to be these in particular that are the problem. (objectMethod
(identifier) @local.definition)
(classProperty
(methodHeader (identifier)) @local.definition)
(objectProperty
(methodHeader (identifier)) @local.definition) |
I'm getting the following error when installing the
pkl
grammar.Here's the error output of the tree-sitter health check:
Any ideas?
The text was updated successfully, but these errors were encountered: