mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 20:05:31 +08:00
clear all marks when the tree is initialized
This commit is contained in:
parent
8529b6f0e3
commit
ae50662943
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user