From 8c79b02047fe56eed83a7310521837ae6f477190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Fri, 20 Nov 2015 22:24:34 +0100 Subject: [PATCH] Revert commit 7892c988 The commit was a merge with pull request #278, which was later found to introduce the need for extra escaping, cf. https://github.com/lervag/vimtex/commit/7892c988a5dc7b6222c66587bd6eca04d738cb93 --- autoload/vimtex/imaps.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vimtex/imaps.vim b/autoload/vimtex/imaps.vim index b0296a9..c2fe7b6 100644 --- a/autoload/vimtex/imaps.vim +++ b/autoload/vimtex/imaps.vim @@ -62,8 +62,8 @@ endfunction " Wrappers " function! s:wrap_math(lhs, rhs) " {{{1 - return '=is_math() ? "' . a:rhs - \ . '" : "' . a:lhs . '"' + return '=is_math() ? ' . string(a:rhs) + \ . ' : ' . string(a:lhs) . '' endfunction " }}}1