mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
520d94cc23
commit
0af056ebce
4
runtime/doc/builtin.txt
generated
4
runtime/doc/builtin.txt
generated
@ -3901,6 +3901,10 @@ items({dict}) *items()*
|
|||||||
for [key, value] in items(mydict)
|
for [key, value] in items(mydict)
|
||||||
echo key .. ': ' .. value
|
echo key .. ': ' .. value
|
||||||
endfor
|
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()*
|
jobpid({job}) *jobpid()*
|
||||||
Return the PID (process id) of |job-id| {job}.
|
Return the PID (process id) of |job-id| {job}.
|
||||||
|
@ -354,7 +354,8 @@ Note:
|
|||||||
|
|
||||||
*E1255* *E1136*
|
*E1255* *E1136*
|
||||||
<Cmd> commands must terminate, that is, they must be followed by <CR> in the
|
<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*
|
1.3 MAPPING AND MODES *:map-modes*
|
||||||
|
4
runtime/lua/vim/_meta/vimfn.lua
generated
4
runtime/lua/vim/_meta/vimfn.lua
generated
@ -4699,6 +4699,10 @@ function vim.fn.isnan(expr) end
|
|||||||
--- for [key, value] in items(mydict)
|
--- for [key, value] in items(mydict)
|
||||||
--- echo key .. ': ' .. value
|
--- echo key .. ': ' .. value
|
||||||
--- endfor
|
--- 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
|
--- @param dict any
|
||||||
--- @return any
|
--- @return any
|
||||||
|
@ -5752,7 +5752,10 @@ M.funcs = {
|
|||||||
for [key, value] in items(mydict)
|
for [key, value] in items(mydict)
|
||||||
echo key .. ': ' .. value
|
echo key .. ': ' .. value
|
||||||
endfor
|
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',
|
name = 'items',
|
||||||
params = { { 'dict', 'any' } },
|
params = { { 'dict', 'any' } },
|
||||||
|
Loading…
Reference in New Issue
Block a user