Mercurial > vim
diff runtime/doc/builtin.txt @ 34011:62d771d915fe
runtime(doc): list of new/changed features in version9.txt
Commit: https://github.com/vim/vim/commit/49cdd629a39d7e40e7349e65cb177e2442871a04
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Dec 24 11:01:23 2023 +0100
runtime(doc): list of new/changed features in version9.txt
closes: https://github.com/vim/vim/issues/13753
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Dec 2023 11:15:04 +0100 |
parents | 27746ed6cb05 |
children | 4635e43f2c6f |
line wrap: on
line diff
--- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 9.0. Last change: 2023 Dec 14 +*builtin.txt* For Vim version 9.0. Last change: 2023 Dec 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5163,8 +5163,12 @@ items({dict}) *items()* for [key, value] in items(mydict) echo key .. ': ' .. value endfor - -< Can also be used as a |method|: > +< + A List or a String argument is also supported. In these + cases, items() returns a List with the index and the value at + the index. + + Can also be used as a |method|: > mydict->items() job_ functions are documented here: |job-functions-details|