From 62cdb4af125bd5bd84a4a6944b63aafd6ba45b52 Mon Sep 17 00:00:00 2001 From: everettjf Date: Sat, 30 Dec 2017 09:01:22 +0800 Subject: [PATCH] fix issue 1196 (tab list bug) https://github.com/SpaceVim/SpaceVim/issues/1196 --- autoload/SpaceVim/api/vim/tab.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/SpaceVim/api/vim/tab.vim b/autoload/SpaceVim/api/vim/tab.vim index 886522ef1..2df7352cf 100644 --- a/autoload/SpaceVim/api/vim/tab.vim +++ b/autoload/SpaceVim/api/vim/tab.vim @@ -4,6 +4,7 @@ let s:self._tree = {} function! s:self._update() abort let tabnr = tabpagenr('$') + let self._tree = {} for i in range(1, tabnr) let buffers = tabpagebuflist(i) let self._tree[i] = buffers