mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
vim-patch:9a660d2883f9
runtime(doc): add reference to matchbufline() at :h search()
related: vim/vim#14173
9a660d2883
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
1
runtime/doc/builtin.txt
generated
1
runtime/doc/builtin.txt
generated
@@ -6054,6 +6054,7 @@ search({pattern} [, {flags} [, {stopline} [, {timeout} [, {skip}]]]]) *search()*
|
|||||||
When a match has been found its line number is returned.
|
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
|
If there is no match a 0 is returned and the cursor doesn't
|
||||||
move. No error message is given.
|
move. No error message is given.
|
||||||
|
To get the matched string, use |matchbufline()|.
|
||||||
|
|
||||||
{flags} is a String, which can contain these character flags:
|
{flags} is a String, which can contain these character flags:
|
||||||
'b' search Backward instead of forward
|
'b' search Backward instead of forward
|
||||||
|
1
runtime/lua/vim/_meta/vimfn.lua
generated
1
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -7259,6 +7259,7 @@ function vim.fn.screenstring(row, col) end
|
|||||||
--- When a match has been found its line number is returned.
|
--- 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
|
--- If there is no match a 0 is returned and the cursor doesn't
|
||||||
--- move. No error message is given.
|
--- move. No error message is given.
|
||||||
|
--- To get the matched string, use |matchbufline()|.
|
||||||
---
|
---
|
||||||
--- {flags} is a String, which can contain these character flags:
|
--- {flags} is a String, which can contain these character flags:
|
||||||
--- 'b' search Backward instead of forward
|
--- 'b' search Backward instead of forward
|
||||||
|
@@ -8746,6 +8746,7 @@ M.funcs = {
|
|||||||
When a match has been found its line number is returned.
|
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
|
If there is no match a 0 is returned and the cursor doesn't
|
||||||
move. No error message is given.
|
move. No error message is given.
|
||||||
|
To get the matched string, use |matchbufline()|.
|
||||||
|
|
||||||
{flags} is a String, which can contain these character flags:
|
{flags} is a String, which can contain these character flags:
|
||||||
'b' search Backward instead of forward
|
'b' search Backward instead of forward
|
||||||
|
Reference in New Issue
Block a user