close the tree win when opening bookmarked files for NERDTreeQuitOnOpen

This commit is contained in:
marty
2010-09-18 18:15:30 +12:00
parent 37859888b5
commit e1abd4d373

View File

@@ -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