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: nil index when swapping at first/last child #577

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

ribru17
Copy link
Member

@ribru17 ribru17 commented Mar 4, 2024

Apologies!! The previous PR caused a nil index error when swapping out of the node ranges (e.g. swapping with a previous node when already at the first node). This should fix it.

Lua is quirky...

@kiyoon
Copy link
Collaborator

kiyoon commented Mar 4, 2024

Can you rebase it? The CI has to pass and it's breaking so I can't merge this. The master should fix the issue.

@ribru17
Copy link
Member Author

ribru17 commented Mar 4, 2024

Done 👍

@kiyoon kiyoon merged commit cf3d612 into nvim-treesitter:master Mar 5, 2024
6 checks passed
@kiyoon kiyoon mentioned this pull request Mar 5, 2024
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