display errors (caused problems with pydoc)

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

No files matched your search

+3
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