mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 11:34:51 +08:00
changed sys.path insertion, might help #28
This commit is contained in:
@@ -191,10 +191,12 @@ sys.path.insert(0, os.path.join(vim.eval('expand("<sfile>:p:h:h")'), 'jedi'))
|
|||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
# update the sys path to include the jedi_vim script
|
# 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
|
import jedi_vim
|
||||||
sys.path.pop()
|
sys.path.pop(1)
|
||||||
|
|
||||||
PYTHONEOF
|
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:
|
" vim: set et ts=4:
|
||||||
|
|||||||
2
jedi
2
jedi
Submodule jedi updated: d08c12bb06...9f8c27c956
Reference in New Issue
Block a user