Add some unlets before calling :finish

This commit is contained in:
ZyX 2014-08-24 13:20:08 +04:00
parent 4f07694e06
commit 098dadadf5
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ if exists('g:powerline_pycmd')
echomsg 'specify g:powerline_pyeval explicitly or unset both and let powerline'
echomsg 'figure them out.'
echohl None
unlet s:pycmd
finish
endif
let s:pyeval = g:powerline_pyeval
@ -45,6 +46,7 @@ if !s:has_python
echomsg 'details.'
echohl None
endif
unlet s:has_python
finish
endif
unlet s:has_python