diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-09-09 16:13:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-09-09 16:13:08 +0200 |
commit | 0e2ea1beb471a24dd86a45c439a98e5d758b4270 (patch) | |
tree | ca16549dc5cc12a841dcc0492f800247759c3910 /runtime/doc | |
parent | 13e2a0af665cffa3c4485be843feca70d90a7918 (diff) | |
download | vim-git-0e2ea1beb471a24dd86a45c439a98e5d758b4270.tar.gz |
updated for version 7.4.434v7.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)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 688fc38eb..e5aa09c8a 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -3575,6 +3575,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. |