From 9900e68ae39e701a4b713875920090ce1a28fe28 Mon Sep 17 00:00:00 2001 From: Sean Dewar Date: Wed, 9 Dec 2020 19:25:55 +0000 Subject: vim-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. https://github.com/vim/vim/commit/d356fc65d273959efa9b05bfa0f07ce1c9ff85a4 --- src/nvim/popupmnu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/popupmnu.c b/src/nvim/popupmnu.c index f242b7d71a..551a650045 100644 --- a/src/nvim/popupmnu.c +++ b/src/nvim/popupmnu.c @@ -742,6 +742,7 @@ static int pum_set_selected(int n, int repeat) // Edit a new, empty buffer. Set options for a "wipeout" // buffer. set_option_value("swf", 0L, NULL, OPT_LOCAL); + set_option_value("bl", 0L, NULL, OPT_LOCAL); set_option_value("bt", 0L, "nofile", OPT_LOCAL); set_option_value("bh", 0L, "wipe", OPT_LOCAL); set_option_value("diff", 0L, NULL, OPT_LOCAL); -- cgit