Fix #520 E716: Key not present in Dictionary: setShowHidden

This commit is contained in:
brook hong 2016-02-02 22:31:17 +08:00
parent 4ebbb533c3
commit e2bbedff09

View File

@ -280,7 +280,7 @@ function! s:findAndRevealPath()
else else
call g:NERDTree.CursorToTreeWin() call g:NERDTree.CursorToTreeWin()
endif endif
call b:NERDTree.setShowHidden(g:NERDTreeShowHidden) call b:NERDTree.ui.setShowHidden(g:NERDTreeShowHidden)
call s:chRoot(g:NERDTreeDirNode.New(p.getParent(), b:NERDTree)) call s:chRoot(g:NERDTreeDirNode.New(p.getParent(), b:NERDTree))
else else
if !g:NERDTree.IsOpen() if !g:NERDTree.IsOpen()