mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 19:44:52 +08:00
Use desc_with_module in "Builtin modules cannot be displayed" error
This commit is contained in:
@@ -218,7 +218,7 @@ def goto(is_definition=False, is_related_name=False, no_output=False):
|
|||||||
echo_highlight("Cannot get the definition of Python keywords.")
|
echo_highlight("Cannot get the definition of Python keywords.")
|
||||||
else:
|
else:
|
||||||
echo_highlight("Builtin modules cannot be displayed (%s)."
|
echo_highlight("Builtin modules cannot be displayed (%s)."
|
||||||
% d.module_path)
|
% d.desc_with_module)
|
||||||
else:
|
else:
|
||||||
if d.module_path != vim.current.buffer.name:
|
if d.module_path != vim.current.buffer.name:
|
||||||
result = new_buffer(d.module_path)
|
result = new_buffer(d.module_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user