Explorar o código

Merge pull request #12 from IvanUkhov/inactive-buffers

Revert "Close even if the target buffer has not been loaded yet"
jlanzarotta %!s(int64=11) %!d(string=hai) anos
pai
achega
fc0ec3e94b
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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.