Making sure 'sys' is imported before being used

This commit is contained in:
Strahinja Val Markovic 2013-01-21 17:20:54 -08:00
parent 18e9e2cf1f
commit d02ecc2b1c

View File

@ -66,6 +66,7 @@ function! youcompleteme#Enable()
" This selects the previous candidate for ctrl-tab
inoremap <expr><C-TAB> pumvisible() ? "\<C-p>" : "\<TAB>"
py import sys
py import vim
exe 'python sys.path = sys.path + ["' . s:script_folder_path . '/../python"]'
py import ycm