mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-02 11:39:24 +01:00
Revert "Enable highlighting of search matches by default for new installs (see #112)" because it breaks some tests
This reverts commit 6c24ddfd46
.
This commit is contained in:
parent
c52dbebb1b
commit
a453a858b6
@ -560,13 +560,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 with the defaults that we want for new installs
|
// Create and set the config
|
||||||
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
|
||||||
config.HighlightMatches = true
|
// TODO: Set config.HighlightMatches = true here, so that we enable highlighting by default
|
||||||
config.AiCompletion = true
|
config.AiCompletion = true
|
||||||
config.IsOffline = isOffline
|
config.IsOffline = isOffline
|
||||||
err := hctx.SetConfig(&config)
|
err := hctx.SetConfig(&config)
|
||||||
|
Loading…
Reference in New Issue
Block a user