Commit bbf53b3
committed
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".1 parent 191341c commit bbf53b3
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
0 commit comments