Allow fzf#complete to take hash argument with sink

This allows us to use the return value of fzf#wrap function with
fzf#complete.

This commit also removes obsolete g:fzf#vim#default_layout and
fzf#vim#layout.
This commit is contained in:
Junegunn Choi
2017-06-28 21:19:11 +09:00
parent ccc32c3164
commit 348a57a4a4
5 changed files with 20 additions and 19 deletions

View File

@@ -24,8 +24,6 @@
let s:cpo_save = &cpo
set cpo&vim
let g:fzf#vim#default_layout = {'down': '~40%'}
function! s:defs(commands)
let prefix = get(g:, 'fzf_command_prefix', '')
if prefix =~# '^[^A-Z]'