commit 01f683c3c40d00a5b6874634277ee062839869da parent 23d1746bbf309dc6b7dc964771af396d07b3a477 Author: Chris Perl <chris.perl@gmail.com> Date: Wed, 21 Dec 2011 11:55:04 -0500 stayInCurrentTab fix Diffstat:
| M | plugin/NERD_tree.vim | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim @@ -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
