diff options
Diffstat (limited to 'autoload/fzf/sonictemplate.vim')
-rw-r--r-- | autoload/fzf/sonictemplate.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/autoload/fzf/sonictemplate.vim b/autoload/fzf/sonictemplate.vim new file mode 100644 index 0000000..7d80e02 --- /dev/null +++ b/autoload/fzf/sonictemplate.vim @@ -0,0 +1,11 @@ +function! s:handler(item) abort + call sonictemplate#apply(a:item, 'n') +endfunction + +function! fzf#sonictemplate#run() abort + call fzf#run( + \ fzf#wrap({ + \ 'sink*': function('s:handler'), + \ 'source': sonictemplate#complete("", "", 0) + \})) +endfunction |