From 43f8bc59a2cbf8b96c5e68d4af6fe169b1957e55 Mon Sep 17 00:00:00 2001 From: Seong Yong-ju Date: Sat, 20 Jan 2018 22:43:28 +0900 Subject: [PATCH] Fix an issue of Vimfiler Fix an issue Vimfiler won't be loaded in some situations * Add `VimFilerBufferDir` to dein option `on_cmd` --- autoload/SpaceVim/layers/unite.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/SpaceVim/layers/unite.vim b/autoload/SpaceVim/layers/unite.vim index 94200af62..69e905c89 100644 --- a/autoload/SpaceVim/layers/unite.vim +++ b/autoload/SpaceVim/layers/unite.vim @@ -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