diff runtime/doc/eval.txt @ 9110:6d3888e2232c v7.4.1839

commit https://github.com/vim/vim/commit/2bbf8eff6fab16d86e7bcfc0da1962d31bec7891 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 24 18:37:12 2016 +0200 patch 7.4.1839 Problem: Cannot get the items stored in a partial. Solution: Support using get() on a partial.
author Christian Brabandt <cb@256bit.org>
date Tue, 24 May 2016 18:45:06 +0200
parents d319453f62b3
children 0cc48b3cd884
line wrap: on
line diff
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -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}])