Merge pull request #306 from noah-friedman/patch-1

This commit is contained in:
D. Ben Knoble 2023-05-25 17:18:08 -04:00 committed by GitHub
commit 7bff6075cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,9 +56,18 @@ if has('nvim-0.5') && luaeval("pcall(require, 'gitsigns')")
hi! link GitSignsChange DiffChange hi! link GitSignsChange DiffChange
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 hi! link GitSignsDelete DiffDelete
hi! link GitSignsDeleteLn DiffDelete else
hi! link GitSignsDeleteNr DiffDelete 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 endif
" }}} " }}}
" Tree-sitter: {{{ " Tree-sitter: {{{