Merge pull request #39 from lervag/patch-1

Use fzf#wrap to respect user option
This commit is contained in:
Steven Arcangeli 2022-05-10 20:12:31 -07:00 committed by GitHub
commit 55e4ceae81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
function! dressing#fzf_run(labels, options, window) abort
call fzf#run({
call fzf#run(fzf#wrap({
\ 'source': a:labels,
\ 'sink': funcref('dressing#fzf_choice'),
\ 'options': a:options,
\ 'window': a:window,
\ })
\}))
endfunction
function! dressing#fzf_choice(label) abort