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.
This commit is contained in:
parent
6b7c9aa5c8
commit
588e71c1e9
@ -1688,6 +1688,7 @@ function! s:TreeDirNode.openExplorer()
|
|||||||
call self.open({'where': 'p'})
|
call self.open({'where': 'p'})
|
||||||
endfunction
|
endfunction
|
||||||
"FUNCTION: TreeDirNode.openInNewTab(options) {{{3
|
"FUNCTION: TreeDirNode.openInNewTab(options) {{{3
|
||||||
|
unlet s:TreeDirNode.openInNewTab
|
||||||
function! s:TreeDirNode.openInNewTab(options)
|
function! s:TreeDirNode.openInNewTab(options)
|
||||||
call s:deprecated('TreeDirNode.openInNewTab', 'is deprecated, use open() instead')
|
call s:deprecated('TreeDirNode.openInNewTab', 'is deprecated, use open() instead')
|
||||||
call self.open({'where': 't'})
|
call self.open({'where': 't'})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user