forked from VimPlug/jedi-vim
display errors (caused problems with pydoc)
This commit is contained in:
+1
-1
Submodule jedi updated: bddd097b93...6a8b160e1b
@@ -61,6 +61,9 @@ import os
|
|||||||
from os.path import dirname, abspath, join
|
from os.path import dirname, abspath, join
|
||||||
sys.path.insert(0, join(dirname(dirname(abspath(vim.eval('expand("<sfile>")')))), 'jedi'))
|
sys.path.insert(0, join(dirname(dirname(abspath(vim.eval('expand("<sfile>")')))), 'jedi'))
|
||||||
|
|
||||||
|
# to display errors correctly
|
||||||
|
import traceback
|
||||||
|
|
||||||
# update the sys path to include the jedi_vim script
|
# update the sys path to include the jedi_vim script
|
||||||
sys.path.append(dirname(abspath(vim.eval('expand("<sfile>")'))))
|
sys.path.append(dirname(abspath(vim.eval('expand("<sfile>")'))))
|
||||||
import jedi_vim
|
import jedi_vim
|
||||||
|
|||||||
Reference in New Issue
Block a user