diff --git a/pythonx/jedi_vim.py b/pythonx/jedi_vim.py index 19aec31..4419b48 100644 --- a/pythonx/jedi_vim.py +++ b/pythonx/jedi_vim.py @@ -420,8 +420,6 @@ def show_documentation(): script = get_script() try: definitions = script.goto_definitions() - except jedi.NotFoundError: - definitions = [] except Exception: # print to stdout, will be in :messages definitions = []