mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 10:31:48 +00:00
vim-patch:7.4.1839
Problem: Cannot get the items stored in a partial.
Solution: Support using get() on a partial.
2bbf8eff6f
This commit is contained in:
committed by
James McCoy
parent
c82dc7a6fd
commit
02c58d8a07
@@ -3586,6 +3586,12 @@ get({dict}, {key} [, {default}])
|
||||
Get item with key {key} from |Dictionary| {dict}. When this
|
||||
item is not available return {default}. Return zero when
|
||||
{default} is omitted.
|
||||
get({partial}, {what})
|
||||
Get an item with from Funcref {partial}. Possible values for
|
||||
{what} are:
|
||||
'func' The function
|
||||
'dict' The dictionary
|
||||
'args' The list with arguments
|
||||
|
||||
*getbufline()*
|
||||
getbufline({expr}, {lnum} [, {end}])
|
||||
|
||||
Reference in New Issue
Block a user