commit b16a663618b96fe50dc0f63afe01fb179a4dfb5a parent 62c94e272f414f74c92c99b35d0421365dc7973f Author: Martin Grenfell <martin.grenfell@gmail.com> Date: Tue, 3 Jan 2012 15:22:10 -0800 Merge pull request #104 from cperl82/fixes 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
