mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-23 06:38:52 +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))
|
||||
|
||||
// Create and set the config with the defaults that we want for new installs
|
||||
// Create and set the config
|
||||
var config hctx.ClientConfig
|
||||
config.UserSecret = userSecret
|
||||
config.IsEnabled = true
|
||||
config.DeviceId = uuid.Must(uuid.NewRandom()).String()
|
||||
config.ControlRSearchEnabled = true
|
||||
config.HighlightMatches = true
|
||||
// TODO: Set config.HighlightMatches = true here, so that we enable highlighting by default
|
||||
config.AiCompletion = true
|
||||
config.IsOffline = isOffline
|
||||
err := hctx.SetConfig(&config)
|
||||
|
Loading…
Reference in New Issue
Block a user