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

fix: support Query:iter_matches changes in nightly Neovim #82

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

lukas-reineke
Copy link
Contributor

Neovim's Query:iter_matches function now returns a list of Nodes for each match in nightly. Previously the iter_matches function only returned the last node. This PR restores the previous implementation by just using the last node.

see neovim/neovim#30193

lukas-reineke and others added 2 commits December 16, 2024 10:01
Neovim's `Query:iter_matches` function now returns a list
of Nodes for each match in nightly. Previously the `iter_matches`
function only returned the *last* node. This PR restores the previous
implementation by just using the last node.

see neovim/neovim#30193
Copy link
Owner

@rouge8 rouge8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This inspired me to fix CI 😩

@rouge8 rouge8 merged commit 42288ef into rouge8:main Dec 17, 2024
2 checks passed
@lukas-reineke lukas-reineke deleted the fix-iter-matches branch December 17, 2024 07:45
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.

2 participants