Mercurial > vim
diff src/structs.h @ 21377:47f25a0c5a42 v8.2.1239
patch 8.2.1239: "maxwidth" in 'completepopup' not obeyed
Commit: https://github.com/vim/vim/commit/de2396fc875837c47b1c13f5e80e0a1200c5eb61
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 18 21:40:41 2020 +0200
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 https://github.com/vim/vim/issues/6470)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 Jul 2020 21:45:03 +0200 |
parents | 8de90d2965a3 |
children | 1c4d4aa22b37 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -3302,6 +3302,7 @@ struct window_S int w_minwidth; // "minwidth" for popup window int w_maxheight; // "maxheight" for popup window int w_maxwidth; // "maxwidth" for popup window + int w_maxwidth_opt; // maxwidth from option int w_wantline; // "line" for popup window int w_wantcol; // "col" for popup window int w_firstline; // "firstline" for popup window