aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-09-11 06:09:58 +0800
committerGitHub <noreply@github.com>2024-09-11 06:09:58 +0800
commit4b98d3887064ddc242d917328d8014d2576b98f6 (patch)
treed4d6a9f527e2b0c90c3679d0c95f443a8812d32e /src/nvim/eval.lua
parent4c5bce9cb417cf1c6a93cdd5ca6d3d52d2bf95d6 (diff)
downloadrneovim-4b98d3887064ddc242d917328d8014d2576b98f6.tar.gz
rneovim-4b98d3887064ddc242d917328d8014d2576b98f6.tar.bz2
rneovim-4b98d3887064ddc242d917328d8014d2576b98f6.zip
vim-patch:d657d3d: runtime(doc): clarify the effect of the timeout for search()-functions (#30337)
related: vim/vim#15657 related: vim/vim#15404 https://github.com/vim/vim/commit/d657d3d8fd635dbd78402358788dc58a96d04117 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index cbab735489..9df7976f65 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -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