Closed mroavi closed 4 years ago
The problem is that gitgutter takes the foreground color of the DiffDelete highglight, which is in this colorscheme same as background (it's inverted, red is background color). Adding this to vimrc should do the trick:
hi link GitGutterDelete diffRemoved
Thanks for the fix. I noticed however that this solution affects other color schemes. That means that I would have to comment out that line every time I change to another color scheme. Can you think of any other solution that would save me from doing this? If not, it's ok, I can live with it =)
You can do this:
autocmd ColorScheme hybrid_material hi link GitGutterDelete diffRemoved
Awesome, thanks.
Whenever I remove a line in a file tracked by git, the gitgutter plugin deletion sign does not appear on the sign column. On the other hand, the addition and modification signs are displayed correctly. I do not have this issue with any other color scheme that I use.
Here is the relevant info in the gitgutter README: https://github.com/airblade/vim-gitgutter#signs-colours-and-symbols
Could it be that you are not setting colors for these variables?
Update: I did find that you are using these variables in
colors/hybrid_material.vim
:But I'm not very familiar with vimscript. Any idea of what might the problem be?
This is how the same actions look with the
palenight
color scheme: