]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ycm_extra_conf.py
vim: `-Weverything` in ycm_extra_conf
[dotfiles.git] / vim / ycm_extra_conf.py
index 5d6e9f7d220561e7b81d50f31fcf12980254eb91..678f3fb7afbd72b904cbc98df38dd51215881a0e 100644 (file)
@@ -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',