From 2b888b2a97e527c5a1e34a31c581e8f8e8afb6d5 Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Fri, 1 Dec 2017 09:18:37 -0800 Subject: [PATCH] Add .ycm_extra_conf.py This is useful if using YouCompleteMe to edit cquery. --- .ycm_extra_conf.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .ycm_extra_conf.py diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py new file mode 100644 index 00000000..56688171 --- /dev/null +++ b/.ycm_extra_conf.py @@ -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' + ] + }