diff options
Diffstat (limited to 'ycm_extra_conf.py')
-rw-r--r-- | ycm_extra_conf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ycm_extra_conf.py b/ycm_extra_conf.py index 99c858d..ae6aa1c 100644 --- a/ycm_extra_conf.py +++ b/ycm_extra_conf.py @@ -88,6 +88,8 @@ def FlagsForFile( filename, **kwargs ): flags = ApplyFlagQuirks(flags) # Fall back to . for finding precompiled headers + flags.append("-x") + flags.append("c++"); flags.append("-I") flags.append(os.path.dirname(filename)) |