Merge pull request #104 from cperl82/fixes

stayInCurrentTab fix
This commit is contained in:
Martin Grenfell 2012-01-03 15:22:10 -08:00
commit b16a663618

View File

@ -399,7 +399,7 @@ function! s:Bookmark.openInNewTab(options)
exec "tabedit " . self.path.str({'format': 'Edit'})
endif
if has_key(a:options, 'stayInCurrentTab')
if has_key(a:options, 'stayInCurrentTab') && a:options['stayInCurrentTab']
exec "tabnext " . currentTab
endif
endfunction