Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: buffer data cleared when setting buflisted = false
For posterity: this was a very painful lesson. Turns out "BufDelete" doesn't mean "buffer was deleted", it means "buffer was deleted from the buffer list". If you set nobuflisted, BufDelete will be triggered even though the buffer is still loaded and active.
- Loading branch information