mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
Fix goto issues
This commit is contained in:
@@ -394,8 +394,8 @@ def _goto_specific_name(n, options=''):
|
|||||||
% (n.full_name or n.name))
|
% (n.full_name or n.name))
|
||||||
else:
|
else:
|
||||||
using_tagstack = int(vim_eval('g:jedi#use_tag_stack')) == 1
|
using_tagstack = int(vim_eval('g:jedi#use_tag_stack')) == 1
|
||||||
module_path = str(n.module_path)
|
module_path = str(n.module_path or '')
|
||||||
if (module_path or '') != vim.current.buffer.name:
|
if module_path != vim.current.buffer.name:
|
||||||
result = new_buffer(module_path, options=options,
|
result = new_buffer(module_path, options=options,
|
||||||
using_tagstack=using_tagstack)
|
using_tagstack=using_tagstack)
|
||||||
if not result:
|
if not result:
|
||||||
|
|||||||
Reference in New Issue
Block a user