浏览代码

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

Phil Runninger 11 年之前
父节点
当前提交
bd0a9db6cb
共有 1 个文件被更改,包括 1 次插入0 次删除
  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()