diff options
author | jpcrs <joaop.carrasco@gmail.com> | 2023-01-17 18:43:02 +0000 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-01-22 02:18:19 +0900 |
commit | c3d73e7ecbe56358949400f5314fee2d6976885a (patch) | |
tree | c233c4fa96c626f27f43caf64933be5dade83921 /src/options.go | |
parent | b077f6821d4f27ac9e4f1acd4619139ba4a14d14 (diff) |
Add change-border-label and change-preview-label actions, update man
Diffstat (limited to 'src/options.go')
-rw-r--r-- | src/options.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/options.go b/src/options.go index 39b1b0e1..f22e767a 100644 --- a/src/options.go +++ b/src/options.go @@ -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": |