Skip to content

Commit 283991b

Browse files
committed
fixup! fixup! feat: support custom keybinds in custom command prompt menus
1 parent cb001ff commit 283991b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/config/user_config_validation.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ func validateCustomCommands(customCommands []CustomCommand) error {
154154
func validateCustomCommandPrompt(prompt CustomCommandPrompt) error {
155155
for _, option := range prompt.Options {
156156
if !isValidKeybindingKey(option.Key) {
157-
return fmt.Errorf("Unexpected prompt option keybind: %s", option.Key)
157+
return fmt.Errorf("Unrecognized key '%s' for custom command prompt option. For permitted values see %s",
158+
option.Key, constants.Links.Docs.CustomKeybindings)
158159
}
159160
}
160161

0 commit comments

Comments
 (0)