mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 18:54:44 +08:00
use os.path.join to assemble module path
This commit is contained in:
@@ -64,8 +64,8 @@ import vim
|
||||
# update the system path, to include the python scripts
|
||||
import sys
|
||||
import os
|
||||
from os.path import dirname, abspath
|
||||
sys.path.insert(0, dirname(dirname(abspath(vim.eval('s:current_file')))) + '/jedi')
|
||||
from os.path import dirname, abspath, join
|
||||
sys.path.insert(0, join(dirname(dirname(abspath(vim.eval('s:current_file')))), 'jedi'))
|
||||
|
||||
import traceback # for exception output
|
||||
import re
|
||||
|
||||
Reference in New Issue
Block a user