diff --git a/autoload/showmap.vim b/autoload/showmap.vim index 63793df..52576b7 100644 --- a/autoload/showmap.vim +++ b/autoload/showmap.vim @@ -163,17 +163,17 @@ function! showmap#autobind(modes) if !has_key(binds, lhs_prefix) " don't overwrite map if one exists if maparg(lhs_prefix, mode) == '' - if !exists('g:showmap_autobind_exceptions["'.mode.'"]["'.lhs_prefix.'"]') - if (!exists('s:autobind_default_exceptions["'.mode.'"]["'.lhs_prefix.'"]') + if !exists("g:showmap_autobind_exceptions['".mode."']['".lhs_prefix."']") + if (!exists("s:autobind_default_exceptions['".mode."']['".lhs_prefix."']") \ || exists('g:showmap_no_autobind_default_exceptions')) " the binding is created here call showmap#bind_helper(lhs_prefix, mode) call s:log2file("showmap#bind_helper(".lhs_prefix.','.mode.')') else - call s:log2file(' autobind_default_exceptions["'.mode.'"]["'.lhs_prefix.'"]') + call s:log2file(" autobind_default_exceptions['".mode."']['".lhs_prefix."']") endif else - call s:log2file(' autobind_exceptions["'.mode.'"]["'.lhs_prefix.'"]') + call s:log2file(" autobind_exceptions['".mode."']['".lhs_prefix."']") endif endif let binds[lhs_prefix] = 1