mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +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()
|
||||
try:
|
||||
if is_related_name:
|
||||
definitions = script.related_names()
|
||||
definitions = script.usages()
|
||||
elif is_definition:
|
||||
definitions = script.goto_definitions()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user