Fixed typo #39

This commit is contained in:
Dhruva Sagar
2014-11-20 07:21:43 +05:30
parent b22c9bf7b1
commit d5152bde5e

View File

@@ -6,7 +6,7 @@ function! s:SetBufferOptDefault(opt, val) "{{{2
endfunction
function! s:Map(map, to, mode) "{{{2
if !empty(map) && !hasmapto(a:map, a:mode)
if !empty(a:map) && !hasmapto(a:map, a:mode)
for l:mode in split(a:mode, '.\zs')
execute l:mode . 'map <buffer>' a:to a:map
endfor