powerline/tests/test_plugin_file.vim
ZyX 05cb133dd4 Replace g:powerline_config_path Vim variable with …_paths list
This is for consistency with other powerline bindings that now all do have a way 
to specify a list of paths.
2014-09-05 22:13:51 +04:00

23 lines
422 B
VimL
Executable File

#!/usr/bin/vim -S
set encoding=utf-8
let g:powerline_config_paths = [expand('<sfile>:p:h:h') . '/powerline/config_files']
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!