From 7a6c46c2411683a96874373afda156ab60a562c8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 12 Sep 2015 18:44:20 +0100 Subject: Assume C++ --- ycm_extra_conf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ycm_extra_conf.py') 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)) -- cgit v1.2.3