diff --git a/autoload/SpaceVim.vim b/autoload/SpaceVim.vim index 7fc9a69e6..899495f16 100644 --- a/autoload/SpaceVim.vim +++ b/autoload/SpaceVim.vim @@ -325,7 +325,7 @@ let g:spacevim_enable_vimfiler_gitstatus = 0 " Enable/Disable filetypeicon colum in vimfiler buffer, default is 0. let g:spacevim_enable_vimfiler_filetypeicon = 0 let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default'] -let g:spacevim_smartcloseignoreft = ['help'] +let g:spacevim_smartcloseignoreft = ['help', 'tagbar', 'vimfiler'] let g:spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler'] let g:spacevim_enable_javacomplete2_py = 0 let g:spacevim_src_root = 'E:\sources\' diff --git a/autoload/zvim/util.vim b/autoload/zvim/util.vim index 3f3c6f56a..11f79f554 100644 --- a/autoload/zvim/util.vim +++ b/autoload/zvim/util.vim @@ -46,7 +46,7 @@ fu! zvim#util#SmartClose() abort endfor if num == 1 else - close + quit endif endf