'YCM vim plugin not picking up C++ header files

In our C++ project some of the header files (the ones that use qt) have extension 'hq'. I'm trying to get YCM plugin of vim to work for those files. I found similar threads from a few years ago but no luck.

Is there an easy way to tell YCM that it should treat those files as normal C++ headers ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source