mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
fix a bug when opening a file bookmark in a new tab
This commit is contained in:
@@ -390,7 +390,7 @@ function! s:Bookmark.openInNewTab(options)
|
||||
tabnew
|
||||
call s:initNerdTree(self.name)
|
||||
else
|
||||
exec "tabedit " . bookmark.path.str({'format': 'Edit'})
|
||||
exec "tabedit " . self.path.str({'format': 'Edit'})
|
||||
endif
|
||||
|
||||
if has_key(a:options, 'stayInCurrentTab')
|
||||
|
||||
Reference in New Issue
Block a user