diff options
-rw-r--r-- | docs/Config.md | 8 | ||||
-rw-r--r-- | pkg/gui/presentation/authors/authors.go | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/Config.md b/docs/Config.md index b1329f77d..caad7b9be 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -376,22 +376,22 @@ If you're still having trouble please raise an issue. ## Custom Author Color -Lazygit will assgin a random color for every commit author in the commits pane by default. +Lazygit will assign a random color for every commit author in the commits pane by default. You can customize the color in case you're not happy with the randomly assigned one: ```yaml gui: authorColors: - 'John Smith': '#ff0000 # use red for John Smith + 'John Smith': '#ff0000' # use red for John Smith ``` -You can use wildcard to set a unified color in case your are lazy to customize the color for every author or you are just want a single color for all/other authors: +You can use wildcard to set a unified color in case your are lazy to customize the color for every author or you just want a single color for all/other authors: ```yaml gui: authorColors: # use red for John Smith - 'John Smith': '#ff0000 + 'John Smith': '#ff0000' # use blue for other authors '*': '#0000ff' ``` diff --git a/pkg/gui/presentation/authors/authors.go b/pkg/gui/presentation/authors/authors.go index 65016142f..7924ba369 100644 --- a/pkg/gui/presentation/authors/authors.go +++ b/pkg/gui/presentation/authors/authors.go @@ -55,7 +55,7 @@ func AuthorStyle(authorName string) style.TextStyle { return value } - // use the unified style whatever the autor name is + // use the unified style whatever the author name is if value, ok := authorStyleCache[authorNameWildcard]; ok { return value } |