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

queries: clojure has-type? updated to kind-eq? #7

Conversation

practicalli-johnny
Copy link
Contributor

@practicalli-johnny practicalli-johnny commented Jun 5, 2024

A suggested fix for the nvim-treesitter breaking change, which renames the has-type? query to kind-eq? query

nvim-treesitter/nvim-treesitter@a80fe08

From a text search of the nvim-treesitter-sexp project, there was only one has-type text match, so I changed that to kind-eq

This fix seems to work with the setup described in #6 (Neovim 0.10.0 and AstroNvim config) and with the latest (as of 3 days ago) nvim-treesitter plugin.

I dont known if this is the right way to solve the issue, but I can confirm it works.

Resolve #6

@PaterJason
Copy link
Owner

Looks right to me, the predicate just needed renaming. Good job, I'll merge

@PaterJason PaterJason merged commit 32509f4 into PaterJason:master Jun 7, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

nvim-treesitter breaking change - rename has-type to kind-eq to align with Helix
2 participants