commit 588e71c1e986f9a60dc40faf5b41c8ef7f94e8db
parent 6b7c9aa5c84a8b1d513599fd236df5c0772ff8c8
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date: Wed, 11 Jan 2012 09:09:38 +0000
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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'})