Home
last modified time | relevance | path

Searched refs:getwinvar (Results 1 – 21 of 21) sorted by relevance

/vim-8.2.3635/src/testdir/
H A Dtest_getvar.vim1 " Tests for getwinvar(), gettabvar(), gettabwinvar() and get().
10 " test for getwinvar()
13 call assert_equal('Dance', getwinvar(1, 'var_str'))
14 call assert_equal('Dance', getwinvar(1, 'var_str', def_str))
15 call assert_equal({'var_str': 'Dance'}, 1->getwinvar(''))
19 call assert_equal({}, getwinvar(1, ''))
20 call assert_equal({}, getwinvar(1, '', def_str))
21 call assert_equal('', getwinvar(9, ''))
22 call assert_equal('Chance', getwinvar(9, '', def_str))
23 call assert_equal(0, getwinvar(1, '&nu'))
[all …]
H A Dtest_window_id.vim38 call assert_equal('one', getwinvar(id1, 'one'))
39 call assert_equal('two', getwinvar(id2, 'two'))
40 call assert_equal('three', getwinvar(id3, 'three'))
49 call assert_equal('four', getwinvar(id4, 'four'))
50 call assert_equal('five', getwinvar(id5, 'five'))
56 call assert_equal('2', getwinvar(id2, 'two'))
H A Dtest_bufwintabinfo.vim129 let opts = getwinvar(1, '&')
H A Dtest_popupwin.vim1348 call assert_equal(0, getwinvar(winid, '&number'))
1349 call assert_equal(1, getwinvar(winid, '&wrap'))
1350 call assert_equal('', getwinvar(winid, '&omnifunc'))
1351 call assert_equal(&g:path, getwinvar(winid, '&path'))
1352 call assert_equal(&g:statusline, getwinvar(winid, '&statusline'))
1356 call assert_equal(0, getwinvar(winid, '&scrolloff'))
2692 call assert_equal(0, getwinvar(winid, '&number'))
3866 call assert_equal('yes', getwinvar(winid, '&signcolumn'))
H A Dtest_listchars.vim378 call assert_equal(a:expected, getwinvar(0, '&listchars'))
H A Dtest_tagjump.vim714 call assert_equal(1, getwinvar(1, '&previewwindow'))
715 call assert_equal(0, getwinvar(2, '&previewwindow'))
H A Dtest_terminal3.vim278 call term_sendkeys(buf, "\<C-W>:echo getwinvar(g:winid, \"&buftype\") win_gettype(g:winid)\<CR>")
H A Dtest_autocmd.vim1264 call assert_equal(1, getwinvar(2, '&l:cul'))
1270 call assert_equal(0, getwinvar(1, '&l:cul'))
H A Dtest_quickfix.vim2819 call assert_equal('quickfix', getwinvar(1, '&buftype'))
2820 call assert_equal('quickfix', getwinvar(3, '&buftype'))
H A Dtest_vim9_builtin.vim1625 …CheckDefAndScriptFailure2(['getwinvar("a", "b")'], 'E1013: Argument 1: type mismatch, expected num…
1626 …CheckDefAndScriptFailure2(['getwinvar(1, 2)'], 'E1013: Argument 2: type mismatch, expected string …
H A Dtest_python2.vim987 \ 'v:val .. ":" .. string(getwinvar(v:val, "&" .. a:opt))'))
H A Dtest_python3.vim1182 \ 'v:val .. ":" .. string(getwinvar(v:val, "&" .. a:opt))'))
/vim-8.2.3635/src/
H A Devalvars.c3655 getwinvar( in getwinvar() function
4115 getwinvar(argvars, rettv, 1); in f_gettabwinvar()
4129 getwinvar(argvars, rettv, 0); in f_getwinvar()
/vim-8.2.3635/runtime/
H A Doptwin.vim175 let val = getwinvar(winnr('#'), '&' . a:name)
188 let val = escape(getwinvar(winnr('#'), '&' . a:name), " \t\\\"|")
/vim-8.2.3635/runtime/syntax/
H A Dvim.vim83 …getcharmod getcmdtype getenv getimstatus getmousepos getregtype gettext getwinvar has_key histget …
/vim-8.2.3635/runtime/doc/
H A Deval.txt2716 getwinvar({nr}, {varname} [, {def}])
6294 use |getwinvar()|.
6433 getwinvar({winnr}, {varname} [, {def}]) *getwinvar()*
6436 :let list_is_on = getwinvar(2, '&list')
6437 :echo "myvar = " . getwinvar(1, 'myvar')
6440 GetWinnr()->getwinvar(varname)
H A Dusr_41.txt747 getwinvar() get a variable from specific window
H A Dtags7106 getwinvar() eval.txt /*getwinvar()*
H A Dversion7.txt1479 getwinvar() now also works to obtain a buffer-local option from the specified
3843 Problem: getwinvar() obtains a dictionary with window-local variables, but
10307 |getwinvar()|, |getbufvar()|) (Shougo Matsushita, Hirohito Higashi)
H A Dversion6.txt1343 getwinvar() gets the value of an option or local variable in a window (Ron
H A Dversion8.txt3070 Problem: gettabvar() is not consistent with getwinvar() and getbufvar().
14667 Problem: getwinvar() returns wrong Value of boolean and number options,