Fix fzf#vim#complete#line with new bufname display

This has been broken in 397a2e6.
This commit is contained in:
Daniel Hahler
2016-04-28 21:34:13 +02:00
parent 815660d8dc
commit 2af89da3d5
2 changed files with 4 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ function! fzf#vim#_lines(all)
call extend(b == buf ? cur : rest,
\ filter(
\ map(lines,
\ '(!a:all && empty(v:val)) ? "" : printf(s:blue("%2d\t", "TabLine")."%s".s:yellow("\t%4d ", "LineNr")."\t%s\t", b, bufname, v:key + 1, v:val)'),
\ '(!a:all && empty(v:val)) ? "" : printf(s:blue("%2d\t", "TabLine")."%s".s:yellow("\t%4d ", "LineNr")."\t%s", b, bufname, v:key + 1, v:val)'),
\ 'a:all || !empty(v:val)'))
endfor
return extend(cur, rest)