forked from VimPlug/jedi-vim
Reset python init status when autoload/jedi.vim is resourced
This commit is contained in:
1 parent
6a6595f5c5
commit
b32b731767
1 file changed
+2
-1
+2
-1
@@ -121,8 +121,9 @@ function! jedi#reinit_python()
|
||||
endfunction
|
||||
|
||||
|
||||
let s:_init_python = -1
|
||||
function! jedi#init_python()
|
||||
if !exists('s:_init_python')
|
||||
if s:_init_python == -1
|
||||
try
|
||||
let s:_init_python = s:init_python()
|
||||
catch
|
||||
|
||||
Reference in new issue
Block a user