Skip to content
Myr

Fix typos in source code (#2322)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by freddii · committed by GitHub · parent e922704 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:src/result.go+1 added-1 removed
162 unmodified lines
163 // hl or hl+ only sets the foreground color, so colMatch is the164 // combination of either [hl and bg] or [hl+ and bg+].165 //166 // If the original text already has background color, and the167 // forground color of colMatch is -1, we shouldn't only apply the167 // foreground color of colMatch is -1, we shouldn't only apply the168 // background color of colMatch.169 // e.g. echo -e "\x1b[32;7mfoo\x1b[mbar" | fzf --ansi --color bg+:1,hl+:-1:underline170 // echo -e "\x1b[42mfoo\x1b[mbar" | fzf --ansi --color bg+:1,hl+:-1:underline171 if color.Fg().IsDefault() && origColor.HasBg() {
72 unmodified lines
modified:src/tokenizer.go+1 added-1 removed
33 unmodified lines
34 regex *regexp.Regexp35 str *string36}3738// String returns the string representation of a Delimeter.38// String returns the string representation of a Delimiter.39func (d Delimiter) String() string {40 return fmt.Sprintf("Delimiter{regex: %v, str: &%q}", d.regex, *d.str)41}42
211 unmodified lines