Skip to content

Commit d938f54

Browse files
committed
fix(hues): don't set background where not needed
Details: - `MsgArea` doesn't need background to be the same as `Normal` bg. - `PmenuMatch` doesn't need background as it will blend with `Pmenu`.
1 parent 76205dd commit d938f54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/mini/hues.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ MiniHues.apply_palette = function(palette, plugins, opts)
509509
hi('MatchParen', { fg=nil, bg=p.bg_mid2, bold=true })
510510
hi('ModeMsg', { fg=p.green, bg=nil })
511511
hi('MoreMsg', { fg=p.azure, bg=nil })
512-
hi('MsgArea', { link='Normal' })
512+
hi('MsgArea', { fg=p.fg, bg=nil })
513513
hi('MsgSeparator', H.attr_msgseparator(p, autoadjust))
514514
hi('NonText', { fg=p.bg_mid2, bg=nil })
515515
hi('Normal', { fg=p.fg, bg=p.bg })
@@ -521,7 +521,7 @@ MiniHues.apply_palette = function(palette, plugins, opts)
521521
hi('PmenuExtraSel', { link='PmenuSel' })
522522
hi('PmenuKind', { link='Pmenu' })
523523
hi('PmenuKindSel', { link='PmenuSel' })
524-
hi('PmenuMatch', { fg=p.fg, bg=p.bg_mid, bold=true })
524+
hi('PmenuMatch', { fg=nil, bg=nil, bold=true })
525525
hi('PmenuMatchSel', { fg=nil, bg=nil, bold=true, blend=0, reverse=true })
526526
hi('PmenuSbar', { link='Pmenu' })
527527
hi('PmenuSel', { fg=nil, bg=nil, blend=0, reverse=true })

0 commit comments

Comments
 (0)