fix a bug where keymaps were failing with :set ignorecase

This commit is contained in:
Martin Grenfell 2012-01-04 09:43:07 +00:00
parent 98b2fa5104
commit ebb2835c45

View File

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