mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 00:04:39 +02:00
Add some unlets before calling :finish
This commit is contained in:
parent
4f07694e06
commit
098dadadf5
@ -20,6 +20,7 @@ if exists('g:powerline_pycmd')
|
|||||||
echomsg 'specify g:powerline_pyeval explicitly or unset both and let powerline'
|
echomsg 'specify g:powerline_pyeval explicitly or unset both and let powerline'
|
||||||
echomsg 'figure them out.'
|
echomsg 'figure them out.'
|
||||||
echohl None
|
echohl None
|
||||||
|
unlet s:pycmd
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let s:pyeval = g:powerline_pyeval
|
let s:pyeval = g:powerline_pyeval
|
||||||
@ -45,6 +46,7 @@ if !s:has_python
|
|||||||
echomsg 'details.'
|
echomsg 'details.'
|
||||||
echohl None
|
echohl None
|
||||||
endif
|
endif
|
||||||
|
unlet s:has_python
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
unlet s:has_python
|
unlet s:has_python
|
||||||
|
Loading…
x
Reference in New Issue
Block a user