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: dead loop #77

Merged
merged 1 commit into from
Dec 21, 2024
Merged

fix: dead loop #77

merged 1 commit into from
Dec 21, 2024

Conversation

vlaw
Copy link

@vlaw vlaw commented Nov 26, 2024

image

press backspace here, get dead loop.

msg_show   version NVIM v0.10.2
msg_show   version Build type: Release
msg_show   version LuaJIT 2.1.1731601260

@andersevenrud
Copy link
Owner

Would it be possible to provide a code example so I can try to reproduce this myself ? :)

@vlaw
Copy link
Author

vlaw commented Nov 27, 2024

Would it be possible to provide a code example so I can try to reproduce this myself ? :)

-- ft:lua
a = 100;
if (a < 20)
then
  print("a < 20")
else
  print("a > 20")
  -- v (press backspace here to delete 'v', when there is only one letter left, dead loops happens.)
end

@andersevenrud
Copy link
Owner

I've tried to reproduce this issue with the code you shared with my setup, but I can't seem to get a dead loop.

Going to try the nvim version you are running.

@andersevenrud andersevenrud merged commit c0e5f64 into andersevenrud:master Dec 21, 2024
3 checks passed
@andersevenrud
Copy link
Owner

Sorry for getting back to you late on this. Everything looks OK to me in this PR. Never actually managed to reproduce this issue myself though 😅

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