diff options
author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2024-03-12 21:41:35 +0000 |
---|---|---|
committer | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2024-03-12 21:42:47 +0000 |
commit | c048beef6c034a46e324fcea7210082d48db32ee (patch) | |
tree | 4a2221487a5cd153caa7bcbb8baf992b1469fd8c /src/nvim/eval.lua | |
parent | 6bbb02d9ba76551dd4856ad50a237e92c678702d (diff) | |
download | rneovim-c048beef6c034a46e324fcea7210082d48db32ee.tar.gz rneovim-c048beef6c034a46e324fcea7210082d48db32ee.tar.bz2 rneovim-c048beef6c034a46e324fcea7210082d48db32ee.zip |
vim-patch:9a660d2883f9
runtime(doc): add reference to matchbufline() at :h search()
related: vim/vim#14173
https://github.com/vim/vim/commit/9a660d2883f92b3a3761c964dc14363a8f70c8d8
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 73715e2631..96dc32259f 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -8746,6 +8746,7 @@ M.funcs = { 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 |