Skip to content
Myr

Fix invalid default of selected-hl (--color)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

It should default to 'hl' instead of 'current-hl'

authored by Junegunn Choi · committed by Junegunn Choi · parent 1afe13b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/tui/tui.go+1 added-1 removed
821 unmodified lines
822823 // These colors are not defined in the base themes824 theme.SelectedFg = o(theme.Fg, theme.SelectedFg)825 theme.SelectedBg = o(theme.Bg, theme.SelectedBg)826 theme.SelectedMatch = o(theme.CurrentMatch, theme.SelectedMatch)826 theme.SelectedMatch = o(theme.Match, theme.SelectedMatch)827 theme.Disabled = o(theme.Input, theme.Disabled)828 theme.Gutter = o(theme.DarkBg, theme.Gutter)829 theme.PreviewFg = o(theme.Fg, theme.PreviewFg)830 theme.PreviewBg = o(theme.Bg, theme.PreviewBg)
56 unmodified lines