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