aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-30 12:39:19 +0800
committerGitHub <noreply@github.com>2024-07-30 12:39:19 +0800
commit619d005ac30cbbd38c1d9ffbe6a8728ec7732519 (patch)
tree6690b671a3bd3f9e5759df1f8bc718a7cf6f4bd2 /src/nvim/eval.lua
parentcd4638366759bc984d4cb7207a56e5bc112f4179 (diff)
parent0af056ebce189deedb58f7048108977fa5d81713 (diff)
downloadrneovim-619d005ac30cbbd38c1d9ffbe6a8728ec7732519.tar.gz
rneovim-619d005ac30cbbd38c1d9ffbe6a8728ec7732519.tar.bz2
rneovim-619d005ac30cbbd38c1d9ffbe6a8728ec7732519.zip
Merge pull request #29912 from zeertzjq/vim-9.0.0327
vim-patch:9.0.{partial:0327,0330,0331,0333}
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 4bc0827bcc..687d052d19 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -5752,7 +5752,10 @@ M.funcs = {
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.
]=],
name = 'items',
params = { { 'dict', 'any' } },