diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-26 15:04:30 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-26 15:37:42 +0900 |
| commit | d6584543e993ae74615057cb02c4c831350b75bd (patch) | |
| tree | 78b7a27f12150a4a20f67e35ab97929a4058fd2a /src/options.go | |
| parent | c13228f34623b856bd22a963959f4655cbfac947 (diff) | |
| download | fzf-d6584543e993ae74615057cb02c4c831350b75bd.tar.gz | |
Make click-header export $FZF_CLICK_HEADER_{NTH,WORD}
Diffstat (limited to 'src/options.go')
| -rw-r--r-- | src/options.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/options.go b/src/options.go index 2b9a5196..5865f0ea 100644 --- a/src/options.go +++ b/src/options.go @@ -1332,7 +1332,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)|transform|change-(?:preview-window|preview|multi|nth)|(?:re|un)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)|transform|change-(?:preview-window|preview|multi)|(?:re|un)bind|pos|put|print|search)`) splitRegexp = regexp.MustCompile("[,:]+") actionNameRegexp = regexp.MustCompile("(?i)^[a-z-]+") } @@ -1740,6 +1740,8 @@ func isExecuteAction(str string) actionType { return actTransformHeaderLabel case "transform-header": return actTransformHeader + case "transform-nth": + return actTransformNth case "transform-prompt": return actTransformPrompt case "transform-query": |
