1
0
Fork 0
mirror of synced 2024-11-03 00:58:59 -04:00
ultimate-vim/sources_non_forked/lightline.vim/test/popup.vim
Amir Salihefendic 3aefdbd21a Updated plugins
2019-08-22 17:36:17 +02:00

19 lines
419 B
VimL

if !exists('*popup_menu') || !exists('*win_execute')
finish
endif
let s:suite = themis#suite('popup')
let s:assert = themis#helper('assert')
function! s:suite.before_each()
let g:lightline = {}
call lightline#init()
tabnew
tabonly
endfunction
function! s:suite.win_execute_setfiletype()
let id = popup_menu(['aaa', 'bbb'], {})
call win_execute(id, 'setfiletype vim')
call popup_close(id)
endfunction