0
0
mirror of https://github.com/vim/vim.git synced 2025-08-23 19:34:27 -04:00

runtime(doc): fix style and clarify items() function for String type

related: #18021

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt 2025-08-18 20:59:22 +02:00
parent 0c4405a6b2
commit 44c8072ef6
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 Aug 17
*builtin.txt* For Vim version 9.1. Last change: 2025 Aug 18
VIM REFERENCE MANUAL by Bram Moolenaar
@ -6311,7 +6311,7 @@ isnan({expr}) *isnan()*
items({expr}) *items()*
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|, |Tuple| or |String|: the index and the value

View File

@ -1,4 +1,4 @@
*usr_41.txt* For Vim version 9.1. Last change: 2025 Aug 17
*usr_41.txt* For Vim version 9.1. Last change: 2025 Aug 18
VIM USER MANUAL - by Bram Moolenaar
@ -806,7 +806,7 @@ String manipulation: *string-functions*
ngettext() lookup single/plural message translation
str2blob() convert a list of strings into a blob
blob2str() convert a blob into a list of strings
items() get List of List index-value pairs
items() get List of String index-character pairs
List manipulation: *list-functions*
get() get an item without error for wrong index