summaryrefslogtreecommitdiffstats
path: root/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index bc0ef88..df7e37f 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -199,6 +199,8 @@ func (m *model) unloadDocument() []tea.Cmd {
}
func newModel(cfg Config) tea.Model {
+ initSections()
+
if cfg.GlamourStyle == "auto" {
if te.HasDarkBackground() {
cfg.GlamourStyle = "dark"