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('@function.latex', { fg = cs.blue })
|
||||||
|
|
||||||
hi('GitSignsCurrentLineBlame', { italic = true, fg = cs.light_black })
|
hi('GitSignsCurrentLineBlame', { italic = true, fg = cs.light_black })
|
||||||
link('DiffAdd', 'GitSignsAdd')
|
hi('GitSignsAdd', { fg = cs.green })
|
||||||
link('DiffChange', 'GitSignsChange')
|
hi('GitSignsChange', { fg = cs.blue })
|
||||||
link('DiffDelete', 'GitSignsDelete')
|
hi('GitSignsDelete', { fg = cs.red })
|
||||||
|
|
||||||
link('Search', 'HighlightUndo')
|
link('Search', 'HighlightUndo')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue