Fixed #495: Allow <[local]leader> as leader key

This commit is contained in:
Karl Yngve Lervåg 2016-07-22 20:05:11 +02:00
parent 6f0c4e2f2e
commit 61a86e6fa8

View File

@ -174,7 +174,7 @@ function! s:create_map(map) " {{{1
endif
silent execute 'inoremap <expr><silent><buffer>' l:lhs
\ l:wrapper . '(' . string(l:lhs) . ', ' . string(a:map.rhs) . ')'
\ l:wrapper . '("' . l:lhs . '", ' . string(a:map.rhs) . ')'
let s:created_maps += [a:map]
endfunction