Browse Source

Make sure the BufExplorer window is active before closing it with the Toggle command.

Phil Runninger 11 năm trước cách đây
mục cha
commit
bd0a9db6cb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      plugin/bufexplorer.vim

+ 1 - 0
plugin/bufexplorer.vim

@@ -346,6 +346,7 @@ endfunction
 " ToggleBufExplorer {{{2
 function! ToggleBufExplorer()
     if exists("s:running") && s:running == 1
+        call BufExplorer()
         call s:Close()
     else
         call BufExplorer()