forked from VimPlug/jedi-vim
Add a goto_stubs command
This commit is contained in:
1 parent
23c14f6826
commit
9c9a513aaf
4 files changed
+15
No files matched your search
@@ -304,6 +304,8 @@ def goto(mode="goto"):
|
||||
definitions = script.goto_definitions()
|
||||
elif mode == "assignment":
|
||||
definitions = script.goto_assignments()
|
||||
elif mode == "stubs":
|
||||
definitions = script.goto_assignments(follow_imports=True, only_stubs=True)
|
||||
|
||||
if not definitions:
|
||||
echo_highlight("Couldn't find any definitions for this.")
|
||||
|
||||
Reference in new issue
Block a user