Explorar el Código

Migrate "show buffers for this tab" feature to new MRU algorithm.

Michael Henry hace 10 meses
padre
commit
7f0d087a4c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      plugin/bufexplorer.vim

+ 2 - 2
plugin/bufexplorer.vim

@@ -1090,8 +1090,8 @@ function! s:BuildBufferList()
             continue
         endif
 
-        " Are we to show only buffer(s) for this tab?
-        if g:bufExplorerShowTabBuffer && (!s:IsInCurrentTab(str2nr(buf.attributes)))
+        " Should we show this buffer in this tab?
+        if !s:MRUTabShouldShowBuf(s:tabIdAtLaunch, buf._bufnr)
             continue
         endif