Mercurial > vim
changeset 34542:cf167a352bea
runtime(doc): add reference to matchbufline() at :h search()
Commit: https://github.com/vim/vim/commit/9a660d2883f92b3a3761c964dc14363a8f70c8d8
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Mar 12 22:03:09 2024 +0100
runtime(doc): add reference to matchbufline() at :h search()
related: https://github.com/vim/vim/issues/14173
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Mar 2024 22:15:02 +0100 |
parents | a4b8338f9e76 |
children | 748a8a413816 |
files | runtime/doc/builtin.txt |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -7980,6 +7980,7 @@ search({pattern} [, {flags} [, {stopline When a match has been found its line number is returned. If there is no match a 0 is returned and the cursor doesn't move. No error message is given. + To get the matched string, use |matchbufline()|. {flags} is a String, which can contain these character flags: 'b' search Backward instead of forward