mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-18 02:55:11 +00:00
Add current-{fg,bg,hl} as synonyms for {fg,bg,hl}+
This commit is contained in:
parent
e8405f40fe
commit
9e4780510e
@ -468,10 +468,10 @@ color mappings.
|
||||
\fBbg \fRBackground
|
||||
\fBpreview-bg \fRPreview window background
|
||||
\fBhl \fRHighlighted substrings
|
||||
\fBfg+ \fRText (current line)
|
||||
\fBbg+ \fRBackground (current line)
|
||||
\fBcurrent-fg (fg+) \fRText (current line)
|
||||
\fBcurrent-bg (bg+) \fRBackground (current line)
|
||||
\fBgutter \fRGutter on the left
|
||||
\fBhl+ \fRHighlighted substrings (current line)
|
||||
\fBcurrent-hl (hl+) \fRHighlighted substrings (current line)
|
||||
\fBquery \fRQuery string
|
||||
\fBdisabled \fRQuery string when search is disabled (\fB--disabled\fR)
|
||||
\fBinfo \fRInfo line (match counters)
|
||||
|
@ -980,15 +980,15 @@ func parseTheme(defaultTheme *tui.ColorTheme, str string) (*tui.ColorTheme, erro
|
||||
mergeAttr(&theme.PreviewFg)
|
||||
case "preview-bg":
|
||||
mergeAttr(&theme.PreviewBg)
|
||||
case "fg+":
|
||||
case "current-fg", "fg+":
|
||||
mergeAttr(&theme.Current)
|
||||
case "bg+":
|
||||
case "current-bg", "bg+":
|
||||
mergeAttr(&theme.DarkBg)
|
||||
case "gutter":
|
||||
mergeAttr(&theme.Gutter)
|
||||
case "hl":
|
||||
mergeAttr(&theme.Match)
|
||||
case "hl+":
|
||||
case "current-hl", "hl+":
|
||||
mergeAttr(&theme.CurrentMatch)
|
||||
case "border":
|
||||
mergeAttr(&theme.Border)
|
||||
|
Loading…
Reference in New Issue
Block a user