mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
This change makes the plugin default to using the highlight groups defined by the colorscheme instead of hardcoding its own foreground colours. If you liked the previous colours you can restore them by adding these lines to your vimrc: highlight GitGutterAdd guifg=#009900 guibg=<X> ctermfg=2 ctermb=<Y> highlight GitGutterChange guifg=#bbbb00 guibg=<X> ctermfg=3 ctermb=<Y> highlight GitGutterDelete guifg=#ff2222 guibg=<X> ctermfg=1 ctermb=<Y> – where you should replace <X> and <Y> are the background colour of your SignColumn in the gui and the terminal respectively. For example, with the solarized colorscheme and a dark background, guibg=#073642 and ctermbg=0. Closes #545, #560.