Problem: :tab sbuffer may close old tabpage if BufLeave autocommand
splits window.
Solution: Only close other windows if DOBUF_UNLOAD will be used.
related: neovim/neovim#37749
https://github.com/vim/vim/pull/19352
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@zeertzjq pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Hmm, there is another case where a window is closed unexpectedly:
tabnew Xa let b = bufadd('Xb') autocmd BufLeave Xa ++once split split exe 'buffer' b
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()