diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-03-28 23:35:20 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-03-28 23:35:20 +0900 |
| commit | ba6d1b8772ce5e75ff999dcca21c0fadb689d7bf (patch) | |
| tree | 5f03736a621f7ca1b13361606d544fb0db8dd67e /src/options.go | |
| parent | 0dce561ec9894781bb356e12f4adef0686421bb7 (diff) | |
| download | fzf-ba6d1b8772ce5e75ff999dcca21c0fadb689d7bf.tar.gz | |
Add change-ghost and transform-ghost
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 80e428e3..c250fb59 100644 --- a/src/options.go +++ b/src/options.go @@ -1404,7 +1404,7 @@ const ( func init() { executeRegexp = regexp.MustCompile( - `(?si)[:+](become|execute(?:-multi|-silent)?|reload(?:-sync)?|preview|(?:change|transform)-(?:query|prompt|(?:border|list|preview|input|header)-label|header|search|nth|pointer)|transform|change-(?:preview-window|preview|multi)|(?:re|un|toggle-)bind|pos|put|print|search)`) + `(?si)[:+](become|execute(?:-multi|-silent)?|reload(?:-sync)?|preview|(?:change|transform)-(?:query|prompt|(?:border|list|preview|input|header)-label|header|search|nth|pointer|ghost)|transform|change-(?:preview-window|preview|multi)|(?:re|un|toggle-)bind|pos|put|print|search)`) splitRegexp = regexp.MustCompile("[,:]+") actionNameRegexp = regexp.MustCompile("(?i)^[a-z-]+") } @@ -1799,6 +1799,8 @@ func isExecuteAction(str string) actionType { return actChangeInputLabel case "change-header-label": return actChangeHeaderLabel + case "change-ghost": + return actChangeGhost case "change-pointer": return actChangePointer case "change-preview-window": @@ -1839,6 +1841,8 @@ func isExecuteAction(str string) actionType { return actTransformHeaderLabel case "transform-header": return actTransformHeader + case "transform-ghost": + return actTransformGhost case "transform-nth": return actTransformNth case "transform-pointer": |
