90619ab253
subrepo: subdir: "dotfiles/.vim/plugged/lightline.vim" merged: "b1e91b41" upstream: origin: "https://github.com/itchyny/lightline.vim.git" branch: "master" commit: "b1e91b41" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
19 lines
419 B
VimL
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
|