mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
show a no documentation warning, fixes #164
This commit is contained in:
@@ -213,6 +213,7 @@ def show_documentation():
|
||||
print(traceback.format_exc())
|
||||
|
||||
if not definitions:
|
||||
echo_highlight('No documentation found for that.')
|
||||
vim.command('return')
|
||||
else:
|
||||
docs = ['Docstring for %s\n%s\n%s' % (d.desc_with_module, '='*40, d.doc) if d.doc
|
||||
|
||||
Reference in New Issue
Block a user