fix: use plain background for gitsigns highlights
Problem: gitsigns groups were linked to DiffAdd/DiffChange/DiffDelete, which have tinted backgrounds that look out of place in the sign column. Solution: define GitSignsAdd, GitSignsChange, and GitSignsDelete with foreground-only highlights so they inherit the normal background.
This commit is contained in:
parent
fc03b940de
commit
638a9e65f3
1 changed files with 3 additions and 3 deletions
|
|
@ -168,9 +168,9 @@ function M.apply()
|
|||
hi('@function.latex', { fg = cs.blue })
|
||||
|
||||
hi('GitSignsCurrentLineBlame', { italic = true, fg = cs.light_black })
|
||||
link('DiffAdd', 'GitSignsAdd')
|
||||
link('DiffChange', 'GitSignsChange')
|
||||
link('DiffDelete', 'GitSignsDelete')
|
||||
hi('GitSignsAdd', { fg = cs.green })
|
||||
hi('GitSignsChange', { fg = cs.blue })
|
||||
hi('GitSignsDelete', { fg = cs.red })
|
||||
|
||||
link('Search', 'HighlightUndo')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue