fix(theming): restore gruvbox as default via Default() helper
This commit is contained in:
@@ -85,13 +85,10 @@ func nvimCfg() (string, error) {
|
||||
}
|
||||
|
||||
func (m Module) resolvedTheme() string {
|
||||
if t, ok := theming.Get(m.themeID); ok && t.NvChadTheme != "" {
|
||||
if t, ok := theming.Get(m.themeID); ok {
|
||||
return t.NvChadTheme
|
||||
}
|
||||
if list := theming.List(); len(list) > 0 && list[0].NvChadTheme != "" {
|
||||
return list[0].NvChadTheme
|
||||
}
|
||||
return "gruvbox"
|
||||
return theming.Default().NvChadTheme
|
||||
}
|
||||
|
||||
// WriteChadrc renders chadrc.lua for the given NvChad theme name and writes
|
||||
|
||||
Reference in New Issue
Block a user