Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: spurious "Buffer would be deleted" warning
Problem: Plugins (e.g. fugitive) may temporarily visit throwaway buffers (bufhidden != "hide"), then Dirvish refuses to leave the buffer and shows a "Buffer would be deleted" warning. Solution: Skip Dirvish's BufEnter handler if the current buffer has bufhidden != "hide".
- Loading branch information