catch errors in jedi#show_func_def()

This commit is contained in:
tek
2012-09-20 00:36:44 +02:00
parent e6b27a43e9
commit d5ff3b1522

View File

@@ -61,7 +61,13 @@ endfunction
" func_def
" ------------------------------------------------------------------------
function jedi#show_func_def()
python show_func_def(get_script().get_in_function_call())
python << PYTHONEOF
if 1:
try:
show_func_def(get_script().get_in_function_call())
except Exception as e:
print e
PYTHONEOF
return ''
endfunction