forked from VimPlug/jedi-vim
Fix get_in_function_call() deprecation.
This commit is contained in:
@@ -200,7 +200,8 @@ def show_func_def(call_def=None, completion_lines=0):
|
|||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
if call_def == None:
|
if call_def == None:
|
||||||
call_def = get_script().get_in_function_call()
|
sig = get_script().call_signatures()
|
||||||
|
call_def = sig[0] if sig else None
|
||||||
clear_func_def()
|
clear_func_def()
|
||||||
|
|
||||||
if call_def is None:
|
if call_def is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user