From 398e0ae6dbcbeb3f15bd4587af4b535a96e229d9 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 3 Jun 2017 19:57:57 +0800 Subject: [PATCH] Fix smart close window --- autoload/SpaceVim.vim | 2 +- autoload/zvim/util.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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