Update configuration of GitSignsDelete to maintain consistent

backgrounds
This commit is contained in:
Noah Friedman 2023-05-25 14:54:37 -04:00
parent eb577d47b0
commit aedcab9da1
No known key found for this signature in database
GPG key ID: 5695B299B36CAAFC

View file

@ -56,9 +56,18 @@ if has('nvim-0.5') && luaeval("pcall(require, 'gitsigns')")
hi! link GitSignsChange DiffChange
hi! link GitSignsChangeLn DiffChange
hi! link GitSignsChangeNr DiffChange
hi! link GitSignsDelete DiffDelete
hi! link GitSignsDeleteLn DiffDelete
hi! link GitSignsDeleteNr DiffDelete
" Manually set `GitSignsDelete` when in a terminal where `g:dracula_colorterm`
" is false to remain consistent with the other GitSigns highlights.
if g:dracula_colorterm || has('gui_running')
hi! link GitSignsDelete DiffDelete
else
hi! link GitSignsDelete DraculaRed
endif
" GitSignsDeleteLn and GitSignsDeleteNr should always match
" whatever GitSignsDelete is set to.
hi! link GitSignsDeleteLn GitSignsDelete
hi! link GitSignsDeleteNr GitSignsDelete
endif
" }}}
" Tree-sitter: {{{