Reset python init status when autoload/jedi.vim is resourced

This commit is contained in:
Daniel Hahler
2016-09-25 18:02:44 +02:00
parent 6a6595f5c5
commit b32b731767

View File

@@ -121,8 +121,9 @@ function! jedi#reinit_python()
endfunction endfunction
let s:_init_python = -1
function! jedi#init_python() function! jedi#init_python()
if !exists('s:_init_python') if s:_init_python == -1
try try
let s:_init_python = s:init_python() let s:_init_python = s:init_python()
catch catch