0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.2123: after using a complete popup the buffer is listed

Problem:    After using a complete popup the buffer is listed. (Boris
            Staletic)
Solution:   Make the buffer unlisted.
This commit is contained in:
Bram Moolenaar
2020-12-09 18:13:44 +01:00
parent 9ec7026f24
commit d356fc65d2
3 changed files with 6 additions and 0 deletions

View File

@@ -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,