From 588e71c1e986f9a60dc40faf5b41c8ef7f94e8db Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Wed, 11 Jan 2012 09:09:38 +0000 Subject: [PATCH] unlet TreeDirNode.openInNewTab since we are overriding it Older versions of vim require you to unlet a dictionary function if you are replacing it (i.e. overriding it in a prototype OO scenario). The unlet call got lost in the recent refactoring. --- plugin/NERD_tree.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 4afb0c7..82af7a4 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -1688,6 +1688,7 @@ function! s:TreeDirNode.openExplorer() call self.open({'where': 'p'}) endfunction "FUNCTION: TreeDirNode.openInNewTab(options) {{{3 +unlet s:TreeDirNode.openInNewTab function! s:TreeDirNode.openInNewTab(options) call s:deprecated('TreeDirNode.openInNewTab', 'is deprecated, use open() instead') call self.open({'where': 't'})