Open kartikmohta opened 6 years ago
I think the cause might be you have different ft
and syn
. The one on the left seems treating the source code as C not C++.
I checked the values of ft
and syn
for them and they are cpp for both. Tried disabling all other vim plugins as well but get the same behaviour.
Same problem here.
This is because libclang don't know how to compile header files, and they are not included in compile_commands.json. This is common problem to all plugins using lbclang
For anyone run into this problem, are you using a compile_commands.json
or a .clang
file for your compile args?
I noticed slightly different coloring in a header vs a cpp file, see screenshot:
Don't know if this is expected, seems wrong to me. The relevant settings in my vimrc are: