Making sure 'sys' is imported before being used
This commit is contained in:
parent
18e9e2cf1f
commit
d02ecc2b1c
@ -66,6 +66,7 @@ function! youcompleteme#Enable()
|
|||||||
" This selects the previous candidate for ctrl-tab
|
" This selects the previous candidate for ctrl-tab
|
||||||
inoremap <expr><C-TAB> pumvisible() ? "\<C-p>" : "\<TAB>"
|
inoremap <expr><C-TAB> pumvisible() ? "\<C-p>" : "\<TAB>"
|
||||||
|
|
||||||
|
py import sys
|
||||||
py import vim
|
py import vim
|
||||||
exe 'python sys.path = sys.path + ["' . s:script_folder_path . '/../python"]'
|
exe 'python sys.path = sys.path + ["' . s:script_folder_path . '/../python"]'
|
||||||
py import ycm
|
py import ycm
|
||||||
|
Loading…
Reference in New Issue
Block a user