Fix <plug>(fzf-complete-buffer-line)

Reported by Roland Emmerich
This commit is contained in:
Junegunn Choi
2017-04-24 10:34:40 +09:00
parent 605d9da512
commit f3c3646c81
2 changed files with 5 additions and 5 deletions

View File

@@ -151,9 +151,9 @@ function! fzf#vim#complete#line(...)
endfunction
function! fzf#vim#complete#buffer_line(...)
call fzf#vim#complete(s:extend({
return fzf#vim#complete(s:extend({
\ 'prefix': '^.*$',
\ 'source': s:uniq(getline(1, '$'))}, get(a:000, 0, g:fzf#vim#default_layout)))
\ 'source': fzf#vim#_uniq(getline(1, '$'))}, get(a:000, 0, g:fzf#vim#default_layout)))
endfunction
let &cpo = s:cpo_save