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
|
tabnew
|
||||||
call s:initNerdTree(self.name)
|
call s:initNerdTree(self.name)
|
||||||
else
|
else
|
||||||
exec "tabedit " . bookmark.path.str({'format': 'Edit'})
|
exec "tabedit " . self.path.str({'format': 'Edit'})
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if has_key(a:options, 'stayInCurrentTab')
|
if has_key(a:options, 'stayInCurrentTab')
|
||||||
|
|||||||
Reference in New Issue
Block a user