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 /src/nvim/testdir | |
| 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 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test91.in | 1 | ||||
| -rw-r--r-- | src/nvim/testdir/test91.ok | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/testdir/test91.in b/src/nvim/testdir/test91.in index e900a522df..b66776b1e4 100644 --- a/src/nvim/testdir/test91.in +++ b/src/nvim/testdir/test91.in @@ -55,6 +55,7 @@ STARTTEST :tabnew :tabnew :let t:var_list = [1, 2, 3] +:let t:other = 777 :let def_list = [4, 5, 6, 7] :tabrewind :$put =string(gettabvar(3, 'var_list')) diff --git a/src/nvim/testdir/test91.ok b/src/nvim/testdir/test91.ok index 22e1572209..809952b69d 100644 --- a/src/nvim/testdir/test91.ok +++ b/src/nvim/testdir/test91.ok @@ -26,8 +26,8 @@ iso-8859-2 0 [1, 2, 3] [1, 2, 3] -'' -[4, 5, 6, 7] +{'var_list': [1, 2, 3], 'other': 777} +{'var_list': [1, 2, 3], 'other': 777} [4, 5, 6, 7] '' [4, 5, 6, 7] |