From 4a95df803680bba821bf63679511066b2240eada Mon Sep 17 00:00:00 2001 From: Maxime Bouillot Date: Sun, 2 Jan 2022 19:30:46 +0100 Subject: [PATCH] Fixed error when including theme. (#290) --- config/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/config.go b/config/config.go index 2022daa..4c80b30 100644 --- a/config/config.go +++ b/config/config.go @@ -348,6 +348,9 @@ func Init() error { cache.SetTimeout(viper.GetInt("cache.timeout")) setColor := func(k string, colorStr string) error { + if k == "include" { + return nil + } colorStr = strings.ToLower(colorStr) var color tcell.Color if colorStr == "default" {