You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: minor issues with buf/win state management (#73)
* fix: minor issues with buf/win state management
* Problem: A buffer being entered may have become invalid, if there is a
BufEnter that `:bwipeout`s that buffer.
For example, vim-fern-hijack does this.
* Solution: Check validity of buffer.
* Problem: `state.winnr` can be nil even when ther current window is
dap-view window, if the user opened the dap-view buffer with some
other method, e.g., CTRL-O.
* Solution: Set `state.winnr` on BufEnter.
* Comment: Maybe we can avoid these kind of problem altogether by
setting winfixbuf. The problem "can't use winfixbuf since the window
shares many buffers" can be circumvented by temporarily unsetting
winfixbuf.
* fixup! fix: minor issues with buf/win state management
0 commit comments