mirror of
https://github.com/neovim/neovim.git
synced 2026-02-03 02:24:29 +00:00
Problem: :bw leaves jumplist and tagstack data around
(Paul "Joey" Clark)
Solution: Wipe jumplist and tagstack references to the wiped buffer
(LemonBoy)
As documented the :bwipeout command brutally deletes all the references
to the buffer, so let's make it delete all the entries in the jump list
and tag stack referring to the wiped-out buffer.
fixes: vim/vim#8201
closes: vim/vim#15185
4ff3a9b1e3
Co-authored-by: LemonBoy <thatlemon@gmail.com>