mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
[fzf-complete-line] Exclude empty lines
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user