Mercurial > vim
comparison src/popupmenu.c @ 23154:713912dd96cd v8.2.2123
patch 8.2.2123: after using a complete popup the buffer is listed
Commit: https://github.com/vim/vim/commit/d356fc65d273959efa9b05bfa0f07ce1c9ff85a4
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 9 18:13:44 2020 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Dec 2020 18:15:03 +0100 |
parents | 6145a1232c3a |
children | 8e0ec52cad85 |
comparison
equal
deleted
inserted
replaced
23153:a40d2987b230 | 23154:713912dd96cd |
---|---|
856 if (res == OK) | 856 if (res == OK) |
857 { | 857 { |
858 // Edit a new, empty buffer. Set options for a "wipeout" | 858 // Edit a new, empty buffer. Set options for a "wipeout" |
859 // buffer. | 859 // buffer. |
860 set_option_value((char_u *)"swf", 0L, NULL, OPT_LOCAL); | 860 set_option_value((char_u *)"swf", 0L, NULL, OPT_LOCAL); |
861 set_option_value((char_u *)"bl", 0L, NULL, OPT_LOCAL); | |
861 set_option_value((char_u *)"bt", 0L, | 862 set_option_value((char_u *)"bt", 0L, |
862 (char_u *)"nofile", OPT_LOCAL); | 863 (char_u *)"nofile", OPT_LOCAL); |
863 set_option_value((char_u *)"bh", 0L, | 864 set_option_value((char_u *)"bh", 0L, |
864 (char_u *)"wipe", OPT_LOCAL); | 865 (char_u *)"wipe", OPT_LOCAL); |
865 set_option_value((char_u *)"diff", 0L, | 866 set_option_value((char_u *)"diff", 0L, |