Merge remote-tracking branch 'zyx-i/fix-511' into develop
This commit is contained in:
commit
23a59ba93d
|
@ -40,5 +40,6 @@ finally
|
|||
endif
|
||||
endtry
|
||||
|
||||
execute s:pycmd 'import vim'
|
||||
execute s:pycmd 'powerline_setup(pyeval=vim.eval("s:pyeval"), pycmd=vim.eval("s:pycmd"))'
|
||||
execute s:pycmd 'del powerline_setup'
|
||||
|
|
|
@ -10,4 +10,7 @@ done
|
|||
if ! ${PYTHON} scripts/powerline-lint -p powerline/config_files ; then
|
||||
FAILED=1
|
||||
fi
|
||||
if ! vim -S tests/test_plugin_file.vim ; then
|
||||
FAILED=1
|
||||
fi
|
||||
exit $FAILED
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/vim -S
|
||||
set nocompatible
|
||||
try
|
||||
source powerline/bindings/vim/plugin/powerline.vim
|
||||
catch
|
||||
cquit
|
||||
endtry
|
||||
set ls=2
|
||||
redrawstatus!
|
||||
redir =>mes
|
||||
messages
|
||||
redir END
|
||||
if len(split(mes, "\n"))>1
|
||||
cquit
|
||||
endif
|
||||
quit!
|
Loading…
Reference in New Issue