mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-01-01 23:13:26 +08:00
refined NotFoundError doc
This commit is contained in:
2
jedi.vim
2
jedi.vim
@@ -88,7 +88,7 @@ if 1:
|
||||
try:
|
||||
definitions = functions.goto(source, row, column, buf_path)
|
||||
except functions.NotFoundError:
|
||||
echo_highlight("Couldn't find a place to goto.")
|
||||
echo_highlight("Cannot follow nothing. Put your cursor on a valid name.")
|
||||
except Exception:
|
||||
# print to stdout, will be in :messages
|
||||
echo_highlight("Some different eror, this shouldn't happen.")
|
||||
|
||||
Reference in New Issue
Block a user