mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
close the tree win when opening bookmarked files for NERDTreeQuitOnOpen
This commit is contained in:
@@ -194,6 +194,7 @@ function! s:Bookmark.activate()
|
|||||||
if self.validate()
|
if self.validate()
|
||||||
let n = s:TreeFileNode.New(self.path)
|
let n = s:TreeFileNode.New(self.path)
|
||||||
call n.open()
|
call n.open()
|
||||||
|
call s:closeTreeIfQuitOnOpen()
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user