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:
@ -1,7 +1,7 @@
|
||||
" These commands create the option window.
|
||||
"
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2025 Jul 05
|
||||
" Last Change: 2025 Jul 10
|
||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
" If there already is an option window, jump to that one.
|
||||
@ -283,6 +283,8 @@ call <SID>AddOption("ignorecase", gettext("ignore case when using a search patte
|
||||
call <SID>BinOptionG("ic", &ic)
|
||||
call <SID>AddOption("smartcase", gettext("override 'ignorecase' when pattern has upper case characters"))
|
||||
call <SID>BinOptionG("scs", &scs)
|
||||
call <SID>AddOption("maxsearchcount", gettext("Maximum number for the search count feature"))
|
||||
call <SID>OptionG("msc", &msc)
|
||||
call <SID>AddOption("casemap", gettext("what method to use for changing case of letters"))
|
||||
call <SID>OptionG("cmp", &cmp)
|
||||
call <SID>AddOption("maxmempattern", gettext("maximum amount of memory in Kbyte used for pattern matching"))
|
||||
|
||||
Reference in New Issue
Block a user