diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-10 21:07:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-10 21:07:48 +0200 |
commit | 7b4f76c0300f0bd9bf54ca1968fe9ae5e4dbdef4 (patch) | |
tree | 3c1e9fdafbeec507150826c289b1655c86112fc4 /src/testdir/test_popupwin.vim | |
parent | 544a38e44db0f25ec4fa7a2a4666cf28a2336f33 (diff) | |
download | vim-git-7b4f76c0300f0bd9bf54ca1968fe9ae5e4dbdef4.tar.gz |
patch 8.2.2972: "%bd" tries to delete popup window buffers, which failsv8.2.2972
Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
Schandl)
Solution: Do not try to delete a popup window buffer. (closes #8349)
Diffstat (limited to 'src/testdir/test_popupwin.vim')
-rw-r--r-- | src/testdir/test_popupwin.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index 13957e57c..faadfe277 100644 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -3918,5 +3918,11 @@ func Test_popup_prop_not_visible() call delete('XtestPropNotVisble') endfunction +func Test_bufdel_skips_popupwin_buffer() + let id = popup_create("Some text", {}) + %bd + call popup_close(id) +endfunc + " vim: shiftwidth=2 sts=2 |