Skip to content

Commit

Permalink
Fixed error when including theme. (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkaeriit authored Jan 2, 2022
1 parent e3e1fc2 commit 4a95df8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 4a95df8

Please sign in to comment.