Merge pull request #3 from tek/dev

catch errors in jedi#show_func_def()
thx @tek
This commit is contained in:
David Halter
2012-09-19 23:22:46 -07:00

View File

@@ -61,7 +61,13 @@ endfunction
" func_def " func_def
" ------------------------------------------------------------------------ " ------------------------------------------------------------------------
function jedi#show_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 '' return ''
endfunction endfunction