Avoiding issues with wrong module loaded
This could happen if your python path is not the first item on sys.path
This commit is contained in:
parent
cc14981774
commit
4b88970e91
@ -83,7 +83,7 @@ function! youcompleteme#Enable()
|
|||||||
|
|
||||||
py import sys
|
py import sys
|
||||||
py import vim
|
py import vim
|
||||||
exe 'python sys.path = sys.path + ["' . s:script_folder_path . '/../python"]'
|
exe 'python sys.path.insert( 0, "' . s:script_folder_path . '/../python" )'
|
||||||
py import ycm
|
py import ycm
|
||||||
py ycm_state = ycm.YouCompleteMe()
|
py ycm_state = ycm.YouCompleteMe()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user