From 20064150169a94380abef37d3966c864531d1d92 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 23 Dec 2025 22:22:38 +0000 Subject: [PATCH] runtime(doc): add reference to searchcount() function Signed-off-by: Christian Brabandt --- runtime/doc/options.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 0cef5f7e29..b1550dfcca 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6039,7 +6039,8 @@ A jump table for the options with a short description can be found at |Q_op|. When the number of matches exceeds this value, Vim shows ">" instead of the exact count to keep searching fast. Note: larger values may impact performance. - The value must be between 1 and 9999. + The value must be between 1 and 9999. See also the |searchcount()| + function. *'menuitems'* *'mis'* 'menuitems' 'mis' number (default 25) @@ -7860,7 +7861,8 @@ A jump table for the options with a short description can be found at |Q_op|. "search hit TOP, continuing at BOTTOM" messages are only indicated by a "W" (Mnemonic: Wrapped) letter before the search count statistics. The maximum limit can be set with - the 'maxsearchcount' option. + the 'maxsearchcount' option, see also |searchcount()| + function. This gives you the opportunity to avoid that a change between buffers requires you to hit , but still gives as useful a message as -- 2.47.3