Thanks for your effort on this great package! It's really helpful!
I was wondering how to support highlight conditional macros, for example, it has macros like this:
#if defined A
std::cout<<"A"<<std::endl;
#else
std::cout<<"Not A"<<std::endl;
#endif
if A is defined in cmake, then std::cout<<"Not A"<<std::endl; will be grayed out. Otherwise std::cout<<"A"<<std::endl; will be grayed out. What I need to do to make this work?
Hi team,
Thanks for your effort on this great package! It's really helpful! I was wondering how to support highlight conditional macros, for example, it has macros like this:
if A is defined in cmake, then
std::cout<<"Not A"<<std::endl;
will be grayed out. Otherwisestd::cout<<"A"<<std::endl;
will be grayed out. What I need to do to make this work?Thanks, Jack