From 2e50bcbb8d16e476fc041658c2dddcd275d205d9 Mon Sep 17 00:00:00 2001 From: Andy Wokula Date: Wed, 1 Nov 2017 20:51:50 +0100 Subject: [PATCH] Add one more menu mode --- autoload/nerdcommenter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/nerdcommenter.vim b/autoload/nerdcommenter.vim index 07cc7b1..1f958b9 100644 --- a/autoload/nerdcommenter.vim +++ b/autoload/nerdcommenter.vim @@ -2992,7 +2992,7 @@ function! s:CreateMaps(modes, target, desc, combo) let plug_end = '", "' . a:target . '")' " Build up a menu command like " 'menu comment.Comment\\cc NERDCommenterComment' - let menuRoot = get(['', 'comment', '&comment', '&Plugin.&comment'], + let menuRoot = get(['', 'comment', '&comment', '&Plugin.&comment', '&Plugin.Nerd\ &Commenter'], \ g:NERDMenuMode, '') let menu_command = 'menu ' . menuRoot . '.' . escape(a:desc, ' ') if strlen(a:combo)