diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-12 18:44:20 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-12 18:44:20 +0100 |
commit | 7a6c46c2411683a96874373afda156ab60a562c8 (patch) | |
tree | 1a0ceb225e0f6bf1ac603dc73cc5850bf812f0e4 /ycm_extra_conf.py | |
parent | bashrc (diff) | |
download | util-7a6c46c2411683a96874373afda156ab60a562c8.tar.bz2 util-7a6c46c2411683a96874373afda156ab60a562c8.tar.xz util-7a6c46c2411683a96874373afda156ab60a562c8.zip |
Assume C++
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)) |