mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 03:24:47 +08:00
Namespaces cannot be shown properly, fixes #815
This only works with Jedi commit 2ec3d72151d1072fa22861aef07ba6fc170e3781 Once using that commit, namespaces will be used properly.
This commit is contained in:
@@ -420,8 +420,11 @@ def _goto_specific_name(n, options=''):
|
||||
if n.is_keyword:
|
||||
echo_highlight("Cannot get the definition of Python keywords.")
|
||||
else:
|
||||
echo_highlight("Builtin modules cannot be displayed (%s)."
|
||||
% (n.full_name or n.name))
|
||||
name = 'Namespaces' if n.type == 'namespace' else 'Builtin modules'
|
||||
echo_highlight(
|
||||
"%s cannot be displayed (%s)."
|
||||
% (name, n.full_name or n.name)
|
||||
)
|
||||
else:
|
||||
using_tagstack = int(vim_eval('g:jedi#use_tag_stack')) == 1
|
||||
result = set_buffer(n.module_path, options=options,
|
||||
|
||||
Reference in New Issue
Block a user