update api call to open directory tree in window

This commit is contained in:
Devraj Mehta 2016-01-17 18:51:36 -05:00
parent 4ebbb533c3
commit afe99a46d8

View File

@ -257,7 +257,7 @@ endfunction
function! s:Opener._openDirectory(node)
if self._nerdtree.isWinTree()
call self._gotoTargetWin()
call g:NERDTreeCreator.CreateWindow(a:node.path.str())
call g:NERDTreeCreator.CreateWindowTree(a:node.path.str())
else
call self._gotoTargetWin()
if empty(self._where)