Update GitSignsDelete highlight group to always link to DraculaRed (#307)

This commit is contained in:
Noah Friedman 2023-06-13 16:06:22 -04:00 committed by GitHub
parent 7bff6075cf
commit 0bf17b30c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,17 +57,9 @@ if has('nvim-0.5') && luaeval("pcall(require, 'gitsigns')")
hi! link GitSignsChangeLn DiffChange hi! link GitSignsChangeLn DiffChange
hi! link GitSignsChangeNr DiffChange hi! link GitSignsChangeNr DiffChange
" 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 hi! link GitSignsDelete DraculaRed
endif hi! link GitSignsDeleteLn DraculaRed
" GitSignsDeleteLn and GitSignsDeleteNr should always match hi! link GitSignsDeleteNr DraculaRed
" whatever GitSignsDelete is set to.
hi! link GitSignsDeleteLn GitSignsDelete
hi! link GitSignsDeleteNr GitSignsDelete
endif endif
" }}} " }}}
" Tree-sitter: {{{ " Tree-sitter: {{{