From 2161e5a49f556fe242796ce19845641196dd5fec Mon Sep 17 00:00:00 2001 From: David Halter Date: Tue, 18 Sep 2012 18:11:23 +0200 Subject: [PATCH] set python sys.path --- README.rst | 4 ++-- plugin/jedi.vim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 8376a50..b2a3910 100644 --- a/README.rst +++ b/README.rst @@ -11,8 +11,8 @@ jedi-vim is a is a VIM binding to the awesome autocompletion library *Jedi*. Get the latest from `github `_. -You can get the Jedi library from -`github `_. +You can get the Jedi library is documented +`here `_. Support diff --git a/plugin/jedi.vim b/plugin/jedi.vim index 30b3fa1..518dbc6 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -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