mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
runtime(doc) Update help text for matchbufline() and matchstrlist()
closes: #14080 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
aa31346da4
commit
a35235e824
@ -1,4 +1,4 @@
|
|||||||
*builtin.txt* For Vim version 9.1. Last change: 2024 Feb 22
|
*builtin.txt* For Vim version 9.1. Last change: 2024 Feb 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -6090,6 +6090,7 @@ match({expr}, {pat} [, {start} [, {count}]]) *match()*
|
|||||||
Note that when {count} is added the way {start} works changes,
|
Note that when {count} is added the way {start} works changes,
|
||||||
see above.
|
see above.
|
||||||
|
|
||||||
|
*match-pattern*
|
||||||
See |pattern| for the patterns that are accepted.
|
See |pattern| for the patterns that are accepted.
|
||||||
The 'ignorecase' option is used to set the ignore-caseness of
|
The 'ignorecase' option is used to set the ignore-caseness of
|
||||||
the pattern. 'smartcase' is NOT used. The matching is always
|
the pattern. 'smartcase' is NOT used. The matching is always
|
||||||
@ -6237,6 +6238,9 @@ matchbufline({buf}, {pat}, {lnum}, {end}, [, {dict}])
|
|||||||
This function works only for loaded buffers. First call
|
This function works only for loaded buffers. First call
|
||||||
|bufload()| if needed.
|
|bufload()| if needed.
|
||||||
|
|
||||||
|
See |match-pattern| for information about the effect of some
|
||||||
|
option settings on the pattern.
|
||||||
|
|
||||||
When {buf} is not a valid buffer, the buffer is not loaded or
|
When {buf} is not a valid buffer, the buffer is not loaded or
|
||||||
{lnum} or {end} is not valid then an error is given and an
|
{lnum} or {end} is not valid then an error is given and an
|
||||||
empty |List| is returned.
|
empty |List| is returned.
|
||||||
@ -6411,6 +6415,9 @@ matchstrlist({list}, {pat} [, {dict}])
|
|||||||
submatches a List of submatches. Present only if
|
submatches a List of submatches. Present only if
|
||||||
"submatches" is set to v:true in {dict}.
|
"submatches" is set to v:true in {dict}.
|
||||||
|
|
||||||
|
See |match-pattern| for information about the effect of some
|
||||||
|
option settings on the pattern.
|
||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
:echo matchstrlist(['tik tok'], '\<\k\+\>')
|
:echo matchstrlist(['tik tok'], '\<\k\+\>')
|
||||||
[{'idx': 0, 'byteidx': 0, 'text': 'tik'}, {'idx': 0, 'byteidx': 4, 'text': 'tok'}]
|
[{'idx': 0, 'byteidx': 0, 'text': 'tik'}, {'idx': 0, 'byteidx': 4, 'text': 'tok'}]
|
||||||
|
@ -8615,6 +8615,7 @@ masm.vim syntax.txt /*masm.vim*
|
|||||||
match() builtin.txt /*match()*
|
match() builtin.txt /*match()*
|
||||||
match-highlight pattern.txt /*match-highlight*
|
match-highlight pattern.txt /*match-highlight*
|
||||||
match-parens tips.txt /*match-parens*
|
match-parens tips.txt /*match-parens*
|
||||||
|
match-pattern builtin.txt /*match-pattern*
|
||||||
matchadd() builtin.txt /*matchadd()*
|
matchadd() builtin.txt /*matchadd()*
|
||||||
matchaddpos() builtin.txt /*matchaddpos()*
|
matchaddpos() builtin.txt /*matchaddpos()*
|
||||||
matcharg() builtin.txt /*matcharg()*
|
matcharg() builtin.txt /*matcharg()*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user