diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-10-03 17:28:24 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-10-09 00:17:00 +0900 |
| commit | 0df7d105506f3533d45afd6644991e49f3c78c5d (patch) | |
| tree | 6db05a41de570ba83047f4a610e5ab35bc61ebba /src/result.go | |
| parent | 91e119a77e09a11acab401846c557f0b8ac708a8 (diff) | |
| download | fzf-0df7d105506f3533d45afd6644991e49f3c78c5d.tar.gz | |
Rename: '--color hidden' to '--color nomatch'
Diffstat (limited to 'src/result.go')
| -rw-r--r-- | src/result.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/result.go b/src/result.go index d6811dc8..4ba4bd2c 100644 --- a/src/result.go +++ b/src/result.go @@ -256,7 +256,7 @@ func (result *Result) colorOffsets(matchOffsets []Offset, nthOffsets []Offset, t base = base.WithAttr(attrNth) } if hidden { - base = base.WithFg(theme.Hidden) + base = base.WithFg(theme.Nomatch) } color := ansiToColorPair(ansi, base) colors = append(colors, colorOffset{ @@ -267,7 +267,7 @@ func (result *Result) colorOffsets(matchOffsets []Offset, nthOffsets []Offset, t } else { color := colBase.WithAttr(attrNth) if hidden { - color = color.WithFg(theme.Hidden) + color = color.WithFg(theme.Nomatch) } colors = append(colors, colorOffset{ offset: [2]int32{int32(start), int32(idx)}, |
