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:
@@ -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}])
|
||||
|
||||
Reference in New Issue
Block a user