|
|
|
@ -912,7 +912,7 @@ const (
|
|
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
|
executeRegexp = regexp.MustCompile(
|
|
|
|
|
`(?si)[:+](execute(?:-multi|-silent)?|reload(?:-sync)?|preview|(?:change|transform)-(?:query|prompt)|change-preview-window|change-preview|(?:re|un)bind|pos|put)`)
|
|
|
|
|
`(?si)[:+](execute(?:-multi|-silent)?|reload(?:-sync)?|preview|(?:change|transform)-(?:query|prompt)|change-preview-window|change-preview-label|change-border-label|change-preview|(?:re|un)bind|pos|put)`)
|
|
|
|
|
splitRegexp = regexp.MustCompile("[,:]+")
|
|
|
|
|
actionNameRegexp = regexp.MustCompile("(?i)^[a-z-]+")
|
|
|
|
|
}
|
|
|
|
@ -1224,8 +1224,12 @@ func isExecuteAction(str string) actionType {
|
|
|
|
|
return actChangePreviewWindow
|
|
|
|
|
case "change-preview":
|
|
|
|
|
return actChangePreview
|
|
|
|
|
case "change-preview-label":
|
|
|
|
|
return actChangePreviewLabel
|
|
|
|
|
case "change-prompt":
|
|
|
|
|
return actChangePrompt
|
|
|
|
|
case "change-border-label":
|
|
|
|
|
return actChangeBorderLabel
|
|
|
|
|
case "change-query":
|
|
|
|
|
return actChangeQuery
|
|
|
|
|
case "pos":
|
|
|
|
|