mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-24 05:51:38 +02:00
Revert "Revert "Enable highlighting of search matches by default for new installs (see #112)" because it breaks some tests"
This reverts commit a453a858b644a4749732364b27a8a1c84924544e.
This commit is contained in:
parent
f4ee4e7175
commit
9070b85f36
@ -569,13 +569,13 @@ func setup(userSecret string, isOffline bool) error {
|
|||||||
}
|
}
|
||||||
fmt.Println("Setting secret hishtory key to " + string(userSecret))
|
fmt.Println("Setting secret hishtory key to " + string(userSecret))
|
||||||
|
|
||||||
// Create and set the config
|
// Create and set the config with the defaults that we want for new installs
|
||||||
var config hctx.ClientConfig
|
var config hctx.ClientConfig
|
||||||
config.UserSecret = userSecret
|
config.UserSecret = userSecret
|
||||||
config.IsEnabled = true
|
config.IsEnabled = true
|
||||||
config.DeviceId = uuid.Must(uuid.NewRandom()).String()
|
config.DeviceId = uuid.Must(uuid.NewRandom()).String()
|
||||||
config.ControlRSearchEnabled = true
|
config.ControlRSearchEnabled = true
|
||||||
// TODO: Set config.HighlightMatches = true here, so that we enable highlighting by default
|
config.HighlightMatches = true
|
||||||
config.AiCompletion = true
|
config.AiCompletion = true
|
||||||
config.IsOffline = isOffline
|
config.IsOffline = isOffline
|
||||||
config.EnablePresaving = true
|
config.EnablePresaving = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user