arakashic / chromatica.nvim

Clang based syntax highlighting for Neovim
MIT License
299 stars 17 forks source link

Run chromatica on header files using compile_commands.json #59

Closed bergercookie closed 5 years ago

bergercookie commented 5 years ago

I've managed to setup chromatica to run successuflly on cpp files of a C++ project using the compile_commands.json file generated by cmake. However chromatica doesn't seem to highlight at all the include (.h or _impl.h where there is actual implememtation and where highlighting is quite useful) files.

I assume that's because there is no information about these files in the compile_commans.json file. Am I missing something? Any way of solving this? Is there support for something similar to neoinclude as with deoplete-clang?

Thanks, Nikos