see https://github.com/ycm-core/ycmd/issues/1251#issuecomment-508899013 it should be simplest way to achieve it currently