Merge pull request #308 from igrep/patch-1

correct invalid reference to MenuController
This commit is contained in:
Martin Grenfell 2014-06-26 09:40:01 +01:00
commit 10ba84b1fc

View File

@ -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