From 655523447ca1096630e29f9f63090b00723a64fa Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Wed, 14 May 2014 10:56:37 -0700 Subject: [PATCH] Now importing ycmd's third_party folders as well --- autoload/youcompleteme.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index d50ea4d0..fe011bdc 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -101,6 +101,10 @@ function! s:SetUpPython() py from ycmd import utils exe 'py utils.AddNearestThirdPartyFoldersToSysPath("' \ . s:script_folder_path . '")' + + " We need to import ycmd's third_party folders as well since we import and + " use ycmd code in the client. + py utils.AddNearestThirdPartyFoldersToSysPath( utils.__file__ ) py from ycm import base py base.LoadJsonDefaultsIntoVim() py from ycmd import user_options_store