From c29533994f656f34de37ca639b0abca486f5dd7f Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 2 Jun 2024 18:08:24 +0900 Subject: [PATCH] Fix invalid default of selected-hl (--color) It should default to 'hl' instead of 'current-hl' --- src/tui/tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/tui.go b/src/tui/tui.go index 23dba8b..96a7265 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -823,7 +823,7 @@ func initTheme(theme *ColorTheme, baseTheme *ColorTheme, forceBlack bool) { // These colors are not defined in the base themes theme.SelectedFg = o(theme.Fg, theme.SelectedFg) theme.SelectedBg = o(theme.Bg, theme.SelectedBg) - theme.SelectedMatch = o(theme.CurrentMatch, theme.SelectedMatch) + theme.SelectedMatch = o(theme.Match, theme.SelectedMatch) theme.Disabled = o(theme.Input, theme.Disabled) theme.Gutter = o(theme.DarkBg, theme.Gutter) theme.PreviewFg = o(theme.Fg, theme.PreviewFg)