/
githubmirror
/
lazygit
Обзор
Документация
Войти
/
githubmirror
/
lazygit
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pkg/integration/tests/demo/shared.go
19 строк
615 B
Nathan Baulch
Fix typos
03 янв 2025, 02:50
03 янв 2025, 02:50
508cdb4
Код
Авторство
О чём код?
package demo import "github.com/jesseduffield/lazygit/pkg/config" // Gives us nicer colours when we generate a git repo history with `shell.CreateRepoHistory()` func setGeneratedAuthorColours(config *config.AppConfig) { config.GetUserConfig().Gui.AuthorColors = map[string]string{ "Fredrica Greenhill": "#fb5aa3", "Oscar Reuenthal": "#86c82f", "Paul Oberstein": "#ffd500", "Siegfried Kircheis": "#fe7e11", "Yang Wen-li": "#8e3ccb", } } func setDefaultDemoConfig(config *config.AppConfig) { // demos look much nicer with icons shown config.GetUserConfig().Gui.NerdFontsVersion = "3" }