Mercurial > vim
comparison src/option.c @ 13234:6e972d830e13 v8.0.1491
patch 8.0.1491: the minimum width of the popup menu is hard coded
commit https://github.com/vim/vim/commit/a8f04aa275984183bab5bb583b128f38c64abb69
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 10 15:36:55 2018 +0100
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 10 Feb 2018 15:45:06 +0100 |
parents | 51521b8a370c |
children | 5b0faf628a55 |
comparison
equal
deleted
inserted
replaced
13233:eaa9d3821fb0 | 13234:6e972d830e13 |
---|---|
2233 (char_u *)&p_prompt, PV_NONE, | 2233 (char_u *)&p_prompt, PV_NONE, |
2234 {(char_u *)TRUE, (char_u *)0L} SCRIPTID_INIT}, | 2234 {(char_u *)TRUE, (char_u *)0L} SCRIPTID_INIT}, |
2235 {"pumheight", "ph", P_NUM|P_VI_DEF, | 2235 {"pumheight", "ph", P_NUM|P_VI_DEF, |
2236 #ifdef FEAT_INS_EXPAND | 2236 #ifdef FEAT_INS_EXPAND |
2237 (char_u *)&p_ph, PV_NONE, | 2237 (char_u *)&p_ph, PV_NONE, |
2238 #else | |
2239 (char_u *)NULL, PV_NONE, | |
2240 #endif | |
2241 {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT}, | |
2242 {"pumwidth", "pw", P_NUM|P_VI_DEF, | |
2243 #ifdef FEAT_INS_EXPAND | |
2244 (char_u *)&p_pw, PV_NONE, | |
2238 #else | 2245 #else |
2239 (char_u *)NULL, PV_NONE, | 2246 (char_u *)NULL, PV_NONE, |
2240 #endif | 2247 #endif |
2241 {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT}, | 2248 {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT}, |
2242 {"pythonthreedll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE, | 2249 {"pythonthreedll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE, |