mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 15:00:06 +08:00
25 lines
460 B
Python
Vendored
25 lines
460 B
Python
Vendored
|
|
import sys
|
|
import os
|
|
from os.path import dirname
|
|
|
|
sys.path.insert(0, '../../jedi')
|
|
sys.path.append(os.path.join(dirname(__file__), 'thirdparty'))
|
|
|
|
# modifications, that should fail:
|
|
# syntax err
|
|
sys.path.append('a' +* '/thirdparty')
|
|
|
|
#? ['inference']
|
|
import inference
|
|
|
|
#? ['inference_state_function_cache']
|
|
inference.inference_state_fu
|
|
|
|
# Those don't work because dirname and abspath are not properly understood.
|
|
#? ['jedi_']
|
|
import jedi_
|
|
|
|
#? ['el']
|
|
jedi_.el
|