forked from VimPlug/jedi
improved goto on assignees (just return the assignee).
This commit is contained in:
@@ -1537,6 +1537,8 @@ def goto(stmt, call_path=None):
|
||||
scope = stmt.parent
|
||||
pos = stmt.start_pos
|
||||
call_path, search = call_path[:-1], call_path[-1]
|
||||
pos = pos[0], pos[1]+1
|
||||
|
||||
if call_path:
|
||||
scopes = follow_call_path(iter(call_path), scope, pos)
|
||||
search_global = False
|
||||
|
||||
Reference in New Issue
Block a user