summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCokile <kelvintgx@gmail.com>2021-12-11 11:24:38 +0800
committerJesse Duffield <jessedduffield@gmail.com>2021-12-25 11:54:27 +1100
commit76e67455264fae2e6392a69a59245ec7f44850fd (patch)
tree6a41de9fa994b77e0f2841e64396941923d6df08
parent3771f9c98b8083f65599dc8c1a4262bf46d8ff27 (diff)
fix typo
-rw-r--r--docs/Config.md8
-rw-r--r--pkg/gui/presentation/authors/authors.go2
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
}