diff options
author | freddii <freddii@users.noreply.github.com> | 2021-01-15 02:10:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 10:10:09 +0900 |
commit | 58ac1fb2fa697ac314206361954aecfdd93de8e8 (patch) | |
tree | 09163c6abb30d851d7dca06749e3703b9a88a2dc | |
parent | e922704f72e1ca6d5c400cc0b741155b636c8e1e (diff) |
Fix typos in source code (#2322)
-rw-r--r-- | src/result.go | 2 | ||||
-rw-r--r-- | src/tokenizer.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/result.go b/src/result.go index 77b4e3b0..8abe0d3d 100644 --- a/src/result.go +++ b/src/result.go @@ -164,7 +164,7 @@ func (result *Result) colorOffsets(matchOffsets []Offset, theme *tui.ColorTheme, // combination of either [hl and bg] or [hl+ and bg+]. // // If the original text already has background color, and the - // forground color of colMatch is -1, we shouldn't only apply the + // foreground color of colMatch is -1, we shouldn't only apply the // background color of colMatch. // e.g. echo -e "\x1b[32;7mfoo\x1b[mbar" | fzf --ansi --color bg+:1,hl+:-1:underline // echo -e "\x1b[42mfoo\x1b[mbar" | fzf --ansi --color bg+:1,hl+:-1:underline diff --git a/src/tokenizer.go b/src/tokenizer.go index 6485dedc..26f42d25 100644 --- a/src/tokenizer.go +++ b/src/tokenizer.go @@ -35,7 +35,7 @@ type Delimiter struct { str *string } -// String returns the string representation of a Delimeter. +// String returns the string representation of a Delimiter. func (d Delimiter) String() string { return fmt.Sprintf("Delimiter{regex: %v, str: &%q}", d.regex, *d.str) } |