diff options
Diffstat (limited to 'src/testdir/test91.in')
-rw-r--r-- | src/testdir/test91.in | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/src/testdir/test91.in b/src/testdir/test91.in index e1365cb74f..c184ac3f7c 100644 --- a/src/testdir/test91.in +++ b/src/testdir/test91.in @@ -1,4 +1,4 @@ -Tests for getbufvar(), getwinvar(), gettabvar() and gettabwinvar(). +Tests for getwinvar(), gettabvar() and gettabwinvar(). vim: set ft=vim : STARTTEST @@ -10,34 +10,7 @@ STARTTEST :let t:testvar='abcd' :$put =string(gettabvar(1,'testvar')) :$put =string(gettabvar(1,'testvar')) -:" Test for getbufvar() -:let b:var_num = '1234' -:let def_num = '5678' -:$put =string(getbufvar(1, 'var_num')) -:$put =string(getbufvar(1, 'var_num', def_num)) -:$put =string(getbufvar(1, '')) -:$put =string(getbufvar(1, '', def_num)) -:unlet b:var_num -:$put =string(getbufvar(1, 'var_num', def_num)) -:$put =string(getbufvar(1, '')) -:$put =string(getbufvar(1, '', def_num)) -:$put =string(getbufvar(9, '')) -:$put =string(getbufvar(9, '', def_num)) -:unlet def_num -:$put =string(getbufvar(1, '&autoindent')) -:$put =string(getbufvar(1, '&autoindent', 1)) :" -:" Open new window with forced option values -:set fileformats=unix,dos -:new ++ff=dos ++bin ++enc=iso-8859-2 -:let otherff = getbufvar(bufnr('%'), '&fileformat') -:let otherbin = getbufvar(bufnr('%'), '&bin') -:let otherfenc = getbufvar(bufnr('%'), '&fenc') -:close -:$put =otherff -:$put =string(otherbin) -:$put =otherfenc -:unlet otherff otherbin otherfenc :" test for getwinvar() :let w:var_str = "Dance" :let def_str = "Chance" |