clear all marks when the tree is initialized

This commit is contained in:
Martin Grenfell 2008-06-07 18:12:05 +12:00
parent 8529b6f0e3
commit ae50662943

View File

@ -1428,6 +1428,8 @@ function! s:InitNerdTree(dir)
unlet t:NERDTreeRoot
endif
call s:ClearAllMarks()
let t:NERDTreeRoot = s:oTreeDirNode.New(path)
call t:NERDTreeRoot.Open()