commit ebb2835c456a3dfc42b36448fb68bd07688e54ca
parent 98b2fa5104f4203949e16067afdaf6203b17e180
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date: Wed, 4 Jan 2012 09:43:07 +0000
fix a bug where keymaps were failing with :set ignorecase
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -492,7 +492,7 @@ endfunction
"FUNCTION: KeyMap.FindFor(key, scope) {{{3
function! s:KeyMap.FindFor(key, scope)
for i in s:KeyMap.All()
- if i.key == a:key && i.scope == a:scope
+ if i.key ==# a:key && i.scope ==# a:scope
return i
endif
endfor