Correct infobar and statusline options

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

View File

@@ -163,6 +163,13 @@ func DefaultCommonSettings() map[string]interface{} {
}
}
func GetInfoBarOffset() int {
if GetGlobalOption("infobar").(bool) {
return 1
}
return 0
}
// DefaultGlobalSettings returns the default global settings for micro
// Note that colorscheme is a global only option
func DefaultGlobalSettings() map[string]interface{} {