stayInCurrentTab fix

This commit is contained in:
Chris Perl 2011-12-21 11:55:04 -05:00
parent 23d1746bbf
commit 01f683c3c4

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