mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 04:58:33 +00:00
vim-patch:84a343a: runtime(doc): correct another problem in :h items()
The returned value is only in arbitrary order for a Dict.
closes: vim/vim#18050
84a343a6ed
This commit is contained in:
@@ -6061,7 +6061,8 @@ M.funcs = {
|
||||
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
|
||||
The |List| is in arbitrary order.
|
||||
The returned |List| is in arbitrary order for a |Dict|,
|
||||
otherwise it's in ascending order of the index.
|
||||
|
||||
Also see |keys()| and |values()|.
|
||||
|
||||
|
Reference in New Issue
Block a user