papercolor-theme
papercolor-theme copied to clipboard
C++ colors not working properly
This is actualy one of the best themes around there, but for some reason the C++ syntax is not working properly...
You can see the problem in this example, i have almost every highlight i usualy like in this theme, but the object declarations is in plain text mode... all blank.
There is a way to workaround this? i try to change some of the colors myself but for real the results are very confusing(sometimes changes sometimes don't, but i know i'm bellow a begginer in vim scripting...).
I'm using cpp enchanged syntax, i try to use the recomended c syntax and the results are pretty much the same, actualy exactly the same.
I believe for C++you need some syntax plugin that integrates with a C++ compiler like https://github.com/ycm-core/YouCompleteMe for recognizing classes. Please try that first.
I believe for C++you need some syntax plugin that integrates with a C++ compiler like https://github.com/ycm-core/YouCompleteMe for recognizing classes. Please try that first.
I have used some c++ highlight plugins such as: https://github.com/octol/vim-cpp-enhanced-highlight https://github.com/bfrg/vim-cpp-modern which provides much richer functions of c++ highlighting than paper-color-theme built-in cpp syntax highlight, but none of them work under papercolor-theme, do you know how to make those plugins work?
@yueyingjuesha I just came across this issue too, at least for vim-cpp-enhanced-highlight
. The problem there is that a lot of highlighting links to Function
, which PaperColor seems to define as the foreground color: https://github.com/NLKNguyen/papercolor-theme/blob/master/colors/PaperColor.vim#L1209
@NLKNguyen is there a recommended way to override this highlighting?
I also have this problem, is anyone have a solution?
I also have this problem, is anyone have a solution?
Maybe not what you @416207298 are looking for, but I just don't use vim anymore, I guess some month's after opening this issue I switched to Neovim, nowadays nvim has Tree-sitter support which works pretty much with every set of colors out of the box, I don't use this theme anymore also, but I guess it works well with it too. If you are not that into using vim you can try to switch to Neovim to have less headaches, previously than that I had manually changed some functions and mappings for this colorscheme to work with Vim properly and tbh I don't encourage anyone to do so, colors should not be a thing you have to put work to have, it should simply work, unless you are creating it off course.
You know what, I agree with you, buddy. I'll try.
I also have this problem, is anyone have a solution?
Maybe not what you @416207298 are looking for, but I just don't use vim anymore, I guess some month's after opening this issue I switched to Neovim, nowadays nvim has Tree-sitter support which works pretty much with every set of colors out of the box, I don't use this theme anymore also, but I guess it works well with it too. If you are not that into using vim you can try to switch to Neovim to have less headaches, previously than that I had manually changed some functions and mappings for this colorscheme to work with Vim properly and tbh I don't encourage anyone to do so, colors should not be a thing you have to put work to have, it should simply work, unless you are creating it off course.