mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-22 13:31:11 +01:00
Fix incorrect reference when handling config updates
This commit is contained in:
parent
b86d6c2ef1
commit
a667585962
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user