mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-01-08 20:43:32 +08:00
@@ -433,7 +433,7 @@ function! s:all_files()
|
|||||||
return fzf#vim#_uniq(map(
|
return fzf#vim#_uniq(map(
|
||||||
\ filter([expand('%')], 'len(v:val)')
|
\ filter([expand('%')], 'len(v:val)')
|
||||||
\ + filter(map(s:buflisted_sorted(), 'bufname(v:val)'), 'len(v:val)')
|
\ + filter(map(s:buflisted_sorted(), 'bufname(v:val)'), 'len(v:val)')
|
||||||
\ + filter(copy(v:oldfiles), "filereadable(expand(v:val))"),
|
\ + filter(copy(v:oldfiles), "filereadable(fnamemodify(v:val, ':p'))"),
|
||||||
\ 'fnamemodify(v:val, ":~:.")'))
|
\ 'fnamemodify(v:val, ":~:.")'))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user