The commit was a merge with pull request #278, which was later found to
introduce the need for extra escaping, cf.
7892c988a5
This commit is contained in:
Karl Yngve Lervåg 2015-11-20 22:24:34 +01:00
parent 5771ed00aa
commit 8c79b02047

View File

@ -62,8 +62,8 @@ endfunction
" Wrappers " Wrappers
" "
function! s:wrap_math(lhs, rhs) " {{{1 function! s:wrap_math(lhs, rhs) " {{{1
return '<c-r>=<sid>is_math() ? "' . a:rhs return '<c-r>=<sid>is_math() ? ' . string(a:rhs)
\ . '" : "' . a:lhs . '"<cr>' \ . ' : ' . string(a:lhs) . '<cr>'
endfunction endfunction
" }}}1 " }}}1