aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-10 10:35:12 +0800
committerGitHub <noreply@github.com>2024-07-10 10:35:12 +0800
commit158ffd646d18eb26ca7e04e9cb9110305577b9c8 (patch)
tree927bad31846421670891666a6829c53a41b9830e /runtime
parent545aafbeb80eb52c182ce139800489b392a12d0d (diff)
downloadrneovim-158ffd646d18eb26ca7e04e9cb9110305577b9c8.tar.gz
rneovim-158ffd646d18eb26ca7e04e9cb9110305577b9c8.tar.bz2
rneovim-158ffd646d18eb26ca7e04e9cb9110305577b9c8.zip
vim-patch:9.1.0554: :bw leaves jumplist and tagstack data around (#29639)
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 https://github.com/vim/vim/commit/4ff3a9b1e3ba45f9dbd0ea8c721f27d9315c4d93 Co-authored-by: LemonBoy <thatlemon@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/windows.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index 4791e73929..840d8b51af 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -1175,11 +1175,12 @@ list of buffers. |unlisted-buffer|
:bw[ipeout][!] N1 N2 ...
Like |:bdelete|, but really delete the buffer. Everything
related to the buffer is lost. All marks in this buffer
- become invalid, option settings are lost, etc. Don't use this
+ become invalid, option settings are lost, the jumplist and
+ tagstack data will be purged, etc. Don't use this
unless you know what you are doing. Examples: >
- :.+,$bwipeout " wipe out all buffers after the current
- " one
- :%bwipeout " wipe out all buffers
+ :.+,$bwipeout " wipe out all buffers after the current
+ " one
+ :%bwipeout " wipe out all buffers
<
:[N]bun[load][!] *:bun* *:bunload* *E515*
:bun[load][!] [N]