From 61a86e6fa8599e3660122417f747e6c61a8b570d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Fri, 22 Jul 2016 20:05:11 +0200 Subject: [PATCH] Fixed #495: Allow <[local]leader> as leader key --- autoload/vimtex/imaps.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimtex/imaps.vim b/autoload/vimtex/imaps.vim index a2ac65b..02614d6 100644 --- a/autoload/vimtex/imaps.vim +++ b/autoload/vimtex/imaps.vim @@ -174,7 +174,7 @@ function! s:create_map(map) " {{{1 endif silent execute 'inoremap ' 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