patch 9.1.1250: cannot set the maximum popup menu width
Problem: cannot set the maximum popup menu width
(Lucas Mior)
Solution: add the new global option value 'pummaxwidth'
(glepnir)
fixes: #10901
closes: #16943
Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
757c37da6d
commit
88d75934c3
@ -2021,6 +2021,9 @@ static struct vimoption options[] =
|
||||
{"pumheight", "ph", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_ph, PV_NONE, NULL, NULL,
|
||||
{(char_u *)0L, (char_u *)0L} SCTX_INIT},
|
||||
{"pummaxwidth", "pmw", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_pmw, PV_NONE, NULL, NULL,
|
||||
{(char_u *)0L, (char_u *)0L} SCTX_INIT},
|
||||
{"pumwidth", "pw", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_pw, PV_NONE, NULL, NULL,
|
||||
{(char_u *)15L, (char_u *)15L} SCTX_INIT},
|
||||
|
||||
Reference in New Issue
Block a user