Merge pull request #4035 from heewa/fix-ycm-path

fix YouCompleteMe db path in config
This commit is contained in:
Justin M. Keyes 2016-01-17 22:41:55 -05:00
commit 5f33f581a7

View File

@ -9,7 +9,7 @@ def DirectoryOfThisScript():
def GetDatabase():
compilation_database_folder = os.path.join(DirectoryOfThisScript(),
'..', '..', 'build')
'..', 'build')
if os.path.exists(compilation_database_folder):
return ycm_core.CompilationDatabase(compilation_database_folder)
return None