1
0
forked from VimPlug/jedi

renaming and goto work now +/-

This commit is contained in:
David Halter
2012-09-22 00:15:32 +02:00
parent 32b51e0c68
commit fd760f1870
4 changed files with 28 additions and 19 deletions

View File

@@ -350,7 +350,7 @@ def related_names(definitions, search_name, mods):
#follow_res = evaluate.goto(scopes, search, statement_path_offset=0,
# follow_import=True)
#follow_res = evaluate.goto2(scopes, search)
follow_res, search = evaluate.goto3(call, f)
follow_res, search = evaluate.goto3(call.parent_stmt(), f)
# compare to see if they match
if True in [r in definitions for r in follow_res]: