diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-18 16:07:16 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-18 16:07:16 +0200 |
commit | 447bfba24b231777a79bf53cdb33f44d9691e47e (patch) | |
tree | c7b93c13916357e83760dfa20eb9027225e1c805 /src/optionstr.c | |
parent | e859312e748297bde67a053fd3c486fc2c14b532 (diff) | |
download | vim-git-447bfba24b231777a79bf53cdb33f44d9691e47e.tar.gz |
patch 8.2.1237: changing 'completepopup' after opening popup has no effectv8.2.1237
Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
Sitter)
Solution: Close the popup when the options are changed. (closes #6471)
Diffstat (limited to 'src/optionstr.c')
-rw-r--r-- | src/optionstr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/optionstr.c b/src/optionstr.c index a0409fa77..bfc2e3b95 100644 --- a/src/optionstr.c +++ b/src/optionstr.c @@ -2249,6 +2249,8 @@ did_set_string_option( { if (parse_completepopup(NULL) == FAIL) errmsg = e_invarg; + else + popup_close_info(); } # endif #endif |