mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 19:24:36 +08:00
Fix related_names() deprecation.
This commit is contained in:
@@ -105,7 +105,7 @@ def goto(is_definition=False, is_related_name=False, no_output=False):
|
|||||||
script = get_script()
|
script = get_script()
|
||||||
try:
|
try:
|
||||||
if is_related_name:
|
if is_related_name:
|
||||||
definitions = script.related_names()
|
definitions = script.usages()
|
||||||
elif is_definition:
|
elif is_definition:
|
||||||
definitions = script.goto_definitions()
|
definitions = script.goto_definitions()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user