runtime(doc): add reference to searchcount() function
Commit:
https://github.com/vim/vim/commit/20064150169a94380abef37d3966c864531d1d92
Author: Christian Brabandt <[email protected]>
Date: Tue Dec 23 22:22:38 2025 +0000
runtime(doc): add reference to searchcount() function
Signed-off-by: Christian Brabandt <[email protected]>
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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vYAtH-00COWv-EU%40256bit.org.