Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions autoload/showmap.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down