Hi, I am using Windows as my OS.
I would prefer to use Linux with VIM but I need Windows for school.
To be honest with you, I dont think that my config will work for you, as I myself use Windows, but anyways, here is my ycm_extra_conf: Gofile - Free file sharing and storage platform
You will have to uncomment a lot of lines and change them depending on your own system and so on.
I forgot how I managed to get the flags, but I think I generated a clion project with unreal engine > added this to the cmake file:
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
after that I corrected the backslashes with forward slahes > tryed to generate the project (it failed) > and used the flags from the generated compile_commands.json
Maybe you already know what to do, maybe you will have some questions, if so feel free to ask.