move some rendering and cursor moving functions out of autoload

This commit is contained in:
Martin Grenfell
2015-05-02 15:24:59 +01:00
parent b0114d202b
commit 8b189cb263
6 changed files with 99 additions and 99 deletions

View File

@@ -278,7 +278,7 @@ function! s:findAndRevealPath()
if !g:NERDTree.IsOpen()
call g:NERDTreeCreator.TogglePrimary('')
else
call nerdtree#putCursorInTreeWin()
call g:NERDTree.CursorToTreeWin()
endif
let b:NERDTreeShowHidden = g:NERDTreeShowHidden
call s:chRoot(g:NERDTreeDirNode.New(p.getParent()))
@@ -288,7 +288,7 @@ function! s:findAndRevealPath()
endif
endif
endif
call nerdtree#putCursorInTreeWin()
call g:NERDTree.CursorToTreeWin()
call b:NERDTreeRoot.reveal(p)
if p.isUnixHiddenFile()