Просмотр исходного кода

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

Michael Henry 10 месяцев назад
Родитель
Сommit
7f0d087a4c
1 измененных файлов с 2 добавлено и 2 удалено
  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