diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2020-12-09 19:25:55 +0000 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2020-12-09 19:28:03 +0000 |
commit | 9900e68ae39e701a4b713875920090ce1a28fe28 (patch) | |
tree | 13dd67fbe2507f27a995cd7b533e331622cf3e59 | |
parent | b8a0304bb90cf1725cff78cd59521c417f36e5f4 (diff) | |
download | rneovim-9900e68ae39e701a4b713875920090ce1a28fe28.tar.gz rneovim-9900e68ae39e701a4b713875920090ce1a28fe28.tar.bz2 rneovim-9900e68ae39e701a4b713875920090ce1a28fe28.zip |
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
-rw-r--r-- | src/nvim/popupmnu.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |