Add .ycm_extra_conf.py

This is useful if using YouCompleteMe to edit cquery.
This commit is contained in:
Jacob Dufault 2017-12-01 09:18:37 -08:00
parent ab6c5f0515
commit 2b888b2a97

14
.ycm_extra_conf.py Normal file
View File

@ -0,0 +1,14 @@
def FlagsForFile( filename, **kwargs ):
return {
'flags': [
'-xc++',
'-std=c++11',
'-DLOGURU_WITH_STREAMS=1',
'-Ithird_party/',
'-Ithird_party/doctest',
'-Ithird_party/rapidjson/include',
'-Ithird_party/sparsepp',
'-Ithird_party/loguru',
'-Ibuild/clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/include'
]
}