1
0
forked from aniani/vim

patch 8.0.1491: the minimum width of the popup menu is hard coded

Problem:    The minimum width of the popup menu is hard coded.
Solution:   Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
            closes #2314)
This commit is contained in:
Bram Moolenaar
2018-02-10 15:36:55 +01:00
parent 2993ac5fce
commit a8f04aa275
5 changed files with 98 additions and 8 deletions

View File

@@ -5953,6 +5953,16 @@ A jump table for the options with a short description can be found at |Q_op|.
{not in Vi}
Determines the maximum number of items to show in the popup menu for
Insert mode completion. When zero as much space as available is used.
|ins-completion-menu|.
*'pumwidth'* *'pw'*
'pumwidth' 'pw' number (default 0)
global
{not available when compiled without the
|+insert_expand| feature}
{not in Vi}
Determines the minium width to use for the popup menu for Insert mode
completion. When zero the default of 15 screen cells is used.
|ins-completion-menu|.
*'pythondll'*