mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-23 01:54:40 +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
|
unlet t:NERDTreeRoot
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
call s:ClearAllMarks()
|
||||||
|
|
||||||
let t:NERDTreeRoot = s:oTreeDirNode.New(path)
|
let t:NERDTreeRoot = s:oTreeDirNode.New(path)
|
||||||
call t:NERDTreeRoot.Open()
|
call t:NERDTreeRoot.Open()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user