will133 / vim-dirdiff

Vim plugin to diff two directories
335 stars 59 forks source link

Different color settings not working #34

Open sriramkandukuri opened 3 years ago

sriramkandukuri commented 3 years ago

Hi,

I have a different color schemes for diff mode and non diff mode as below.

if &diff
    hi DiffAdd guibg=#0f3f0f
    hi DiffChange guibg=#3f2f0f
    hi DiffDelete guibg=#3f0f0f guifg=#ff9ff0
else
     hi DiffAdd guibg=#8fff33 guifg=#0f0f0f
     hi DiffChange guibg=#fff009 guifg=#0f0f0f
     hi DiffDelete guibg=#fe0808 guifg=#f0f0f0
endif  

Colors are not reflecting in diff window even diff is enabled.

Thanks & Regards, Sriram.K