mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-01-10 19:32:22 +08:00
set python sys.path
This commit is contained in:
@@ -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