forked from VimPlug/jedi
search_call_signature refactoring
This commit is contained in:
@@ -9,16 +9,6 @@ from jedi.evaluate import imports
|
||||
from jedi.parser import representation as pr
|
||||
|
||||
|
||||
def func_call_and_param_index(user_stmt, position):
|
||||
debug.speed('func_call start')
|
||||
call, index = None, 0
|
||||
if call is None:
|
||||
if user_stmt is not None and isinstance(user_stmt, pr.Statement):
|
||||
call, index, _ = helpers.search_call_signatures(user_stmt, position)
|
||||
debug.speed('func_call parsed')
|
||||
return call, index
|
||||
|
||||
|
||||
def completion_parts(path_until_cursor):
|
||||
"""
|
||||
Returns the parts for the completion
|
||||
|
||||
Reference in New Issue
Block a user