X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/1fca4a033f276ae122ce70c35d68e183edf33bfc..616103d92a628d6b9d050a80272e28ca0552ecc2:/vim/ycm_extra_conf.py diff --git a/vim/ycm_extra_conf.py b/vim/ycm_extra_conf.py index 2bd7b4e..678f3fb 100644 --- a/vim/ycm_extra_conf.py +++ b/vim/ycm_extra_conf.py @@ -9,17 +9,19 @@ import logging import ycm_core import difflib +# flags used when no compilation_db is found BASE_FLAGS = [ - '-Wall', '-std=c++1z', '-x', 'c++', - '-isystem', '/usr/include', - '-isystem', '/usr/local/include', ] +# flags are always added EXTRA_FLAGS = [ '-Wall', '-Wextra', + '-Weverything', + '-Wno-c++98-compat', + '-Wno-c++98-compat-pedantic', # '-Wshadow', # '-Werror', # '-Wc++98-compat',