forked from VimPlug/jedi-vim
Reset python init status when autoload/jedi.vim is resourced
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user