summaryrefslogtreecommitdiffstats
path: root/pkg/gui
diff options
context:
space:
mode:
authorBlakeMScurr <blakemscurr@gmail.com>2018-11-30 13:47:14 +1300
committerBlakeMScurr <blakemscurr@gmail.com>2018-11-30 13:47:14 +1300
commit181f91d2efa816bddfb296971372c1cb675a370e (patch)
tree0cb99e1ca08d9ab7503b16d97aa4c92936dbf103 /pkg/gui
parent643cdd3461007fafb1fd9284a65b54f36e55ddac (diff)
Add full stops to new comments.
Diffstat (limited to 'pkg/gui')
-rw-r--r--pkg/gui/commit_message_panel.go2
-rw-r--r--pkg/gui/keybindings.go4
-rw-r--r--pkg/gui/recent_repos_panel.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go
index 6f828312c..809442481 100644
--- a/pkg/gui/commit_message_panel.go
+++ b/pkg/gui/commit_message_panel.go
@@ -82,7 +82,7 @@ func (gui *Gui) getBufferLength(view *gocui.View) string {
return " " + strconv.Itoa(strings.Count(view.Buffer(), "")-1) + " "
}
-// RenderCommitLength is a function
+// RenderCommitLength is a function.
func (gui *Gui) RenderCommitLength() {
if !gui.Config.GetUserConfig().GetBool("gui.commitLength.show") {
return
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 6c1f6c296..1b656659d 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -21,7 +21,7 @@ func (b *Binding) GetDisplayStrings() []string {
return []string{b.GetKey(), b.Description}
}
-// GetKey is a function
+// GetKey is a function.
func (b *Binding) GetKey() string {
r, ok := b.Key.(rune)
key := ""
@@ -35,7 +35,7 @@ func (b *Binding) GetKey() string {
return key
}
-// GetKeybindings is a function
+// GetKeybindings is a function.
func (gui *Gui) GetKeybindings() []*Binding {
bindings := []*Binding{
{
diff --git a/pkg/gui/recent_repos_panel.go b/pkg/gui/recent_repos_panel.go
index a146166bf..98da6a9c2 100644
--- a/pkg/gui/recent_repos_panel.go
+++ b/pkg/gui/recent_repos_panel.go
@@ -14,7 +14,7 @@ type recentRepo struct {
path string
}
-// GetDisplayStrings is a function
+// GetDisplayStrings is a function.
func (r *recentRepo) GetDisplayStrings() []string {
yellow := color.New(color.FgMagenta)
base := filepath.Base(r.path)