summaryrefslogtreecommitdiff
path: root/src/options.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2019-12-12 23:03:17 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2019-12-12 23:03:17 +0900
commit3db6b88d82d77f29478771f416fcab708e841fc4 (patch)
tree7b0dc6f00dfa121d015a2853ab4b4e2be7cd3c64 /src/options.go
parent8ae96774df202497c7e73d24e10c51e621eabddf (diff)
downloadfzf-3db6b88d82d77f29478771f416fcab708e841fc4.tar.gz
Add preview-fg and preview-bg for --color
Close #1776
Diffstat (limited to 'src/options.go')
-rw-r--r--src/options.go4
1 files changed, 4 insertions, 0 deletions
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+":