patch 9.1.1535: the maximum search count uses hard-coded value 99
Problem: The maximum search count uses a hard-coded value of 99
(Andres Monge, Joschua Kesper)
Solution: Make it configurable using the 'maxsearchcount' option.
related: #8855
fixes: #17527
closes: #17695
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -1733,6 +1733,9 @@ static struct vimoption options[] =
|
||||
(char_u *)&p_mmt, PV_NONE, NULL, NULL,
|
||||
{(char_u *)DFLT_MAXMEMTOT, (char_u *)0L}
|
||||
SCTX_INIT},
|
||||
{"maxsearchcount", "msc", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_msc, PV_NONE, did_set_maxsearchcount, NULL,
|
||||
{(char_u *)99L, (char_u *)0L} SCTX_INIT},
|
||||
{"menuitems", "mis", P_NUM|P_VI_DEF,
|
||||
#ifdef FEAT_MENU
|
||||
(char_u *)&p_mis, PV_NONE, NULL, NULL,
|
||||
|
||||
Reference in New Issue
Block a user