0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
Bram Moolenaar
2020-07-18 21:40:41 +02:00
parent d032f34a51
commit de2396fc87
5 changed files with 26 additions and 1 deletions

View File

@@ -1620,6 +1620,7 @@ parse_popup_option(win_T *wp, int is_preview)
if (is_preview)
wp->w_minwidth = x;
wp->w_maxwidth = x;
wp->w_maxwidth_opt = x;
}
}
else if (STRNCMP(s, "highlight:", 10) == 0)