diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-30 11:46:24 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-07-30 12:18:44 +0800 |
commit | 0af056ebce189deedb58f7048108977fa5d81713 (patch) | |
tree | 6690b671a3bd3f9e5759df1f8bc718a7cf6f4bd2 /runtime/lua/vim/_meta/vimfn.lua | |
parent | 520d94cc23416e14a4535c9ca6b7963681a7f461 (diff) | |
download | rneovim-0af056ebce189deedb58f7048108977fa5d81713.tar.gz rneovim-0af056ebce189deedb58f7048108977fa5d81713.tar.bz2 rneovim-0af056ebce189deedb58f7048108977fa5d81713.zip |
vim-patch:49cdd62: runtime(doc): list of new/changed features in version9.txt
closes: vim/vim#13753
https://github.com/vim/vim/commit/49cdd629a39d7e40e7349e65cb177e2442871a04
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index bd6550941d..17cd6e3318 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -4699,6 +4699,10 @@ function vim.fn.isnan(expr) end --- for [key, value] in items(mydict) --- echo key .. ': ' .. value --- endfor +--- < +--- 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. --- --- @param dict any --- @return any |