forked from VimPlug/jedi-vim
minor: move code out of 'try' block in jedi#setup_py_version
This commit is contained in:
@@ -153,11 +153,11 @@ function! jedi#setup_py_version(py_version)
|
|||||||
|
|
||||||
try
|
try
|
||||||
execute cmd_init.' '.s:script_path.'/initialize.py'
|
execute cmd_init.' '.s:script_path.'/initialize.py'
|
||||||
execute 'command! -nargs=1 PythonJedi '.cmd_exec.' <args>'
|
|
||||||
return 1
|
|
||||||
catch
|
catch
|
||||||
throw "jedi#setup_py_version: ".v:exception
|
throw "jedi#setup_py_version: ".v:exception
|
||||||
endtry
|
endtry
|
||||||
|
execute 'command! -nargs=1 PythonJedi '.cmd_exec.' <args>'
|
||||||
|
return 1
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user