1
0
forked from aniani/vim

patch 7.4.1839

Problem:    Cannot get the items stored in a partial.
Solution:   Support using get() on a partial.
This commit is contained in:
Bram Moolenaar
2016-05-24 18:37:12 +02:00
parent 574860b5ee
commit 2bbf8eff6f
4 changed files with 56 additions and 0 deletions

View File

@@ -3771,6 +3771,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}])