commit | de2396fc875837c47b1c13f5e80e0a1200c5eb61 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 18 21:40:41 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 18 21:40:41 2020 +0200 |
tree | 54faaa93dc859a2529e32bb0d6d41935651a9299 | |
parent | d032f34a51c6722101626c4167dffecc427ac343 [diff] [blame] |
patch 8.2.1239: "maxwidth" in 'completepopup' not obeyed Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter) Solution: Add separate field for value from option. (closes #6470)
diff --git a/src/popupwin.c b/src/popupwin.c index b0b4737..fc69c90 100644 --- a/src/popupwin.c +++ b/src/popupwin.c
@@ -1620,6 +1620,7 @@ if (is_preview) wp->w_minwidth = x; wp->w_maxwidth = x; + wp->w_maxwidth_opt = x; } } else if (STRNCMP(s, "highlight:", 10) == 0)