set python sys.path

This commit is contained in:
David Halter
2012-09-18 18:11:23 +02:00
parent 879893ef65
commit 2161e5a49f
2 changed files with 3 additions and 3 deletions

View File

@@ -11,8 +11,8 @@ jedi-vim is a is a VIM binding to the awesome autocompletion library *Jedi*.
Get the latest from `github <http://github.com/davidhalter/jedi-vim>`_.
You can get the Jedi library from
`github <http://github.com/davidhalter/jedi>`_.
You can get the Jedi library is documented
`here <http://github.com/davidhalter/jedi>`_.
Support

View File

@@ -434,7 +434,7 @@ import vim
import sys
import os
from os.path import dirname, abspath
sys.path.insert(0, dirname(dirname(abspath(vim.eval('s:current_file')))))
sys.path.insert(0, dirname(dirname(abspath(vim.eval('s:current_file')))) + '/jedi')
import traceback # for exception output
import re