]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ycm_extra_conf.py
vim: clean up flags in ycm_extra_conf
[dotfiles.git] / vim / ycm_extra_conf.py
index 5d6e9f7d220561e7b81d50f31fcf12980254eb91..77f13b32be6d47cfd747979a4f8dd92be7cbaa62 100644 (file)
@@ -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',