auto-save.nvim
auto-save.nvim copied to clipboard
Check if buf is valid in set_buf_var.
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.
What is holding this back from being merged @Pocco81 ?
This is in, can be closed