1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Make cherry pick commit color customisable

Two new settings in the config, which allow the cherry picked
foreground and background to be custom colors.

Issue #856
This commit is contained in:
Sam Burville
2021-09-29 12:53:31 +01:00
committed by Jesse Duffield
parent 663c036ca5
commit c5f7ad5adb
5 changed files with 25 additions and 11 deletions

View File

@ -29,7 +29,7 @@ func GetReflogCommitListDisplayStrings(commits []*models.Commit, fullDescription
func coloredReflogSha(c *models.Commit, cherryPickedCommitShaMap map[string]bool) string {
shaColor := style.FgBlue
if cherryPickedCommitShaMap[c.Sha] {
shaColor = cherryPickedCommitTextStyle
shaColor = theme.CherryPickedCommitTextStyle
}
return shaColor.Sprint(c.ShortSha())