From 088ff3805f31e3fbfa9c5419710ab95dc3831f14 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Wed, 27 Mar 2019 20:17:31 +0300 Subject: [PATCH] add missing completions --- rc/fzf.kak | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/rc/fzf.kak b/rc/fzf.kak index ed86e54..31387ac 100644 --- a/rc/fzf.kak +++ b/rc/fzf.kak @@ -110,7 +110,17 @@ Switches: -preview: Should fzf window include preview. -filter : A pipe which will be applied to result provided by fzf. -post-action : Extra commands that are preformed after `-kak-cmd' command." \ -fzf -shell-script-completion %{echo "-kak-cmd\n-items-cmd\n-fzf-args\n-post-action\n"} -params .. %{ evaluate-commands %sh{ +-shell-script-completion %{ + printf "%s\n" "-kak-cmd +-items-cmd +-fzf-impl +-fzf-args +-preview-cmd +-preview +-filter +-post-action" +} \ +fzf -params .. %{ evaluate-commands %sh{ while [ $# -gt 0 ]; do case $1 in -kak-cmd) shift; kakoune_cmd="$1" ;;