Created
April 4, 2011 14:08
-
-
Save majutsushi/901683 to your computer and use it in GitHub Desktop.
Fix Tlist_Refresh_Folds bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment