Merge pull request #308 from igrep/patch-1
correct invalid reference to MenuController
This commit is contained in:
commit
10ba84b1fc
@ -90,7 +90,7 @@ endfunction
|
|||||||
"callback
|
"callback
|
||||||
function! s:MenuItem.execute()
|
function! s:MenuItem.execute()
|
||||||
if len(self.children)
|
if len(self.children)
|
||||||
let mc = s:MenuController.New(self.children)
|
let mc = g:NERDTreeMenuController.New(self.children)
|
||||||
call mc.showMenu()
|
call mc.showMenu()
|
||||||
else
|
else
|
||||||
if self.callback != -1
|
if self.callback != -1
|
||||||
|
Loading…
Reference in New Issue
Block a user