From: Samir Benmendil Date: Wed, 15 Nov 2017 11:53:46 +0000 (+0000) Subject: vim: clean up flags in ycm_extra_conf X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/9d0fa7479f12eed7061303ffce8d0601741e1daa vim: clean up flags in ycm_extra_conf --- diff --git a/vim/ycm_extra_conf.py b/vim/ycm_extra_conf.py index 5d6e9f7..77f13b3 100644 --- a/vim/ycm_extra_conf.py +++ b/vim/ycm_extra_conf.py @@ -9,12 +9,13 @@ import logging import ycm_core import difflib +# flags used when no compilation_db is found BASE_FLAGS = [ - '-Wall', '-std=c++1z', '-x', 'c++', ] +# flags are always added EXTRA_FLAGS = [ '-Wall', '-Wextra',