Adding the g:ycm_open_loclist_on_ycm_diags option