1
0
forked from VimPlug/jedi

improved goto on assignees (just return the assignee).

This commit is contained in:
David Halter
2012-12-26 20:53:15 +01:00
parent e020c6b792
commit 3bf0ec70fc
5 changed files with 32 additions and 15 deletions

View File

@@ -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