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
function! s:MenuItem.execute()
if len(self.children)
let mc = s:MenuController.New(self.children)
let mc = g:NERDTreeMenuController.New(self.children)
call mc.showMenu()
else
if self.callback != -1