changed sys.path insertion, might help #28

This commit is contained in:
David Halter
2012-12-10 16:50:30 +01:00
parent facb5c05ba
commit 1900c0829a
2 changed files with 5 additions and 3 deletions

View File

@@ -191,10 +191,12 @@ sys.path.insert(0, os.path.join(vim.eval('expand("<sfile>:p:h:h")'), 'jedi'))
import traceback
# update the sys path to include the jedi_vim script
sys.path.append(os.path.join(vim.eval('expand("<sfile>:p:h:h")'), 'plugin'))
sys.path.insert(1, os.path.join(vim.eval('expand("<sfile>:p:h:h")'), 'plugin'))
import jedi_vim
sys.path.pop()
sys.path.pop(1)
PYTHONEOF
"python jedi_vim.jedi.set_debug_function(jedi_vim.print_to_stdout, speed=True, warnings=False, notices=False)
"python jedi_vim.jedi.set_debug_function(jedi_vim.print_to_stdout)
" vim: set et ts=4:

2
jedi

Submodule jedi updated: d08c12bb06...9f8c27c956