mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:30:07 +08:00
Fix smart close window
This commit is contained in:
parent
89ce635d25
commit
398e0ae6db
@ -325,7 +325,7 @@ let g:spacevim_enable_vimfiler_gitstatus = 0
|
|||||||
" Enable/Disable filetypeicon colum in vimfiler buffer, default is 0.
|
" Enable/Disable filetypeicon colum in vimfiler buffer, default is 0.
|
||||||
let g:spacevim_enable_vimfiler_filetypeicon = 0
|
let g:spacevim_enable_vimfiler_filetypeicon = 0
|
||||||
let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default']
|
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_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
||||||
let g:spacevim_enable_javacomplete2_py = 0
|
let g:spacevim_enable_javacomplete2_py = 0
|
||||||
let g:spacevim_src_root = 'E:\sources\'
|
let g:spacevim_src_root = 'E:\sources\'
|
||||||
|
@ -46,7 +46,7 @@ fu! zvim#util#SmartClose() abort
|
|||||||
endfor
|
endfor
|
||||||
if num == 1
|
if num == 1
|
||||||
else
|
else
|
||||||
close
|
quit
|
||||||
endif
|
endif
|
||||||
endf
|
endf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user