X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/34ec4ebefa10b27275f241bd378f4e4dbc6177b3..57040007d232840cda48a218b5ab0b37742c5cf4:/vim/ycm_extra_conf.py?ds=inline diff --git a/vim/ycm_extra_conf.py b/vim/ycm_extra_conf.py index 5d6e9f7..678f3fb 100644 --- a/vim/ycm_extra_conf.py +++ b/vim/ycm_extra_conf.py @@ -9,15 +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++', ] +# flags are always added EXTRA_FLAGS = [ '-Wall', '-Wextra', + '-Weverything', + '-Wno-c++98-compat', + '-Wno-c++98-compat-pedantic', # '-Wshadow', # '-Werror', # '-Wc++98-compat',