vim-patch:44c8072: runtime(doc): fix style and clarify items() function for String type

related: vim/vim#18021

44c8072ef6

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-08-21 08:34:20 +08:00
parent 049de6f119
commit 1fdacbb3e4
4 changed files with 4 additions and 3 deletions

View File

@@ -6057,7 +6057,7 @@ M.funcs = {
args = 1,
base = 1,
desc = [=[
Return a |List| with all the key/index and value pairs of {expr}.
Return a |List| with all key/index and value pairs of {expr}.
Each |List| item is a list with two items:
- for a |Dict|: the key and the value
- for a |List| or |String|: the index and the value