This repository has been archived by the owner on Sep 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Different coloring in a header vs cpp file #40
Comments
I think the cause might be you have different |
I checked the values of |
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 |
jdkula
added a commit
to jdkula/chromatica.nvim
that referenced
this issue
Nov 22, 2018
…with a matching filename, if configured to do so. (Also update README.md to document this.) Resolves arakashic#59 and (I believe) arakashic#40. Header highlighting would fail if compile arguments for the header file were omitted from compile_commands.json (as they often are). This resolves the issue by simply searching for a matching source file in the database.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
The text was updated successfully, but these errors were encountered: