mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
[Files] Add g:fzf_files_options
This commit is contained in:
@@ -191,7 +191,7 @@ endfunction
|
||||
" Files
|
||||
" ------------------------------------------------------------------
|
||||
function! fzf#vim#files(dir, ...)
|
||||
let args = {'options': '-m'}
|
||||
let args = {'options': '-m '.get(g:, 'fzf_files_options', '')}
|
||||
if !empty(a:dir)
|
||||
if !isdirectory(expand(a:dir))
|
||||
return s:warn('Invalid directory')
|
||||
|
||||
Reference in New Issue
Block a user