mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 07:11:20 +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:
3
runtime/lua/vim/_meta/vimfn.lua
generated
3
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -4912,7 +4912,8 @@ function vim.fn.isnan(expr) end
|
||||
--- 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