You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
Hey, thanks for the ticket and interest in color_coded. As of #99, we should have support for compile_commands.json. Also, color_coded supports, on its own, per-directory compilation flags by simply allowing you to place a .color_coded file in the directory with whichever source is being compiled.
I have the compile_commands.json in my kernel tree root. When I open a file for example mm/zpool.c I have no highlighting. When I enter :CCerror I get: internal error: cannot retrieve location
It looks like color_coded cannot get the start and end location of the file we are currently compiling. We create temp files for compiling the code in the current buffer. Can you check if they were created successfully? If you have the file open there should be a directory starting with color_coded in /tmp.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use https://github.com/rizsotto/Bear to generate per file compiler commands that I use with YouCompleteMe. I noticed that this results in almost no errors when used with the linux kernel in comparison to the https://github.com/rdnetto/YCM-Generator generated config file.
My request is to support the resulting compile_commands.json file format with color_coded to have more accurate coloring.
The text was updated successfully, but these errors were encountered: