Skip to content

fix: add check for nil value before passing to ipairs. Fix #65 #66

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

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

akthe-at
Copy link
Contributor

A quick check for nil value before passing to ipairs. Not familiar with this code base and this behavior so there might be a large oversight by addressing it this way.

@MeanderingProgrammer
Copy link
Owner

Thanks for the PR, sorry about that!
I would definitely expect another event to fill the cache before the cursor move event gets sent off, but I guess that depends on how you interact with the buffer.

@MeanderingProgrammer MeanderingProgrammer merged commit b7cf9e9 into MeanderingProgrammer:main Jul 17, 2024
@akthe-at
Copy link
Contributor Author

@MeanderingProgrammer No apology needed, love the plugin, so thank you for creating it!

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