aboutsummaryrefslogtreecommitdiff
path: root/autoload/fzf/sonictemplate.vim
blob: 7d80e024dc6fcedb602c7ee92f1f351b5a1c6064 (plain)
1
2
3
4
5
6
7
8
9
10
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