From 076f0df7fc4572982a3983c5dfd289d844a2fa0e Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Thu, 16 Jan 2014 09:12:59 -0800 Subject: [PATCH] Better include path for YCM users --- .ycm_extra_conf.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py index 5af040a2..86194357 100644 --- a/.ycm_extra_conf.py +++ b/.ycm_extra_conf.py @@ -16,14 +16,10 @@ flags = [ # language that the files to be compiled are written in. This is mostly # relevant for c++ headers. # For a C project, you would set this to 'c' instead of 'c++'. -'-x', -'c++', -'-I', -'.', -'-isystem', -'/usr/include', -'-isystem', -'/usr/local/include', +'-x', 'c++', +'-I', 'include', +'-isystem', '/usr/include', +'-isystem', '/usr/local/include', ]