Hi Steven,

> It seems this is a issue existing over long time.  I met the same
> problem when I switch to a tab that has a TagList window opened.  Does
> anyone know how to overcome it?

try the attached patch, it should fix the problem.

Cheers,
        Jan

-- 
-[ OpenPGP key ID: 00A0FD5F ]-
Patriotism is the willingness to kill and be killed for trivial reasons.
                -- Bertrand Russell

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff --git a/vim/.vim/bundle/taglist/plugin/taglist.vim b/vim/.vim/bundle/taglist/plugin/taglist.vim
index 59901f6..74487a1 100644
--- a/vim/.vim/bundle/taglist/plugin/taglist.vim
+++ b/vim/.vim/bundle/taglist/plugin/taglist.vim
@@ -4097,6 +4097,11 @@ endfunction
 " window. Used after entering a tab. If this is not done, then the folds
 " are not properly created for taglist windows displayed in multiple tabs.
 function! s:Tlist_Refresh_Folds()
+
+    if g:Tlist_Show_One_File
+      return
+    endif
+
     let winnum = bufwinnr(g:TagList_title)
     if winnum == -1
         return

Reply via email to