On vim's side, YouCompleteMe explicitly denied my approach to integrate highlighting.
On vim's side, YouCompleteMe explicitly denied my approach to integrate highlighting.
I believe there's no reason to have two plugins each running an instance of clang.
* i.e. showing parts of code that are ifdef'ed out in grey
YCM's config file can contain arbitrary python functions and doesn't really need to follow any standards. This makes it hard on color_coded and ultimately didn't seem worth the trouble.
https://github.com/jeaye/color_coded/blob/master/include/asy...
The second picture is from my C++14 JSON library:
https://github.com/jeaye/jeayeson/blob/master/include/jeayes...
compare with color_coded: https://camo.githubusercontent.com/5cf719c6357f27b86c45bf9b5...
So it looks like color_coded can highlight at least a few things that default emacs doesn't: function calls, variables (when they are used, both can highlight declarations) and non-standard type template parameters.
https://github.com/brianjcj/auto-complete-clang
That being said, if the core infrastructure is there, the hard part (Clang backend) is there, how much more can semantic highlighting be?
(I duck because I write amateurish code and do not do C/C++ yet, but would hopefully learn to do something awesome like that one day.)