Merge pull request #533 from devm33/fix_e_on_dir

update api call to open directory tree in window
This commit is contained in:
Phil Runninger 2016-09-22 15:54:39 -04:00 committed by GitHub
commit 5d7bc3b0b8

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)