refactor: use correct formatting

This commit is contained in:
Jan De Dobbeleer 2021-01-05 12:28:33 +01:00 committed by Jan De Dobbeleer
parent 836763c002
commit 8a925b80a3
2 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@ type engine struct {
rprompt string rprompt string
} }
// SegmentTiming holds the timing context for a segment
type SegmentTiming struct { type SegmentTiming struct {
name string name string
nameLength int nameLength int

View file

@ -21,9 +21,9 @@ const (
DisplayModeAlways string = "always" DisplayModeAlways string = "always"
// DisplayModeContext displays the segment when the current folder contains certain extensions // DisplayModeContext displays the segment when the current folder contains certain extensions
DisplayModeContext string = "context" DisplayModeContext string = "context"
// MissingCommandProperty sets the text to display when the command is not present in the system // MissingCommandTextProperty sets the text to display when the command is not present in the system
MissingCommandTextProperty Property = "missing_command_text" MissingCommandTextProperty Property = "missing_command_text"
// MissingCommand displays empty string by default // MissingCommandText displays empty string by default
MissingCommandText string = "" MissingCommandText string = ""
) )