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: Restore compatibilty with nvim<=0.9 #89

Merged
merged 2 commits into from
Oct 4, 2024
Merged

Conversation

theHamsta
Copy link
Owner

After #87, this plugin became incompatible with nvim versions <= 0.9 by using the newly table parameter of iter_matches. This PR tries to avoid the parameter and tries to account that iter_matches might return either nodes or tables of nodes by coercing non-table values to singleton tables.

Fixes #88

After #87, this plugin became incompatible with nvim versions <= 0.9 by
using the newly table parameter of iter_matches. This PR tries to avoid
the parameter and tries to account that iter_matches might return either
nodes or tables of nodes by coercing non-table values to singleton
tables.

Fixes #88
@theHamsta theHamsta marked this pull request as ready for review October 4, 2024 17:08
@theHamsta theHamsta merged commit 5263864 into master Oct 4, 2024
4 checks 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.

need help: dap debug go err: virtual_text.lua:132: bad argument #1 to pairs table expected, got userdata
1 participant