camspiers / snap

A fast finder system for neovim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hang / pause: Error executing vim.schedule lua callback

alxndr opened this issue · comments

I used a mapping added with snap.register.map and then typed ~9 chars very quickly, my CPU lit up and the Neovim UI seemed to be frozen and showed this in the status bar:

Error executing vim.schedule lua callback: ...m/site/pack/paqs/start/snap/lua/snap/producer/create.lua:48: Invalid buffer id: 32

After ~30 sec the message disappeared and the UI was responsive. I was then able to use the same mapping and look for a file using the same (?) 9 characters from earlier.

Got it again, this time the error message said Invalid buffer id: 528

Can you try again after? I have made some big changes recently. If you still get the issue can you point me to a repo and config it reproduces on and I can try debug, otherwise it is hard to repro because I haven't encountered this error locally.

Also check out the new config API: #42