I recently started using nvim and started playing with some plugins. I found Mason to be extremely useful. However, I find it bit annoying that Mason diagnostics complain about missing header files (although they are not missing as I can compile and build). For example, look at the following case :
wx widgets library is installed and I am able to compile this file. My understanding is that LSP servers are not able to identify this file for some reason. Can someone help me in fixing this issue? Thank you.
I tried to reinstall wxwidgets library. Also, I can turn off diagnostics which is not what I want.