]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1211: TabClosedPre is triggered just before the tab is being freed v9.1.1211
authorJim Zhou <jimzhouzzy@gmail.com>
Sun, 16 Mar 2025 19:24:57 +0000 (20:24 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 16 Mar 2025 19:24:57 +0000 (20:24 +0100)
commitbcf66e014141982192e2743829bceef60ce77727
tree6cd7596c3c3a4808f9259f26ed8610b8aeb8f59a
parent21ac3a49b52330bbac5815971a15b51bda405f96
patch 9.1.1211: TabClosedPre is triggered just before the tab is being freed

Problem:  TabClosedPre is triggered just before the tab is being freed,
          which limited its functionality.
Solution: Trigger it a bit earlier and also on :tabclose and :tabonly
          (Jim Zhou)

closes: #16890

Signed-off-by: Jim Zhou <jimzhouzzy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/ex_docmd.c
src/proto/window.pro
src/testdir/test_autocmd.vim
src/version.c
src/window.c