Fix incorrect reference when handling config updates

This commit is contained in:
David Dworken 2023-11-22 20:52:31 -08:00
parent b86d6c2ef1
commit a667585962

View File

@ -220,7 +220,7 @@ func handleUpgradedFeatures() error {
}
if !strings.Contains(string(configContents), "enable_presaving") {
// Presaving is not yet configured, so enable it
config.HighlightMatches = true
config.EnablePresaving = true
}
if !strings.Contains(string(configContents), "ai_completion") {
// AI completion is not yet configured, disable it for upgrades since this is a new feature