Skip to content

Commit 2006415

Browse files
committed
runtime(doc): add reference to searchcount() function
Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 6d211bc commit 2006415

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

runtime/doc/options.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6039,7 +6039,8 @@ A jump table for the options with a short description can be found at |Q_op|.
60396039
When the number of matches exceeds this value, Vim shows ">" instead
60406040
of the exact count to keep searching fast.
60416041
Note: larger values may impact performance.
6042-
The value must be between 1 and 9999.
6042+
The value must be between 1 and 9999. See also the |searchcount()|
6043+
function.
60436044

60446045
*'menuitems'* *'mis'*
60456046
'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|.
78607861
"search hit TOP, continuing at BOTTOM" messages are only
78617862
indicated by a "W" (Mnemonic: Wrapped) letter before the
78627863
search count statistics. The maximum limit can be set with
7863-
the 'maxsearchcount' option.
7864+
the 'maxsearchcount' option, see also |searchcount()|
7865+
function.
78647866

78657867
This gives you the opportunity to avoid that a change between buffers
78667868
requires you to hit <Enter>, but still gives as useful a message as

0 commit comments

Comments
 (0)