summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-10-30 18:00:28 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-10-30 18:26:06 +1100
commitc47c539e12df759b6a543dbd23e639f94fbd2e2d (patch)
tree72db5a63d330d49b68888a1b34693d73dc6b3931 /pkg/gui/gui.go
parentc96496c3a7b3c327a515b6953055ef2b1b815c6c (diff)
support user-configurable author colours
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index 4212d3dcd..cfd436090 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -22,6 +22,7 @@ import (
"github.com/jesseduffield/lazygit/pkg/gui/modes/cherrypicking"
"github.com/jesseduffield/lazygit/pkg/gui/modes/diffing"
"github.com/jesseduffield/lazygit/pkg/gui/modes/filtering"
+ "github.com/jesseduffield/lazygit/pkg/gui/presentation/authors"
"github.com/jesseduffield/lazygit/pkg/gui/style"
"github.com/jesseduffield/lazygit/pkg/gui/types"
"github.com/jesseduffield/lazygit/pkg/i18n"
@@ -452,6 +453,8 @@ func NewGui(log *logrus.Entry, gitCommand *commands.GitCommand, oSCommand *oscom
oSCommand.SetOnRunCommand(onRunCommand)
gui.OnRunCommand = onRunCommand
+ authors.SetCustomAuthors(gui.Config.GetUserConfig().Gui.AuthorColors)
+
return gui, nil
}