[fzf-complete-line] Exclude empty lines

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

No files matched your search

+1 -1
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