1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:20: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:
Seong Yong-ju 2018-01-20 22:43:28 +09:00
parent 5dec98119c
commit 43f8bc59a2

View File

@ -74,7 +74,7 @@ function! SpaceVim#layers#unite#plugins() abort
endif endif
if g:spacevim_filemanager ==# 'vimfiler' 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 endif
return plugins return plugins
endfunction endfunction