From 7f2a968ae16b714c706ec05a893e70c6ac8fa704 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 29 Oct 2016 18:06:33 -0700 Subject: [PATCH] Adding completion stuff --- .ycm_extra_conf.py | 11 +++++++++++ 1 file changed, 11 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 0000000..c78ae1d --- /dev/null +++ b/.ycm_extra_conf.py @@ -0,0 +1,11 @@ +def FlagsForFile(filename, **kwargs): + flags = [ + '-Wall', '-Wextra', '-Werror', + '-std=c11', + '-x', 'c', + ] + + return { + 'flags': flags, + 'do_cache': True + }