auto-save.nvim icon indicating copy to clipboard operation
auto-save.nvim copied to clipboard

Check if buf is valid in set_buf_var.

Open yyk opened this issue 3 years ago • 2 comments

Since this function is deferred, it is possible that the buffer has already been closed by the time this deferred function is called. For example, if mapping ESC to close action in Telescope, the telescope buffer is closed immediately after leaving insert mode, before the auto-save event triggered by InsertLeave.

yyk avatar Aug 22 '22 05:08 yyk

What is holding this back from being merged @Pocco81 ?

primeapple avatar Sep 01 '22 19:09 primeapple

This is in, can be closed

primeapple avatar Feb 09 '23 20:02 primeapple