mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.1237: changing 'completepopup' after opening popup has no effect
Problem: Changing 'completepopup' after opening a popup has no effect. (Jay Sitter) Solution: Close the popup when the options are changed. (closes #6471)
This commit is contained in:
@@ -2249,6 +2249,8 @@ did_set_string_option(
|
||||
{
|
||||
if (parse_completepopup(NULL) == FAIL)
|
||||
errmsg = e_invarg;
|
||||
else
|
||||
popup_close_info();
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user