vim-patch:49cdd62: runtime(doc): list of new/changed features in version9.txt

closes: vim/vim#13753

49cdd629a3

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
zeertzjq 2024-07-30 11:46:24 +08:00
parent 520d94cc23
commit 0af056ebce
4 changed files with 14 additions and 2 deletions

View File

@ -3901,6 +3901,10 @@ items({dict}) *items()*
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.
jobpid({job}) *jobpid()*
Return the PID (process id) of |job-id| {job}.

View File

@ -354,7 +354,8 @@ Note:
*E1255* *E1136*
<Cmd> commands must terminate, that is, they must be followed by <CR> in the
{rhs} of the mapping definition. |Command-line| mode is never entered.
{rhs} of the mapping definition. |Command-line| mode is never entered. To use
a literal <CR> in the {rhs}, use |<lt>|.
1.3 MAPPING AND MODES *:map-modes*

View File

@ -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

View File

@ -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' } },