Skip to content

Commit d657d3d

Browse files
committed
runtime(doc): clarify the effect of the timeout for search()-functions
related: #15657 related: #15404 Signed-off-by: Christian Brabandt <[email protected]>
1 parent fc72a2f commit d657d3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

runtime/doc/builtin.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.1. Last change: 2024 Aug 08
1+
*builtin.txt* For Vim version 9.1. Last change: 2024 Sep 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -8963,6 +8963,9 @@ search({pattern} [, {flags} [, {stopline} [, {timeout} [, {skip}]]]])
89638963
{timeout} is 500 the search stops after half a second.
89648964
The value must not be negative. A zero value is like not
89658965
giving the argument.
8966+
8967+
Note: the timeout is only considered when searching, not
8968+
while evaluating the {skip} expression.
89668969
{only available when compiled with the |+reltime| feature}
89678970

89688971
If the {skip} expression is given it is evaluated with the

0 commit comments

Comments
 (0)