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

Add simple comments to uncommented functions.

This commit is contained in:
BlakeMScurr
2018-11-30 11:04:08 +13:00
parent 5c70d2724b
commit 643cdd3461
10 changed files with 75 additions and 0 deletions

View File

@ -82,6 +82,7 @@ func (gui *Gui) getBufferLength(view *gocui.View) string {
return " " + strconv.Itoa(strings.Count(view.Buffer(), "")-1) + " "
}
// RenderCommitLength is a function
func (gui *Gui) RenderCommitLength() {
if !gui.Config.GetUserConfig().GetBool("gui.commitLength.show") {
return