mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-17 22:32:58 +02:00
Remove the automatic coloring of certain branch names
We used to automatically color branches starting with "feature/", "bugfix/", or "hotfix/". For those who don't want this, it's a bit non-obvious to turn off, but it's actually pretty easy to configure manually for those who want this, so we just remove this default coloring.
This commit is contained in:
parent
6da99a49a4
commit
3e623cd1ce
@ -131,16 +131,7 @@ func GetBranchTextStyle(name string) style.TextStyle {
|
|||||||
return value
|
return value
|
||||||
}
|
}
|
||||||
|
|
||||||
switch branchType {
|
return theme.DefaultTextColor
|
||||||
case "feature":
|
|
||||||
return style.FgGreen
|
|
||||||
case "bugfix":
|
|
||||||
return style.FgYellow
|
|
||||||
case "hotfix":
|
|
||||||
return style.FgRed
|
|
||||||
default:
|
|
||||||
return theme.DefaultTextColor
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func BranchStatus(
|
func BranchStatus(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user