forked from VimPlug/jedi-vim
jedi#init_python: add v:throwpoint to error message
This commit is contained in:
@@ -106,7 +106,7 @@ function! jedi#init_python()
|
|||||||
catch
|
catch
|
||||||
if !exists("g:jedi#squelch_py_warning")
|
if !exists("g:jedi#squelch_py_warning")
|
||||||
echohl WarningMsg
|
echohl WarningMsg
|
||||||
echom "Error: jedi-vim failed to initialize Python: ".v:exception
|
echom "Error: jedi-vim failed to initialize Python: ".v:exception." (in ".v:throwpoint.")"
|
||||||
echohl None
|
echohl None
|
||||||
endif
|
endif
|
||||||
let s:_init_python = 0
|
let s:_init_python = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user