vim-patch:d657d3d: runtime(doc): clarify the effect of the timeout for search()-functions (#30337)

related: vim/vim#15657
related: vim/vim#15404

d657d3d8fd

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-09-11 06:09:58 +08:00
committed by GitHub
parent 4c5bce9cb4
commit 4b98d38870
3 changed files with 9 additions and 0 deletions

View File

@@ -8927,6 +8927,9 @@ M.funcs = {
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.
If the {skip} expression is given it is evaluated with the
cursor positioned on the start of a match. If it evaluates to
non-zero this match is skipped. This can be used, for