diff --git a/src/engine.go b/src/engine.go index 2b9c2de2..66c20b95 100644 --- a/src/engine.go +++ b/src/engine.go @@ -18,6 +18,7 @@ type engine struct { rprompt string } +// SegmentTiming holds the timing context for a segment type SegmentTiming struct { name string nameLength int diff --git a/src/segment_language.go b/src/segment_language.go index 6dbb2019..2ad4b9d9 100644 --- a/src/segment_language.go +++ b/src/segment_language.go @@ -21,9 +21,9 @@ const ( DisplayModeAlways string = "always" // DisplayModeContext displays the segment when the current folder contains certain extensions 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" - // MissingCommand displays empty string by default + // MissingCommandText displays empty string by default MissingCommandText string = "" )