Merge pull request #693 from tasn/master
Fixed usage of database file in example .ycm_extra_conf.py.
This commit is contained in:
commit
c0a349a700
@ -92,7 +92,7 @@ flags = [
|
||||
# 'flags' list of compilation flags. Notice that YCM itself uses that approach.
|
||||
compilation_database_folder = ''
|
||||
|
||||
if compilation_database_folder:
|
||||
if os.path.exists( compilation_database_folder ):
|
||||
database = ycm_core.CompilationDatabase( compilation_database_folder )
|
||||
else:
|
||||
database = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user