From ae506629434ba9cbe19d3c1e99301618d21e4523 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sat, 7 Jun 2008 18:12:05 +1200 Subject: [PATCH] clear all marks when the tree is initialized --- plugin/NERD_tree.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 578f537..5c6d489 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -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()