fix a bug when opening a file bookmark in a new tab

This commit is contained in:
Martin Grenfell 2011-02-08 17:44:38 +13:00
parent 8618929e9a
commit 721ad3ecc2

View File

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