Correct infobar and statusline options

This commit is contained in:
Zachary Yedidia
2019-01-14 22:16:44 -05:00
parent ebba9fb8ce
commit dcd5f4e6e1
8 changed files with 55 additions and 54 deletions

View File

@@ -69,11 +69,6 @@ var formatParser = regexp.MustCompile(`\$\(.+?\)`)
// Display draws the statusline to the screen
func (s *StatusLine) Display() {
// TODO: don't display if infobar off and has message
if !config.GetGlobalOption("infobar").(bool) {
return
}
// We'll draw the line at the lowest line in the window
y := s.win.Height + s.win.Y - 1