display errors (caused problems with pydoc)

This commit is contained in:
David Halter
2012-10-16 14:36:40 +02:00
parent 1e3e8e1aec
commit 8fe0bac319
2 changed files with 4 additions and 1 deletions

2
jedi

Submodule jedi updated: bddd097b93...6a8b160e1b

View File

@@ -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