Skip to content

Commit

Permalink
(mini.hues) Define proper diff* highlight groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
echasnovski committed Dec 7, 2023
1 parent 6d1cbca commit b08aab4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lua/mini/hues.lua
Original file line number Diff line number Diff line change
Expand Up @@ -762,12 +762,12 @@ H.apply_colorscheme = function(config)
hi('Italic', { fg=nil, bg=nil, italic=true })
hi('Underlined', { fg=nil, bg=nil, underline=true })

-- Git diff
hi('DiffAdded', { link='DiffAdd' })
hi('DiffFile', { fg=nil, bg=p.yellow_bg })
hi('DiffLine', { fg=nil, bg=p.blue_bg })
hi('DiffNewFile', { link='DiffAdded' })
hi('DiffRemoved', { link='DiffFile' })
-- Patch diff
hi('diffAdded', { link='DiffAdd' })
hi('diffFile', { fg=nil, bg=p.yellow_bg })
hi('diffLine', { fg=nil, bg=p.blue_bg })
hi('diffNewFile', { link='DiffFile' })
hi('diffRemoved', { link='DiffDelete' })

-- Git commit
hi('gitcommitBranch', { fg=p.orange, bg=nil, bold=true })
Expand Down

0 comments on commit b08aab4

Please sign in to comment.