Browse Source

Revert "Close even if the target buffer has not been loaded yet"

This reverts commit 7b14e4e05e6b38ed8deecd89ac8ab686fa80f844.
Ivan Ukhov 11 năm trước cách đây
mục cha
commit
3871679086
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      plugin/bufexplorer.vim

+ 0 - 2
plugin/bufexplorer.vim

@@ -808,8 +808,6 @@ function! s:SelectBuffer(...)
                     let _bufName = expand("#"._bufNbr.":p")
                     execute _bufName ? "drop ".escape(_bufName, " ") : "buffer "._bufNbr
                 endif
-            else
-                call s:Close()
             endif
 
             " Switch to the selected buffer.