mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-01-10 03:12:23 +08:00
display errors (caused problems with pydoc)
This commit is contained in:
2
jedi
2
jedi
Submodule jedi updated: bddd097b93...6a8b160e1b
@@ -61,6 +61,9 @@ import os
|
||||
from os.path import dirname, abspath, join
|
||||
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
|
||||
sys.path.append(dirname(abspath(vim.eval('expand("<sfile>")'))))
|
||||
import jedi_vim
|
||||
|
||||
Reference in New Issue
Block a user