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()
|
||||
let n = s:TreeFileNode.New(self.path)
|
||||
call n.open()
|
||||
call s:closeTreeIfQuitOnOpen()
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user