Skip to content

Commit

Permalink
fixup! Validate keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaller committed Feb 17, 2025
1 parent 66f6300 commit 9fd487b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/user_config_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func validateKeybindingsRecurse(path string, node any) error {
key := node.(string)
if !isValidKeybindingKey(key) {
return fmt.Errorf("Unrecognized key '%s' for keybinding '%s'. For permitted values see %s",
strings.ToLower(key), path, constants.Links.Docs.CustomKeybindings)
key, path, constants.Links.Docs.CustomKeybindings)
}
} else {
log.Fatalf("Unexpected type for property '%s': %s", path, value.Kind())
Expand Down

0 comments on commit 9fd487b

Please sign in to comment.