runtime(doc): add reference to searchcount() function
Commit:
https://github.com/vim/vim/commit/20064150169a94380abef37d3966c864531d1d92
Author: Christian Brabandt <
c...@256bit.org>
Date: Tue Dec 23 22:22:38 2025 +0000
runtime(doc): add reference to searchcount() function
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 0cef5f7e2..b1550dfcc 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 <Enter>, but still gives as useful a message as