mirror of
https://github.com/preservim/nerdtree.git
synced 2025-02-01 01:55:15 +08:00
fix a bug when opening a file bookmark in a new tab
This commit is contained in:
parent
8618929e9a
commit
721ad3ecc2
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user