]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): add reference to searchcount() function master
authorChristian Brabandt <cb@256bit.org>
Tue, 23 Dec 2025 22:22:38 +0000 (22:22 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 23 Dec 2025 22:22:38 +0000 (22:22 +0000)
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt

index 0cef5f7e29d7f071473ac5dbb9736f0073d0f131..b1550dfcca2c946b4e245b24f5890b8da6505bef 100644 (file)
@@ -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