[fzf-complete-line] Exclude empty lines

This commit is contained in:
Junegunn Choi
2015-09-17 00:04:34 +09:00
parent 561cb901d1
commit 22c8a706c2
2 changed files with 7 additions and 5 deletions

View File

@@ -121,7 +121,7 @@ endfunction
function! fzf#vim#complete#line(...)
return fzf#vim#complete(extend({
\ 'prefix': '^.*$',
\ 'source': fzf#vim#_lines(),
\ 'source': fzf#vim#_lines(0),
\ 'options': '--tiebreak=index --ansi --nth 3..',
\ 'reducer': function('s:reduce_line')}, get(a:000, 0, g:fzf#vim#default_layout)))
endfunction