From 0126e720b8c693b3e5d18389752868b8c84553b3 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Mon, 17 Feb 2025 20:52:53 +0100 Subject: [PATCH] fixup! Validate keys of custom commands --- pkg/config/user_config_validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/user_config_validation.go b/pkg/config/user_config_validation.go index 228133d5a3c8..735c5aad2c2d 100644 --- a/pkg/config/user_config_validation.go +++ b/pkg/config/user_config_validation.go @@ -86,7 +86,7 @@ func validateKeybindings(keybindingConfig KeybindingConfig) error { func validateCustomCommandKey(key string) error { if !isValidKeybindingKey(key) { return fmt.Errorf("Unrecognized key '%s' for custom command. For permitted values see %s", - strings.ToLower(key), constants.Links.Docs.CustomKeybindings) + key, constants.Links.Docs.CustomKeybindings) } return nil }