]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): clarify the effect of the timeout for search()-functions
authorChristian Brabandt <cb@256bit.org>
Tue, 10 Sep 2024 19:55:49 +0000 (21:55 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 10 Sep 2024 19:57:06 +0000 (21:57 +0200)
related: #15657
related: #15404

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt

index 4192b81cae7b20c8ca28a9c890ea5842424dd383..af918d1a95955bb004836054fcbcd89a9c7403d2 100644 (file)
@@ -1,4 +1,4 @@
-*builtin.txt*  For Vim version 9.1.  Last change: 2024 Aug 08
+*builtin.txt*  For Vim version 9.1.  Last change: 2024 Sep 10
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -8963,6 +8963,9 @@ search({pattern} [, {flags} [, {stopline} [, {timeout} [, {skip}]]]])
                {timeout} is 500 the search stops after half a second.
                The value must not be negative.  A zero value is like not
                giving the argument.
+
+               Note: the timeout is only considered when searching, not
+               while evaluating the {skip} expression.
                {only available when compiled with the |+reltime| feature}
 
                If the {skip} expression is given it is evaluated with the