ycm_extra_config.py The .ycm_extra_config.py is a working script. Put it in all of your project directories. If there is something wrong with :YcmDiags command, you can debug the flags with python run.py hello.m.