diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-11 06:26:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 06:26:22 +0800 |
commit | 07c1996c8ad69bae559406ae17c415e6cbd345e8 (patch) | |
tree | e1a81fca5f91448a0ea8a8f0389b4867fd8da69c /runtime/lua/vim/text.lua | |
parent | 3c5abf01bfab6135cb821046eb229c0af51498b4 (diff) | |
download | rneovim-07c1996c8ad69bae559406ae17c415e6cbd345e8.tar.gz rneovim-07c1996c8ad69bae559406ae17c415e6cbd345e8.tar.bz2 rneovim-07c1996c8ad69bae559406ae17c415e6cbd345e8.zip |
vim-patch:9.1.0556: :bwipe doesn't remove file from jumplist of other tabpages (#29651)
Problem: :bwipe doesn't remove file from jumplist and tagstack of other
tabpages. Time complexity of mark_forget_file() is O(n^2) when
removing all entries (after v9.1.0554)
Solution: Use FOR_ALL_TAB_WINDOWS(). Start the loops over the arrays
from the end instead of the start (zeertzjq)
closes: vim/vim#15199
https://github.com/vim/vim/commit/2e7d89b39883b0cfd3e615b02bd55186e00fb7ce
Diffstat (limited to 'runtime/lua/vim/text.lua')
0 files changed, 0 insertions, 0 deletions