1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00

Add ability to configure branch color patterns

This commit is contained in:
Mauricio Trajano
2024-12-26 20:30:44 -05:00
committed by Stefan Haller
parent 3e623cd1ce
commit c64a7904b7
7 changed files with 58 additions and 11 deletions

View File

@ -321,6 +321,7 @@ func Test_getBranchDisplayStrings(t *testing.T) {
defer color.ForceSetColorLevel(oldColorLevel)
c := utils.NewDummyCommon()
SetCustomBranches(c.UserConfig().Gui.BranchColorPatterns, true)
for i, s := range scenarios {
icons.SetNerdFontsVersion(lo.Ternary(s.useIcons, "3", ""))