From 815fe2845015e61bb5aaf46b458b8fbc5a4218b3 Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Thu, 18 Dec 2014 17:44:56 +0100 Subject: vim-patch:7.4.434 Problem: gettabvar() is not consistent with getwinvar() and getbufvar(). Solution: Return a dict with all variables when the varname is empty. (Yasuhiro Matsumoto) https://code.google.com/p/vim/source/detail?r=v7-4-434 --- runtime/doc/eval.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 46ee28a461..b85ea71ece 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -3578,6 +3578,8 @@ gettabvar({tabnr}, {varname} [, {def}]) *gettabvar()* Get the value of a tab-local variable {varname} in tab page {tabnr}. |t:var| Tabs are numbered starting with one. + When {varname} is empty a dictionary with all tab-local + variables is returned. Note that the name without "t:" must be used. When the tab or variable doesn't exist {def} or an empty string is returned, there is no error message. -- cgit