aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 623ce2bc0f..07e6d42e1c 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -5356,6 +5356,7 @@ function vim.fn.mapset(dict) end
--- Note that when {count} is added the way {start} works changes,
--- see above.
---
+--- *match-pattern*
--- See |pattern| for the patterns that are accepted.
--- The 'ignorecase' option is used to set the ignore-caseness of
--- the pattern. 'smartcase' is NOT used. The matching is always
@@ -5514,6 +5515,9 @@ function vim.fn.matcharg(nr) end
--- This function works only for loaded buffers. First call
--- |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
--- {lnum} or {end} is not valid then an error is given and an
--- empty |List| is returned.
@@ -5727,6 +5731,9 @@ function vim.fn.matchstr(expr, pat, start, count) end
--- submatches a List of submatches. Present only if
--- "submatches" is set to v:true in {dict}.
---
+--- See |match-pattern| for information about the effect of some
+--- option settings on the pattern.
+---
--- Example: >vim
--- :echo matchstrlist(['tik tok'], '\<\k\+\>')
--- [{'idx': 0, 'byteidx': 0, 'text': 'tik'}, {'idx': 0, 'byteidx': 4, 'text': 'tok'}]