commit 94e085f1a2d8140df26d3917f1d95ffd5ab69010
parent 241f2e9dfe866010889c9c190278b95080d944ed
Author: marty <martin_grenfell@msn.com>
Date: Fri, 9 Oct 2009 21:27:48 +1300
really fix the window state restoring
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -3351,10 +3351,10 @@ function! s:toggle(dir)
if s:treeExistsForTab()
if !s:isTreeOpen()
call s:createTreeWin()
- call s:restoreScreenState()
if !&hidden
call s:renderView()
endif
+ call s:restoreScreenState()
else
call s:closeTree()
endif