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:
Christian Brabandt
2025-07-10 20:34:41 +02:00
parent bda2e4eb16
commit b7b7fa04bf
14 changed files with 259 additions and 45 deletions

View File

@ -792,6 +792,7 @@ EXTERN long p_mmt; // 'maxmemtot'
EXTERN long p_mis; // 'menuitems'
#endif
EXTERN char_u *p_mopt; // 'messagesopt'
EXTERN long p_msc; // 'maxsearchcount'
#ifdef FEAT_SPELL
EXTERN char_u *p_msm; // 'mkspellmem'
#endif