comparison src/optionstr.c @ 21373:3d73cdd173ab v8.2.1237

patch 8.2.1237: changing 'completepopup' after opening popup has no effect Commit: https://github.com/vim/vim/commit/447bfba24b231777a79bf53cdb33f44d9691e47e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 18 16:07:16 2020 +0200 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 18 Jul 2020 16:15:04 +0200
parents ed00f0fbdaef
children 2c40e60017a8
comparison
equal deleted inserted replaced
21372:86c5173b29b1 21373:3d73cdd173ab
2247 // 'completepopup' 2247 // 'completepopup'
2248 else if (varp == &p_cpp) 2248 else if (varp == &p_cpp)
2249 { 2249 {
2250 if (parse_completepopup(NULL) == FAIL) 2250 if (parse_completepopup(NULL) == FAIL)
2251 errmsg = e_invarg; 2251 errmsg = e_invarg;
2252 else
2253 popup_close_info();
2252 } 2254 }
2253 # endif 2255 # endif
2254 #endif 2256 #endif
2255 2257
2256 // Options that are a list of flags. 2258 // Options that are a list of flags.