patch 9.1.1672: completion: cannot add timeouts for 'cpt' sources
Problem: completion: cannot add timeouts for 'cpt' sources
(Evgeni Chasnovski)
Solution: Add the 'autocompletetimeout' and 'completetimeout' options
(Girish Palya)
fixes: #17908
closes: #17967
Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
f66674cf42
commit
69a337edc1
@ -395,6 +395,9 @@ static struct vimoption options[] =
|
||||
{"autocompletedelay", "acl", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_acl, PV_NONE, NULL, NULL,
|
||||
{(char_u *)0L, (char_u *)0L} SCTX_INIT},
|
||||
{"autocompletetimeout", "act", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_act, PV_NONE, NULL, NULL,
|
||||
{(char_u *)80L, (char_u *)0L} SCTX_INIT},
|
||||
#endif
|
||||
{"autoindent", "ai", P_BOOL|P_VI_DEF,
|
||||
(char_u *)&p_ai, PV_AI, NULL, NULL,
|
||||
@ -723,6 +726,9 @@ static struct vimoption options[] =
|
||||
{(char_u *)0L, (char_u *)0L}
|
||||
#endif
|
||||
SCTX_INIT},
|
||||
{"completetimeout", "cto", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_cto, PV_NONE, NULL, NULL,
|
||||
{(char_u *)0L, (char_u *)0L} SCTX_INIT},
|
||||
{"concealcursor","cocu", P_STRING|P_ALLOCED|P_RWIN|P_VI_DEF|P_FLAGLIST,
|
||||
#ifdef FEAT_CONCEAL
|
||||
(char_u *)VAR_WIN, PV_COCU, did_set_concealcursor, expand_set_concealcursor,
|
||||
|
||||
Reference in New Issue
Block a user