summaryrefslogtreecommitdiff
path: root/src/popupmenu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-09 18:13:44 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-09 18:13:44 +0100
commitd356fc65d273959efa9b05bfa0f07ce1c9ff85a4 (patch)
tree1d82b3b16980d16f1f6bc283d6f23ed22c89fdbf /src/popupmenu.c
parent9ec7026f24e9ac51654300e32afd2b7540cab5f8 (diff)
downloadvim-git-d356fc65d273959efa9b05bfa0f07ce1c9ff85a4.tar.gz
patch 8.2.2123: after using a complete popup the buffer is listedv8.2.2123
Problem: After using a complete popup the buffer is listed. (Boris Staletic) Solution: Make the buffer unlisted.
Diffstat (limited to 'src/popupmenu.c')
-rw-r--r--src/popupmenu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/popupmenu.c b/src/popupmenu.c
index f4f210b5d..c8d305cbc 100644
--- a/src/popupmenu.c
+++ b/src/popupmenu.c
@@ -858,6 +858,7 @@ pum_set_selected(int n, int repeat UNUSED)
// Edit a new, empty buffer. Set options for a "wipeout"
// buffer.
set_option_value((char_u *)"swf", 0L, NULL, OPT_LOCAL);
+ set_option_value((char_u *)"bl", 0L, NULL, OPT_LOCAL);
set_option_value((char_u *)"bt", 0L,
(char_u *)"nofile", OPT_LOCAL);
set_option_value((char_u *)"bh", 0L,