diff options
author | Florian Walch <florian@fwalch.com> | 2014-12-18 17:44:56 +0100 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2014-12-18 21:22:40 +0100 |
commit | 815fe2845015e61bb5aaf46b458b8fbc5a4218b3 (patch) | |
tree | 15681b0352cd3bf3dc2d214393079586ce401911 /runtime | |
parent | bd19cc4f8fc3d02a030caba911a1af008585f688 (diff) | |
download | rneovim-815fe2845015e61bb5aaf46b458b8fbc5a4218b3.tar.gz rneovim-815fe2845015e61bb5aaf46b458b8fbc5a4218b3.tar.bz2 rneovim-815fe2845015e61bb5aaf46b458b8fbc5a4218b3.zip |
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
Diffstat (limited to 'runtime')
-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 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. |