runtime(doc): clarify the effect of the timeout for search()-functions Commit: https://github.com/vim/vim/commit/d657d3d8fd635dbd78402358788dc58a96d04117 Author: Christian Brabandt <c...@256bit.org> Date: Tue Sep 10 21:55:49 2024 +0200
runtime(doc): clarify the effect of the timeout for search()-functions related: https://github.com/vim/vim/issues/15657 related: https://github.com/vim/vim/issues/15404 Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 4192b81ca..af918d1a9 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -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 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1so71v-007nmt-PA%40256bit.org.