Skip to content

Commit e1abd4d

Browse files
author
marty
committed
close the tree win when opening bookmarked files for NERDTreeQuitOnOpen
1 parent 3785988 commit e1abd4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: plugin/NERD_tree.vim

+1
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ function! s:Bookmark.activate()
194194
if self.validate()
195195
let n = s:TreeFileNode.New(self.path)
196196
call n.open()
197+
call s:closeTreeIfQuitOnOpen()
197198
endif
198199
endif
199200
endfunction

0 commit comments

Comments
 (0)