Closed leiserfg closed 3 weeks ago
The error comes from the fact that save()
calls history.get
, which then calls vim.nvim_buf_get_name
which needs to be scheduled because it can't runt in the loop.
I'm not sure why delaying save
a few milliseconds will be a problem.
Hi @aarnphm can you please help me with this?
Looks like this proposed fix is the way it was suggested in this other closed issue on plenary repo. Didn't review the codebase yet, but maybe it is because save is called in a lua callback
This fix looks fine.
Fixes #559