powerline/tests/test_plugin_file.vim

22 lines
335 B
VimL
Executable File

#!/usr/bin/vim -S
set nocompatible
tabedit abc
tabedit def
try
source powerline/bindings/vim/plugin/powerline.vim
catch
call writefile([v:exception], 'message.fail')
cquit
endtry
set ls=2
redrawstatus!
redir =>mes
messages
redir END
let mess=split(mes, "\n")
if len(mess)>1
call writefile(mess, 'message.fail')
cquit
endif
qall!