From 3db6b88d82d77f29478771f416fcab708e841fc4 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 12 Dec 2019 23:03:17 +0900 Subject: Add preview-fg and preview-bg for --color Close #1776 --- src/options.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/options.go') diff --git a/src/options.go b/src/options.go index bd88f23f..20d18589 100644 --- a/src/options.go +++ b/src/options.go @@ -597,6 +597,10 @@ func parseTheme(defaultTheme *tui.ColorTheme, str string) *tui.ColorTheme { theme.Fg = ansi case "bg": theme.Bg = ansi + case "preview-fg": + theme.PreviewFg = ansi + case "preview-bg": + theme.PreviewBg = ansi case "fg+": theme.Current = ansi case "bg+": -- cgit v1.2.3