diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2019-12-12 23:03:17 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2019-12-12 23:03:17 +0900 |
| commit | 3db6b88d82d77f29478771f416fcab708e841fc4 (patch) | |
| tree | 7b0dc6f00dfa121d015a2853ab4b4e2be7cd3c64 /src/options.go | |
| parent | 8ae96774df202497c7e73d24e10c51e621eabddf (diff) | |
| download | fzf-3db6b88d82d77f29478771f416fcab708e841fc4.tar.gz | |
Add preview-fg and preview-bg for --color
Close #1776
Diffstat (limited to 'src/options.go')
| -rw-r--r-- | src/options.go | 4 |
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+": |
