forked from VimPlug/jedi-vim
set python sys.path
This commit is contained in:
+2
-2
@@ -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>`_.
|
Get the latest from `github <http://github.com/davidhalter/jedi-vim>`_.
|
||||||
|
|
||||||
You can get the Jedi library from
|
You can get the Jedi library is documented
|
||||||
`github <http://github.com/davidhalter/jedi>`_.
|
`here <http://github.com/davidhalter/jedi>`_.
|
||||||
|
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|||||||
+1
-1
@@ -434,7 +434,7 @@ import vim
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
from os.path import dirname, abspath
|
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 traceback # for exception output
|
||||||
import re
|
import re
|
||||||
|
|||||||
Reference in New Issue
Block a user