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:
Michael Ennen
2016-10-28 12:49:28 -07:00
committed by James McCoy
parent c82dc7a6fd
commit 02c58d8a07
2 changed files with 40 additions and 2 deletions

View File

@@ -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}])