mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:20:03 +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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user