mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
Fix an issue of Vimfiler
Fix an issue Vimfiler won't be loaded in some situations * Add `VimFilerBufferDir` to dein option `on_cmd`
This commit is contained in:
parent
5dec98119c
commit
43f8bc59a2
@ -74,7 +74,7 @@ function! SpaceVim#layers#unite#plugins() abort
|
||||
endif
|
||||
|
||||
if g:spacevim_filemanager ==# 'vimfiler'
|
||||
call add(plugins, ['Shougo/vimfiler.vim',{'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1, 'on_cmd' : 'VimFiler'}])
|
||||
call add(plugins, ['Shougo/vimfiler.vim',{'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1, 'on_cmd' : ['VimFiler', 'VimFilerBufferDir']}])
|
||||
endif
|
||||
return plugins
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user