Merge pull request #39 from lervag/patch-1
Use fzf#wrap to respect user option
This commit is contained in:
commit
55e4ceae81
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue