forked from VimPlug/jedi
Remove search_name and search_name_part from goto returns.
The search_name can be retrieved by checking definitions for it. Definitions should always be names or even better name_parts in case of goto. Therefore we can just get it there.
This commit is contained in:
@@ -336,7 +336,7 @@ class Evaluator(object):
|
||||
for s in scopes:
|
||||
follow_res += self.find_types(s, search_name_part, pos,
|
||||
search_global=search_global, is_goto=True)
|
||||
return follow_res, search_name_part
|
||||
return follow_res
|
||||
|
||||
|
||||
def filter_private_variable(scope, call_scope, var_name):
|
||||
|
||||
Reference in New Issue
Block a user