forked from VimPlug/jedi-vim
set python sys.path
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user