mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
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:
parent
4c5bce9cb4
commit
4b98d38870
3
runtime/doc/builtin.txt
generated
3
runtime/doc/builtin.txt
generated
@ -6201,6 +6201,9 @@ search({pattern} [, {flags} [, {stopline} [, {timeout} [, {skip}]]]]) *search()*
|
||||
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
|
||||
|
3
runtime/lua/vim/_meta/vimfn.lua
generated
3
runtime/lua/vim/_meta/vimfn.lua
generated
@ -7421,6 +7421,9 @@ function vim.fn.screenstring(row, col) end
|
||||
--- 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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user